// Token: 0x06004EFF RID: 20223 RVA: 0x0017DEE0 File Offset: 0x0017C0E0 public static ProClimbTower ToPb(GlobalClimbTowerInfo globalClimbTowerInfo) { ProClimbTower proClimbTower = new ProClimbTower(); proClimbTower.NextFlushTime = globalClimbTowerInfo.ClimbNextWeekFlushTime.Ticks; foreach (GlobalClimbTowerFloor globalClimbTowerFloor in globalClimbTowerInfo.Floors) { proClimbTower.Floors.Add(ClimbTower.ToPb(globalClimbTowerFloor)); } return(proClimbTower); }
// Token: 0x06004AB9 RID: 19129 RVA: 0x00174AD8 File Offset: 0x00172CD8 public override object SerializeToClient() { DSClimbTowerNtf dsclimbTowerNtf = new DSClimbTowerNtf { Version = (uint)base.Version }; dsclimbTowerNtf.Floor = this.ClimbTower.Floor; dsclimbTowerNtf.HistoryFloorMax = this.ClimbTower.HistoryFloorMax; dsclimbTowerNtf.ClimbTower = ClimbTower.ToPb(this.GlobalClimbTowerInfo); return(dsclimbTowerNtf); }