feat: add PLAYER_EVENT_ON_CAN_GROUP_INVITE (#100)

This commit is contained in:
Axel Cocat
2023-03-01 10:33:12 +01:00
committed by GitHub
parent 53514a228b
commit 85714c1123
6 changed files with 18 additions and 1 deletions

View File

@@ -791,6 +791,11 @@ public:
{
sEluna->OnPlayerCompleteQuest(player, quest);
}
bool CanGroupInvite(Player* player, std::string& memberName) override
{
return sEluna->OnCanGroupInvite(player, memberName);
}
};
class Eluna_ServerScript : public ServerScript