CommonLibSSE (Parapets fork)
BGSAddToPlayerInventoryEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSPointerHandle.h"
4 
5 namespace RE
6 {
7  class BGSLocation;
8  class TESForm;
9 
10  enum class AQUIRE_TYPE
11  {
12  kNone = 0,
13  kSteal = 1,
14  kBuy = 2,
15  kPickPocket = 3,
16  kPickup = 4,
17  kContainer = 5,
18  kDeadBody = 6
19  };
20 
22  {
23  public:
24  [[nodiscard]] static std::uint32_t& GetIndex();
25 
26  // members
29  BGSLocation* location{ nullptr }; // 0x08
30  TESForm* itemBase{ nullptr }; // 0x10
32  };
33  static_assert(sizeof(BGSAddToPlayerInventoryEvent) == 0x20);
34 }
Definition: BGSAddToPlayerInventoryEvent.h:22
BGSLocation * location
Definition: BGSAddToPlayerInventoryEvent.h:29
stl::enumeration< AQUIRE_TYPE, std::uint32_t > acquireType
Definition: BGSAddToPlayerInventoryEvent.h:31
ObjectRefHandle ownerRef
Definition: BGSAddToPlayerInventoryEvent.h:27
static std::uint32_t & GetIndex()
TESForm * itemBase
Definition: BGSAddToPlayerInventoryEvent.h:30
ObjectRefHandle containerRef
Definition: BGSAddToPlayerInventoryEvent.h:28
Definition: BGSLocation.h:68
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
AQUIRE_TYPE
Definition: BGSAddToPlayerInventoryEvent.h:11