1868 {
1870
1872 {
1875 })
1877 {
1879 {
1880 trap->UseDoorOrButton();
1881 trap->SetLootState(GO_READY);
1882 }
1883 });
1884 }
std::chrono::seconds Seconds
Seconds shorthand typedef.
Definition Duration.h:30
@ GO_READY
Definition GameObject.h:111
@ SPELL_MOLE_MACHINE_EMERGE
Definition brewfest.cpp:1475
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:1892