|
| | ~VirtualMachine () override |
| |
| void | SetLinkedCallback (ITypeLinkedCallback *a_callback) override |
| |
| void | TraceStack (const char *a_str, VMStackID a_stackID, Severity a_severity=Severity::kInfo) override |
| |
| void | FormatAndPostMessage (const char *a_message, Severity a_severity) 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 | New_1B (void) override |
| |
| void | ForEachBoundObject (VMHandle a_handle, IForEachScriptObjectFunctor *a_functor) override |
| |
| void | New_1D (void) 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 |
| |
| void | SaveGame (SaveStorageWrapper *a_wrapper, SkyrimScript::SaveFileHandleReaderWriter *a_handle, bool unk) override |
| |
| void | LoadGame (LoadStorageWrapper *a_wrapper, SkyrimScript::SaveFileHandleReaderWriter *a_handle) override |
| |
| void | MarkSaveInvalid (BSStorage *a_storage) override |
| |
| std::byte | GetSaveGameVersion () override |
| |
| void | CleanupSave () override |
| |
| void | Unk_06 () override |
| |
| void | DropAllRunningData () override |
| |
| void | Unk_08 (void *unk) override |
| |
| void | Unk_09 (void) override |
| |
| void | Unk_0A (VMHandle a_handle, Object **a_out) override |
| |
| void | Unk_0B (void *unk) override |
| |
| void | Unk_0C (void) override |
| |
| void | Unk_0D (VMHandle a_handle, Array **a_out) override |
| |
| void | Unk_0E (LoadStorageWrapper *a_storage, void *unk) override |
| |
| bool | GetStackByID (VMStackID a_stackID, Stack **a_out) override |
| |
| WritableStringTable | GetWritableStringTable () override |
| |
| const WritableStringTable | GetWritableStringTable2 () override |
| |
| ReadableStringTable | GetReadableStringTable () override |
| |
| BSTHashMap< BSFixedString, BSTSmartPointer< ObjectTypeInfo > > * | GetWritableTypeTable () override |
| |
| const BSTHashMap< BSFixedString, BSTSmartPointer< ObjectTypeInfo > > * | GetWritableTypeTable2 () override |
| |
| BSTHashMap< BSFixedString, BSTSmartPointer< ObjectTypeInfo > > * | GetReadableTypeTable () override |
| |
| bool | CreateEmptyTasklet (Stack *a_stack, Internal::CodeTasklet **a_out) override |
| |
| virtual | ~IVirtualMachine () |
| |
| SKYRIM_REL_VR_VIRTUAL void | ForEachBoundObject (VMHandle a_handle, IForEachScriptObjectFunctor *a_functor) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | FindBoundObject (VMHandle a_handle, const char *a_className, BSTSmartPointer< Object > &a_result) const |
| |
| SKYRIM_REL_VR_VIRTUAL void | MoveBoundObjects (VMHandle a_from, VMHandle a_to) |
| |
| SKYRIM_REL_VR_VIRTUAL void | ResetAllBoundObjects (VMHandle a_handle) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | CastObject (const BSTSmartPointer< Object > &a_fromObjPtr, const BSTSmartPointer< ObjectTypeInfo > &a_toTypeInfoPtr, BSTSmartPointer< Object > &a_toObjPtr) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | SetPropertyValue (BSTSmartPointer< Object > &a_obj, const char *a_propertyName, Variable &a_setVal) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | GetPropertyValue (BSTSmartPointer< Object > &a_obj, const char *a_propertyName, Variable &a_getVal) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | GetVariableValue1 (const BSTSmartPointer< Object > &a_objPtr, std::uint32_t a_index, Variable &a_out) const |
| |
| SKYRIM_REL_VR_VIRTUAL bool | GetVariableValue2 (VMHandle a_handle, const BSFixedString &a_className, std::int32_t a_variableIndex, Variable &a_out) const |
| |
| SKYRIM_REL_VR_VIRTUAL void | SendEvent (VMHandle a_handle, const BSFixedString &a_eventName, IFunctionArguments *a_args) |
| |
| SKYRIM_REL_VR_VIRTUAL void | SendEventAll (const BSFixedString &a_eventName, IFunctionArguments *a_args) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | DispatchStaticCall (const BSFixedString &a_className, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | DispatchMethodCall1 (BSTSmartPointer< Object > &a_obj, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | DispatchMethodCall2 (VMHandle a_handle, const BSFixedString &a_className, const BSFixedString &a_fnName, IFunctionArguments *a_args, BSTSmartPointer< IStackCallbackFunctor > &a_result) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | DispatchUnboundMethodCall (void) |
| |
| SKYRIM_REL_VR_VIRTUAL bool | IsWaitingOnLatent (VMStackID a_stackID) const |
| |
| SKYRIM_REL_VR_VIRTUAL void | ReturnFromLatent (VMStackID a_stackID, const Variable &a_val) |
| |
| SKYRIM_REL_VR_VIRTUAL ErrorLogger * | GetErrorLogger () |
| |
| SKYRIM_REL_VR_VIRTUAL IObjectHandlePolicy * | GetObjectHandlePolicy1 () |
| |
| SKYRIM_REL_VR_VIRTUAL const IObjectHandlePolicy * | GetObjectHandlePolicy2 () const |
| |
| SKYRIM_REL_VR_VIRTUAL ObjectBindPolicy * | GetObjectBindPolicy1 () |
| |
| SKYRIM_REL_VR_VIRTUAL const ObjectBindPolicy * | GetObjectBindPolicy2 () const |
| |
| SKYRIM_REL_VR_VIRTUAL ISavePatcherInterface * | GetSavePatcherInterface () |
| |
| SKYRIM_REL_VR_VIRTUAL void | RegisterForLogEvent (BSTEventSink< LogEvent > *a_sink) |
| |
| SKYRIM_REL_VR_VIRTUAL void | UnregisterForLogEvent (BSTEventSink< LogEvent > *a_sink) |
| |
| SKYRIM_REL_VR_VIRTUAL void | RegisterForStatsEvent (BSTEventSink< StatsEvent > *a_sink) |
| |
| SKYRIM_REL_VR_VIRTUAL void | UnregisterForStatsEvent (BSTEventSink< StatsEvent > *a_sink) |
| |
| 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) |
| |
| template<class R , class F > |
| void | RegisterLatentFunction (std::string_view a_fnName, std::string_view a_className, F a_callback, bool a_callableFromTasklets=false) |
| | Registers a latent function. Unlike normal native functions, latent functions do not return a result to the script immediately. More...
|
| |
| template<class V > |
| requires is_return_convertible_v< V > void | ReturnLatentResult (VMStackID a_stackID, V result) |
| | Returns a result to the stack if it is waiting for a latent function to return. This is a wrapper over ReturnFromLatent. More...
|
| |
| 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=Severity::kError) |
| |
| void | VTraceStack (VMStackID a_stackID, Severity a_severity, const char *a_fmt,...) |
| |
| std::uint32_t | IncRef () const |
| |
| std::uint32_t | DecRef () const |
| |
| | TES_HEAP_REDEFINE_NEW () |
| |
| virtual | ~IVMObjectBindInterface () |
| |
| virtual | ~IVMSaveLoadInterface () |
| |
| virtual | ~IVMDebugInterface () |
| |
| virtual void | DumpRunningStacksToLog ()=0 |
| |
| | BSTEventSource () |
| |
| void | AddEventSink (Sink *a_eventSink) |
| |
| void | AddEventSink (BSTEventSink< SinkEvent > *a_sink) |
| |
| void | RemoveEventSink (Sink *a_eventSink) |
| |
| void | SendEvent (const StatsEvent *a_event) |
| |
| void | operator() (const StatsEvent *a_event) |
| |