CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
HandlePolicy.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTHashMap.h"
5
6namespace RE
7{
8 namespace SkyrimScript
9 {
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_SkyrimScript__HandlePolicy;
14
15 ~HandlePolicy() override; // 00
16
17 // override (BSScript::IObjectHandlePolicy)
18 bool HandleIsType(VMTypeID a_typeID, VMHandle a_handle) const override; // 01
19 bool IsHandleObjectAvailable(VMHandle a_handle) const override; // 02
20 VMHandle EmptyHandle() const override; // 03
21 VMHandle GetHandleForObject(VMTypeID a_typeID, const void* a_srcData) const override; // 04
22 bool HasParent(VMHandle a_handle) const override; // 05
23 VMHandle GetParentHandle(VMHandle a_handle) const override; // 06
24 VMHandle GetHandleScriptsMovedFrom(VMHandle a_handle) const override; // 07
25 void* GetObjectForHandle(VMTypeID a_typeID, VMHandle a_handle) const override; // 08
26 void PersistHandle(VMHandle a_handle) override; // 09
27 void ReleaseHandle(VMHandle a_handle) override; // 0A
28 void ConvertHandleToString(VMHandle a_handle, BSFixedString& a_strOut) const override; // 0B
29
30 // members
31 std::uint64_t unk08; // 08
34 };
35 static_assert(sizeof(HandlePolicy) == 0x70);
36 }
37}
Definition: BSTHashMap.h:21
Definition: HandlePolicy.h:11
bool IsHandleObjectAvailable(VMHandle a_handle) const override
void ConvertHandleToString(VMHandle a_handle, BSFixedString &a_strOut) const override
VMHandle EmptyHandle() const override
VMHandle GetHandleForObject(VMTypeID a_typeID, const void *a_srcData) const override
BSTHashMap< UnkKey, UnkValue > unk40
Definition: HandlePolicy.h:33
static constexpr auto RTTI
Definition: HandlePolicy.h:13
VMHandle GetHandleScriptsMovedFrom(VMHandle a_handle) const override
bool HasParent(VMHandle a_handle) const override
std::uint64_t unk08
Definition: HandlePolicy.h:31
void * GetObjectForHandle(VMTypeID a_typeID, VMHandle a_handle) const override
void ReleaseHandle(VMHandle a_handle) override
void PersistHandle(VMHandle a_handle) override
VMHandle GetParentHandle(VMHandle a_handle) const override
bool HandleIsType(VMTypeID a_typeID, VMHandle a_handle) const override
BSTHashMap< UnkKey, UnkValue > unk10
Definition: HandlePolicy.h:32
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SkyrimScript__HandlePolicy
Definition: Offsets_RTTI.h:5850
std::uint32_t VMTypeID
Definition: BSCoreTypes.h:9
std::uint64_t VMHandle
Definition: BSCoreTypes.h:7
Definition: IObjectHandlePolicy.h:13