mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Quest API] Add Group/Raid Overloads to Perl/Lua. (#2587)
# Perl - Add `$group->IsGroupMember(name)`. - Add `$group->IsLeader(name)`. - Add `$raid->IsRaidMember(c)`. - Add `$raid->IsGroupLeader(c)`. # Lua - Add `group:IsGroupMember(name)`. - Add `group:IsLeader(name)`. - Add `raid:IsGroupLeader(client)`. - Add `raid:IsLeader(client)`. - Add `raid:IsRaidMember(client)`. # Notes - Adds overloads to these methods allowing operators to get by name or reference.
This commit is contained in:
@@ -27,6 +27,7 @@ public:
|
||||
}
|
||||
|
||||
bool IsRaidMember(const char *name);
|
||||
bool IsRaidMember(Lua_Client c);
|
||||
void CastGroupSpell(Lua_Mob caster, int spell_id, uint32 group_id);
|
||||
int GroupCount(uint32 group_id);
|
||||
int RaidCount();
|
||||
@@ -40,6 +41,7 @@ public:
|
||||
bool IsLeader(const char *c);
|
||||
bool IsLeader(Lua_Client c);
|
||||
bool IsGroupLeader(const char *name);
|
||||
bool IsGroupLeader(Lua_Client c);
|
||||
int GetHighestLevel();
|
||||
int GetLowestLevel();
|
||||
Lua_Client GetClientByIndex(int member_index);
|
||||
|
||||
Reference in New Issue
Block a user