public static FPropertyTag PropertyVisitor(BinaryReader reader, FPropertyTag baseTag, FPackageFileSummary summary) { USetProperty uSetProperty = LSerializer.Deserialize <USetProperty>(reader); uSetProperty.Ref(summary); long position = reader.BaseStream.Position; uSetProperty.Entries = UArrayProperty.GetEntries(uSetProperty.Count, uSetProperty.ArrayType, reader, summary); reader.BaseStream.Position = position + uSetProperty.Size - 8; return(uSetProperty); }
public static FPropertyTag PropertyVisitor(BinaryReader reader, FPropertyTag baseTag, FPackageFileSummary summary) { var instance = LSerializer.Deserialize <USetProperty>(reader); instance.Ref(summary); var @base = reader.BaseStream.Position; instance.Entries = UArrayProperty.GetEntries(instance.Count, instance.ArrayType, reader, summary); reader.BaseStream.Position = @base + instance.Size - 8; return(instance); }