Пример #1
0
 // Token: 0x06006E90 RID: 28304 RVA: 0x001EF72C File Offset: 0x001ED92C
 public void SetClimbTower(ClimbTowerGetAck msg)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetClimbTowerClimbTowerGetAck_hotfix != null)
     {
         this.m_SetClimbTowerClimbTowerGetAck_hotfix.call(new object[]
         {
             this,
             msg
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_climbTowerDS.ClearInitedData();
     this.m_climbTowerDS.GlobalClimbTowerInfo       = ClimbTower.FromPb(msg.ClimbTower);
     this.m_climbTowerDS.ClimbTower.Floor           = msg.Floor;
     this.m_climbTowerDS.ClimbTower.HistoryFloorMax = msg.HistoryFloorMax;
     this.m_climbTowerDS.ClimbTower.NextFlushTime   = this.m_climbTowerDS.GlobalClimbTowerInfo.ClimbNextWeekFlushTime;
 }
Пример #2
0
 // Token: 0x06006E8F RID: 28303 RVA: 0x001EF634 File Offset: 0x001ED834
 public void DeSerialize(DSClimbTowerNtf msg)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_DeSerializeDSClimbTowerNtf_hotfix != null)
     {
         this.m_DeSerializeDSClimbTowerNtf_hotfix.call(new object[]
         {
             this,
             msg
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_climbTowerDS.InitVersion((ushort)msg.Version, (ushort)msg.Version);
     this.m_climbTowerDS.ClearInitedData();
     this.m_climbTowerDS.GlobalClimbTowerInfo       = ClimbTower.FromPb(msg.ClimbTower);
     this.m_climbTowerDS.ClimbTower.Floor           = msg.Floor;
     this.m_climbTowerDS.ClimbTower.HistoryFloorMax = msg.HistoryFloorMax;
     this.m_climbTowerDS.ClimbTower.NextFlushTime   = this.m_climbTowerDS.GlobalClimbTowerInfo.ClimbNextWeekFlushTime;
 }