CommonLibSSE (powerof3)
|
#include <VirtualMachine.h>
Classes | |
struct | QueuedUnbindRefs |
Public Member Functions | |
~VirtualMachine () override | |
void | SetLinkedCallback (ITypeLinkedCallback *a_callback) override |
void | TraceStack (const char *a_str, VMStackID a_stackID, Severity a_severity=Severity::kInfo) override |
void | Unk_03 (void) override |
void | Update (float a_budget) override |
void | UpdateTasklets (float a_budget) override |
void | SetOverstressed (bool a_set) override |
bool | IsCompletelyFrozen () const override |
bool | RegisterObjectType (VMTypeID a_typeID, const char *a_className) override |
bool | GetScriptObjectType1 (const BSFixedString &a_className, BSTSmartPointer< ObjectTypeInfo > &a_outTypeInfoPtr) override |
bool | GetScriptObjectType2 (VMTypeID a_typeID, BSTSmartPointer< ObjectTypeInfo > &a_outTypeInfoPtr) override |
bool | GetScriptObjectTypeNoLoad1 (const BSFixedString &a_className, BSTSmartPointer< ObjectTypeInfo > &a_typeInfoPtr) const override |
bool | GetScriptObjectTypeNoLoad2 (VMTypeID a_typeID, BSTSmartPointer< ObjectTypeInfo > &a_outTypeInfoPtr) const override |
bool | GetTypeIDForScriptObject (const BSFixedString &a_className, VMTypeID &a_typeID) const override |
void | GetScriptObjectsWithATypeID (BSScrapArray< BSFixedString > &a_results) const override |
bool | GetParentNativeType (const BSFixedString &a_className, BSTSmartPointer< ObjectTypeInfo > &a_typeInfoPtr) override |
bool | TypeIsValid (const BSFixedString &a_className) override |
bool | ReloadType (const char *a_className) override |
void | TasksToJobs (BSJobs::JobList &a_jobList) override |
void | CalculateFullReloadList (void) const override |
bool | CreateObject1 (const BSFixedString &a_className, void *a_property, BSTSmartPointer< Object > &a_objPtr) override |
bool | CreateObject2 (const BSFixedString &a_className, BSTSmartPointer< Object > &a_result) override |
bool | CreateArray1 (const TypeInfo &a_typeInfo, std::uint32_t a_size, BSTSmartPointer< Array > &a_arrayPtr) override |
bool | CreateArray2 (TypeInfo::RawType a_typeID, const BSFixedString &a_className, std::uint32_t a_size, BSTSmartPointer< Array > &a_arrayPtr) override |
bool | BindNativeMethod (IFunction *a_fn) override |
void | SetCallableFromTasklets1 (const char *a_className, const char *a_stateName, const char *a_fnName, bool a_callable) override |
void | SetCallableFromTasklets2 (const char *a_className, const char *a_fnName, bool a_callable) override |
void | ForEachBoundObject (VMHandle a_handle, IForEachScriptObjectFunctor *a_functor) override |
bool | FindBoundObject (VMHandle a_handle, const char *a_className, BSTSmartPointer< Object > &a_result) const override |
void | MoveBoundObjects (VMHandle a_from, VMHandle a_to) override |
void | ResetAllBoundObjects (VMHandle a_handle) override |
bool | CastObject (const BSTSmartPointer< Object > &a_fromObjPtr, const BSTSmartPointer< ObjectTypeInfo > &a_toTypeInfoPtr, BSTSmartPointer< Object > &a_toObjPtr) override |
bool | SetPropertyValue (BSTSmartPointer< Object > &a_obj, const char *a_propertyName, Variable &a_setVal) override |
bool | GetPropertyValue (BSTSmartPointer< Object > &a_obj, const char *a_propertyName, Variable &a_getVal) override |
bool | GetVariableValue1 (const BSTSmartPointer< Object > &a_objPtr, std::uint32_t a_index, Variable &a_out) const override |
bool | GetVariableValue2 (VMHandle a_handle, const BSFixedString &a_className, std::int32_t a_variableIndex, Variable &a_out) const override |
void | SendEvent (VMHandle a_handle, const BSFixedString &a_eventName, IFunctionArguments *a_args) override |
void | SendEventAll (const BSFixedString &a_eventName, IFunctionArguments *a_args) override |
bool | DispatchStaticCall (const BSFixedString &a_className, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) override |
bool | DispatchMethodCall1 (BSTSmartPointer< Object > &a_obj, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) override |
bool | DispatchMethodCall2 (VMHandle a_handle, const BSFixedString &a_className, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) override |
bool | DispatchUnboundMethodCall (void) override |
bool | IsWaitingOnLatent (VMStackID a_stackID) const override |
void | ReturnFromLatent (VMStackID a_stackID, const Variable &a_val) override |
ErrorLogger * | GetErrorLogger () override |
IObjectHandlePolicy * | GetObjectHandlePolicy1 () override |
const IObjectHandlePolicy * | GetObjectHandlePolicy2 () const override |
ObjectBindPolicy * | GetObjectBindPolicy1 () override |
const ObjectBindPolicy * | GetObjectBindPolicy2 () const override |
ISavePatcherInterface * | GetSavePatcherInterface () override |
void | RegisterForLogEvent (BSTEventSink< LogEvent > *a_sink) override |
void | UnregisterForLogEvent (BSTEventSink< LogEvent > *a_sink) override |
void | RegisterForStatsEvent (BSTEventSink< StatsEvent > *a_sink) override |
void | UnregisterForStatsEvent (BSTEventSink< StatsEvent > *a_sink) override |
VMHandle | GetBoundHandle (const BSTSmartPointer< Object > &a_objPtr) const override |
bool | TypeCanBeBound (const BSFixedString &a_className, VMHandle a_handle) override |
void | BindObject (BSTSmartPointer< Object > &a_objPtr, VMHandle a_handle, bool a_conditional) override |
void | HandleLoadedBinding (BSTSmartPointer< Object > &a_objPtr, VMHandle a_handle, bool a_conditional) override |
void | RemoveAllBoundObjects (VMHandle a_handle) override |
void | RemoveAllDiskLoadedBoundObjects (VMHandle a_handle) override |
void | HandleCObjectDeletion (VMHandle a_handle) override |
void | UnbindObject (const BSTSmartPointer< Object > &a_objPtr) override |
bool | CreateObjectWithProperties (const BSFixedString &a_className, std::uint32_t a_numProperties, BSTSmartPointer< Object > &a_objPtr) override |
bool | InitObjectProperties (BSTSmartPointer< Object > &a_objPtr, void *a_property, bool a_arg3) override |
Public Member Functions inherited from RE::BSScript::IVirtualMachine | |
virtual | ~IVirtualMachine () |
bool | CreateArray (const TypeInfo &a_typeInfo, std::uint32_t a_size, BSTSmartPointer< Array > &a_arrayPtr) |
bool | CreateArray (TypeInfo::RawType a_typeID, const BSFixedString &a_className, std::uint32_t a_size, BSTSmartPointer< Array > &a_arrayPtr) |
bool | CreateObject (const BSFixedString &a_className, void *a_property, BSTSmartPointer< Object > &a_objPtr) |
bool | CreateObject (const BSFixedString &a_className, BSTSmartPointer< Object > &a_result) |
bool | DispatchMethodCall (BSTSmartPointer< Object > &a_obj, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) |
bool | DispatchMethodCall (VMHandle a_handle, const BSFixedString &a_className, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) |
ObjectBindPolicy * | GetObjectBindPolicy () |
const ObjectBindPolicy * | GetObjectBindPolicy () const |
IObjectHandlePolicy * | GetObjectHandlePolicy () |
const IObjectHandlePolicy * | GetObjectHandlePolicy () const |
bool | GetScriptObjectType (const BSFixedString &a_className, BSTSmartPointer< ObjectTypeInfo > &a_outTypeInfoPtr) |
bool | GetScriptObjectType (VMTypeID a_typeID, BSTSmartPointer< ObjectTypeInfo > &a_outTypeInfoPtr) |
bool | GetScriptObjectTypeNoLoad (const BSFixedString &a_className, BSTSmartPointer< ObjectTypeInfo > &a_typeInfoPtr) const |
bool | GetScriptObjectTypeNoLoad (VMTypeID a_typeID, BSTSmartPointer< ObjectTypeInfo > &a_outTypeInfoPtr) const |
bool | GetVariableValue (const BSTSmartPointer< Object > &a_objPtr, std::uint32_t a_index, Variable &a_out) const |
bool | GetVariableValue (VMHandle a_handle, const BSFixedString &a_className, std::int32_t a_variableIndex, Variable &a_out) const |
template<class F > | |
void | RegisterFunction (std::string_view a_fnName, std::string_view a_className, F a_callback, bool a_callableFromTasklets=false) |
void | SetCallableFromTasklets (const char *a_className, const char *a_stateName, const char *a_fnName, bool a_callable) |
void | SetCallableFromTasklets (const char *a_className, const char *a_fnName, bool a_callable) |
void | TraceForm (TESForm *a_form, const char *a_str, VMStackID a_stackID, Severity a_severity) |
void | VTraceStack (const char *a_fmt, VMStackID a_stackID, Severity a_severity=Severity::kInfo,...) |
Public Member Functions inherited from RE::BSIntrusiveRefCounted | |
std::uint32_t | IncRef () const |
std::uint32_t | DecRef () const |
TES_HEAP_REDEFINE_NEW () | |
Public Member Functions inherited from RE::BSScript::IVMObjectBindInterface | |
virtual | ~IVMObjectBindInterface () |
Public Member Functions inherited from RE::BSScript::IVMSaveLoadInterface | |
virtual | ~IVMSaveLoadInterface () |
virtual void | Unk_01 (void)=0 |
virtual void | Unk_02 (void)=0 |
virtual void | Unk_04 (void)=0 |
virtual void | Unk_05 (void)=0 |
virtual void | Unk_06 (void)=0 |
virtual void | Unk_07 (void)=0 |
virtual void | Unk_08 (void)=0 |
virtual void | Unk_09 (void)=0 |
virtual void | Unk_0A (void)=0 |
virtual void | Unk_0B (void)=0 |
virtual void | Unk_0C (void)=0 |
virtual void | Unk_0D (void)=0 |
virtual void | Unk_0E (void)=0 |
virtual void | Unk_0F (void)=0 |
virtual void | Unk_10 (void)=0 |
virtual void | Unk_11 (void)=0 |
virtual void | Unk_12 (void)=0 |
virtual void | Unk_13 (void)=0 |
virtual void | Unk_14 (void)=0 |
virtual void | Unk_15 (void)=0 |
virtual void | Unk_16 (void)=0 |
Public Member Functions inherited from RE::BSScript::IVMDebugInterface | |
virtual | ~IVMDebugInterface () |
virtual void | Unk_01 (void)=0 |
Public Member Functions inherited from RE::BSTEventSource< StatsEvent > | |
BSTEventSource () | |
void | AddEventSink (Sink *a_eventSink) |
void | RemoveEventSink (Sink *a_eventSink) |
void | SendEvent (const StatsEvent *a_event) |
void | operator() (const StatsEvent *a_event) |
Static Public Member Functions | |
static VirtualMachine * | GetSingleton () |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_BSScript__Internal__VirtualMachine |
Static Public Attributes inherited from RE::BSScript::IVirtualMachine | |
static constexpr auto | RTTI = RTTI_BSScript__IVirtualMachine |
Static Public Attributes inherited from RE::BSScript::IVMObjectBindInterface | |
static constexpr auto | RTTI = RTTI_BSScript__IVMObjectBindInterface |
Static Public Attributes inherited from RE::BSScript::IVMSaveLoadInterface | |
static constexpr auto | RTTI = RTTI_BSScript__IVMSaveLoadInterface |
Static Public Attributes inherited from RE::BSScript::IVMDebugInterface | |
static constexpr auto | RTTI = RTTI_BSScript__IVMDebugInterface |
Additional Inherited Members | |
Public Types inherited from RE::BSScript::IVirtualMachine | |
using | Severity = BSScript::ErrorLogger::Severity |
Public Types inherited from RE::BSTEventSource< StatsEvent > | |
using | Sink = BSTEventSink< StatsEvent > |
Protected Attributes inherited from RE::BSIntrusiveRefCounted | |
volatile std::uint32_t | _refCount { 0 } |
|
override |
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
static |
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVMObjectBindInterface.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
|
overridevirtual |
Implements RE::BSScript::IVirtualMachine.
BSTHashMap<VMStackID, BSTSmartPointer<Stack> > RE::BSScript::Internal::VirtualMachine::allRunningStacks |
BSTArray<BSTSmartPointer<Array> > RE::BSScript::Internal::VirtualMachine::arrays |
|
mutable |
BSTHashMap<VMHandle, BSTSmallSharedArray<AttachedScript> > RE::BSScript::Internal::VirtualMachine::attachedScripts |
|
mutable |
ErrorLogger* RE::BSScript::Internal::VirtualMachine::errorLogger |
IFreezeQuery* RE::BSScript::Internal::VirtualMachine::freezeQuery |
|
mutable |
BSTStaticFreeList<FunctionMessage, 1024> RE::BSScript::Internal::VirtualMachine::funcMsgPool |
BSTCommonLLMessageQueue<FunctionMessage> RE::BSScript::Internal::VirtualMachine::funcMsgQueue |
|
mutable |
IObjectHandlePolicy* RE::BSScript::Internal::VirtualMachine::handlePolicy |
bool RE::BSScript::Internal::VirtualMachine::initialized |
LinkerProcessor RE::BSScript::Internal::VirtualMachine::linker |
IMemoryPagePolicy* RE::BSScript::Internal::VirtualMachine::memoryPagePolicy |
std::uint32_t RE::BSScript::Internal::VirtualMachine::nextArrayToClean |
VMStackID RE::BSScript::Internal::VirtualMachine::nextStackID |
ObjectBindPolicy* RE::BSScript::Internal::VirtualMachine::objectBindPolicy |
|
mutable |
BSTArray<BSTSmartPointer<Object> > RE::BSScript::Internal::VirtualMachine::objectsAwaitingReset |
BSTHashMap<BSFixedString, BSTSmartPointer<ObjectTypeInfo> > RE::BSScript::Internal::VirtualMachine::objectTypeMap |
BSTHashMap<BSFixedString, VMTypeID> RE::BSScript::Internal::VirtualMachine::objectTypeToTypeID |
BSTArray<FunctionMessage> RE::BSScript::Internal::VirtualMachine::overflowFuncMsgs |
BSTArray<SuspendedStack> RE::BSScript::Internal::VirtualMachine::overflowSuspendArray1 |
BSTArray<SuspendedStack> RE::BSScript::Internal::VirtualMachine::overflowSuspendArray2 |
bool RE::BSScript::Internal::VirtualMachine::overstressed |
std::uint16_t RE::BSScript::Internal::VirtualMachine::pad827E |
std::uint32_t RE::BSScript::Internal::VirtualMachine::pad9404 |
IProfilePolicy* RE::BSScript::Internal::VirtualMachine::profilePolicy |
|
mutable |
BSTArray<QueuedUnbindRefs> RE::BSScript::Internal::VirtualMachine::queuedUnbinds |
|
inlinestaticconstexpr |
|
mutable |
ISavePatcherInterface* RE::BSScript::Internal::VirtualMachine::savePatcherInterface |
IStackCallbackSaveInterface* RE::BSScript::Internal::VirtualMachine::stackCallbackSaveInterface |
BSTCommonStaticMessageQueue<SuspendedStack, 128>* RE::BSScript::Internal::VirtualMachine::stacksToResume |
BSTArray<SuspendedStack>* RE::BSScript::Internal::VirtualMachine::stacksToResumeOverflow |
BSTCommonStaticMessageQueue<SuspendedStack, 128>* RE::BSScript::Internal::VirtualMachine::stacksToSuspend |
BSTArray<SuspendedStack>* RE::BSScript::Internal::VirtualMachine::stacksToSuspendOverflow |
BSTCommonStaticMessageQueue<SuspendedStack, 128> RE::BSScript::Internal::VirtualMachine::suspendQueue1 |
BSTCommonStaticMessageQueue<SuspendedStack, 128> RE::BSScript::Internal::VirtualMachine::suspendQueue2 |
|
mutable |
BSTHashMap<VMTypeID, BSFixedString> RE::BSScript::Internal::VirtualMachine::typeIDToObjectType |
|
mutable |
BSTArray<BSTSmartPointer<ObjectTypeInfo> > RE::BSScript::Internal::VirtualMachine::typesToUnload |
std::uint32_t RE::BSScript::Internal::VirtualMachine::uiWaitingFunctionMessages |
std::uint32_t RE::BSScript::Internal::VirtualMachine::unk938C |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk9390 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk9398 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk93D8 |
BSTArray<void*> RE::BSScript::Internal::VirtualMachine::unk93E0 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk9440 |
BSTHashMap<UnkKey, UnkValue> RE::BSScript::Internal::VirtualMachine::unk9448 |
BSTHashMap<UnkKey, UnkValue> RE::BSScript::Internal::VirtualMachine::unk9478 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94C8 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94D0 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94D8 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94E0 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94E8 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94F0 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk94F8 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk9500 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk9508 |
std::uint64_t RE::BSScript::Internal::VirtualMachine::unk9518 |
BSTArray<CodeTasklet*> RE::BSScript::Internal::VirtualMachine::vmTasks |
BSTHashMap<VMStackID, BSTSmartPointer<Stack> > RE::BSScript::Internal::VirtualMachine::waitingLatentReturns |