feat(Core/Player): Add hooks for reputation price discount calculation. (#24666)

This commit is contained in:
Benjamin Jackson
2026-02-15 17:44:44 -05:00
committed by GitHub
parent 24f84ee849
commit 1e47f701ac
4 changed files with 46 additions and 4 deletions

View File

@@ -462,6 +462,8 @@ public: /* PlayerScript */
bool OnPlayerCanResurrect(Player* player);
bool OnPlayerCanGiveLevel(Player* player, uint8 newLevel);
void OnPlayerSendListInventory(Player* player, ObjectGuid vendorGuid, uint32& vendorEntry);
void OnPlayerGetReputationPriceDiscount(Player const* player, Creature const* creature, float& discount);
void OnPlayerGetReputationPriceDiscount(Player const* player, FactionTemplateEntry const* factionTemplate, float& discount);
// Anti cheat
void AnticheatSetCanFlybyServer(Player* player, bool apply);