CommonLibSSE NG
CombatInventory.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/AITimeStamp.h"
4 #include "RE/A/AITimer.h"
5 #include "RE/B/BSTArray.h"
6 #include "RE/N/NiSmartPointer.h"
7 
8 namespace RE
9 {
10  class BGSEquipSlot;
11  class CombatController;
12  class CombatInventoryItem;
13  class CombatObject;
14  class TESObjectWEAP;
15  class TESForm;
16 
18  {
19  public:
20  // members
22  std::uint32_t slot; // 18
23  float maxRange; // 1C
24  float optimalRange; // 20
25  float minRange; // 24
26  float score; // 28
27  };
28  static_assert(sizeof(CombatEquipment) == 0x30);
29 
31  {
32  public:
33  // members
36  };
37  static_assert(sizeof(CombatEquippedItem) == 0x10);
38 
40  {
41  public:
42  // members
48  std::uint64_t unk0E8; // 0E8 - map?
49  std::uint32_t unk0F0; // 0F0
50  std::uint32_t unk0F4; // 0F4
51  std::uint32_t unk0F8; // 0F8
52  std::uint32_t unk0FC; // 0FC
53  std::uint64_t unk100; // 100
54  std::uint64_t unk108; // 108
55  std::uint64_t unk110; // 110
59  std::int32_t unk190; // 190
61  std::uint32_t unk19C; // 19C
62  std::uint32_t unk1A0; // 1A0
63  std::uint32_t unk1A4; // 1A4
64  float actorExtents; // 1A8
65  float actorCollisionExtents; // 1AC
68  float maximumRange; // 1B8
69  float optimalRange; // 1BC
70  float minimumRange; // 1C0
71  bool dirty; // 1C4
72  };
73  static_assert(sizeof(CombatInventory) == 0x1C8);
74 }
Definition: BSTArray.h:377
Definition: CombatController.h:23
Definition: CombatInventory.h:40
std::int32_t unk190
Definition: CombatInventory.h:59
BSTArray< CombatEquippedItem > equippedItems
Definition: CombatInventory.h:58
float actorCollisionExtents
Definition: CombatInventory.h:65
std::uint32_t unk0F0
Definition: CombatInventory.h:49
float actorExtents
Definition: CombatInventory.h:64
CombatController * parentController
Definition: CombatInventory.h:43
std::uint32_t unk0FC
Definition: CombatInventory.h:52
std::uint32_t unk19C
Definition: CombatInventory.h:61
AITimer equippedTimer
Definition: CombatInventory.h:60
CombatEquipment unk118
Definition: CombatInventory.h:56
float minimumRange
Definition: CombatInventory.h:70
std::uint32_t unk0F4
Definition: CombatInventory.h:50
float maximumEffectiveDistance
Definition: CombatInventory.h:67
float maximumRange
Definition: CombatInventory.h:68
CombatEquipment unk148
Definition: CombatInventory.h:57
std::uint64_t unk108
Definition: CombatInventory.h:54
bool dirty
Definition: CombatInventory.h:71
BSTArray< TESForm * > unk0B0
Definition: CombatInventory.h:45
float optimalRange
Definition: CombatInventory.h:69
float minimumEffectiveDistance
Definition: CombatInventory.h:66
BSTArray< BGSEquipSlot * > * raceEquipSlots
Definition: CombatInventory.h:47
std::uint64_t unk0E8
Definition: CombatInventory.h:48
BSTArray< NiPointer< CombatInventoryItem > > inventoryItems[7]
Definition: CombatInventory.h:44
BSTArray< TESForm * > unk0C8
Definition: CombatInventory.h:46
std::uint64_t unk110
Definition: CombatInventory.h:55
std::uint32_t unk1A0
Definition: CombatInventory.h:62
std::uint32_t unk0F8
Definition: CombatInventory.h:51
std::uint64_t unk100
Definition: CombatInventory.h:53
std::uint32_t unk1A4
Definition: CombatInventory.h:63
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
Definition: AITimeStamp.h:6
Definition: AITimer.h:6
Definition: CombatInventory.h:18
std::uint32_t slot
Definition: CombatInventory.h:22
float score
Definition: CombatInventory.h:26
float maxRange
Definition: CombatInventory.h:23
BSTArray< NiPointer< CombatInventoryItem > > items
Definition: CombatInventory.h:21
float optimalRange
Definition: CombatInventory.h:24
float minRange
Definition: CombatInventory.h:25
Definition: CombatInventory.h:31
NiPointer< CombatInventoryItem > item
Definition: CombatInventory.h:34
AITimeStamp equipTime
Definition: CombatInventory.h:35