mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 21:56:36 +00:00
[Quest API] Add Group/Raid overloads to Perl/Lua. (#2526)
# Perl - Add `$raid->GetGroup(client)` to Perl. - Add `$raid->GetGroupMember(member_index)` to Perl. - Add `$raid->IsLeader(client)` to Perl. # Lua - Add `group:GroupMessage(sender, message)` to Lua.
This commit is contained in:
+3
-2
@@ -30,7 +30,8 @@ public:
|
||||
bool IsGroupMember(Lua_Mob mob);
|
||||
void CastGroupSpell(Lua_Mob caster, int spell_id);
|
||||
void SplitExp(uint32 exp, Lua_Mob other);
|
||||
void GroupMessage(Lua_Mob sender, int language, const char *message);
|
||||
void GroupMessage(Lua_Mob sender, const char* message);
|
||||
void GroupMessage(Lua_Mob sender, int language, const char* message);
|
||||
uint32 GetTotalGroupDamage(Lua_Mob other);
|
||||
void SplitMoney(uint32 copper, uint32 silver, uint32 gold, uint32 platinum);
|
||||
void SplitMoney(uint32 copper, uint32 silver, uint32 gold, uint32 platinum, Lua_Client splitter);
|
||||
@@ -44,7 +45,7 @@ public:
|
||||
uint32 GetLowestLevel();
|
||||
void TeleportGroup(Lua_Mob sender, uint32 zone_id, uint32 instance_id, float x, float y, float z, float h);
|
||||
int GetID();
|
||||
Lua_Mob GetMember(int index);
|
||||
Lua_Mob GetMember(int member_index);
|
||||
bool DoesAnyMemberHaveExpeditionLockout(std::string expedition_name, std::string event_name);
|
||||
bool DoesAnyMemberHaveExpeditionLockout(std::string expedition_name, std::string event_name, int max_check_count);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user