CommonLibSSE NG
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 
29  ~TESProduceForm() override; // 00
30 
31  // override (BaseFormComponent)
32  void InitializeDataComponent() override; // 01
33  void ClearDataComponent() override; // 02 - { return; }
34  void CopyComponent(BaseFormComponent* rhs) override; // 03
35 
36  // members
38  TESBoundObject* produceItem; // 10 - PFIG
39  std::int8_t produceChance[SEASON::kTotal]; // 18 - PFPC
40  std::uint32_t pad1C; // 1C
41  };
42  static_assert(sizeof(TESProduceForm) == 0x20);
43 }
Definition: BGSSoundDescriptorForm.h:14
Definition: BaseFormComponent.h:8
Definition: TESBoundObject.h:24
Definition: TESProduceForm.h:25
void ClearDataComponent() override
BGSSoundDescriptorForm * harvestSound
Definition: TESProduceForm.h:37
~TESProduceForm() override
std::uint32_t pad1C
Definition: TESProduceForm.h:40
void InitializeDataComponent() override
static constexpr auto RTTI
Definition: TESProduceForm.h:27
TESBoundObject * produceItem
Definition: TESProduceForm.h:38
std::int8_t produceChance[SEASON::kTotal]
Definition: TESProduceForm.h:39
void CopyComponent(BaseFormComponent *rhs) override
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESProduceForm(513944, 392585, 0x1edb480)
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