コード例 #1
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            buffername.Write(file);
            count.Write(file);
            unk.Write(file);
            buffer.Write(file);
        }
コード例 #2
0
 public override void Write(BinaryWriter file)
 {
     type.Write(file);
     flags.Write(file);
     radius.Write(file);
     offset.Write(file);
     positionX.Write(file);
     positionY.Write(file);
     positionZ.Write(file);
 }
コード例 #3
0
            public override void Write(BinaryWriter file)
            {
                byte pieceCount = (byte)pieces.Count;

                if (pieceCount > 4)
                {
                    Debug.Print("Cannot write more than 4 pieces (" + pieceCount + ") for curve info, limiting");
                    pieceCount = 4;
                }

                someName.Write(file);
                file.Write(pieceCount);
                someByte.Write(file);

                for (var i = 0; i < pieceCount; i++)
                {
                    pieces[i].Write(file);
                }
            }
コード例 #4
0
        public override void Write(BinaryWriter file)
        {
            base.Write(file);

            if (buffername != null)
            {
                buffername.Write(file);
            }
            if (count != null)
            {
                count.Write(file);
            }
            if (buffername != null)
            {
                unk.Write(file);
            }
            if (buffer != null)
            {
                buffer.Write(file);
            }
        }
コード例 #5
0
ファイル: CMaterialGraph.cs プロジェクト: zeta1999/Wolven-kit
 public override void Write(BinaryWriter file)
 {
     unk1.Write(file);
     unk2.Write(file);
     name.Write(file);
 }