wavelength 1.0.0
Loading...
Searching...
No Matches
nethostattemptscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
7#include "script/dataarray.h"
9
18public:
25 ~NetHostAttemptScreen() override = default;
26
35
46 static UIScreen *New(DataArray *pData) {
47 return new NetHostAttemptScreen(pData);
48 }
49
59 bool DispatchPriv(Message *pMsg) override;
60
68 const char *Title() override {
69 return "";
70 }
71
81
91
101
114
115private:
116 int mCancelling;
117};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Message that reports that this console now hosts an online session.
Definition hostlaunchpadsuccessmsg.h:22
Message the controller poll sends when a button is pressed or released.
Definition joypadinputmsg.h:23
Message that reports that the online launchpad of this console ended before the game started.
Definition launchpadabortedmsg.h:14
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
bool HandleAborted(LaunchpadAbortedMsg *pMsg)
Go back to the hosting menu after a cancel, or to the hosting error otherwise.
bool DispatchPriv(Message *pMsg) override
Route the messages of the session, the end of the entry, and the controller buttons,...
~NetHostAttemptScreen() override=default
Destroy the object.
NetHostAttemptScreen(DataArray *pData)
Construct the screen from its script description.
const char * Title() override
Report the empty title of the screen.
Definition nethostattemptscreen.h:68
bool HandleJoypad(JoypadInputMsg *pMsg)
Cancel the attempt when the triangle button goes down.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition nethostattemptscreen.h:46
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Start hosting once the screen has entered.
bool HandleSuccess(HostLaunchpadSuccessMsg *pMsg)
Clear the chat of the host launchpad, and go to it unless the player cancelled.
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