feat: add PLAYER_EVENT_ON_CAN_INIT_TRADE (#83)

This commit is contained in:
Axel Cocat
2022-12-31 00:35:58 +01:00
committed by GitHub
parent f40b9c07f0
commit 1e57b45c40
6 changed files with 17 additions and 1 deletions

View File

@@ -756,6 +756,11 @@ public:
{
sEluna->OnFfaPvpStateUpdate(player, IsFlaggedForFfaPvp);
}
bool CanInitTrade(Player* player, Player* target) override
{
return sEluna->OnCanInitTrade(player, target);
}
};
class Eluna_ServerScript : public ServerScript