public override void Decode() { base.Decode(); this.m_allianceWarEntry = new AllianceWarEntry(); this.m_allianceWarEntry.Decode(this.m_stream); }
public override void Decode() { base.Decode(); this.m_warState = this.m_stream.ReadInt(); this.m_warStateRemainingSeconds = this.m_stream.ReadInt(); this.m_ownAllianceWarEntry = new AllianceWarEntry(); this.m_ownAllianceWarEntry.Decode(this.m_stream); if (this.m_stream.ReadBoolean()) { this.m_enemyAllianceWarEntry = new AllianceWarEntry(); this.m_enemyAllianceWarEntry.Decode(this.m_stream); } if (this.m_stream.ReadBoolean()) { this.m_warId = this.m_stream.ReadLong(); } this.m_stream.ReadInt(); int count = this.m_stream.ReadInt(); if (count >= 0) { this.m_warEventEntryList = new LogicArrayList <WarEventEntry>(count); for (int i = count - 1; i >= 0; i--) { WarEventEntry warEventEntry = WarEventEntryFactory.CreateWarEventEntryByType(this.m_stream.ReadInt()); warEventEntry.Decode(this.m_stream); this.m_warEventEntryList.Add(warEventEntry); } } }
public void SetAllianceWarEntry(AllianceWarEntry list) { this.m_allianceWarEntry = list; }
public void SetEnemyAllianceWarEntry(AllianceWarEntry value) { this.m_enemyAllianceWarEntry = value; }
public void SetOwnAllianceWarEntry(AllianceWarEntry value) { this.m_ownAllianceWarEntry = value; }