Merge pull request #6 from AconiteGodOfSWG/master

Add Guild Leader and City Mayor Chat Channels
This commit is contained in:
Cekis
2020-10-28 17:05:00 -07:00
committed by GitHub
4 changed files with 12 additions and 0 deletions

View File

@@ -1801,6 +1801,12 @@ void CuiChatRoomManager::receiveFailedEnterRoom (const uint32 sequen
case SWG_CHAT_ERR_NOT_WARDEN:
stringId = &CuiStringIdsChatRoom::join_fail_not_warden_prose;
break;
case SWG_CHAT_ERR_NOT_GUILD_LEADER:
stringId = &CuiStringIdsChatRoom::join_fail_not_guild_leader_prose;
break;
case SWG_CHAT_ERR_NOT_CITY_MAYOR:
stringId = &CuiStringIdsChatRoom::join_fail_not_mayor_prose;
break;
case SWG_CHAT_ERR_INVALID_OBJECT:
stringId = &CuiStringIdsChatRoom::join_fail_invalid_object_prose;
break;

View File

@@ -57,6 +57,8 @@ namespace CuiStringIdsChatRoom
MAKE_STRING_ID(ui_chatroom, join_fail_invalid_object_prose);
MAKE_STRING_ID(ui_chatroom, join_fail_no_game_server_prose);
MAKE_STRING_ID(ui_chatroom, join_fail_not_warden_prose);
MAKE_STRING_ID(ui_chatroom, join_fail_not_guild_leader_prose);
MAKE_STRING_ID(ui_chatroom, join_fail_not_mayor_prose);
MAKE_STRING_ID(ui_chatroom, list_received);
MAKE_STRING_ID(ui_chatroom, not_a_room);
MAKE_STRING_ID(ui_chatroom, not_found);

View File

@@ -52,6 +52,8 @@ enum ERROR_CODES
SWG_CHAT_ERR_INVALID_OBJECT,
SWG_CHAT_ERR_NO_GAME_SERVER,
SWG_CHAT_ERR_NOT_WARDEN,
SWG_CHAT_ERR_NOT_GUILD_LEADER,
SWG_CHAT_ERR_NOT_CITY_MAYOR,
SWG_CHAT_ERR_WRONG_GCW_REGION_DEFENDER_FACTION
};

View File

@@ -44,6 +44,8 @@ namespace ChatRoomTypes
static const std::string ROOM_TRADER = "Trader";
static const std::string ROOM_BEAST_MASTERY = "BeastMastery";
static const std::string ROOM_WARDEN = "Warden";
static const std::string ROOM_GUILD_LEADER = "GuildLeaders";
static const std::string ROOM_CITY_MAYOR = "CityMayors";
}//namespace ChatRoomTypes
enum