public override void Decode() { base.Decode(); int count = this.m_stream.ReadInt(); if (count > -1) { this.m_avatarRankingList = new LogicArrayList <AvatarRankingEntry>(count); for (int i = 0; i < count; i++) { AvatarRankingEntry avatarRankingEntry = new AvatarRankingEntry(); avatarRankingEntry.Decode(this.m_stream); this.m_avatarRankingList.Add(avatarRankingEntry); } } }
public override void Decode() { base.Decode(); int count = this.m_stream.ReadInt(); if (count > -1) { this.m_avatarRankingList = new LogicArrayList <AvatarRankingEntry>(count); for (int i = 0; i < count; i++) { AvatarRankingEntry avatarRankingEntry = new AvatarRankingEntry(); avatarRankingEntry.Decode(this.m_stream); this.m_avatarRankingList.Add(avatarRankingEntry); } } int count2 = this.m_stream.ReadInt(); if (count2 > -1) { this.m_lastSeasonAvatarRankingList = new LogicArrayList <AvatarRankingEntry>(count2); for (int i = 0; i < count2; i++) { AvatarRankingEntry avatarRankingEntry = new AvatarRankingEntry(); avatarRankingEntry.Decode(this.m_stream); this.m_lastSeasonAvatarRankingList.Add(avatarRankingEntry); } } this.m_nextEndTimeSeconds = this.m_stream.ReadInt(); this.m_seasonYear = this.m_stream.ReadInt(); this.m_seasonMonth = this.m_stream.ReadInt(); this.m_lastSeasonYear = this.m_stream.ReadInt(); this.m_lastSeasonMonth = this.m_stream.ReadInt(); }