Core/Misc: Remove obsolete C++11 backward compatibility macros
OVERRIDE, FINAL, DELETE_MEMBER
This commit is contained in:
1 parent
414554aefa
commit
24ae6a6802
639 files changed
+9594
-9604
No files matched your search
@@ -275,7 +275,7 @@ class npc_highlord_darion_mograine : public CreatureScript
|
||||
public:
|
||||
npc_highlord_darion_mograine() : CreatureScript("npc_highlord_darion_mograine") { }
|
||||
|
||||
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) OVERRIDE
|
||||
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
|
||||
{
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
switch (action)
|
||||
@@ -289,7 +289,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipHello(Player* player, Creature* creature) OVERRIDE
|
||||
bool OnGossipHello(Player* player, Creature* creature) override
|
||||
{
|
||||
if (creature->IsQuestGiver())
|
||||
player->PrepareQuestMenu(creature->GetGUID());
|
||||
@@ -302,7 +302,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_highlord_darion_mograineAI(creature);
|
||||
}
|
||||
@@ -370,7 +370,7 @@ public:
|
||||
uint64 uiGhoulGUID[ENCOUNTER_GHOUL_NUMBER];
|
||||
uint64 uiWarriorGUID[ENCOUNTER_WARRIOR_NUMBER];
|
||||
|
||||
void Reset() OVERRIDE
|
||||
void Reset() override
|
||||
{
|
||||
if (!HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
{
|
||||
@@ -470,7 +470,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) OVERRIDE
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (!who)
|
||||
return;
|
||||
@@ -487,7 +487,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void MoveInLineOfSight(Unit* who) OVERRIDE
|
||||
void MoveInLineOfSight(Unit* who) override
|
||||
|
||||
{
|
||||
if (!who)
|
||||
@@ -503,7 +503,7 @@ public:
|
||||
SetEscortPaused(bOnHold);
|
||||
}
|
||||
|
||||
void WaypointReached(uint32 waypointId) OVERRIDE
|
||||
void WaypointReached(uint32 waypointId) override
|
||||
{
|
||||
switch (waypointId)
|
||||
{
|
||||
@@ -618,13 +618,13 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void EnterEvadeMode() OVERRIDE
|
||||
void EnterEvadeMode() override
|
||||
{
|
||||
if (!bIsBattle)//do not reset self if we are in battle
|
||||
npc_escortAI::EnterEvadeMode();
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) OVERRIDE
|
||||
void UpdateAI(uint32 diff) override
|
||||
{
|
||||
npc_escortAI::UpdateAI(diff);
|
||||
|
||||
@@ -1670,7 +1670,7 @@ class npc_the_lich_king_tirion_dawn : public CreatureScript
|
||||
public:
|
||||
npc_the_lich_king_tirion_dawn() : CreatureScript("npc_the_lich_king_tirion_dawn") { }
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_the_lich_king_tirion_dawnAI(creature);
|
||||
}
|
||||
@@ -1678,10 +1678,10 @@ public:
|
||||
struct npc_the_lich_king_tirion_dawnAI : public ScriptedAI
|
||||
{
|
||||
npc_the_lich_king_tirion_dawnAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
|
||||
void Reset() OVERRIDE { }
|
||||
void AttackStart(Unit* /*who*/) { } // very sample, just don't make them aggreesive OVERRIDE
|
||||
void UpdateAI(uint32 /*diff*/) OVERRIDE { }
|
||||
void JustDied(Unit* /*killer*/) OVERRIDE { }
|
||||
void Reset() override { }
|
||||
void AttackStart(Unit* /*who*/) { } // very sample, just don't make them aggreesive override
|
||||
void UpdateAI(uint32 /*diff*/) override { }
|
||||
void JustDied(Unit* /*killer*/) override { }
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user