public void Deserialize(IUnrealStream stream) { if (stream.Version <= 540) { // e.g. Core.Object.X FieldName = stream.ReadText(); } else { FieldIndex = stream.ReadObjectIndex(); } MetaTags = new UArray <UMetaTag>(); MetaTags.Deserialize(stream, tag => tag.Owner = Owner); }
protected override void Deserialize() { base.Deserialize(); MetaObjects = new UArray <UFieldData>(); MetaObjects.Deserialize(_Buffer); }
protected override void Deserialize() { base.Deserialize(); _MetaFields = new UArray <UMetaField>(); _MetaFields.Deserialize(_Buffer, field => field.Owner = Package); }