struct SHostMigrationInfo { CryFixedStringT<HOST_MIGRATION_MAX_SERVER_NAME_SIZE> m_newServer; CryFixedStringT<HOST_MIGRATION_MAX_PLAYER_NAME_SIZE> m_migratedPlayerName; INetChannel* m_pServerChannel; void* m_pGameSpecificData; CrySessionHandle m_session; CryLobbyTaskID m_taskID; eHostMigrationState m_state; EntityId m_playerID; bool m_isHost; bool m_logProgress; bool m_shouldMigrateNub; };
INetwork.h
bool m_isHost;
bool m_logProgress;
CryFixedStringT<HOST_MIGRATION_MAX_PLAYER_NAME_SIZE> m_migratedPlayerName;
CryFixedStringT<HOST_MIGRATION_MAX_SERVER_NAME_SIZE> m_newServer;
void* m_pGameSpecificData;
EntityId m_playerID;
INetChannel* m_pServerChannel;
CrySessionHandle m_session;
bool m_shouldMigrateNub;
eHostMigrationState m_state;
CryLobbyTaskID m_taskID;
void Initialise(CrySessionHandle h, bool shouldMigrateNub);
bool IsNewHost();
void SetIsNewHost(bool set);
void SetMigratedPlayerName(const char* migratedPlayerName);
void SetNewServer(const char* newServer);
SHostMigrationInfo();
bool ShouldMigrateNub();