public override void OnEnteredForeground() { if (!IsSim() && m_listener != null) { } State = EB.Sparx.SubSystemState.Connected; }
public override void OnEnteredBackground() { if (!IsSim() && m_listener != null) { m_listener.BroadcastMessage("PauseCombat"); } State = EB.Sparx.SubSystemState.Disconnected; }
public override void Disconnect(bool isLogout) { State = EB.Sparx.SubSystemState.Disconnected; startObj = null; hasRequest = false; if (s_simEndpoint != null) { UnRegisterSimulatorEndpoint(); s_simEndpoint = null; } if (m_listener != null) { UnRegisterListener(); } }
public override void Connect() { State = EB.Sparx.SubSystemState.Connected; }