feat(GroupMethods): Expose IsLFGGroup()

This commit is contained in:
Skjalf
2021-11-10 19:02:45 -03:00
parent 437ab62996
commit d3c382ccc7
2 changed files with 13 additions and 1 deletions

View File

@@ -36,6 +36,18 @@ namespace LuaGroup
return 1;
}
/**
* Returns 'true' if the [Player] is in a LFG group
*
* @param ObjectGuid guid : guid of a possible player
* @return bool isLFGGroup
*/
int IsLFGGroup(lua_State* L, Group* group)
{
Eluna::Push(L, group->isLFGGroup());
return 1;
}
/**
* Returns 'true' if the [Group] is a raid [Group]
*