feat(Core/Entities): add OnPlayerCanGiveLevel script hook (#21666)
This commit is contained in:
parent
4cdb315db1
commit
ffe03f6e14
4 changed files with 20 additions and 0 deletions
|
|
@ -463,6 +463,7 @@ public: /* PlayerScript */
|
|||
void OnPlayerBeforeUpdateSkill(Player* player, uint32 skill_id, uint32& value, uint32 max, uint32 step);
|
||||
void OnPlayerUpdateSkill(Player* player, uint32 skillId, uint32 value, uint32 max, uint32 step, uint32 newValue);
|
||||
bool OnPlayerCanResurrect(Player* player);
|
||||
bool OnPlayerCanGiveLevel(Player* player, uint8 newLevel);
|
||||
|
||||
// Anti cheat
|
||||
void AnticheatSetCanFlybyServer(Player* player, bool apply);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue