feat(GroupMethods): Expose IsLFGGroup()
This commit is contained in:
@@ -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]
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user