1#ifndef EILE_MIT_WEILE_THROW_DICE_REQUEST_HPP
2#define EILE_MIT_WEILE_THROW_DICE_REQUEST_HPP
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 throw_dice_request from the client.
Definition throw_dice_request.hpp:13
throw_dice_request(std::string game_id, std::string player_id)
Definition throw_dice_request.cpp:4
static throw_dice_request * FromJson(const rapidjson::Value &json)
Definition throw_dice_request.cpp:13
void WriteIntoJson(rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override
Definition throw_dice_request.cpp:8
Holds the properties that are common to all ClientRequest subclasses.
Definition ClientRequest.hpp:63