Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/B/BSScript_CompiledScriptLoader.h
T
2026-05-30 18:33:24 +12:00

36 lines
1.2 KiB
C++

#pragma once
#include "RE/B/BSScript_ILoader.h"
#include "RE/B/BSScript_Internal_ReadableStringTable.h"
#include "RE/B/BSTSmartPointer.h"
namespace RE
{
namespace BSScript
{
class ErrorLogger;
class __declspec(novtable) CompiledScriptLoader :
public ILoader // 00
{
public:
static constexpr auto RTTI{ RTTI::BSScript__CompiledScriptLoader };
static constexpr auto VTABLE{ VTABLE::BSScript__CompiledScriptLoader };
// override (ILoader)
ILoader* Clone() const override; // 01
void SetScriptStore(const BSTSmartPointer<IStore>& a_newStore) override; // 02
bool GetClass(const char* a_name, UnlinkedTypes::Object& a_unlinkedClass) override; // 03
// members
ErrorLogger* errorHandler; // 08
BSTSmartPointer<IStore> scriptStore; // 10
Internal::ReadableStringTable stringTable; // 18
std::int8_t fileMajorVersion; // 30
std::int8_t fileMinorVersion; // 31
std::int8_t loadFlags; // 32
};
static_assert(sizeof(CompiledScriptLoader) == 0x38);
}
}