# activeCommandSystem
activeCommandSystemStores module-wide active command system state for the miniquake2 network runtime game adapter module.
src/miniquake2/network/runtime/game_adapter.mlProvides miniquake2 network runtime game adapter facilities for this project.
miniquake2/game/constants.ml as gc → src/miniquake2/game/constants.mlminiquake2/network/runtime/types.ml as nrtypes → src/miniquake2/network/runtime/types.mlminiquake2/qcommon/cmd.ml as rqcmd → src/miniquake2/qcommon/cmd.mlactiveCommandSystemStores module-wide active command system state for the miniquake2 network runtime game adapter module.
activeGameExportStores module-wide active game export state for the miniquake2 network runtime game adapter module.
function allowConnect(slot, userInfo)Connect allow.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
function create(clientConnect, clientUserinfoChanged, clientThink, clientCommand, clientBegin)Creates create for the miniquake2 network runtime game adapter module.
| Parameter | Type | Default | Description |
|---|---|---|---|
clientConnect | dynamic | — | clientConnect value consumed by this operation. |
clientUserinfoChanged | dynamic | — | clientUserinfoChanged value consumed by this operation. |
clientThink | dynamic | — | clientThink value consumed by this operation. |
clientCommand | dynamic | — | clientCommand value consumed by this operation. |
clientBegin | dynamic | — | clientBegin value consumed by this operation. |
function createWithDisconnect(clientConnect, clientUserinfoChanged, clientThink, clientCommand, clientBegin, clientDisconnect)Create with disconnect.
| Parameter | Type | Default | Description |
|---|---|---|---|
clientConnect | dynamic | — | clientConnect value consumed by this operation. |
clientUserinfoChanged | dynamic | — | clientUserinfoChanged value consumed by this operation. |
clientThink | dynamic | — | clientThink value consumed by this operation. |
clientCommand | dynamic | — | clientCommand value consumed by this operation. |
clientBegin | dynamic | — | clientBegin value consumed by this operation. |
clientDisconnect | dynamic | — | clientDisconnect value consumed by this operation. |
function exportClientBegin(slot)Export client begin.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
function exportClientCommand(slot, commandText)Export client command.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
commandText | dynamic | — | commandText value consumed by this operation. |
function exportClientConnect(slot, userInfo)Export client connect.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
function exportClientDisconnect(slot)Export client disconnect.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
function exportClientPing(slot, ping)Export client ping.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
ping | dynamic | — | ping value consumed by this operation. |
function exportClientThink(slot, command)Export client think.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
command | dynamic | — | command value consumed by this operation. |
function exportClientUserinfoChanged(slot, userInfo)Export client userinfo changed.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
function gameEntity(slot, operation)Return the game entity value.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
operation | dynamic | — | operation value consumed by this operation. |
function ignoreBegin(slot)Ignore begin.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
function ignoreCommand(slot, commandText)Ignore command.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
commandText | dynamic | — | commandText value consumed by this operation. |
function ignoreDisconnect(slot)Ignore disconnect.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
function ignorePing(slot, ping)Ignore ping.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
ping | dynamic | — | ping value consumed by this operation. |
function ignoreThink(slot, command)Ignore think.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
command | dynamic | — | command value consumed by this operation. |
function ignoreUserinfo(slot, userInfo)Ignore userinfo.
| Parameter | Type | Default | Description |
|---|---|---|---|
slot | dynamic | — | slot value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
function installGameExport(gameExport)Install game export.
| Parameter | Type | Default | Description |
|---|---|---|---|
gameExport | dynamic | — | gameExport value consumed by this operation. |
function installGameExportWithCommands(gameExport, commandSystem)Install game export with commands.
| Parameter | Type | Default | Description |
|---|---|---|---|
gameExport | dynamic | — | gameExport value consumed by this operation. |
commandSystem | dynamic | — | commandSystem value consumed by this operation. |
function permissive()Return the permissive value.