wavelength 1.0.0
Loading...
Searching...
No Matches
netlobbydisconnect.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
5#include "script/dataarray.h"
6#include "ui/uiscreen.h"
8
15public:
23 explicit NetLobbyDisconnect(DataArray *pData);
24
32 }
33
42 static UIScreen *New(DataArray *pData) {
43 return new NetLobbyDisconnect(pData);
44 }
45
54 bool DispatchPriv(Message *pMsg) override;
55
63 const char *Title() override {
64 return "";
65 }
66
67private:
78 bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg);
79
90 bool HandleDisconnectResult(LobbyDisconnectResultMsg *pMsg);
91
92 int mAsked;
93};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Report that NetLobby::Disconnect() finished.
Definition lobbydisconnectresultmsg.h:13
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
static UIScreen * New(DataArray *pData)
Produce a screen on the heap.
Definition netlobbydisconnect.h:42
bool DispatchPriv(Message *pMsg) override
Route the result of the disconnection and the end of the entry.
const char * Title() override
Report no title.
Definition netlobbydisconnect.h:63
~NetLobbyDisconnect() override
Release the screen.
Definition netlobbydisconnect.h:31
NetLobbyDisconnect(DataArray *pData)
Construct a screen.
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