示例#1
0
 private void OnApplicationPause(bool pause)
 {
     if (pause)
     {
         TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_BACKEND);
     }
     else
     {
         TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_FRONTEND);
     }
 }
示例#2
0
 private void OnApplicationPause(bool pause)
 {
     if (pause)
     {
         TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_BACKEND);
     }
     else
     {
         TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_FRONTEND);
     }
     Singleton <BeaconHelper> .GetInstance().Event_ApplicationPause(pause);
 }
 private void OnApplicationPause(bool pause)
 {
     Debug.Log(this.tag + " puase: " + pause);
     if (pause)
     {
         TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_BACKEND);
     }
     else
     {
         TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_FRONTEND);
     }
 }
示例#4
0
 private void OnApplicationPause(bool pause)
 {
     if (!this.bInit || !this.bEnableTSS)
     {
         return;
     }
     if (pause)
     {
         TssSdk.TssSdkSetGameStatus(2);
     }
     else
     {
         TssSdk.TssSdkSetGameStatus(1);
     }
     Singleton <BeaconHelper> .GetInstance().Event_ApplicationPause(pause);
 }
示例#5
0
 public void UpdateFinished()
 {
     TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_UPDATE_FINISHED);
 }
示例#6
0
 public void EndPVP()
 {
     TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_END_PVP);
 }
示例#7
0
 public void StartPVP()
 {
     TssSdk.TssSdkSetGameStatus(TssSdk.EGAMESTATUS.GAME_STATUS_START_PVP);
 }