A | |
ADDON | |
ARR2 | |
B | |
BOOL | |
C | |
COMPONENT | |
COMPONENT_BEAUTIFIED | |
COMPONENT_NAME | |
L | |
LOG | |
P | |
PREFIX | |
S | |
SHOULDSAVEEVENTS | |
SYSCHAT | |
V | |
VERSION | |
VERSION_AR | |
VERSION_REQUIRED | |
VERSION_STR |
Resolves arguments to array, used for entries to LOG that requires array input.
#define ARR2( _arg1, _arg2 ) [_arg1, _arg2]
Forces a true/false return of input.
#define BOOL( _cond ) ([0,1] select (_cond))
#define COMPONENT extension
#define COMPONENT_BEAUTIFIED Extension
#define COMPONENT_NAME QUOTE( PREFIX - COMPONENT_BEAUTIFIED )
Used for logging messages to the extension (ocap-ext log file).
#define OCAPEXTLOG( _args ) [":LOG:", _args] call EFUNC(extension,sendData)
#define PREFIX OCAP
Used to determine if events should currently be saved based on OCAP_recorder_recording and OCAP_recorder_startTime.
#define SHOULDSAVEEVENTS ( (missionNamespace getVariable [QGVAR(recording), false]) && missionNamespace getVariable [QGVAR(startTime), -1] > -1 )
Used for debug purposes to send a string to all clients with interfaces.
#define SYSCHAT remoteExec ["systemChat", [0, -2] select isDedicated]
#define VERSION 2.0
#define VERSION_AR 2,0,0
#define VERSION_REQUIRED 2.10
#define VERSION_STR 2.0.0