CommonLibSSE (powerof3)
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  {
27  return *index;
28  }
29 
30  // members
33  BGSLocation* location{ nullptr }; // 0x08
34  TESForm* itemBase{ nullptr }; // 0x10
36  };
37  static_assert(sizeof(BGSAddToPlayerInventoryEvent) == 0x20);
38 }
Definition: Relocation.h:841
Definition: Relocation.h:867
Definition: BGSAddToPlayerInventoryEvent.h:22
BGSLocation * location
Definition: BGSAddToPlayerInventoryEvent.h:33
stl::enumeration< AQUIRE_TYPE, std::uint32_t > acquireType
Definition: BGSAddToPlayerInventoryEvent.h:35
ObjectRefHandle ownerRef
Definition: BGSAddToPlayerInventoryEvent.h:31
static std::uint32_t & GetIndex()
Definition: BGSAddToPlayerInventoryEvent.h:24
TESForm * itemBase
Definition: BGSAddToPlayerInventoryEvent.h:34
ObjectRefHandle containerRef
Definition: BGSAddToPlayerInventoryEvent.h:32
Definition: BGSLocation.h:68
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
AQUIRE_TYPE
Definition: BGSAddToPlayerInventoryEvent.h:11