Searched refs:m_client_type (Results 1 – 14 of 14) sorted by relevance
216 return lhs.m_client_type == rhs.m_client_type && in operator ==()237 if (psd.second.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) in Dump()239 else if (psd.second.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER) in Dump()241 else if (psd.second.m_client_type == Networking::CLIENT_TYPE_HUMAN_OBSERVER) in Dump()243 else if (psd.second.m_client_type == Networking::CLIENT_TYPE_HUMAN_MODERATOR) in Dump()
157 m_client_type(Networking::INVALID_CLIENT_TYPE) in PlayerSaveHeaderData()164 m_client_type(client_type) in PlayerSaveHeaderData()169 Networking::ClientType m_client_type; member239 m_client_type(Networking::INVALID_CLIENT_TYPE), in PlayerSetupData()252 Networking::ClientType m_client_type; ///< is this player an AI, human player or...? member
189 & BOOST_SERIALIZATION_NVP(m_client_type); in serialize()206 & BOOST_SERIALIZATION_NVP(m_client_type); in serialize()240 & BOOST_SERIALIZATION_NVP(m_client_type) in serialize()
83 if (psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER) in GetHostNameFromSinglePlayerSetupData()98 if (psgd.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER) in GetHostNameFromSinglePlayerSetupData()111 switch (entry.second.m_client_type) { in LogPlayerSetupData()441 player_setup_data.m_client_type = (*player_it)->GetClientType(); in UpdateIngameLobby()773 if (psgd.m_client_type != Networking::CLIENT_TYPE_AI_PLAYER) in react()804 return (lhs.m_client_type != rhs.m_client_type) || in IsPlayerChanged()1101 player_setup_data.m_client_type = client_type; in EstablishPlayer()1551 auto client_type = player_setup_it->second.m_client_type; in react()2026 psgd.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) in WaitingForSPGameJoiners()2034 psd.m_client_type = psgd.m_client_type; in WaitingForSPGameJoiners()[all …]
204 { return m_client_type; } in GetClientType()221 …return (m_ID != INVALID_PLAYER_ID && !m_player_name.empty() && m_client_type != Networking::INVALI… in IsEstablished()240 if (m_client_type != Networking::INVALID_CLIENT_TYPE) { in AwaitPlayer()248 m_client_type = client_type; in AwaitPlayer()281 m_client_type = client_type; in EstablishPlayer()286 m_client_type = client_type; in SetClientType()287 if (m_client_type == Networking::INVALID_CLIENT_TYPE) in SetClientType()
62 if (psgd.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER) { in CompileSaveGamePreviewData()63 if (player->m_client_type != Networking::CLIENT_TYPE_HUMAN_PLAYER && in CompileSaveGamePreviewData()64 player->m_client_type != Networking::CLIENT_TYPE_HUMAN_OBSERVER && in CompileSaveGamePreviewData()65 player->m_client_type != Networking::CLIENT_TYPE_HUMAN_MODERATOR) in CompileSaveGamePreviewData()
203 if (psd.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) { in CreateAIClients()273 if (psd.m_client_type != Networking::CLIENT_TYPE_AI_PLAYER) in CreateAIClients()564 if (psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER || in NewMPGameInit()565 psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_OBSERVER || in NewMPGameInit()566 psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_MODERATOR) in NewMPGameInit()598 } else if (psd.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) { in NewMPGameInit()679 && (psd.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER in NewGameInitConcurrentWithJoiners()761 if (psd.m_client_type == Networking::INVALID_CLIENT_TYPE) { in NewGameInitVerifyJoiners()806 if (psd.m_client_type != client_type) { in NewGameInitVerifyJoiners()862 if (psgd.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER) { in LoadSPGameInit()[all …]
333 Networking::ClientType m_client_type = Networking::INVALID_CLIENT_TYPE; variable
329 if (m_player_data.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) { in CompleteConstruction()355 m_player_data.m_client_type = type; in PlayerTypeChanged()453 if (m_player_data.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) { in CompleteConstruction()478 m_player_data.m_client_type = type; in PlayerTypeChanged()549 m_player_data.m_client_type = type; in PlayerTypeChanged()589 m_player_data.m_client_type = type; in PlayerTypeChanged()843 << entry.second.m_client_type << ", " in LogPlayerSetupData()1064 else if (psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_PLAYER || in PopulatePlayerList()1065 psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_OBSERVER || in PopulatePlayerList()1066 psd.m_client_type == Networking::CLIENT_TYPE_HUMAN_MODERATOR) in PopulatePlayerList()[all …]
81 human_player_setup_data.m_client_type = Networking::CLIENT_TYPE_HUMAN_PLAYER; in HostSPGame()96 ai_setup_data.m_client_type = Networking::CLIENT_TYPE_AI_PLAYER; in HostSPGame()280 if (plr.second.m_client_type == Networking::CLIENT_TYPE_AI_PLAYER) in GetLobbyAICount()
159 ai_plr.m_client_type = Networking::CLIENT_TYPE_AI_PLAYER; in BOOST_FIXTURE_TEST_SUITE()
49 m_client_type = ca_client_type.get_rval(client); in ClientAgent()96 …ClientFactory::singleton().instantiate_client(m_client_type, m_clientconfig, this, socket, remote,… in handle_tcp()
65 std::string m_client_type; variable
599 human_player_setup_data.m_client_type = Networking::CLIENT_TYPE_HUMAN_PLAYER; in NewSinglePlayerGame()615 ai_setup_data.m_client_type = Networking::CLIENT_TYPE_AI_PLAYER; in NewSinglePlayerGame()