11 struct ConditionCheckParams;
12 struct ScriptCompileData;
13 struct ScriptLineBuffer;
14 struct ScriptVariable;
15 struct SCRIPT_EFFECT_DATA;
19 struct SCRIPT_PARAMETER;
20 struct SCRIPT_REFERENCED_OBJECT;
141 static_assert(
sizeof(SCRIPT_PARAMETER) == 0x10);
303 template <std::u
int16_t SIZE>
Definition CommandTable.h:188
std::uint32_t pad0C
Definition CommandTable.h:195
BSSimpleList< SCRIPT_LOCAL * > * localList
Definition CommandTable.h:197
Script * masterScript
Definition CommandTable.h:191
char flags
Definition CommandTable.h:192
SCRIPT_EFFECT_DATA * scriptEffectData
Definition CommandTable.h:198
BSSimpleList< ACTION_OBJECT * > * actionList
Definition CommandTable.h:196
std::uint16_t pad0A
Definition CommandTable.h:194
std::uint8_t pad09
Definition CommandTable.h:193
Definition TESObjectREFR.h:112
Definition AbsorbEffect.h:6
SCRIPT_OUTPUT
Definition CommandTable.h:109
SCRIPT_ERROR
Definition CommandTable.h:113
SCRIPT_PARAM_TYPE
Definition CommandTable.h:23
Definition CommandTable.h:155
std::uint32_t pad0C
Definition CommandTable.h:160
std::uint32_t flags
Definition CommandTable.h:159
TESForm * form
Definition CommandTable.h:158
Definition CommandTable.h:177
bool scriptEffectFinish
Definition CommandTable.h:181
bool scriptEffectStart
Definition CommandTable.h:180
float secondsElapsed
Definition CommandTable.h:183
std::uint16_t pad02
Definition CommandTable.h:182
Definition CommandTable.h:246
IntegerChunk * AsInteger()
Definition CommandTable.h:231
@ kConsoleOpBase
Definition CommandTable.h:235
@ kScriptOpBase
Definition CommandTable.h:238
@ kScriptCommandsEnd
Definition CommandTable.h:237
@ kConsoleCommandsEnd
Definition CommandTable.h:234
Definition CommandTable.h:266
char magic
Definition CommandTable.h:272
std::int32_t value
Definition CommandTable.h:273
Definition CommandTable.h:280
std::uint16_t opcode
Definition CommandTable.h:287
IntegerChunk * GetIntegerChunk()
std::uint16_t chunkSize
Definition CommandTable.h:288
StringChunk * GetStringChunk()
std::uint16_t numParams
Definition CommandTable.h:289
Definition CommandTable.h:253
std::uint16_t length
Definition CommandTable.h:259
std::string GetString() const
char str[0]
Definition CommandTable.h:260
Definition CommandTable.h:229
Compile_t * compileFunction
Definition CommandTable.h:324
bool editorFilter
Definition CommandTable.h:326
std::uint32_t pad24
Definition CommandTable.h:321
std::uint32_t pad14
Definition CommandTable.h:316
std::uint32_t pad4C
Definition CommandTable.h:329
const char * shortName
Definition CommandTable.h:314
std::uint16_t pad4A
Definition CommandTable.h:328
static SCRIPT_FUNCTION * LocateConsoleCommand(std::string_view a_longName)
SCRIPT_PARAMETER * params
Definition CommandTable.h:322
Condition_t * conditionFunction
Definition CommandTable.h:325
const char * helpString
Definition CommandTable.h:317
static SCRIPT_FUNCTION * LocateScriptCommand(std::string_view a_longName)
bool referenceFunction
Definition CommandTable.h:318
void SetParameters(SCRIPT_PARAMETER(&a_params)[SIZE])
Definition CommandTable.h:304
bool(std::uint16_t a_numParams, const SCRIPT_PARAMETER *a_paramInfo, SCRIPT_LINE *a_lineBuf, ScriptCompileData *a_scriptBuf) Compile_t
Definition CommandTable.h:294
static SCRIPT_FUNCTION * GetFirstScriptCommand()
bool(TESObjectREFR *a_thisObj, void *a_param1, void *a_param2, double &a_result) Condition_t
Definition CommandTable.h:295
std::uint8_t pad21
Definition CommandTable.h:319
bool invalidatesCellList
Definition CommandTable.h:327
const char * functionName
Definition CommandTable.h:313
std::uint16_t numParams
Definition CommandTable.h:320
static SCRIPT_FUNCTION * GetFirstConsoleCommand()
Execute_t * executeFunction
Definition CommandTable.h:323
bool(const SCRIPT_PARAMETER *a_paramInfo, ScriptData *a_scriptData, TESObjectREFR *a_thisObj, TESObjectREFR *a_containingObj, Script *a_scriptObj, ScriptLocals *a_locals, double &a_result, std::uint32_t &a_opcodeOffsetPtr) Execute_t
Definition CommandTable.h:293
SCRIPT_OUTPUT output
Definition CommandTable.h:315
Definition CommandTable.h:117
bool isCompiled
Definition CommandTable.h:126
std::uint8_t pad13
Definition CommandTable.h:127
std::uint32_t lastID
Definition CommandTable.h:123
bool isQuestScript
Definition CommandTable.h:124
std::uint32_t refObjectCount
Definition CommandTable.h:121
std::uint32_t dataSize
Definition CommandTable.h:122
bool isMagicEffectScript
Definition CommandTable.h:125
std::uint32_t variableCount
Definition CommandTable.h:120
Definition CommandTable.h:213
std::uint32_t offset
Definition CommandTable.h:219
char output[512]
Definition CommandTable.h:220
stl::enumeration< SCRIPT_ERROR, std::uint32_t > scriptError
Definition CommandTable.h:224
std::uint32_t refObjectIndex
Definition CommandTable.h:223
std::uint32_t outputSize
Definition CommandTable.h:221
stl::enumeration< SCRIPT_OUTPUT, std::uint32_t > expression
Definition CommandTable.h:222
char line[512]
Definition CommandTable.h:217
std::uint32_t size
Definition CommandTable.h:218
std::uint32_t lineNumber
Definition CommandTable.h:216
Definition CommandTable.h:165
std::uint8_t pad9
Definition CommandTable.h:171
std::uint32_t id
Definition CommandTable.h:168
std::uint16_t padA
Definition CommandTable.h:172
bool isInteger
Definition CommandTable.h:170
float value
Definition CommandTable.h:169
Definition CommandTable.h:132
stl::enumeration< SCRIPT_PARAM_TYPE, std::uint32_t > paramType
Definition CommandTable.h:136
std::uint16_t pad0E
Definition CommandTable.h:139
std::uint8_t pad0D
Definition CommandTable.h:138
bool optional
Definition CommandTable.h:137
const char * paramName
Definition CommandTable.h:135
Definition CommandTable.h:144
TESForm * form
Definition CommandTable.h:148
std::uint32_t pad1C
Definition CommandTable.h:150
std::uint32_t variableID
Definition CommandTable.h:149
BSString editorID
Definition CommandTable.h:147
Definition CommandTable.h:203
SCRIPT_LOCAL data
Definition CommandTable.h:206
std::uint32_t pad0C
Definition CommandTable.h:207
BSString name
Definition CommandTable.h:208