CommonLibSSE NG
Loading...
Searching...
No Matches
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
13
enum class
OPEN_STATE
14
{
15
kNone
= 0,
16
kOpen
= 1,
17
kOpening
= 2,
18
kClosed
= 3,
19
kClosing
= 4
20
};
21
22
virtual
~BGSOpenCloseForm
();
// 00
23
24
// add
25
virtual
void
HandleOpen
(
TESObjectREFR
* a_target,
TESObjectREFR
* a_activator);
// 01 - { return; }
26
virtual
void
HandleClose
(
TESObjectREFR
* a_target,
TESObjectREFR
* a_activator);
// 02 - { return; }
27
virtual
void
Unk_03
(
void
);
// 03 - { return 0; }
28
29
[[nodiscard]]
static
OPEN_STATE
GetOpenState
(
const
TESObjectREFR
* a_ref);
30
static
void
SetOpenState
(
TESObjectREFR
* a_ref,
bool
a_open,
bool
a_snap);
31
};
32
static_assert
(
sizeof
(
BGSOpenCloseForm
) == 0x8);
33
}
RE::BGSOpenCloseForm
Definition
BGSOpenCloseForm.h:9
RE::BGSOpenCloseForm::GetOpenState
static OPEN_STATE GetOpenState(const TESObjectREFR *a_ref)
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:14
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:112
RE
Definition
AbsorbEffect.h:6
RE::RTTI_BGSOpenCloseForm
constexpr REL::VariantID RTTI_BGSOpenCloseForm(685035, 392789, 0x1ede578)
CommonLibSSE-NG
include
RE
B
BGSOpenCloseForm.h
Generated by
1.9.7