1#ifndef EILE_MIT_WEILE_START_GAME_REQUEST_HPP
2#define EILE_MIT_WEILE_START_GAME_REQUEST_HPP
6#include "rapidjson/document.h"
16 void WriteIntoJson(rapidjson::Value& json, rapidjson::Document::AllocatorType& allocator)
const override;
Base class for all requests that are being sent from the client to the server.
Definition ClientRequest.hpp:38
This class represents a start_game_request from the client.
Definition start_game_request.hpp:13
start_game_request(std::string game_id, std::string player_id)
Definition start_game_request.cpp:5
void WriteIntoJson(rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override
Definition start_game_request.cpp:9
static start_game_request * FromJson(const rapidjson::Value &json)
Definition start_game_request.cpp:13
Holds the properties that are common to all ClientRequest subclasses.
Definition ClientRequest.hpp:63