CommonLibSSE NG
Loading...
Searching...
No Matches
TESActionData.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_TESActionData;
11 inline static constexpr auto VTABLE = VTABLE_TESActionData;
12
13 virtual ~TESActionData() override; // 00
14
15 // override (ActionInput)
16 ActorState* GetSourceActorState() const override; // 01
17 void Unk_02(void) override; // 02 - { return 0; }
19
20 // override (BGSActionData)
21 BGSActionData* Clone() const override; // 04
22 bool Process() override; // 05
23
25 {
26 auto tesActionData = malloc<TESActionData>();
27 std::memset(reinterpret_cast<void*>(tesActionData), 0, sizeof(TESActionData));
28 if (tesActionData) {
29 tesActionData->Ctor();
30 }
31 return tesActionData;
32 }
33
34 private:
35 TESActionData* Ctor()
36 {
37 using func_t = decltype(&TESActionData::Ctor);
38 REL::Relocation<func_t> func{ RELOCATION_ID(15916, 41558) };
39 TESActionData* tesActionData = func(this);
40 stl::emplace_vtable<TESActionData>(tesActionData);
41 return tesActionData;
42 }
43 };
44 static_assert(sizeof(TESActionData) == 0x60);
45}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition ActorState.h:93
Definition BGSActionData.h:11
Definition BGSAnimationSequencer.h:11
Definition TESActionData.h:8
virtual ~TESActionData() override
BGSAnimationSequencer * GetSourceSequencer() const override
BGSActionData * Clone() const override
static constexpr auto VTABLE
Definition TESActionData.h:11
static TESActionData * Create()
Definition TESActionData.h:24
void Unk_02(void) override
ActorState * GetSourceActorState() const override
static constexpr auto RTTI
Definition TESActionData.h:10
bool Process() override
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_TESActionData
Definition Offsets_VTABLE.h:400
constexpr REL::VariantID RTTI_TESActionData(684945, 392682, 0x1edcaa0)