1867 {
1869
1871 {
1874 })
1876 {
1878 {
1879 trap->UseDoorOrButton();
1880 trap->SetLootState(GO_READY);
1881 }
1882 });
1883 }
std::chrono::seconds Seconds
Seconds shorthand typedef.
Definition: Duration.h:30
@ GO_READY
Definition: GameObject.h:113
@ SPELL_MOLE_MACHINE_EMERGE
Definition: brewfest.cpp:1474
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
Definition: TaskScheduler.h:232
Definition: TaskScheduler.h:418
GameObject *const me
Definition: GameObjectAI.h:36
Definition: GameObject.h:122
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1427
void SetLootState(LootState s, Unit *unit=nullptr)
Definition: GameObject.cpp:2442
GameObject * GetLinkedTrap()
Definition: GameObject.cpp:2790
void CastSpell(Unit *target, uint32 spell)
Definition: GameObject.cpp:2076
TaskScheduler _scheduler
Definition: brewfest.cpp:1891