wavelength 1.0.0
Loading...
Searching...
No Matches
setuplocalplayertask.h
Go to the documentation of this file.
1#pragma once
2
3#include "netflow/nettask.h"
4
5class LobbyPlayer;
6
14public:
21 ~SetupLocalPlayerTask() override = default;
22
32 : mSource(pSource), mTarget(pTarget) {
33 }
34
35protected:
42 void OnStart() override;
43
44private:
45 LobbyPlayer *mSource;
46 LobbyPlayer *mTarget;
47};
A player of the lobby server, as FindPlayerMsg reports it.
Definition lobbyplayer.h:16
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24
~SetupLocalPlayerTask() override=default
Destroy the object.
SetupLocalPlayerTask(LobbyPlayer *pSource, LobbyPlayer *pTarget)
Construct a step.
Definition setuplocalplayertask.h:31
void OnStart() override
Copy the rating, the games, and the record when the server reported a rating, and finish.