CommonLibSSE (powerof3)
BGSOpenCloseForm.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
RE
4
{
5
class
Actor;
6
class
TESObjectREFR;
7
8
class
BGSOpenCloseForm
9
{
10
public
:
11
inline
static
constexpr
auto
RTTI
=
RTTI_BGSOpenCloseForm
;
12
inline
static
constexpr
auto
VTABLE
=
VTABLE_BGSOpenCloseForm
;
13
14
enum class
OPEN_STATE
15
{
16
kNone
= 0,
17
kOpen
= 1,
18
kOpening
= 2,
19
kClosed
= 3,
20
kClosing
= 4
21
};
22
23
virtual
~BGSOpenCloseForm
();
// 00
24
25
// add
26
virtual
void
HandleOpen
(
TESObjectREFR
* a_target,
TESObjectREFR
* a_activator);
// 01 - { return; }
27
virtual
void
HandleClose
(
TESObjectREFR
* a_target,
TESObjectREFR
* a_activator);
// 02 - { return; }
28
virtual
void
Unk_03
(
void
);
// 03 - { return 0; }
29
30
[[nodiscard]]
static
OPEN_STATE
GetOpenState
(
const
TESObjectREFR
* a_ref);
31
static
void
SetOpenState
(
TESObjectREFR
* a_ref,
bool
a_open,
bool
a_snap);
32
};
33
static_assert(
sizeof
(
BGSOpenCloseForm
) == 0x8);
34
}
RE::BGSOpenCloseForm
Definition:
BGSOpenCloseForm.h:9
RE::BGSOpenCloseForm::GetOpenState
static OPEN_STATE GetOpenState(const TESObjectREFR *a_ref)
RE::BGSOpenCloseForm::VTABLE
static constexpr auto VTABLE
Definition:
BGSOpenCloseForm.h:12
RE::BGSOpenCloseForm::HandleClose
virtual void HandleClose(TESObjectREFR *a_target, TESObjectREFR *a_activator)
RE::BGSOpenCloseForm::Unk_03
virtual void Unk_03(void)
RE::BGSOpenCloseForm::OPEN_STATE
OPEN_STATE
Definition:
BGSOpenCloseForm.h:15
RE::BGSOpenCloseForm::OPEN_STATE::kNone
@ kNone
RE::BGSOpenCloseForm::OPEN_STATE::kOpening
@ kOpening
RE::BGSOpenCloseForm::OPEN_STATE::kClosing
@ kClosing
RE::BGSOpenCloseForm::OPEN_STATE::kOpen
@ kOpen
RE::BGSOpenCloseForm::OPEN_STATE::kClosed
@ kClosed
RE::BGSOpenCloseForm::HandleOpen
virtual void HandleOpen(TESObjectREFR *a_target, TESObjectREFR *a_activator)
RE::BGSOpenCloseForm::SetOpenState
static void SetOpenState(TESObjectREFR *a_ref, bool a_open, bool a_snap)
RE::BGSOpenCloseForm::~BGSOpenCloseForm
virtual ~BGSOpenCloseForm()
RE::BGSOpenCloseForm::RTTI
static constexpr auto RTTI
Definition:
BGSOpenCloseForm.h:11
RE::TESObjectREFR
Definition:
TESObjectREFR.h:114
RE
Definition:
AbsorbEffect.h:6
RE::VTABLE_BGSOpenCloseForm
constexpr std::array< REL::ID, 1 > VTABLE_BGSOpenCloseForm
Definition:
Offsets_VTABLE.h:8675
RE::RTTI_BGSOpenCloseForm
constexpr REL::ID RTTI_BGSOpenCloseForm(static_cast< std::uint64_t >(685035))
CommonLibSSE
include
RE
B
BGSOpenCloseForm.h
Generated by
1.9.1