struct IHostMigrationEventListener { enum EHostMigrationReturn { Listener_Done, Listener_Wait, Listener_Terminate }; };
INetwork.h
enum EHostMigrationReturn { Listener_Done, Listener_Wait, Listener_Terminate };
INetwork.h
virtual ~IHostMigrationEventListener();
virtual void OnComplete(SHostMigrationInfo& hostMigrationInfo) = 0;
virtual EHostMigrationReturn OnDemoteToClient(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnDisconnectClient(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnFinalise(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnInitiate(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnPromoteToServer(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnReconnectClient(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnReset(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;
virtual EHostMigrationReturn OnTerminate(SHostMigrationInfo& hostMigrationInfo, HMStateType& state) = 0;