public override void Deserialize(IDataReader reader) { uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { EntityInformation entityInformation = new EntityInformation(); entityInformation.Deserialize(reader); this.entities.Add(entityInformation); } }
public override void Deserialize(ICustomDataInput reader) { var countEntities = reader.ReadShort(); Entities = new List <EntityInformation>(); for (short i = 0; i < countEntities; i++) { EntityInformation type = new EntityInformation(); type.Deserialize(reader); Entities.Add(type); } }
public override void Deserialize(IDataReader reader) { var EntitiesCount = reader.ReadShort(); Entities = new List <EntityInformation>(); for (var i = 0; i < EntitiesCount; i++) { var objectToAdd = new EntityInformation(); objectToAdd.Deserialize(reader); Entities.Add(objectToAdd); } }
public override void Deserialize(IDataReader reader) { Entity = new EntityInformation(); Entity.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { Entity = new EntityInformation(); Entity.Deserialize(reader); }