private void Update()
 {
     if (this.mGuest == null || this.mGuest.PlayerID == 0uL || !this.mBaseScene.PostLoadGUIDone)
     {
         return;
     }
     if (Time.time - this.timerRefresh <= 1f)
     {
         return;
     }
     this.timerRefresh = Time.time;
     if (Globals.Instance.Player.GetTimeStamp() > this.mGuest.Timestamp)
     {
         GUICostumePartyPlayerItem.ECPPS status = this.Status;
         if (status != GUICostumePartyPlayerItem.ECPPS.ECPPS_Std)
         {
             if (status == GUICostumePartyPlayerItem.ECPPS.ECPPS_NormalDance)
             {
                 this.Status = GUICostumePartyPlayerItem.ECPPS.ECPPS_Std;
                 this.OverCarnival();
                 if (Globals.Instance.Player.Data.ID == this.mGuest.PlayerID)
                 {
                     this.mBaseScene.RefreshGetReward();
                     if (!this.mBaseScene.CanChangeSong())
                     {
                         this.mBaseScene.PlayBGMusic();
                     }
                 }
             }
         }
     }
     if (this.UIID != 0 && this.UIID != this.mGuest.FashionID && Globals.Instance.Player.GetTimeStamp() > this.mGuest.PetTimestamp)
     {
         this.PlayWand();
     }
 }
 public void RefreshStatus()
 {
     if (this.mGuest.Timestamp > Globals.Instance.Player.GetTimeStamp())
     {
         this.Status = GUICostumePartyPlayerItem.ECPPS.ECPPS_NormalDance;
     }
     else
     {
         this.Status = GUICostumePartyPlayerItem.ECPPS.ECPPS_Std;
     }
     base.StartCoroutine(this.ChangeStatus());
 }