CommonLibSSE (powerof3)
TESProduceForm.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class BGSSoundDescriptorForm;
8  class TESBoundObject;
9 
10  struct SEASON
11  {
12  enum : std::uint32_t
13  {
14  kNone = static_cast<std::uint32_t>(-1),
15  kSpring = 0,
19 
21  };
22  };
23 
25  {
26  public:
27  inline static constexpr auto RTTI = RTTI_TESProduceForm;
28  inline static constexpr auto VTABLE = VTABLE_TESProduceForm;
29 
30  ~TESProduceForm() override; // 00
31 
32  // override (BaseFormComponent)
33  void InitializeDataComponent() override; // 01
34  void ClearDataComponent() override; // 02 - { return; }
35  void CopyComponent(BaseFormComponent* rhs) override; // 03
36 
37  // members
39  TESBoundObject* produceItem; // 10 - PFIG
40  std::int8_t produceChance[SEASON::kTotal]; // 18 - PFPC
41  std::uint32_t pad1C; // 1C
42  };
43  static_assert(sizeof(TESProduceForm) == 0x20);
44 }
Definition: BGSSoundDescriptorForm.h:14
Definition: BaseFormComponent.h:8
Definition: TESBoundObject.h:24
Definition: TESProduceForm.h:25
void ClearDataComponent() override
BGSSoundDescriptorForm * harvestSound
Definition: TESProduceForm.h:38
~TESProduceForm() override
std::uint32_t pad1C
Definition: TESProduceForm.h:41
void InitializeDataComponent() override
static constexpr auto RTTI
Definition: TESProduceForm.h:27
static constexpr auto VTABLE
Definition: TESProduceForm.h:28
TESBoundObject * produceItem
Definition: TESProduceForm.h:39
std::int8_t produceChance[SEASON::kTotal]
Definition: TESProduceForm.h:40
void CopyComponent(BaseFormComponent *rhs) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESProduceForm(static_cast< std::uint64_t >(513944))
constexpr std::array< REL::ID, 1 > VTABLE_TESProduceForm
Definition: Offsets_VTABLE.h:12878
Definition: TESProduceForm.h:11
@ kFall
Definition: TESProduceForm.h:17
@ kTotal
Definition: TESProduceForm.h:20
@ kSummer
Definition: TESProduceForm.h:16
@ kNone
Definition: TESProduceForm.h:14
@ kWinter
Definition: TESProduceForm.h:18
@ kSpring
Definition: TESProduceForm.h:15