CommonLibSSE (Parapets fork)
RE::SCRIPT_FUNCTION Struct Reference

#include <CommandTable.h>

Classes

struct  Chunk
 
struct  Commands
 
struct  IntegerChunk
 
struct  ScriptData
 
struct  StringChunk
 

Public Types

using Execute_t = 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)
 
using Compile_t = bool(std::uint16_t a_numParams, const SCRIPT_PARAMETER *a_paramInfo, SCRIPT_LINE *a_lineBuf, ScriptCompileData *a_scriptBuf)
 
using Condition_t = bool(TESObjectREFR *a_thisObj, void *a_param1, void *a_param2, double &a_result)
 

Public Member Functions

template<std::uint16_t SIZE>
void SetParameters (SCRIPT_PARAMETER(&a_params)[SIZE])
 
void SetParameters ()
 

Static Public Member Functions

static SCRIPT_FUNCTIONGetFirstScriptCommand ()
 
static SCRIPT_FUNCTIONLocateScriptCommand (const char *a_longName)
 
static SCRIPT_FUNCTIONGetFirstConsoleCommand ()
 
static SCRIPT_FUNCTIONLocateConsoleCommand (const char *a_longName)
 

Public Attributes

const char * functionName
 
const char * shortName
 
SCRIPT_OUTPUT output
 
std::uint32_t pad14
 
const char * helpString
 
bool referenceFunction
 
std::uint8_t pad21
 
std::uint16_t numParams
 
std::uint32_t pad24
 
SCRIPT_PARAMETERparams
 
Execute_texecuteFunction
 
Compile_tcompileFunction
 
Condition_tconditionFunction
 
bool editorFilter
 
bool invalidatesCellList
 
std::uint16_t pad4A
 
std::uint32_t pad4C
 

Member Typedef Documentation

◆ Compile_t

using RE::SCRIPT_FUNCTION::Compile_t = bool(std::uint16_t a_numParams, const SCRIPT_PARAMETER* a_paramInfo, SCRIPT_LINE* a_lineBuf, ScriptCompileData* a_scriptBuf)

◆ Condition_t

using RE::SCRIPT_FUNCTION::Condition_t = bool(TESObjectREFR* a_thisObj, void* a_param1, void* a_param2, double& a_result)

◆ Execute_t

using RE::SCRIPT_FUNCTION::Execute_t = 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)

Member Function Documentation

◆ GetFirstConsoleCommand()

static SCRIPT_FUNCTION* RE::SCRIPT_FUNCTION::GetFirstConsoleCommand ( )
static

◆ GetFirstScriptCommand()

static SCRIPT_FUNCTION* RE::SCRIPT_FUNCTION::GetFirstScriptCommand ( )
static

◆ LocateConsoleCommand()

static SCRIPT_FUNCTION* RE::SCRIPT_FUNCTION::LocateConsoleCommand ( const char *  a_longName)
static

◆ LocateScriptCommand()

static SCRIPT_FUNCTION* RE::SCRIPT_FUNCTION::LocateScriptCommand ( const char *  a_longName)
static

◆ SetParameters() [1/2]

void RE::SCRIPT_FUNCTION::SetParameters ( )

◆ SetParameters() [2/2]

template<std::uint16_t SIZE>
void RE::SCRIPT_FUNCTION::SetParameters ( SCRIPT_PARAMETER(&)  a_params[SIZE])
inline

Member Data Documentation

◆ compileFunction

Compile_t* RE::SCRIPT_FUNCTION::compileFunction

◆ conditionFunction

Condition_t* RE::SCRIPT_FUNCTION::conditionFunction

◆ editorFilter

bool RE::SCRIPT_FUNCTION::editorFilter

◆ executeFunction

Execute_t* RE::SCRIPT_FUNCTION::executeFunction

◆ functionName

const char* RE::SCRIPT_FUNCTION::functionName

◆ helpString

const char* RE::SCRIPT_FUNCTION::helpString

◆ invalidatesCellList

bool RE::SCRIPT_FUNCTION::invalidatesCellList

◆ numParams

std::uint16_t RE::SCRIPT_FUNCTION::numParams

◆ output

SCRIPT_OUTPUT RE::SCRIPT_FUNCTION::output

◆ pad14

std::uint32_t RE::SCRIPT_FUNCTION::pad14

◆ pad21

std::uint8_t RE::SCRIPT_FUNCTION::pad21

◆ pad24

std::uint32_t RE::SCRIPT_FUNCTION::pad24

◆ pad4A

std::uint16_t RE::SCRIPT_FUNCTION::pad4A

◆ pad4C

std::uint32_t RE::SCRIPT_FUNCTION::pad4C

◆ params

SCRIPT_PARAMETER* RE::SCRIPT_FUNCTION::params

◆ referenceFunction

bool RE::SCRIPT_FUNCTION::referenceFunction

◆ shortName

const char* RE::SCRIPT_FUNCTION::shortName

The documentation for this struct was generated from the following file: