std::map<std::string,std::map<int,std::unique_ptr<ClientNetworkStunSocketHandler>>>stun_handlers;///< All pending STUN handlers, stored by token:family.
TCPConnecter*game_connecter=nullptr;///< Pending connecter to the game server.
uint32newgrf_lookup_table_cursor=0;///< Last received cursor for the #GameInfoNewGRFLookupTable updates.
GameInfoNewGRFLookupTablenewgrf_lookup_table;///< Table to look up NewGRFs in the GC_LISTING packets.
protected:
boolReceive_GC_ERROR(Packet*p)override;
boolReceive_GC_REGISTER_ACK(Packet*p)override;
@ -63,6 +66,7 @@ protected:
boolReceive_GC_DIRECT_CONNECT(Packet*p)override;
boolReceive_GC_STUN_REQUEST(Packet*p)override;
boolReceive_GC_STUN_CONNECT(Packet*p)override;
boolReceive_GC_NEWGRF_LOOKUP(Packet*p)override;
public:
/** The idle timeout; when to close the connection because it's idle. */