Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
Event.hpp File Reference
#include <cstdint>
#include <string>
#include <variant>
#include <vector>
#include "Orientation.hpp"
#include "Resources.hpp"
+ Include dependency graph for Event.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MapSize
 
struct  TileContent
 
struct  TeamName
 
struct  PlayerNew
 
struct  PlayerPosition
 
struct  PlayerLevel
 
struct  PlayerInventory
 
struct  PlayerExpulsion
 
struct  PlayerBroadcast
 
struct  IncantationStart
 
struct  IncantationEnd
 
struct  PlayerFork
 
struct  PlayerResourceDrop
 
struct  PlayerResourceTake
 
struct  PlayerDeath
 
struct  EggNew
 
struct  EggHatch
 
struct  EggDeath
 
struct  TimeUnit
 
struct  TimeUnitChange
 
struct  GameEnd
 
struct  WinDuration
 
struct  ServerMessage
 
struct  UnknownCommand
 
struct  BadParameters
 
struct  ServerUptime
 
struct  ServerSpawnedEgg
 

Typedefs

using Event = std::variant< MapSize, TileContent, TeamName, PlayerNew, PlayerPosition, PlayerLevel, PlayerInventory, PlayerExpulsion, PlayerBroadcast, IncantationStart, IncantationEnd, PlayerFork, PlayerResourceDrop, PlayerResourceTake, PlayerDeath, EggNew, EggHatch, EggDeath, TimeUnit, TimeUnitChange, GameEnd, ServerMessage, UnknownCommand, BadParameters, ServerUptime, ServerSpawnedEgg, WinDuration >
 Represents an event received from the server. Is a variant of all possible events, each with their own parameters.
 

Typedef Documentation

◆ Event