Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
Gui Namespace Reference

Typed structs for the GUI client request commands. More...

Classes

struct  Bct
 
struct  Mct
 
struct  Msz
 
struct  Pin
 
struct  Plv
 
struct  Ppo
 
struct  Sgt
 
struct  Sst
 
struct  Stu
 
struct  Tna
 

Typedefs

using Request = std::variant< Msz, Bct, Mct, Tna, Ppo, Plv, Pin, Sgt, Sst, Stu >
 

Detailed Description

Typed structs for the GUI client request commands.

Player-targeting requests (ppo, plv, pin) carry the player id after stripping the '#' prefix from the wire format.

See also
G-YEP-400_zappy_GUI_protocol.pdf, "Client" column.
Serializer for the server responses triggered by these requests.

Typedef Documentation

◆ Request

using Gui::Request = typedef std::variant<Msz, Bct, Mct, Tna, Ppo, Plv, Pin, Sgt, Sst, Stu>

Definition at line 39 of file GuiParser.hpp.