MiniQuake2

src/miniquake2/qcommon/message.ml

Provides miniquake2 qcommon message facilities for this project.

Package
miniquake2.qcommon.message
Reachable
Yes

Imports

Declarations

beginReading

function beginReading(buffer)

Begin reading.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_BeginReading

function MSG_BeginReading(buffer)

Begin msg reading.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadAngle

function MSG_ReadAngle(buffer)

Read msg angle.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadAngle16

function MSG_ReadAngle16(buffer)

Read msg angle 16.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadByte

function MSG_ReadByte(buffer)

Read msg byte.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadChar

function MSG_ReadChar(buffer)

Read msg char.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadCoord

function MSG_ReadCoord(buffer)

Read msg coord.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadData

function MSG_ReadData(buffer, count)

Read msg data.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
countdynamic—Number of items or units to process.

View source

MSG_ReadFloat

function MSG_ReadFloat(buffer)

Read msg float.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadLong

function MSG_ReadLong(buffer)

Read msg long.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadPos

function MSG_ReadPos(buffer)

Read msg pos.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadShort

function MSG_ReadShort(buffer)

Read msg short.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadString

function MSG_ReadString(buffer)

Read msg string.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_ReadStringLine

function MSG_ReadStringLine(buffer)

Read msg string line.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

MSG_WriteAngle

function MSG_WriteAngle(buffer, value)

Write msg angle.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteAngle16

function MSG_WriteAngle16(buffer, value)

Write msg angle 16.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteByte

function MSG_WriteByte(buffer, value)

Write msg byte.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteChar

function MSG_WriteChar(buffer, value)

Write msg char.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteCoord

function MSG_WriteCoord(buffer, value)

Write msg coord.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteFloat

function MSG_WriteFloat(buffer, value)

Write msg float.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteLong

function MSG_WriteLong(buffer, value)

Write msg long.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WritePos

function MSG_WritePos(buffer, position)

Write msg pos.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
positiondynamic—position value consumed by this operation.

View source

MSG_WriteShort

function MSG_WriteShort(buffer, value)

Write msg short.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

MSG_WriteString

function MSG_WriteString(buffer, text)

Write msg string.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
textdynamic—Text consumed by the operation.

View source

readAngle

function readAngle(buffer)

Read angle.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readAngle16

function readAngle16(buffer)

Read angle 16.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readByte

function readByte(buffer)

Read byte.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readChar

function readChar(buffer)

Read char.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readCoord

function readCoord(buffer)

Read coord.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readData

function readData(buffer, count)

Read data.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
countdynamic—Number of items or units to process.

View source

readFloat

function readFloat(buffer)

Read float.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readLong

function readLong(buffer)

Read long.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readPos

function readPos(buffer)

Read pos.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readShort

function readShort(buffer)

Read short.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readString

function readString(buffer)

Read string.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readStringBytes

function readStringBytes(buffer)

Read string bytes.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readStringLine

function readStringLine(buffer)

Read string line.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

readStringLineBytes

function readStringLineBytes(buffer)

Read string line bytes.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

remaining

function remaining(buffer)

Return the remaining value.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.

View source

requireInteger

function requireInteger(value, operation)

Require integer.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.
operationdynamic—operation value consumed by this operation.

View source

writeAngle

function writeAngle(buffer, value)

Write angle.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeAngle16

function writeAngle16(buffer, value)

Write angle 16.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeByte

function writeByte(buffer, value)

Write byte.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeChar

function writeChar(buffer, value)

Write char.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeCoord

function writeCoord(buffer, value)

Write coord.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeFloat

function writeFloat(buffer, value)

Write float.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeLong

function writeLong(buffer, value)

Write long.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writePos

function writePos(buffer, position)

Write pos.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
positiondynamic—position value consumed by this operation.

View source

writeShort

function writeShort(buffer, value)

Write short.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
valuedynamic—Value consumed or transformed by the operation.

View source

writeString

function writeString(buffer, text)

Write string.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
textdynamic—Text consumed by the operation.

View source

writeStringBytes

function writeStringBytes(buffer, source)

Write string bytes.

ParameterTypeDefaultDescription
bufferdynamic—Buffer that receives or supplies the operation data.
sourcedynamic—source value consumed by this operation.

View source