mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-17 21:50:50 -04:00
Scripts: Added missing overrides
(cherry picked from commit 00b4e8b6cc)
This commit is contained in:
@@ -33,7 +33,7 @@ class ahbot_commandscript : public CommandScript
|
||||
public:
|
||||
ahbot_commandscript(): CommandScript("ahbot_commandscript") {}
|
||||
|
||||
std::vector<ChatCommand> GetCommands() const
|
||||
std::vector<ChatCommand> GetCommands() const override
|
||||
{
|
||||
static std::vector<ChatCommand> ahbotItemsAmountCommandTable =
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@ class rbac_commandscript : public CommandScript
|
||||
public:
|
||||
rbac_commandscript() : CommandScript("rbac_commandscript") { }
|
||||
|
||||
std::vector<ChatCommand> GetCommands() const
|
||||
std::vector<ChatCommand> GetCommands() const override
|
||||
{
|
||||
static std::vector<ChatCommand> rbacAccountCommandTable =
|
||||
{
|
||||
|
||||
@@ -121,15 +121,15 @@ struct hyjalAI : public npc_escortAI
|
||||
|
||||
void Initialize();
|
||||
|
||||
void Reset(); // Generically used to reset our variables. Do *not* call in EnterEvadeMode as this may make problems if the raid is still in combat
|
||||
void Reset() override; // Generically used to reset our variables. Do *not* call in EnterEvadeMode as this may make problems if the raid is still in combat
|
||||
|
||||
void EnterEvadeMode(EvadeReason /*why*/ = EVADE_REASON_OTHER); // Send creature back to spawn location and evade.
|
||||
void EnterEvadeMode(EvadeReason /*why*/ = EVADE_REASON_OTHER) override; // Send creature back to spawn location and evade.
|
||||
|
||||
void EnterCombat(Unit* /*who*/); // Used to reset cooldowns for our spells and to inform the raid that we're under attack
|
||||
void EnterCombat(Unit* /*who*/) override; // Used to reset cooldowns for our spells and to inform the raid that we're under attack
|
||||
|
||||
void UpdateAI(uint32 diff); // Called to summon waves, check for boss deaths and to cast our spells.
|
||||
void UpdateAI(uint32 diff) override; // Called to summon waves, check for boss deaths and to cast our spells.
|
||||
|
||||
void JustDied(Unit* /*killer*/); // Called on death, informs the raid that they have failed.
|
||||
void JustDied(Unit* /*killer*/) override; // Called on death, informs the raid that they have failed.
|
||||
|
||||
void SetFaction(uint32 _faction) // Set the faction to either Alliance or Horde in Hyjal
|
||||
{
|
||||
@@ -140,13 +140,13 @@ struct hyjalAI : public npc_escortAI
|
||||
|
||||
void SpawnVeins();
|
||||
void DeSpawnVeins();
|
||||
void JustSummoned(Creature* summoned);
|
||||
void SummonedCreatureDespawn(Creature* summoned);
|
||||
void JustSummoned(Creature* summoned) override;
|
||||
void SummonedCreatureDespawn(Creature* summoned) override;
|
||||
void HideNearPos(float x, float y);
|
||||
void RespawnNearPos(float x, float y);
|
||||
void WaypointReached(uint32 waypointId);
|
||||
void WaypointReached(uint32 waypointId) override;
|
||||
void DoOverrun(uint32 faction, const uint32 diff);
|
||||
void MoveInLineOfSight(Unit* who);
|
||||
void MoveInLineOfSight(Unit* who) override;
|
||||
|
||||
void SummonCreature(uint32 entry, float Base[4][3]); // Summons a creature for that wave in that base
|
||||
|
||||
|
||||
@@ -25,11 +25,11 @@ struct hyjal_trashAI : public npc_escortAI
|
||||
{
|
||||
hyjal_trashAI(Creature* creature);
|
||||
|
||||
void UpdateAI(uint32 diff);
|
||||
void UpdateAI(uint32 diff) override;
|
||||
|
||||
void JustDied(Unit* /*killer*/);
|
||||
void JustDied(Unit* /*killer*/) override;
|
||||
|
||||
void DamageTaken(Unit* done_by, uint32 &damage);
|
||||
void DamageTaken(Unit* done_by, uint32 &damage) override;
|
||||
|
||||
public:
|
||||
InstanceScript* instance;
|
||||
|
||||
@@ -240,11 +240,6 @@ class npc_sironas : public CreatureScript
|
||||
public:
|
||||
npc_sironas() : CreatureScript("npc_sironas") { }
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const
|
||||
{
|
||||
return new npc_sironasAI(creature);
|
||||
}
|
||||
|
||||
struct npc_sironasAI : public ScriptedAI
|
||||
{
|
||||
npc_sironasAI(Creature* creature) : ScriptedAI(creature) { }
|
||||
@@ -343,6 +338,11 @@ public:
|
||||
GuidList _beamGuidList;
|
||||
EventMap _events;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_sironasAI(creature);
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
@@ -354,11 +354,6 @@ class npc_demolitionist_legoso : public CreatureScript
|
||||
public:
|
||||
npc_demolitionist_legoso() : CreatureScript("npc_demolitionist_legoso") { }
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const
|
||||
{
|
||||
return new npc_demolitionist_legosoAI(creature);
|
||||
}
|
||||
|
||||
struct npc_demolitionist_legosoAI : public npc_escortAI
|
||||
{
|
||||
npc_demolitionist_legosoAI(Creature* creature) : npc_escortAI(creature)
|
||||
@@ -812,6 +807,11 @@ public:
|
||||
GuidList _explosivesGuids;
|
||||
EventMap _events;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_demolitionist_legosoAI(creature);
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_bloodmyst_isle()
|
||||
|
||||
@@ -66,7 +66,6 @@ public:
|
||||
npc_aged_dying_ancient_kodoAI(Creature* creature) : ScriptedAI(creature) { }
|
||||
|
||||
void MoveInLineOfSight(Unit* who) override
|
||||
|
||||
{
|
||||
if (who->GetEntry() == NPC_SMEED && me->IsWithinDistInMap(who, 10.0f) && !me->HasAura(SPELL_KODO_KOMBO_GOSSIP))
|
||||
{
|
||||
|
||||
+1
-1
@@ -132,7 +132,7 @@ class OrbsDespawner : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*currTime*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*currTime*/, uint32 /*diff*/) override
|
||||
{
|
||||
Trinity::CreatureWorker<OrbsDespawner> worker(_creature, *this);
|
||||
_creature->VisitNearbyGridObject(5000.0f, worker);
|
||||
|
||||
@@ -160,7 +160,7 @@ class StandUpEvent : public BasicEvent
|
||||
public:
|
||||
StandUpEvent(Creature& owner) : BasicEvent(), _owner(owner) { }
|
||||
|
||||
bool Execute(uint64 /*eventTime*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*eventTime*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner.HandleEmoteCommand(EMOTE_ONESHOT_ROAR);
|
||||
_owner.SetReactState(REACT_AGGRESSIVE);
|
||||
|
||||
@@ -203,7 +203,7 @@ class DaranavanMoveEvent : public BasicEvent
|
||||
public:
|
||||
DaranavanMoveEvent(Creature& darnavan) : _darnavan(darnavan) { }
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_darnavan.GetMotionMaster()->MovePoint(POINT_DESPAWN, SummonPositions[6]);
|
||||
return true;
|
||||
|
||||
@@ -776,7 +776,7 @@ class npc_volatile_ooze : public CreatureScript
|
||||
{
|
||||
}
|
||||
|
||||
void CastMainSpell()
|
||||
void CastMainSpell() override
|
||||
{
|
||||
me->CastSpell(me, SPELL_VOLATILE_OOZE_ADHESIVE, false);
|
||||
}
|
||||
@@ -800,7 +800,7 @@ class npc_gas_cloud : public CreatureScript
|
||||
_newTargetSelectTimer = 0;
|
||||
}
|
||||
|
||||
void CastMainSpell()
|
||||
void CastMainSpell() override
|
||||
{
|
||||
me->CastCustomSpell(SPELL_GASEOUS_BLOAT, SPELLVALUE_AURA_STACK, 10, me, false);
|
||||
}
|
||||
|
||||
@@ -856,14 +856,14 @@ class spell_rotface_vile_gas_trigger : public SpellScriptLoader
|
||||
GetCaster()->CastSpell(GetHitUnit(), SPELL_VILE_GAS_TRIGGER_SUMMON);
|
||||
}
|
||||
|
||||
void Register()
|
||||
void Register() override
|
||||
{
|
||||
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_rotface_vile_gas_trigger_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
|
||||
OnEffectHitTarget += SpellEffectFn(spell_rotface_vile_gas_trigger_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
|
||||
}
|
||||
};
|
||||
|
||||
SpellScript* GetSpellScript() const
|
||||
SpellScript* GetSpellScript() const override
|
||||
{
|
||||
return new spell_rotface_vile_gas_trigger_SpellScript();
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ class FrostwyrmLandEvent : public BasicEvent
|
||||
public:
|
||||
FrostwyrmLandEvent(Creature& owner, Position const& dest) : _owner(owner), _dest(dest) { }
|
||||
|
||||
bool Execute(uint64 /*eventTime*/, uint32 /*updateTime*/)
|
||||
bool Execute(uint64 /*eventTime*/, uint32 /*updateTime*/) override
|
||||
{
|
||||
_owner.GetMotionMaster()->MoveLand(POINT_FROSTWYRM_LAND, _dest);
|
||||
return true;
|
||||
@@ -184,7 +184,7 @@ class FrostBombExplosion : public BasicEvent
|
||||
public:
|
||||
FrostBombExplosion(Creature* owner, ObjectGuid sindragosaGUID) : _owner(owner), _sindragosaGUID(sindragosaGUID) { }
|
||||
|
||||
bool Execute(uint64 /*eventTime*/, uint32 /*updateTime*/)
|
||||
bool Execute(uint64 /*eventTime*/, uint32 /*updateTime*/) override
|
||||
{
|
||||
_owner->CastSpell((Unit*)NULL, SPELL_FROST_BOMB, false, NULL, NULL, _sindragosaGUID);
|
||||
_owner->RemoveAurasDueToSpell(SPELL_FROST_BOMB_VISUAL);
|
||||
|
||||
@@ -437,7 +437,7 @@ class StartMovementEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner->SetReactState(REACT_AGGRESSIVE);
|
||||
if (Creature* _summoner = ObjectAccessor::GetCreature(*_owner, _summonerGuid))
|
||||
@@ -459,7 +459,7 @@ class VileSpiritActivateEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner->SetReactState(REACT_AGGRESSIVE);
|
||||
_owner->CastSpell(_owner, SPELL_VILE_SPIRIT_MOVE_SEARCH, true);
|
||||
@@ -479,7 +479,7 @@ class TriggerWickedSpirit : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner->CastCustomSpell(SPELL_TRIGGER_VILE_SPIRIT_HEROIC, SPELLVALUE_MAX_TARGETS, 1, NULL, true);
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ class DelayedCastEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_trigger->CastSpell(_trigger, _spellId, false, NULL, NULL, _originalCaster);
|
||||
if (_despawnTime)
|
||||
@@ -201,7 +201,7 @@ class AuraRemoveEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_trigger->RemoveAurasDueToSpell(_spellId);
|
||||
return true;
|
||||
@@ -219,7 +219,7 @@ class ValithriaDespawner : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*currTime*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*currTime*/, uint32 /*diff*/) override
|
||||
{
|
||||
Trinity::CreatureWorker<ValithriaDespawner> worker(_creature, *this);
|
||||
_creature->VisitNearbyGridObject(333.0f, worker);
|
||||
|
||||
@@ -365,7 +365,7 @@ class CaptainSurviveTalk : public BasicEvent
|
||||
public:
|
||||
explicit CaptainSurviveTalk(Creature const& owner) : _owner(owner) { }
|
||||
|
||||
bool Execute(uint64 /*currTime*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*currTime*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner.AI()->Talk(SAY_CAPTAIN_SURVIVE_TALK);
|
||||
return true;
|
||||
|
||||
@@ -2759,7 +2759,7 @@ class achievement_setup_boom : public AchievementCriteriaScript
|
||||
public:
|
||||
achievement_setup_boom() : AchievementCriteriaScript("achievement_setup_boom") { }
|
||||
|
||||
bool OnCheck(Player* /*source*/, Unit* target)
|
||||
bool OnCheck(Player* /*source*/, Unit* target) override
|
||||
{
|
||||
return target && target->GetAI()->GetData(DATA_SETUP_BOMB);
|
||||
}
|
||||
@@ -2770,7 +2770,7 @@ class achievement_setup_mine : public AchievementCriteriaScript
|
||||
public:
|
||||
achievement_setup_mine() : AchievementCriteriaScript("achievement_setup_mine") { }
|
||||
|
||||
bool OnCheck(Player* /*source*/, Unit* target)
|
||||
bool OnCheck(Player* /*source*/, Unit* target) override
|
||||
{
|
||||
return target && target->GetAI()->GetData(DATA_SETUP_MINE);
|
||||
}
|
||||
@@ -2781,7 +2781,7 @@ class achievement_setup_rocket : public AchievementCriteriaScript
|
||||
public:
|
||||
achievement_setup_rocket() : AchievementCriteriaScript("achievement_setup_rocket") { }
|
||||
|
||||
bool OnCheck(Player* /*source*/, Unit* target)
|
||||
bool OnCheck(Player* /*source*/, Unit* target) override
|
||||
{
|
||||
return target && target->GetAI()->GetData(DATA_SETUP_ROCKET);
|
||||
}
|
||||
@@ -2792,7 +2792,7 @@ class achievement_firefighter : public AchievementCriteriaScript
|
||||
public:
|
||||
achievement_firefighter() : AchievementCriteriaScript("achievement_firefighter") { }
|
||||
|
||||
bool OnCheck(Player* /*source*/, Unit* target)
|
||||
bool OnCheck(Player* /*source*/, Unit* target) override
|
||||
{
|
||||
return target && target->GetAI()->GetData(DATA_FIREFIGHTER);
|
||||
}
|
||||
|
||||
@@ -637,7 +637,7 @@ class BoomEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
// This hack is here because we suspect our implementation of spell effect execution on targets
|
||||
// is done in the wrong order. We suspect that EFFECT_0 needs to be applied on all targets,
|
||||
|
||||
@@ -416,7 +416,7 @@ class StartAttackEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner->SetReactState(REACT_AGGRESSIVE);
|
||||
if (Creature* _summoner = ObjectAccessor::GetCreature(*_owner, _summonerGuid))
|
||||
|
||||
@@ -210,7 +210,7 @@ class StartLaunchEvent : public BasicEvent
|
||||
{
|
||||
}
|
||||
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/)
|
||||
bool Execute(uint64 /*time*/, uint32 /*diff*/) override
|
||||
{
|
||||
Player* player = sObjectMgr->GetPlayerByLowGUID(_lowGuid);
|
||||
if (!player || !player->GetVehicle())
|
||||
|
||||
@@ -360,7 +360,7 @@ class npc_commander_eligor_dawnbringer : public CreatureScript
|
||||
uint8 talkWing;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_commander_eligor_dawnbringerAI(creature);
|
||||
}
|
||||
@@ -695,7 +695,7 @@ class npc_torturer_lecraft : public CreatureScript
|
||||
ObjectGuid _playerGUID;
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_torturer_lecraftAI(creature);
|
||||
}
|
||||
|
||||
@@ -96,9 +96,9 @@ class OPvPCapturePointHP : public OPvPCapturePoint
|
||||
public:
|
||||
OPvPCapturePointHP(OutdoorPvP* pvp, OutdoorPvPHPTowerType type);
|
||||
|
||||
void ChangeState();
|
||||
void ChangeState() override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket & data);
|
||||
void FillInitialWorldStates(WorldPacket & data) override;
|
||||
|
||||
private:
|
||||
OutdoorPvPHPTowerType m_TowerType;
|
||||
@@ -109,18 +109,18 @@ class OutdoorPvPHP : public OutdoorPvP
|
||||
public:
|
||||
OutdoorPvPHP();
|
||||
|
||||
bool SetupOutdoorPvP();
|
||||
bool SetupOutdoorPvP() override;
|
||||
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone);
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone);
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone) override;
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone) override;
|
||||
|
||||
bool Update(uint32 diff);
|
||||
bool Update(uint32 diff) override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket &data);
|
||||
void FillInitialWorldStates(WorldPacket &data) override;
|
||||
|
||||
void SendRemoveWorldStates(Player* player);
|
||||
void SendRemoveWorldStates(Player* player) override;
|
||||
|
||||
void HandleKillImpl(Player* player, Unit* killed);
|
||||
void HandleKillImpl(Player* player, Unit* killed) override;
|
||||
|
||||
uint32 GetAllianceTowersControlled() const;
|
||||
void SetAllianceTowersControlled(uint32 count);
|
||||
|
||||
@@ -311,18 +311,18 @@ class OutdoorPvPNA : public OutdoorPvP
|
||||
public:
|
||||
OutdoorPvPNA();
|
||||
|
||||
bool SetupOutdoorPvP();
|
||||
bool SetupOutdoorPvP() override;
|
||||
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone);
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone);
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone) override;
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone) override;
|
||||
|
||||
bool Update(uint32 diff);
|
||||
bool Update(uint32 diff) override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket &data);
|
||||
void FillInitialWorldStates(WorldPacket &data) override;
|
||||
|
||||
void SendRemoveWorldStates(Player* player);
|
||||
void SendRemoveWorldStates(Player* player) override;
|
||||
|
||||
void HandleKillImpl(Player* player, Unit* killed);
|
||||
void HandleKillImpl(Player* player, Unit* killed) override;
|
||||
|
||||
private:
|
||||
OPvPCapturePointNA * m_obj;
|
||||
|
||||
@@ -56,22 +56,22 @@ class OutdoorPvPSI : public OutdoorPvP
|
||||
public:
|
||||
OutdoorPvPSI();
|
||||
|
||||
bool SetupOutdoorPvP();
|
||||
bool SetupOutdoorPvP() override;
|
||||
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone);
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone);
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone) override;
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone) override;
|
||||
|
||||
bool Update(uint32 diff);
|
||||
bool Update(uint32 diff) override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket &data);
|
||||
void FillInitialWorldStates(WorldPacket &data) override;
|
||||
|
||||
void SendRemoveWorldStates(Player* player);
|
||||
void SendRemoveWorldStates(Player* player) override;
|
||||
|
||||
bool HandleAreaTrigger(Player* player, uint32 trigger);
|
||||
bool HandleAreaTrigger(Player* player, uint32 trigger) override;
|
||||
|
||||
bool HandleDropFlag(Player* player, uint32 spellId);
|
||||
bool HandleDropFlag(Player* player, uint32 spellId) override;
|
||||
|
||||
bool HandleCustomSpell(Player* player, uint32 spellId, GameObject* go);
|
||||
bool HandleCustomSpell(Player* player, uint32 spellId, GameObject* go) override;
|
||||
|
||||
void UpdateWorldState();
|
||||
|
||||
|
||||
@@ -132,11 +132,11 @@ class OPvPCapturePointTF : public OPvPCapturePoint
|
||||
public:
|
||||
OPvPCapturePointTF(OutdoorPvP* pvp, OutdoorPvPTF_TowerType type);
|
||||
|
||||
bool Update(uint32 diff);
|
||||
bool Update(uint32 diff) override;
|
||||
|
||||
void ChangeState();
|
||||
void ChangeState() override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket & data);
|
||||
void FillInitialWorldStates(WorldPacket & data) override;
|
||||
|
||||
void UpdateTowerState();
|
||||
|
||||
@@ -151,16 +151,16 @@ class OutdoorPvPTF : public OutdoorPvP
|
||||
public:
|
||||
OutdoorPvPTF();
|
||||
|
||||
bool SetupOutdoorPvP();
|
||||
bool SetupOutdoorPvP() override;
|
||||
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone);
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone);
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone) override;
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone) override;
|
||||
|
||||
bool Update(uint32 diff);
|
||||
bool Update(uint32 diff) override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket &data);
|
||||
void FillInitialWorldStates(WorldPacket &data) override;
|
||||
|
||||
void SendRemoveWorldStates(Player* player);
|
||||
void SendRemoveWorldStates(Player* player) override;
|
||||
|
||||
uint32 GetAllianceTowersControlled() const;
|
||||
void SetAllianceTowersControlled(uint32 count);
|
||||
|
||||
@@ -161,9 +161,9 @@ class OPvPCapturePointZM_Beacon : public OPvPCapturePoint
|
||||
public:
|
||||
OPvPCapturePointZM_Beacon(OutdoorPvP* pvp, ZM_BeaconType type);
|
||||
|
||||
void ChangeState();
|
||||
void ChangeState() override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket & data);
|
||||
void FillInitialWorldStates(WorldPacket & data) override;
|
||||
|
||||
void UpdateTowerState();
|
||||
|
||||
@@ -218,18 +218,18 @@ class OutdoorPvPZM : public OutdoorPvP
|
||||
public:
|
||||
OutdoorPvPZM();
|
||||
|
||||
bool SetupOutdoorPvP();
|
||||
bool SetupOutdoorPvP() override;
|
||||
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone);
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone);
|
||||
void HandlePlayerEnterZone(Player* player, uint32 zone) override;
|
||||
void HandlePlayerLeaveZone(Player* player, uint32 zone) override;
|
||||
|
||||
bool Update(uint32 diff);
|
||||
bool Update(uint32 diff) override;
|
||||
|
||||
void FillInitialWorldStates(WorldPacket &data);
|
||||
void FillInitialWorldStates(WorldPacket &data) override;
|
||||
|
||||
void SendRemoveWorldStates(Player* player);
|
||||
void SendRemoveWorldStates(Player* player) override;
|
||||
|
||||
void HandleKillImpl(Player* player, Unit* killed);
|
||||
void HandleKillImpl(Player* player, Unit* killed) override;
|
||||
|
||||
uint32 GetAllianceTowersControlled() const;
|
||||
void SetAllianceTowersControlled(uint32 count);
|
||||
|
||||
Reference in New Issue
Block a user