public void Serialize(IDataWriter writer) { SellerDescriptor.Serialize(writer); for (var i = 0; i < ObjectsInfos.Length; i++) { ObjectsInfos[i].Serialize(writer); } }
public override void Serialize(IDataWriter writer) { SellerDescriptor.Serialize(writer); writer.WriteShort((short)ObjectsInfos.Count); foreach (var x in ObjectsInfos) { x.Serialize(writer); } }
public override void Serialize(IDataWriter writer) { SellerDescriptor.Serialize(writer); writer.WriteShort((short)ObjectsInfos.Count); for (var objectsInfosIndex = 0; objectsInfosIndex < ObjectsInfos.Count; objectsInfosIndex++) { var objectToSend = ObjectsInfos[objectsInfosIndex]; objectToSend.Serialize(writer); } }