55 template <
class... Args>
58 static_assert((std::is_pointer_v<Args> && ...),
"arguments must all be pointers");
61 return func(a_paramInfo, a_scriptData, a_opcodeOffsetPtr, a_thisObj, a_containingObj, a_scriptObj, a_locals, a_args...);
81 static_assert(
sizeof(
Script) == 0x80);
#define KEEP_FOR_RE()
Definition: PCH.h:713
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:702
Definition: Relocation.h:210
Definition: CommandTable.h:188
std::string GetCommand() const
static bool GetProcessScripts()
float questScriptDelay
Definition: Script.h:70
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:56
SCRIPT_FUNCTION::ScriptData * data
Definition: Script.h:68
void CompileAndRun(TESObjectREFR *a_targetRef, COMPILER_NAME a_name=COMPILER_NAME::kSystemWindowCompiler)
static constexpr auto RTTI
Definition: Script.h:27
static constexpr auto FORMTYPE
Definition: Script.h:29
void InitItemImpl() override
void SetCommand(std::string_view a_command)
char * text
Definition: Script.h:67
float questScriptGetSecondsBuffer
Definition: Script.h:71
void ClearData() override
bool Load(TESFile *a_mod) override
SCRIPT_HEADER header
Definition: Script.h:65
BSSimpleList< ScriptVariable * > variables
Definition: Script.h:75
TESQuest * parentQuest
Definition: Script.h:73
static constexpr auto VTABLE
Definition: Script.h:28
std::uint32_t pad54
Definition: Script.h:72
std::uint32_t pad34
Definition: Script.h:66
BSSimpleList< SCRIPT_REFERENCED_OBJECT * > refObjects
Definition: Script.h:74
void InitializeData() override
float profilerTimer
Definition: Script.h:69
Definition: TESObjectREFR.h:113
Definition: TESQuest.h:197
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_Script(static_cast< std::uint64_t >(685316))
constexpr std::array< REL::ID, 1 > VTABLE_Script
Definition: Offsets_VTABLE.h:12628
COMPILER_NAME
Definition: Script.h:10
string(const CharT(&)[N]) -> string< CharT, N - 1 >
Definition: CommandTable.h:280
Definition: CommandTable.h:132
RecordFlag
Definition: Script.h:34