diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-15 15:14:01 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-15 15:14:01 +0200 |
| commit | de193fc80dbdcfa887c1366c5adb0d5d3e58a2f5 (patch) | |
| tree | fce95d7cafee4db9d8c4a9ae695c63c6d6e3b297 /src/server/scripts/Events | |
| parent | 9e9bdd77c565ab5c90441960bacb44ccd0d9e919 (diff) | |
Scripted: Add some missing override
Diffstat (limited to 'src/server/scripts/Events')
| -rw-r--r-- | src/server/scripts/Events/childrens_week.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp index 655fa65f2f2..25bc683edcf 100644 --- a/src/server/scripts/Events/childrens_week.cpp +++ b/src/server/scripts/Events/childrens_week.cpp @@ -152,7 +152,7 @@ class npc_winterfin_playmate : public CreatureScript { npc_winterfin_playmateAI(Creature* creature) : ScriptedAI(creature) {} - void Reset() + void Reset() OVERRIDE { timer = 0; phase = 0; @@ -174,7 +174,7 @@ class npc_winterfin_playmate : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -233,7 +233,7 @@ class npc_winterfin_playmate : public CreatureScript }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_winterfin_playmateAI(creature); } @@ -251,7 +251,7 @@ class npc_snowfall_glade_playmate : public CreatureScript { npc_snowfall_glade_playmateAI(Creature* creature) : ScriptedAI(creature) {} - void Reset() + void Reset() OVERRIDE { timer = 0; phase = 0; @@ -273,7 +273,7 @@ class npc_snowfall_glade_playmate : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -352,7 +352,7 @@ class npc_the_biggest_tree : public CreatureScript me->SetDisplayId(DISPLAY_INVISIBLE); } - void Reset() + void Reset() OVERRIDE { timer = 1000; phase = 0; @@ -374,7 +374,7 @@ class npc_the_biggest_tree : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -421,7 +421,7 @@ class npc_the_biggest_tree : public CreatureScript }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_the_biggest_treeAI(creature); } @@ -439,7 +439,7 @@ class npc_high_oracle_soo_roo : public CreatureScript { npc_high_oracle_soo_rooAI(Creature* creature) : ScriptedAI(creature) {} - void Reset() + void Reset() OVERRIDE { timer = 0; phase = 0; @@ -461,7 +461,7 @@ class npc_high_oracle_soo_roo : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -510,7 +510,7 @@ class npc_high_oracle_soo_roo : public CreatureScript }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_high_oracle_soo_rooAI(creature); } @@ -528,7 +528,7 @@ class npc_elder_kekek : public CreatureScript { npc_elder_kekekAI(Creature* creature) : ScriptedAI(creature) {} - void Reset() + void Reset() OVERRIDE { timer = 0; phase = 0; @@ -550,7 +550,7 @@ class npc_elder_kekek : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -598,7 +598,7 @@ class npc_elder_kekek : public CreatureScript }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_elder_kekekAI(creature); } @@ -617,7 +617,7 @@ class npc_the_etymidian : public CreatureScript { npc_the_etymidianAI(Creature* creature) : ScriptedAI(creature) {} - void Reset() + void Reset() OVERRIDE { timer = 0; phase = 0; @@ -639,7 +639,7 @@ class npc_the_etymidian : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -695,7 +695,7 @@ class npc_the_etymidian : public CreatureScript }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_the_etymidianAI(creature); } @@ -713,7 +713,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript { npc_alexstraza_the_lifebinderAI(Creature* creature) : ScriptedAI(creature) {} - void Reset() + void Reset() OVERRIDE { timer = 0; phase = 0; @@ -721,7 +721,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript orphanGUID = 0; } - void SetData(uint32 type, uint32 data) + void SetData(uint32 type, uint32 data) OVERRIDE { // Existing SmartAI if (type == 0) @@ -761,7 +761,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript } } - void UpdateAI(uint32 diff) + void UpdateAI(uint32 diff) OVERRIDE { if (!phase) return; @@ -856,7 +856,7 @@ class npc_alexstraza_the_lifebinder : public CreatureScript }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_alexstraza_the_lifebinderAI(creature); } @@ -1009,7 +1009,7 @@ class npc_cw_area_trigger : public CreatureScript } }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_cw_area_triggerAI(creature); } @@ -1044,7 +1044,7 @@ class npc_grizzlemaw_cw_trigger : public CreatureScript } }; - CreatureAI* GetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const OVERRIDE { return new npc_grizzlemaw_cw_triggerAI(creature); } |
