mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 07:17:57 +00:00
feat(Core/Scripting): Add OnPlayerBeforeGetLevelForXPGain hook (#25295)
This commit is contained in:
@@ -467,6 +467,7 @@ public: /* PlayerScript */
|
||||
void OnPlayerGetReputationPriceDiscount(Player const* player, Creature const* creature, float& discount);
|
||||
void OnPlayerGetReputationPriceDiscount(Player const* player, FactionTemplateEntry const* factionTemplate, float& discount);
|
||||
void OnPlayerLearnTaxiNode(Player const* player, uint32 nodeId);
|
||||
void OnPlayerBeforeGetLevelForXPGain(Player const* player, uint8& level);
|
||||
|
||||
// Anti cheat
|
||||
void AnticheatSetCanFlybyServer(Player* player, bool apply);
|
||||
|
||||
Reference in New Issue
Block a user