[Bug Fix] Fix GetLeaderName() for Groups (#4184)

* [Bug Fix] Fix GetLeaderName() for Groups

# Notes
- We were getting bogus data in this.
- Made it its own method.

* Remove ExpeditionRequest::GetGroupLeaderName()
This commit is contained in:
Alex King
2024-03-13 21:52:02 -04:00
committed by GitHub
parent e48dae2392
commit b29c26becb
9 changed files with 32 additions and 24 deletions
+2
View File
@@ -205,6 +205,8 @@ public:
std::string GetGroupLeaderForLogin(std::string character_name);
char* GetGroupLeadershipInfo(uint32 gid, char* leaderbuf, char* maintank = nullptr, char* assist = nullptr, char* puller = nullptr, char *marknpc = nullptr, char *mentoree = nullptr, int *mentor_percent = nullptr, GroupLeadershipAA_Struct* GLAA = nullptr);
std::string GetGroupLeaderName(uint32 group_id);
uint32 GetGroupID(const char* name);
void ClearGroup(uint32 gid = 0);