Step that closes the connection of the session on the session library from the worker thread.
Definition netdisconnecttask.h:10
~NetDisconnectTask() override=default
Destroy the object.
void OnStart() override
Queue Disconnect() for the worker thread.
static NetDisconnectTask * sTask
The step that waits for OnDisconnected(), or null.
Definition netdisconnecttask.h:48
static void OnDisconnected(int nResult)
Clear LaunchpadRT::mConnection, report that the player left the game, and finish sTask.
static int Disconnect()
Close LaunchpadRT::mConnection, on the worker thread.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24