92 mChatroomId = nChatroomId;
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Message that reports the result of joining a chat room of the online lobby.
Definition joinchatroomresultmsg.h:21
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
bool DispatchPriv(Message *pMsg) override
Route the result of the join and the end of the entry, and pass on every other message.
const char * Title() override
Report the empty title of the screen.
Definition netswitchlobbyscreen.h:65
NetSwitchLobbyScreen(DataArray *pData)
Construct the screen from its script description, with no room chosen.
~NetSwitchLobbyScreen() override=default
Destroy the object.
bool HandleJoinResult(JoinChatroomResultMsg *pMsg)
Clear the lobby chat and record the room on success, then go to the success or the error screen.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition netswitchlobbyscreen.h:44
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Clear the focus of the lobby panel and join mChatroomId once the screen has entered.
void SetChatroomId(int nChatroomId)
Definition netswitchlobbyscreen.h:91
UIScreen(DataArray *pData)
Construct a screen from its script description.
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23