1865 {
1867
1869 {
1872 })
1874 {
1876 {
1877 trap->UseDoorOrButton();
1878 trap->SetLootState(GO_READY);
1879 }
1880 });
1881 }
std::chrono::seconds Seconds
Seconds shorthand typedef.
Definition: Duration.h:30
@ GO_READY
Definition: GameObject.h:113
@ SPELL_MOLE_MACHINE_EMERGE
Definition: brewfest.cpp:1472
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
Definition: TaskScheduler.h:217
Definition: TaskScheduler.h:400
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:2432
GameObject * GetLinkedTrap()
Definition: GameObject.cpp:2780
void CastSpell(Unit *target, uint32 spell)
Definition: GameObject.cpp:2073
TaskScheduler _scheduler
Definition: brewfest.cpp:1889