public override void Parse(MetaFile meta, Unk_1701774085 Unk_1701774085) { this.Meta = meta; this.MetaStructure = Unk_1701774085; this.OwnerName = MetaUtils.GetString(Meta, Unk_1701774085.OwnerName); this.Rotation = Unk_1701774085.Rotation; this.Position = Unk_1701774085.Position; this.Normal = Unk_1701774085.Normal; this.CapsuleRadius = Unk_1701774085.CapsuleRadius; this.CapsuleLen = Unk_1701774085.CapsuleLen; this.CapsuleHalfHeight = Unk_1701774085.CapsuleHalfHeight; this.CapsuleHalfWidth = Unk_1701774085.CapsuleHalfWidth; this.Flags = Unk_1701774085.Flags; }
public override void Build(MetaBuilder mb, bool isRoot = false) { this.MetaStructure.OwnerName = mb.AddStringPtr(this.OwnerName); this.MetaStructure.Rotation = this.Rotation; this.MetaStructure.Position = this.Position; this.MetaStructure.Normal = this.Normal; this.MetaStructure.CapsuleRadius = this.CapsuleRadius; this.MetaStructure.CapsuleLen = this.CapsuleLen; this.MetaStructure.CapsuleHalfHeight = this.CapsuleHalfHeight; this.MetaStructure.CapsuleHalfWidth = this.CapsuleHalfWidth; this.MetaStructure.Flags = this.Flags; MUnk_1701774085.AddEnumAndStructureInfo(mb); if (isRoot) { mb.AddItem(this.MetaName, this.MetaStructure); this.Meta = mb.GetMeta(); } }