CommonLibSSE (powerof3)
ItemList.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/G/GFxValue.h"
5 #include "RE/G/GPtr.h"
7 
8 namespace RE
9 {
10  class GFxMovieView;
11  class TESObjectREFR;
12 
13  struct ItemList
14  {
15  public:
16  struct Item
17  {
18  public:
19  // members
21  GFxValue obj; // 18 - kObject
22  std::uint64_t unk30; // 30
23  std::uint64_t unk38; // 38
24  };
25  static_assert(sizeof(Item) == 0x40);
26 
28  void Update();
29  void Update(TESObjectREFR* a_owner);
30 
31  // members
33  GFxValue root; // 08 - kDisplayObject - "_level0.Menu_mc.inventoryLists.panelContainer.itemList"
34  GFxValue entryList; // 20 - kArray - root.GetMember("entryList", &entryList);
36  bool unk50; // 50
37  std::uint8_t pad51; // 51
38  std::uint16_t pad52; // 52
39  std::uint32_t pad54; // 54
40 
41  protected:
42  void Update_Impl(TESObjectREFR* a_owner);
43  };
44  static_assert(sizeof(ItemList) == 0x58);
45 }
Definition: BSTArray.h:377
Definition: GFxValue.h:90
Definition: GPtr.h:7
Definition: StandardItemData.h:8
Definition: TESObjectREFR.h:103
Definition: AbsorbEffect.h:6
Definition: ItemList.h:17
StandardItemData data
Definition: ItemList.h:20
GFxValue obj
Definition: ItemList.h:21
std::uint64_t unk38
Definition: ItemList.h:23
std::uint64_t unk30
Definition: ItemList.h:22
Definition: ItemList.h:14
Item * GetSelectedItem()
std::uint16_t pad52
Definition: ItemList.h:38
std::uint32_t pad54
Definition: ItemList.h:39
BSTArray< Item * > items
Definition: ItemList.h:35
GFxValue entryList
Definition: ItemList.h:34
GPtr< GFxMovieView > view
Definition: ItemList.h:32
bool unk50
Definition: ItemList.h:36
GFxValue root
Definition: ItemList.h:33
void Update_Impl(TESObjectREFR *a_owner)
void Update(TESObjectREFR *a_owner)
std::uint8_t pad51
Definition: ItemList.h:37