# appendBuffer
function appendBuffer(demo, buffer)Append buffer.
| Parameter | Type | Default | Description |
|---|---|---|---|
demo | dynamic | — | demo value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
src/miniquake2/client/demo_recording.mlProvides miniquake2 client demo recording facilities for this project.
miniquake2/client/demo.ml as demorecorddemo → src/miniquake2/client/demo.mlminiquake2/client/runtime/dispatcher.ml as demorecorddispatcher → src/miniquake2/client/runtime/dispatcher.mlminiquake2/network/constants.ml as demorecordnetworkconstants → src/miniquake2/network/constants.mlminiquake2/network/runtime/messages.ml as demorecordmessages → src/miniquake2/network/runtime/messages.mlminiquake2/qcommon/constants.ml as demorecordqc → src/miniquake2/qcommon/constants.mlminiquake2/qcommon/sizebuf.ml as demorecordsizebuf → src/miniquake2/qcommon/sizebuf.mlstd/fs.ml as demorecordfs → ../MiniLangCompilerML/std/fs.ml external dependencyfunction appendBuffer(demo, buffer)Append buffer.
| Parameter | Type | Default | Description |
|---|---|---|---|
demo | dynamic | — | demo value consumed by this operation. |
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
function appendStartup(recording)Append startup.
| Parameter | Type | Default | Description |
|---|---|---|---|
recording | dynamic | — | recording value consumed by this operation. |
function create(runtime, directory)Creates create for the miniquake2 client demo recording module.
| Parameter | Type | Default | Description |
|---|---|---|---|
runtime | dynamic | — | runtime value consumed by this operation. |
directory | dynamic | — | directory value consumed by this operation. |
extern function CreateDirectoryW(path as wstr, security as ptr) from "kernel32.dll" returns boolInvokes the native CreateDirectoryW entry point used by the miniquake2 client demo recording module.
| Parameter | Type | Default | Description |
|---|---|---|---|
path | wstr | — | Path of the file or directory used by the operation. |
security | ptr | — | security value consumed by this operation. |
Returns: Native bool result produced by the call.
miniquake2.client.demo_recording.DemoRecording struct
function ensureDirectory(path)Ensure directory.
| Parameter | Type | Default | Description |
|---|---|---|---|
path | dynamic | — | Path of the file or directory used by the operation. |
function safeName(name)Return the safe name.
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Name of the affected item. |
function shutdown(recording)Performs the shutdown operation for the miniquake2 client demo recording module.
| Parameter | Type | Default | Description |
|---|---|---|---|
recording | dynamic | — | recording value consumed by this operation. |
function start(recording, name)Starts start for the miniquake2 client demo recording workflow.
| Parameter | Type | Default | Description |
|---|---|---|---|
recording | dynamic | — | recording value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
function stop(recording)Stops stop for the miniquake2 client demo recording workflow.
| Parameter | Type | Default | Description |
|---|---|---|---|
recording | dynamic | — | recording value consumed by this operation. |