mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
feat(CI/Codestyle): added codestyle check (#3668)
This commit is contained in:
@@ -392,7 +392,6 @@ void ScriptMgr::OnPacketSend(WorldSession* session, WorldPacket const& packet)
|
||||
FOREACH_SCRIPT(ServerScript)->OnPacketSend(session, copy);
|
||||
}
|
||||
|
||||
|
||||
void ScriptMgr::OnOpenStateChange(bool open)
|
||||
{
|
||||
#ifdef ELUNA
|
||||
@@ -401,7 +400,6 @@ void ScriptMgr::OnOpenStateChange(bool open)
|
||||
FOREACH_SCRIPT(WorldScript)->OnOpenStateChange(open);
|
||||
}
|
||||
|
||||
|
||||
void ScriptMgr::OnLoadCustomDatabaseTable()
|
||||
{
|
||||
FOREACH_SCRIPT(WorldScript)->OnLoadCustomDatabaseTable();
|
||||
@@ -2395,4 +2393,3 @@ MailScript::MailScript(const char* name)
|
||||
{
|
||||
ScriptRegistry<MailScript>::AddScript(this);
|
||||
}
|
||||
|
||||
|
||||
@@ -1017,23 +1017,18 @@ public:
|
||||
// Called when an account logged in successfully
|
||||
virtual void OnAccountLogin(uint32 /*accountId*/) { }
|
||||
|
||||
|
||||
// Called when an account login failed
|
||||
virtual void OnFailedAccountLogin(uint32 /*accountId*/) { }
|
||||
|
||||
|
||||
// Called when Email is successfully changed for Account
|
||||
virtual void OnEmailChange(uint32 /*accountId*/) { }
|
||||
|
||||
|
||||
// Called when Email failed to change for Account
|
||||
virtual void OnFailedEmailChange(uint32 /*accountId*/) { }
|
||||
|
||||
|
||||
// Called when Password is successfully changed for Account
|
||||
virtual void OnPasswordChange(uint32 /*accountId*/) { }
|
||||
|
||||
|
||||
// Called when Password failed to change for Account
|
||||
virtual void OnFailedPasswordChange(uint32 /*accountId*/) { }
|
||||
};
|
||||
@@ -1332,7 +1327,6 @@ public: /* ItemScript */
|
||||
void OnGossipSelect(Player* player, Item* item, uint32 sender, uint32 action);
|
||||
void OnGossipSelectCode(Player* player, Item* item, uint32 sender, uint32 action, const char* code);
|
||||
|
||||
|
||||
public: /* CreatureScript */
|
||||
|
||||
bool OnGossipHello(Player* player, Creature* creature);
|
||||
@@ -1563,7 +1557,6 @@ public: /* UnitScript */
|
||||
uint32 DealDamage(Unit* AttackerUnit, Unit* pVictim, uint32 damage, DamageEffectType damagetype);
|
||||
void OnBeforeRollMeleeOutcomeAgainst(const Unit* attacker, const Unit* victim, WeaponAttackType attType, int32& attackerMaxSkillValueForLevel, int32& victimMaxSkillValueForLevel, int32& attackerWeaponSkill, int32& victimDefenseSkill, int32& crit_chance, int32& miss_chance, int32& dodge_chance, int32& parry_chance, int32& block_chance);
|
||||
|
||||
|
||||
public: /* MovementHandlerScript */
|
||||
|
||||
void OnPlayerMove(Player* player, MovementInfo movementInfo, uint32 opcode);
|
||||
|
||||
@@ -32,4 +32,3 @@
|
||||
T* V = ScriptRegistry<T>::GetScriptById(I); \
|
||||
if (!V) \
|
||||
return R;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user