コード例 #1
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.texId        = this.TexId;
            this.MetaStructure.distribution = this.Distribution;

            MUnk_1036962405.AddEnumAndStructureInfo(mb);

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

                this.Meta = mb.GetMeta();
            }
        }
コード例 #2
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            this.MetaStructure.propMask       = this.PropMask;
            this.MetaStructure.Unk_2806194106 = this.Unk_2806194106;
            if (this.ATexData != null)
            {
                this.MetaStructure.aTexData = mb.AddItemArrayPtr((MetaName)(1036962405), this.ATexData.Select(e => { e.Build(mb); return(e.MetaStructure); }).ToArray());
            }
            MUnk_1036962405.AddEnumAndStructureInfo(mb);

            this.ClothData.Build(mb);
            this.MetaStructure.clothData = this.ClothData.MetaStructure;
            MUnk_2236980467.AddEnumAndStructureInfo(mb);


            MUnk_1535046754.AddEnumAndStructureInfo(mb);

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

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