示例#1
0
 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);
 }
示例#2
0
 protected override void Deserialize()
 {
     base.Deserialize();
     MetaObjects = new UArray <UFieldData>();
     MetaObjects.Deserialize(_Buffer);
 }
示例#3
0
 protected override void Deserialize()
 {
     base.Deserialize();
     _MetaFields = new UArray <UMetaField>();
     _MetaFields.Deserialize(_Buffer, field => field.Owner = Package);
 }