Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
full_state_response Class Reference
Inheritance diagram for full_state_response:
server_response serializable

Public Member Functions

 full_state_response (std::string game_id, const game_state &state)
 
rapidjson::Value * get_state_json () const
 
virtual void write_into_json (rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override
 
- Public Member Functions inherited from server_response
ResponseType get_type () const
 
std::string get_game_id () const
 
- Public Member Functions inherited from serializable
virtual rapidjson::Document * to_json () const
 

Static Public Member Functions

static full_state_responsefrom_json (const rapidjson::Value &json)
 
- Static Public Member Functions inherited from server_response
static server_responsefrom_json (const rapidjson::Value &json)
 

Additional Inherited Members

- Protected Member Functions inherited from server_response
 server_response (base_class_properties)
 
- Static Protected Member Functions inherited from server_response
static base_class_properties create_base_class_properties (ResponseType type, const std::string &game_id)
 
static base_class_properties extract_base_class_properties (const rapidjson::Value &json)
 
- Protected Attributes inherited from server_response
std::string _game_id
 
ResponseType _type
 

Member Function Documentation

◆ write_into_json()

void full_state_response::write_into_json ( rapidjson::Value & json,
rapidjson::Document::AllocatorType & allocator ) const
overridevirtual

Reimplemented from server_response.


The documentation for this class was generated from the following files: