Feat(Core/Scripting): Add new hook CanPlayerResurrect to simplify HardCore mod etc. (#21272)

This commit is contained in:
iThorgrim
2025-02-03 18:28:19 +01:00
committed by GitHub
parent 6753b44b16
commit c53112d820
4 changed files with 19 additions and 0 deletions

View File

@@ -459,6 +459,7 @@ public: /* PlayerScript */
void OnAfterCreatureLoot(Player* player);
void OnAfterCreatureLootMoney(Player* player);
bool OnCanPlayerFlyInZone(Player* player, uint32 mapId, uint32 zoneId, SpellInfo const* bySpell);
bool CanPlayerResurrect(Player* player);
// Anti cheat
void AnticheatSetCanFlybyServer(Player* player, bool apply);