Eile Mit Weile
Loading...
Searching...
No Matches
ClientRequest.hpp File Reference
#include <string>
#include <unordered_map>
#include <iostream>
#include <utility>
#include "rapidjson/document.h"
#include "common/serialization/serializable.hpp"
#include "common/exceptions/EileMitWeileException.hpp"
#include "common/serialization/uuid_generator.hpp"
#include "common/serialization/json_utils.hpp"

Go to the source code of this file.

Classes

class  ClientRequest
 Base class for all requests that are being sent from the client to the server. More...
 
struct  ClientRequest::BaseClassProperties
 Holds the properties that are common to all ClientRequest subclasses. More...
 

Enumerations

enum  RequestType {
  join_game , start_game , move_figure , skip_turn ,
  throw_dice
}
 Identifier for the different request types. More...
 

Enumeration Type Documentation

◆ RequestType

Identifier for the different request types.

The RequestType is sent with every ClientRequest to identify the type of ClientRequest during deserialization on the server side.