public new void Deserialize(IDataReader reader) { base.Deserialize(reader); Geopositions = new PartyMemberGeoPosition[reader.ReadShort()]; for (var i = 0; i < Geopositions.Length; i++) { (Geopositions[i] = new PartyMemberGeoPosition()).Deserialize(reader); } }
public override void Serialize(IDataWriter writer) { base.Serialize(writer); writer.WriteShort(((short)(m_geopositions.Count))); int geopositionsIndex; for (geopositionsIndex = 0; (geopositionsIndex < m_geopositions.Count); geopositionsIndex = (geopositionsIndex + 1)) { PartyMemberGeoPosition objectToSend = m_geopositions[geopositionsIndex]; objectToSend.Serialize(writer); } }
public override void Deserialize(IDataReader reader) { base.Deserialize(reader); uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { PartyMemberGeoPosition memberGeoPosition = new PartyMemberGeoPosition(); memberGeoPosition.Deserialize(reader); this.geopositions.Add(memberGeoPosition); } }
public override void Deserialize(IDataReader reader) { base.Deserialize(reader); var geopositionsCount = reader.ReadUShort(); Geopositions = new List <PartyMemberGeoPosition>(); for (var geopositionsIndex = 0; geopositionsIndex < geopositionsCount; geopositionsIndex++) { var objectToAdd = new PartyMemberGeoPosition(); objectToAdd.Deserialize(reader); Geopositions.Add(objectToAdd); } }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); var countGeopositions = reader.ReadShort(); Geopositions = new List <PartyMemberGeoPosition>(); for (short i = 0; i < countGeopositions; i++) { PartyMemberGeoPosition type = new PartyMemberGeoPosition(); type.Deserialize(reader); Geopositions.Add(type); } }
public override void Deserialize(IDataReader reader) { base.Deserialize(reader); int geopositionsCount = reader.ReadUShort(); int geopositionsIndex; m_geopositions = new System.Collections.Generic.List <PartyMemberGeoPosition>(); for (geopositionsIndex = 0; (geopositionsIndex < geopositionsCount); geopositionsIndex = (geopositionsIndex + 1)) { PartyMemberGeoPosition objectToAdd = new PartyMemberGeoPosition(); objectToAdd.Deserialize(reader); m_geopositions.Add(objectToAdd); } }