CommonLibVR
TESReactionForm.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTList.h"
5 #include "RE/F/FightReactions.h"
6 #include "RE/F/FormTypes.h"
7 
8 namespace RE
9 {
10  struct GROUP_REACTION // XNAM
11  {
12  TESForm* form; // 00
13  std::int32_t reaction; // 08
15  };
16  static_assert(sizeof(GROUP_REACTION) == 0x10);
17 
19  {
20  public:
21  inline static constexpr auto RTTI = RTTI_TESReactionForm;
22  inline static constexpr auto VTABLE = VTABLE_TESReactionForm;
23 
24  ~TESReactionForm() override; // 00
25 
26  // override (BaseFormComponent)
27  void InitializeDataComponent() override; // 01
28  void ClearDataComponent() override; // 02
29  void CopyComponent(BaseFormComponent* a_rhs) override; // 03
30 
31  // members
34  std::uint8_t pad19; // 19
35  std::uint16_t pad1A; // 1A
36  std::uint32_t pad1C; // 1C
37  private:
38  KEEP_FOR_RE()
39  };
40  static_assert(sizeof(TESReactionForm) == 0x20);
41 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSTList.h:10
Definition: BaseFormComponent.h:8
Definition: TESForm.h:40
Definition: TESReactionForm.h:19
static constexpr auto VTABLE
Definition: TESReactionForm.h:22
~TESReactionForm() override
BSSimpleList< GROUP_REACTION * > reactions
Definition: TESReactionForm.h:32
std::uint32_t pad1C
Definition: TESReactionForm.h:36
static constexpr auto RTTI
Definition: TESReactionForm.h:21
std::uint16_t pad1A
Definition: TESReactionForm.h:35
stl::enumeration< FormType, std::uint8_t > groupFormType
Definition: TESReactionForm.h:33
void InitializeDataComponent() override
void ClearDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
std::uint8_t pad19
Definition: TESReactionForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESReactionForm(static_cast< std::uint64_t >(513948))
constexpr std::array< REL::ID, 1 > VTABLE_TESReactionForm
Definition: Offsets_VTABLE.h:12883
FIGHT_REACTION
Definition: FightReactions.h:6
Definition: TESReactionForm.h:11
TESForm * form
Definition: TESReactionForm.h:12
FIGHT_REACTION fightReaction
Definition: TESReactionForm.h:14
std::int32_t reaction
Definition: TESReactionForm.h:13