feat(Core/Entities): Add OnPlayerSendListInventory script hook (#21676)

This commit is contained in:
Vincent Vanclef
2025-03-11 15:01:55 +01:00
committed by GitHub
parent d4b1c795c8
commit dd42f7a673
4 changed files with 18 additions and 0 deletions

View File

@@ -464,6 +464,7 @@ public: /* PlayerScript */
void OnPlayerUpdateSkill(Player* player, uint32 skillId, uint32 value, uint32 max, uint32 step, uint32 newValue);
bool OnPlayerCanResurrect(Player* player);
bool OnPlayerCanGiveLevel(Player* player, uint8 newLevel);
void OnPlayerSendListInventory(Player* player, ObjectGuid vendorGuid, uint32& vendorEntry);
// Anti cheat
void AnticheatSetCanFlybyServer(Player* player, bool apply);