public override void Write(BinaryWriter file) { base.Write(file); buffername.Write(file); count.Write(file); unk.Write(file); buffer.Write(file); }
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); }
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); } }
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); } }
public override void Write(BinaryWriter file) { unk1.Write(file); unk2.Write(file); name.Write(file); }