53 template <
class... Args>
56 static_assert((std::is_pointer_v<Args> && ...),
"arguments must all be pointers");
59 return func(a_paramInfo, a_scriptData, a_opcodeOffsetPtr, a_thisObj, a_containingObj, a_scriptObj, a_locals, a_args...);
78 static_assert(
sizeof(
Script) == 0x80);
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
std::string GetCommand() const
static bool GetProcessScripts()
float questScriptDelay
Definition Script.h:68
void CompileAndRun(ScriptCompiler *a_compiler, TESObjectREFR *a_targetRef, COMPILER_NAME a_name=COMPILER_NAME::kSystemWindowCompiler)
static void SetProcessScripts(bool a_ProcessScripts)
static bool ParseParameters(const SCRIPT_PARAMETER *a_paramInfo, SCRIPT_FUNCTION::ScriptData *a_scriptData, std::uint32_t &a_opcodeOffsetPtr, TESObjectREFR *a_thisObj, TESObjectREFR *a_containingObj, Script *a_scriptObj, ScriptLocals *a_locals, Args... a_args)
Definition Script.h:54
SCRIPT_FUNCTION::ScriptData * data
Definition Script.h:66
void CompileAndRun(TESObjectREFR *a_targetRef, COMPILER_NAME a_name=COMPILER_NAME::kSystemWindowCompiler)
static constexpr auto RTTI
Definition Script.h:25
static constexpr auto FORMTYPE
Definition Script.h:27
void InitItemImpl() override
void SetCommand(std::string_view a_command)
char * text
Definition Script.h:65
float questScriptGetSecondsBuffer
Definition Script.h:69
void ClearData() override
bool Load(TESFile *a_mod) override
SCRIPT_HEADER header
Definition Script.h:63
BSSimpleList< ScriptVariable * > variables
Definition Script.h:73
TESQuest * parentQuest
Definition Script.h:71
static constexpr auto VTABLE
Definition Script.h:26
std::uint32_t pad54
Definition Script.h:70
std::uint32_t pad34
Definition Script.h:64
BSSimpleList< SCRIPT_REFERENCED_OBJECT * > refObjects
Definition Script.h:72
void InitializeData() override
float profilerTimer
Definition Script.h:67
Definition CommandTable.h:188
Definition TESObjectREFR.h:112
Definition TESQuest.h:189
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_Script
Definition Offsets_VTABLE.h:811
constexpr REL::VariantID RTTI_Script(685316, 393093, 0x1ee3988)
COMPILER_NAME
Definition Script.h:10
Definition CommandTable.h:280
Definition CommandTable.h:117
Definition CommandTable.h:132
RecordFlag
Definition Script.h:32