Exemplo n.º 1
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.audioId        = this.AudioId;
            this.MetaStructure.expressionMods = this.ExpressionMods;
            if (this.TexData != null)
            {
                this.MetaStructure.texData = mb.AddItemArrayPtr((MetaName)(254518642), this.TexData.Select(e => { e.Build(mb); return(e.MetaStructure); }).ToArray());
            }
            MUnk_254518642.AddEnumAndStructureInfo(mb);

            this.MetaStructure.renderFlags    = this.RenderFlags;
            this.MetaStructure.propFlags      = this.PropFlags;
            this.MetaStructure.flags          = this.Flags;
            this.MetaStructure.anchorId       = this.AnchorId;
            this.MetaStructure.propId         = this.PropId;
            this.MetaStructure.Unk_2894625425 = this.Unk_2894625425;

            MUnk_94549140.AddEnumAndStructureInfo(mb);

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

                this.Meta = mb.GetMeta();
            }
        }
Exemplo n.º 2
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.inclusions   = this.Inclusions;
            this.MetaStructure.exclusions   = this.Exclusions;
            this.MetaStructure.texId        = this.TexId;
            this.MetaStructure.inclusionId  = this.InclusionId;
            this.MetaStructure.exclusionId  = this.ExclusionId;
            this.MetaStructure.distribution = this.Distribution;

            MUnk_254518642.AddEnumAndStructureInfo(mb);

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

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