# create
function create(maxClients)Implements the `create` operation for `miniquake.server_state` (create).
| Parameter | Type | Default | Description |
|---|---|---|---|
maxClients | dynamic | — | The max clients input consumed by `create`. |
src/miniquake/server_state.mlminiquake/sizebuf.ml as sz → src/miniquake/sizebuf.mlminiquake/types.ml as t → src/miniquake/types.mlfunction create(maxClients)Implements the `create` operation for `miniquake.server_state` (create).
| Parameter | Type | Default | Description |
|---|---|---|---|
maxClients | dynamic | — | The max clients input consumed by `create`. |
function frame(state, deltaTime)Implements the `frame` operation for `miniquake.server_state` (frame).
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable `miniquake.server_state` state used by `frame`. |
deltaTime | dynamic | — | Time value used by the operation. |
function shutdown(state)Implements the `shutdown` operation for `miniquake.server_state` (shutdown).
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable `miniquake.server_state` state used by `shutdown`. |
function spawn(state, mapName)Implements the `spawn` operation for `miniquake.server_state` (spawn).
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable `miniquake.server_state` state used by `spawn`. |
mapName | dynamic | — | Name of the map to load or inspect. |