Ejemplo n.º 1
0
 public void Update()
 {
     if (this.mState != VersusAudienceManager.CONNECT_STATE.CONNECTED)
     {
         return;
     }
     this.mNoneConnectedTime += Time.get_deltaTime();
     if ((double)this.mNoneConnectedTime < (double)VersusAudienceManager.CONNECTTIME_MAX)
     {
         return;
     }
     this.mState = VersusAudienceManager.CONNECT_STATE.NONE;
 }
Ejemplo n.º 2
0
 public void Reset()
 {
     if (this.mTurnLog == null)
     {
         this.mTurnLog = new Dictionary <int, List <SceneBattle.MultiPlayRecvData> >();
     }
     this.mTurnLog.Clear();
     this.mStartedParam           = (AudienceStartParam)null;
     this.mRoomParam              = (JSON_MyPhotonRoomParam)null;
     this.mNonAnalyzeLog          = (string)null;
     this.mReadCnt                = 0;
     this.mRetryStartQuestCnt     = 0;
     this.mDownloadLogger         = (DownloadLogger)null;
     this.mDownloadLogger         = new DownloadLogger();
     this.mDownloadLogger.Manager = this;
     this.mState = VersusAudienceManager.CONNECT_STATE.REQ;
 }
Ejemplo n.º 3
0
 public void ResetTime()
 {
     this.mNoneConnectedTime = 0.0f;
     this.mState             = VersusAudienceManager.CONNECT_STATE.REQ;
 }
Ejemplo n.º 4
0
 public void Disconnect()
 {
     this.mState = VersusAudienceManager.CONNECT_STATE.NONE;
 }
Ejemplo n.º 5
0
 public void Add(string data)
 {
     this.Analyze(data);
     this.mState             = VersusAudienceManager.CONNECT_STATE.CONNECTED;
     this.mNoneConnectedTime = 0.0f;
 }