public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.Unk_2598445407 = this.Unk_2598445407;

            if (this.Unk_3902803273 != null)
            {
                this.MetaStructure.Unk_3902803273 = mb.AddItemArrayPtr((MetaName)(94549140), this.Unk_3902803273.Select(e => { e.Build(mb); return(e.MetaStructure); }).ToArray());
            }

            MUnk_94549140.AddEnumAndStructureInfo(mb);

            if (this.AAnchors != null)
            {
                this.MetaStructure.aAnchors = mb.AddItemArrayPtr(MetaName.CAnchorProps, this.AAnchors.Select(e => { e.Build(mb); return(e.MetaStructure); }).ToArray());
            }

            MCAnchorProps.AddEnumAndStructureInfo(mb);


            MUnk_2858946626.AddEnumAndStructureInfo(mb);

            if (isRoot)
            {
                mb.AddItem(this.MetaName, this.MetaStructure);

                this.Meta = mb.GetMeta();
            }
        }
Beispiel #2
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.props  = mb.AddByteArrayPtr(this.Props.ToArray());
            this.MetaStructure.anchor = this.Anchor;

            MCAnchorProps.AddEnumAndStructureInfo(mb);

            if (isRoot)
            {
                mb.AddItem(this.MetaName, this.MetaStructure);

                this.Meta = mb.GetMeta();
            }
        }