MiniQuake2

src/miniquake2/network/runtime/game_adapter.ml

Provides miniquake2 network runtime game adapter facilities for this project.

Package
miniquake2.network.runtime.game_adapter
Reachable
Yes

Imports

Declarations

activeCommandSystem

activeCommandSystem

Stores module-wide active command system state for the miniquake2 network runtime game adapter module.

View source

activeGameExport

activeGameExport

Stores module-wide active game export state for the miniquake2 network runtime game adapter module.

View source

allowConnect

function allowConnect(slot, userInfo)

Connect allow.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

create

function create(clientConnect, clientUserinfoChanged, clientThink, clientCommand, clientBegin)

Creates create for the miniquake2 network runtime game adapter module.

ParameterTypeDefaultDescription
clientConnectdynamic—clientConnect value consumed by this operation.
clientUserinfoChangeddynamic—clientUserinfoChanged value consumed by this operation.
clientThinkdynamic—clientThink value consumed by this operation.
clientCommanddynamic—clientCommand value consumed by this operation.
clientBegindynamic—clientBegin value consumed by this operation.

View source

createWithDisconnect

function createWithDisconnect(clientConnect, clientUserinfoChanged, clientThink, clientCommand, clientBegin, clientDisconnect)

Create with disconnect.

ParameterTypeDefaultDescription
clientConnectdynamic—clientConnect value consumed by this operation.
clientUserinfoChangeddynamic—clientUserinfoChanged value consumed by this operation.
clientThinkdynamic—clientThink value consumed by this operation.
clientCommanddynamic—clientCommand value consumed by this operation.
clientBegindynamic—clientBegin value consumed by this operation.
clientDisconnectdynamic—clientDisconnect value consumed by this operation.

View source

exportClientBegin

function exportClientBegin(slot)

Export client begin.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.

View source

exportClientCommand

function exportClientCommand(slot, commandText)

Export client command.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
commandTextdynamic—commandText value consumed by this operation.

View source

exportClientConnect

function exportClientConnect(slot, userInfo)

Export client connect.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

exportClientDisconnect

function exportClientDisconnect(slot)

Export client disconnect.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.

View source

exportClientPing

function exportClientPing(slot, ping)

Export client ping.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
pingdynamic—ping value consumed by this operation.

View source

exportClientThink

function exportClientThink(slot, command)

Export client think.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
commanddynamic—command value consumed by this operation.

View source

exportClientUserinfoChanged

function exportClientUserinfoChanged(slot, userInfo)

Export client userinfo changed.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

gameEntity

function gameEntity(slot, operation)

Return the game entity value.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
operationdynamic—operation value consumed by this operation.

View source

ignoreBegin

function ignoreBegin(slot)

Ignore begin.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.

View source

ignoreCommand

function ignoreCommand(slot, commandText)

Ignore command.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
commandTextdynamic—commandText value consumed by this operation.

View source

ignoreDisconnect

function ignoreDisconnect(slot)

Ignore disconnect.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.

View source

ignorePing

function ignorePing(slot, ping)

Ignore ping.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
pingdynamic—ping value consumed by this operation.

View source

ignoreThink

function ignoreThink(slot, command)

Ignore think.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
commanddynamic—command value consumed by this operation.

View source

ignoreUserinfo

function ignoreUserinfo(slot, userInfo)

Ignore userinfo.

ParameterTypeDefaultDescription
slotdynamic—slot value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

installGameExport

function installGameExport(gameExport)

Install game export.

ParameterTypeDefaultDescription
gameExportdynamic—gameExport value consumed by this operation.

View source

installGameExportWithCommands

function installGameExportWithCommands(gameExport, commandSystem)

Install game export with commands.

ParameterTypeDefaultDescription
gameExportdynamic—gameExport value consumed by this operation.
commandSystemdynamic—commandSystem value consumed by this operation.

View source

permissive

function permissive()

Return the permissive value.

View source