Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
start_game_request.h
1//
2// Created by Manuel on 29.01.2021.
3//
4
5#ifndef WIZARD_START_GAME_REQUEST_H
6#define WIZARD_START_GAME_REQUEST_H
7
8
9#include <string>
10#include "client_request.h"
11#include "../../../../rapidjson/include/rapidjson/document.h"
12
14
15private:
16
17 /*
18 * Private constructor for deserialization
19 */
21
22public:
23 start_game_request(std::string game_id, std::string player_id);
24 virtual void write_into_json(rapidjson::Value& json, rapidjson::Document::AllocatorType& allocator) const override;
25 static start_game_request* from_json(const rapidjson::Value& json);
26};
27
28#endif //WIZARD_START_GAME_REQUEST_H
Definition client_request.h:30
Definition start_game_request.h:13
Definition client_request.h:33