Add new war planner chat room enum & strings

This commit is contained in:
AconiteGodOfSWG
2020-11-22 04:35:59 -05:00
parent 09d85dd222
commit 19508b1238
3 changed files with 6 additions and 1 deletions

View File

@@ -1807,6 +1807,9 @@ void CuiChatRoomManager::receiveFailedEnterRoom (const uint32 sequen
case SWG_CHAT_ERR_NOT_CITY_MAYOR:
stringId = &CuiStringIdsChatRoom::join_fail_not_mayor_prose;
break;
case SWG_CHAT_ERR_NOT_WAR_PLANNER:
stringId = &CuiStringIdsChatRoom::join_fail_cannot_enter_war_room_prose;
break;
case SWG_CHAT_ERR_INVALID_OBJECT:
stringId = &CuiStringIdsChatRoom::join_fail_invalid_object_prose;
break;

View File

@@ -59,6 +59,7 @@ namespace CuiStringIdsChatRoom
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, join_fail_cannot_enter_war_room_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

@@ -54,7 +54,8 @@ enum ERROR_CODES
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
SWG_CHAT_ERR_NOT_WAR_PLANNER,
SWG_CHAT_ERR_WRONG_GCW_REGION_DEFENDER_FACTION // this enum is deprecated
};
#endif // CHATENUM_H