Add GM Ticket window (/ticket, /gm commands and Esc menu button)

This commit is contained in:
Kelsi 2026-03-12 02:31:12 -07:00
parent 3964a33c55
commit 2bdd024f19
4 changed files with 91 additions and 2 deletions

View file

@ -409,6 +409,10 @@ public:
void setGuildOfficerNote(const std::string& name, const std::string& note);
void acceptGuildInvite();
void declineGuildInvite();
// GM Ticket
void submitGmTicket(const std::string& text);
void deleteGmTicket();
void queryGuildInfo(uint32_t guildId);
void createGuild(const std::string& guildName);
void addGuildRank(const std::string& rankName);

View file

@ -359,6 +359,11 @@ private:
bool showAchievementWindow_ = false;
char achievementSearchBuf_[128] = {};
void renderAchievementWindow(game::GameHandler& gameHandler);
// GM Ticket window
bool showGmTicketWindow_ = false;
char gmTicketBuf_[2048] = {};
void renderGmTicketWindow(game::GameHandler& gameHandler);
uint8_t lfgRoles_ = 0x08; // default: DPS (0x02=tank, 0x04=healer, 0x08=dps)
uint32_t lfgSelectedDungeon_ = 861; // default: random dungeon (entry 861 = Random Dungeon WotLK)