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:111
@ SPELL_MOLE_MACHINE_EMERGE
Definition brewfest.cpp:1474
GameObject *const me
Definition GameObjectAI.h:35
Definition GameObject.h:120
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition GameObject.cpp:1414
void SetLootState(LootState s, Unit *unit=nullptr)
Definition GameObject.cpp:2427
GameObject * GetLinkedTrap()
Definition GameObject.cpp:2720
void CastSpell(Unit *target, uint32 spell)
Definition GameObject.cpp:2070
Definition TaskScheduler.h:421
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
Definition TaskScheduler.h:232
TaskScheduler _scheduler
Definition brewfest.cpp:1891