Beispiel #1
0
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            if (this.Frames != null)
            {
                this.MetaStructure.Frames = mb.AddItemArrayPtr(MetaName.CStreamingRequestFrame, this.Frames.Select(e => { e.Build(mb); return(e.MetaStructure); }).ToArray());
            }
            MCStreamingRequestFrame.AddEnumAndStructureInfo(mb);

            if (this.CommonSets != null)
            {
                this.MetaStructure.CommonSets = mb.AddItemArrayPtr((MetaName)(1358189812), this.CommonSets.Select(e => { e.Build(mb); return(e.MetaStructure); }).ToArray());
            }
            MUnk_1358189812.AddEnumAndStructureInfo(mb);

            this.MetaStructure.NewStyle = this.NewStyle;

            MCStreamingRequestRecord.AddEnumAndStructureInfo(mb);

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

                this.Meta = mb.GetMeta();
            }
        }
        public override void Build(MetaBuilder mb, bool isRoot = false)
        {
            // this.MetaStructure.AddList = this.AddList;
            // this.MetaStructure.RemoveList = this.RemoveList;
            this.MetaStructure.CamPos = this.CamPos;
            this.MetaStructure.CamDir = this.CamDir;
            // this.MetaStructure.Unk_1762439591 = this.Unk_1762439591;
            this.MetaStructure.Flags = this.Flags;

            MCStreamingRequestFrame.AddEnumAndStructureInfo(mb);

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

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