A config object defines a single node in a WML file, with access to child nodes.
TODO: rename this class since it isn't that much related to turns.
events::generic_event host_transfer_
events::generic_event & host_transfer()
PROCESS_DATA_RESULT handle_turn(const config &t, bool chat_only=false)
static void change_side_controller(int side, const std::string &player)
playturn_network_adapter & network_reader_
static PROCESS_DATA_RESULT replay_to_process_data_result(REPLAY_RETURN replayreturn)
PROCESS_DATA_RESULT sync_network()
@ PROCESS_FOUND_DEPENDENT
When we couldn't process the network data because we found a dependent command, this should only happ...
@ PROCESS_CANNOT_HANDLE
when we couldn't handle the given action currently.
@ PROCESS_END_LINGER
When the host uploaded the next scenario this is returned.
@ PROCESS_END_LEVEL
We found a player action in the replay that caused the game to end.
turn_info(replay_network_sender &network_sender, playturn_network_adapter &network_reader)
replay_network_sender & replay_sender_
PROCESS_DATA_RESULT process_network_data_from_reader()
PROCESS_DATA_RESULT process_network_data(const config &cfg, bool chat_only=false)