public override void Write(BinaryWriter file)
        {
            base.Write(file);

            inputnodes.Write(file);
            unk1.Write(file);
            unk2.Write(file);
            outputnode.Write(file);
        }
Пример #2
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            chunkgroupIndeces.Write(file);
            boneNames.Write(file);
            bonematrices.Write(file);
            block3.Write(file);
            boneIndecesMappingBoneIndex.Write(file);
        }
Пример #3
0
        public override void Write(BinaryWriter file)
        {
            //Write the 8 unknown bytes.
            Unknown1.Write(file);
            Unknown2.Write(file);

            Resources.Write(file);
            Objects.Write(file);

            byte[] buffer;
            using (var ms = new MemoryStream())
                using (var bw = new BinaryWriter(ms))
                {
                    BlockData.Write(bw);
                    blocksize.val = (int)ms.Length;
                    buffer        = ms.ToArray();
                }

            blocksize.Write(file);
            file.Write(buffer);
        }
Пример #4
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            unk1.Write(file);

            unk2.Write(file);
            variables1.Write(file);

            unk3.Write(file);
            descriptions.Write(file);

            unk4.Write(file);
            vectorvariables1.Write(file);

            unk5.Write(file);
            variables2.Write(file);

            unk6.Write(file);
            vectorvariables2.Write(file);
        }
Пример #5
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            pixelParameters.Write(file);
            vertexParameters.Write(file);

            //file.Write((sbyte) pixelParameters.array.Count);
            //foreach (var item in pixelParameters)
            //{
            //    var startpos = file.BaseStream.Position;
            //    item.Write(file);
            //}

            //file.Write((sbyte) vertexParameters.array.Count);
            //foreach (var item in vertexParameters)
            //{
            //    var startpos = file.BaseStream.Position;
            //    item.Write(file);
            //}

            file.Write(0);
        }
Пример #6
0
 public override void Write(BinaryWriter file)
 {
     alpha.Write(file);
 }
Пример #7
0
 public override void Write(BinaryWriter file)
 {
     Unk1.Write(file);
     Collisiontypes.Write(file);
     Data.Write(file);
 }
 public override void Write(BinaryWriter file)
 {
     color.Write(file);
 }
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            buffer.Write(file);
        }
Пример #10
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            bufferinputvalues.Write(file);
        }