CommonLibSSE (powerof3)
MiddleHighProcessData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/ActorPackage.h"
4 #include "RE/B/BGSPerkEntry.h"
5 #include "RE/B/BSAtomic.h"
6 #include "RE/B/BSPointerHandle.h"
7 #include "RE/B/BSResponse.h"
8 #include "RE/B/BSTArray.h"
9 #include "RE/B/BSTEvent.h"
10 #include "RE/B/BSTList.h"
11 #include "RE/B/BSTSmartPointer.h"
12 #include "RE/F/FormTypes.h"
13 #include "RE/H/HitData.h"
14 #include "RE/M/MagicSystem.h"
15 #include "RE/N/NiPoint3.h"
16 #include "RE/N/NiSmartPointer.h"
17 
18 namespace RE
19 {
20  class ActiveEffect;
21  class BGSAttackData;
22  class BGSPerkEntry;
23  class bhkCharacterController;
24  class bhkRagdollPenetrationUtil;
25  class BSAnimationGraphManager;
26  class BSCloneReserver;
27  class BSFaceGenAnimationData;
28  class BSFaceGenNiNode;
29  class BSLightingShaderProperty;
30  class ExtraDataList;
31  class InventoryEntryData;
32  class MagicItem;
33  class NiAVObject;
34  class NiNode;
35  class QueuedFile;
36  class TESBoundObject;
37  struct AnimationVariableData;
38  struct BSAnimationGraphVariableCache;
39 
40  enum class RESET_3D_FLAGS
41  {
42  kNone = 0,
43  kModel = 1 << 0,
44  kSkin = 1 << 1,
45  kHead = 1 << 2,
46  kFace = 1 << 3,
47  kScale = 1 << 4,
48  kSkeleton = 1 << 5,
49  kInitDefault = 1 << 6,
50  kSkyCellSkin = 1 << 7
51  };
52 
54  {
55  public:
56  // members
58  std::uint32_t pad04; // 04
60  };
61  static_assert(sizeof(CommandedActorData) == 0x10);
62 
64  {
65  public:
66  // members
68  std::int32_t count; // 08
69  std::uint32_t pad0C; // 0C
70  const BGSEquipSlot* equipSlot; // 10
71  void* unk18; // 18
72  bool playEquipSounds; // 20
73  bool forceEquip; // 21
74  bool showMessage; // 22
75  bool unk23; // 23
76  bool unk24; // 24
77  std::uint8_t pad25; // 25
78  std::uint16_t pad26; // 26
79  };
80  static_assert(sizeof(ObjectEquipParams) == 0x28);
81 
82  class QueuedItem
83  {
84  public:
85  // members
86  QueuedItem* next; // 00
90  bool equip; // 40
91  std::uint8_t pad41; // 41
92  std::uint16_t pad42; // 42
93  std::uint32_t pad44; // 44
94  };
95  static_assert(sizeof(QueuedItem) == 0x48);
96 
98  {
99  public:
100  // members
101  float dismemberTimer; // 00
102  std::uint32_t limbIndex; // 04
106  bool explosion; // 20
107  std::uint8_t pad21; // 21
108  std::uint16_t pad22; // 22
109  std::uint32_t pad24; // 24
110  };
111  static_assert(sizeof(DeferredHideLimb) == 0x28);
112 
113  struct AIPerkData
114  {
115  public:
117  {
118  return operator[](a_pos);
119  }
120 
122  {
123  assert(a_pos < BGSEntryPoint::ENTRY_POINT::kTotal);
124  return perkEntryArrays[std::to_underlying(a_pos)];
125  }
126 
127  // members
129  };
130  static_assert(sizeof(AIPerkData) == 0x8A0);
131 
133  {
134  public:
144  std::uint32_t bleedoutAttacker; // 0EC
146  std::uint32_t pad0F4; // 0F4
149  NiNode* damageRootNode[6]; // 118
157  std::uint64_t unk180; // 180
166  mutable BSSpinLock unk1E8; // 1E8
167  void* unk1F0; // 1F0 - smart ptr
168  std::uint16_t unk1F8; // 1F8
169  std::uint16_t unk1FA; // 1FA
170  std::uint32_t unk1FC; // 1FC
171  std::uint32_t unk200; // 200
172  float headHeightOffset; // 204
174  std::uint32_t unk20C; // 20C
177  std::uint32_t pad21C; // 21C
180  void* unk230; // 230 - smart ptr
183  std::uint64_t unk248; // 248
192  std::uint32_t unk290; // 290
193  std::uint32_t currentFurnitureSubgraphID; // 294
194  float unk298; // 298
195  float unk29C; // 29C
196  float unk2A0; // 2A0
197  float unk2A4; // 2A4
198  float currentMovementSpeed; // 2A8
199  float unk2AC; // 2AC
200  float unk2B0; // 2B0
201  float bleedoutRate; // 2B4
202  float unk2B8; // 2B8
203  float maximumWardPower; // 2BC
204  float unk2C0; // 2C0
205  float torchEvaluationTimer; // 2C4
206  float alphaMult; // 2C8
207  float scriptRefractPower; // 2CC
208  float unk2D0; // 2D0
209  float deferredKillTimer; // 2D4
210  float killMoveTimer; // 2D8
211  float unk2DC; // 2DC
212  std::uint32_t unk2E0; // 2E0
213  std::uint32_t unk2E4; // 2E4
214  std::uint32_t currentFurnitureMarkerID; // 2E8
215  std::uint32_t unk2EC; // 2EC
216  std::uint64_t unk2F0; // 2F0
217  std::uint32_t unk2F8; // 2F8
218  std::uint32_t unk2FC; // 2FC
219  std::uint32_t unk300; // 300
220  std::uint16_t unk304; // 304
221  std::uint16_t unk306; // 306
222  std::uint64_t unk308; // 308
223  std::uint8_t unk310; // 310
225  std::uint16_t unk312; // 312
226  std::uint16_t unk314; // 314
227  bool unk316; // 316
228  bool unk317; // 317
229  bool unk318; // 318
230  bool unk319; // 319
231  bool unk31A; // 31A
232  bool pickPocketed; // 31B
233  bool summonedCreature; // 31C
234  bool forceNextUpdate; // 31D
235  bool unk31E; // 31E
236  bool unk31F; // 31F
237  bool unk320; // 320
238  bool unk321; // 321
239  bool beenAttacked; // 322
240  bool alwaysHit; // 323
241  bool doNoDamage; // 324
242  bool soulTrapped; // 325
243  bool unk326; // 326
244  bool unk327; // 327
245  bool unk328; // 328
246  bool preventCombat; // 329
247  bool unk32A; // 32A
248  bool isFleeing; // 32B
249  bool unk32C; // 32C
250  bool hostileGuard; // 32D
251  bool unk32E; // 32E
252  bool unk32F; // 32F
253  bool unk330; // 330
254  bool killQueued; // 331
255  bool inDeferredKill; // 332
256  bool pad333; // 333
257  std::uint32_t pad334; // 334
258  };
259  static_assert(sizeof(MiddleHighProcessData) == 0x338);
260 }
Definition: ActiveEffect.h:27
Definition: ActorPackage.h:12
Definition: BGSEquipSlot.h:10
Definition: BSFaceGenAnimationData.h:11
Definition: BSFaceGenNiNode.h:14
Definition: BSTList.h:10
Definition: BSAtomic.h:92
Definition: BSTArray.h:378
Definition: BSTSmartPointer.h:37
Definition: ExtraDataList.h:49
Definition: HitData.h:17
Definition: InventoryEntryData.h:15
Definition: MagicItem.h:30
Definition: NiAVObject.h:51
Definition: NiNode.h:12
Definition: NiPoint3.h:6
Definition: MiddleHighProcessData.h:83
ObjectEquipParams equipParams
Definition: MiddleHighProcessData.h:88
std::uint8_t pad41
Definition: MiddleHighProcessData.h:91
TESBoundObject * object
Definition: MiddleHighProcessData.h:87
std::uint32_t pad44
Definition: MiddleHighProcessData.h:93
std::uint16_t pad42
Definition: MiddleHighProcessData.h:92
NiPointer< QueuedFile > queuedFiles
Definition: MiddleHighProcessData.h:89
QueuedItem * next
Definition: MiddleHighProcessData.h:86
bool equip
Definition: MiddleHighProcessData.h:90
Definition: TESBoundObject.h:24
Definition: TESIdleForm.h:37
WardState
Definition: MagicSystem.h:87
Definition: AbsorbEffect.h:6
RESET_3D_FLAGS
Definition: MiddleHighProcessData.h:41
Definition: MiddleHighProcessData.h:114
BSTArray< BGSPerkEntry * > perkEntryArrays[BGSEntryPoint::ENTRY_POINTS::kTotal]
Definition: MiddleHighProcessData.h:128
BSTArray< BGSPerkEntry * > & at(BGSEntryPoint::ENTRY_POINT a_pos)
Definition: MiddleHighProcessData.h:116
BSTArray< BGSPerkEntry * > & operator[](BGSEntryPoint::ENTRY_POINT a_pos)
Definition: MiddleHighProcessData.h:121
ENTRY_POINT
Definition: BGSEntryPoint.h:12
@ kTotal
Definition: BGSEntryPoint.h:106
Definition: BSAnimationGraphManager.h:34
Definition: MiddleHighProcessData.h:54
std::uint32_t pad04
Definition: MiddleHighProcessData.h:58
ActorHandle commandedActor
Definition: MiddleHighProcessData.h:57
ActiveEffect * activeEffect
Definition: MiddleHighProcessData.h:59
Definition: MiddleHighProcessData.h:98
std::uint8_t pad21
Definition: MiddleHighProcessData.h:107
NiPointer< NiNode > dismemberedLimbRoot
Definition: MiddleHighProcessData.h:103
std::uint16_t pad22
Definition: MiddleHighProcessData.h:108
NiPointer< NiNode > replacementLimb
Definition: MiddleHighProcessData.h:104
DeferredHideLimb * next
Definition: MiddleHighProcessData.h:105
std::uint32_t pad24
Definition: MiddleHighProcessData.h:109
bool explosion
Definition: MiddleHighProcessData.h:106
std::uint32_t limbIndex
Definition: MiddleHighProcessData.h:102
float dismemberTimer
Definition: MiddleHighProcessData.h:101
Definition: MiddleHighProcessData.h:133
float unk2B8
Definition: MiddleHighProcessData.h:202
float unk2A4
Definition: MiddleHighProcessData.h:197
BSTArray< ActorHandle > deadDetectList
Definition: MiddleHighProcessData.h:137
BSFaceGenNiNode * faceNodeSkinned
Definition: MiddleHighProcessData.h:155
void * unk1F0
Definition: MiddleHighProcessData.h:167
NiPointer< bhkCharacterController > charController
Definition: MiddleHighProcessData.h:184
std::uint32_t unk20C
Definition: MiddleHighProcessData.h:174
float unk2C0
Definition: MiddleHighProcessData.h:204
bool unk319
Definition: MiddleHighProcessData.h:230
MagicItem * currentPackageSpell
Definition: MiddleHighProcessData.h:182
bool unk321
Definition: MiddleHighProcessData.h:238
std::uint32_t unk1FC
Definition: MiddleHighProcessData.h:170
BSFaceGenAnimationData * faceAnimationData
Definition: MiddleHighProcessData.h:181
TESIdleForm * furnitureIdle
Definition: MiddleHighProcessData.h:179
BSSimpleList< ActiveEffect * > * activeEffects
Definition: MiddleHighProcessData.h:161
bool unk32F
Definition: MiddleHighProcessData.h:252
TESIdleForm * unk210
Definition: MiddleHighProcessData.h:175
bool unk31E
Definition: MiddleHighProcessData.h:235
BSSimpleList< TESObjectREFR * > refListChairBed
Definition: MiddleHighProcessData.h:138
ActorHandle commandingActor
Definition: MiddleHighProcessData.h:176
std::uint32_t unk2E4
Definition: MiddleHighProcessData.h:213
bool hostileGuard
Definition: MiddleHighProcessData.h:250
bool pad333
Definition: MiddleHighProcessData.h:256
MagicSystem::WardState wardState
Definition: MiddleHighProcessData.h:145
bool unk318
Definition: MiddleHighProcessData.h:229
QueuedItem * itemstoEquipUnequip
Definition: MiddleHighProcessData.h:158
std::uint16_t unk1FA
Definition: MiddleHighProcessData.h:169
bool unk316
Definition: MiddleHighProcessData.h:227
float unk2AC
Definition: MiddleHighProcessData.h:199
std::uint16_t unk304
Definition: MiddleHighProcessData.h:220
float unk2B0
Definition: MiddleHighProcessData.h:200
NiAVObject * faceTargetSourceNode
Definition: MiddleHighProcessData.h:154
bool unk326
Definition: MiddleHighProcessData.h:243
float unk2D0
Definition: MiddleHighProcessData.h:208
bool alwaysHit
Definition: MiddleHighProcessData.h:240
REX::EnumSet< RESET_3D_FLAGS, std::uint8_t > update3DModel
Definition: MiddleHighProcessData.h:224
bool pickPocketed
Definition: MiddleHighProcessData.h:232
TESIdleForm * lastIdlePlayed
Definition: MiddleHighProcessData.h:190
NiPoint3 actorMountPosition
Definition: MiddleHighProcessData.h:141
std::uint8_t unk310
Definition: MiddleHighProcessData.h:223
NiPointer< BSCloneReserver > unk278
Definition: MiddleHighProcessData.h:189
std::uint32_t pad21C
Definition: MiddleHighProcessData.h:177
DeferredHideLimb * headDeferredHideLimb
Definition: MiddleHighProcessData.h:160
BSTEventSource< void * > unk000
Definition: MiddleHighProcessData.h:135
ActorPackage runOncePackage
Definition: MiddleHighProcessData.h:136
InventoryEntryData * rightHand
Definition: MiddleHighProcessData.h:186
bool unk328
Definition: MiddleHighProcessData.h:245
std::uint32_t bleedoutAttacker
Definition: MiddleHighProcessData.h:144
ObjectRefHandle occupiedFurniture
Definition: MiddleHighProcessData.h:173
NiPoint3 furniturePathPoint
Definition: MiddleHighProcessData.h:142
std::uint64_t unk248
Definition: MiddleHighProcessData.h:183
std::uint64_t unk308
Definition: MiddleHighProcessData.h:222
InventoryEntryData * leftHand
Definition: MiddleHighProcessData.h:178
NiNode * weaponBone
Definition: MiddleHighProcessData.h:151
std::uint32_t unk2EC
Definition: MiddleHighProcessData.h:215
float unk298
Definition: MiddleHighProcessData.h:194
BSTArray< void * > unk1B8
Definition: MiddleHighProcessData.h:164
float unk2DC
Definition: MiddleHighProcessData.h:211
BSTSmartPointer< BSAnimationGraphManager > animationGraphManager
Definition: MiddleHighProcessData.h:162
bool killQueued
Definition: MiddleHighProcessData.h:254
bool soulTrapped
Definition: MiddleHighProcessData.h:242
bool unk330
Definition: MiddleHighProcessData.h:253
std::uint16_t unk314
Definition: MiddleHighProcessData.h:226
bool unk317
Definition: MiddleHighProcessData.h:228
float deferredKillTimer
Definition: MiddleHighProcessData.h:209
NiAVObject * headNode
Definition: MiddleHighProcessData.h:152
std::uint16_t unk306
Definition: MiddleHighProcessData.h:221
std::uint32_t unk2E0
Definition: MiddleHighProcessData.h:212
std::uint64_t unk180
Definition: MiddleHighProcessData.h:157
std::uint32_t pad334
Definition: MiddleHighProcessData.h:257
BSTSmartPointer< bhkRagdollPenetrationUtil > penetrationDetectUtil
Definition: MiddleHighProcessData.h:185
InventoryEntryData * bothHands
Definition: MiddleHighProcessData.h:187
bool inDeferredKill
Definition: MiddleHighProcessData.h:255
bool unk32C
Definition: MiddleHighProcessData.h:249
float maximumWardPower
Definition: MiddleHighProcessData.h:203
BSTArray< void * > unk1D0
Definition: MiddleHighProcessData.h:165
NiAVObject * torsoNode
Definition: MiddleHighProcessData.h:153
std::uint32_t unk2FC
Definition: MiddleHighProcessData.h:218
AIPerkData * perkData
Definition: MiddleHighProcessData.h:191
std::uint32_t pad0F4
Definition: MiddleHighProcessData.h:146
BSAnimationGraphVariableCache * animationVariableCache
Definition: MiddleHighProcessData.h:163
std::uint32_t currentFurnitureSubgraphID
Definition: MiddleHighProcessData.h:193
std::uint32_t unk290
Definition: MiddleHighProcessData.h:192
std::uint32_t unk300
Definition: MiddleHighProcessData.h:219
float killMoveTimer
Definition: MiddleHighProcessData.h:210
std::uint64_t unk2F0
Definition: MiddleHighProcessData.h:216
bool beenAttacked
Definition: MiddleHighProcessData.h:239
bool preventCombat
Definition: MiddleHighProcessData.h:246
bool unk320
Definition: MiddleHighProcessData.h:237
float unk29C
Definition: MiddleHighProcessData.h:195
bool unk32A
Definition: MiddleHighProcessData.h:247
bool unk31F
Definition: MiddleHighProcessData.h:236
NiPoint3 rotation
Definition: MiddleHighProcessData.h:139
bool forceNextUpdate
Definition: MiddleHighProcessData.h:234
std::uint32_t unk2F8
Definition: MiddleHighProcessData.h:217
float alphaMult
Definition: MiddleHighProcessData.h:206
bool doNoDamage
Definition: MiddleHighProcessData.h:241
std::uint32_t currentFurnitureMarkerID
Definition: MiddleHighProcessData.h:214
std::uint32_t unk200
Definition: MiddleHighProcessData.h:171
NiAVObject * unk148
Definition: MiddleHighProcessData.h:150
float scriptRefractPower
Definition: MiddleHighProcessData.h:207
bool unk32E
Definition: MiddleHighProcessData.h:251
BSTSmartPointer< AnimResponse > animResponse
Definition: MiddleHighProcessData.h:147
bool unk31A
Definition: MiddleHighProcessData.h:231
NiPointer< BSLightingShaderProperty > lightingProperty
Definition: MiddleHighProcessData.h:156
NiPointer< QueuedFile > bodyPartPreload
Definition: MiddleHighProcessData.h:188
float currentMovementSpeed
Definition: MiddleHighProcessData.h:198
bool summonedCreature
Definition: MiddleHighProcessData.h:233
NiPoint3 lastSeenPosition
Definition: MiddleHighProcessData.h:143
void * unk230
Definition: MiddleHighProcessData.h:180
float bleedoutRate
Definition: MiddleHighProcessData.h:201
float headHeightOffset
Definition: MiddleHighProcessData.h:172
float unk2A0
Definition: MiddleHighProcessData.h:196
std::uint16_t unk312
Definition: MiddleHighProcessData.h:225
bool isFleeing
Definition: MiddleHighProcessData.h:248
NiNode * damageRootNode[6]
Definition: MiddleHighProcessData.h:149
BSSpinLock unk1E8
Definition: MiddleHighProcessData.h:166
float torchEvaluationTimer
Definition: MiddleHighProcessData.h:205
std::uint16_t unk1F8
Definition: MiddleHighProcessData.h:168
HitData * lastHitData
Definition: MiddleHighProcessData.h:159
bool unk327
Definition: MiddleHighProcessData.h:244
BSTArray< CommandedActorData > commandedActors
Definition: MiddleHighProcessData.h:148
NiPoint3 rotationSpeed
Definition: MiddleHighProcessData.h:140
Definition: MiddleHighProcessData.h:64
void * unk18
Definition: MiddleHighProcessData.h:71
bool showMessage
Definition: MiddleHighProcessData.h:74
std::uint32_t pad0C
Definition: MiddleHighProcessData.h:69
bool playEquipSounds
Definition: MiddleHighProcessData.h:72
bool unk23
Definition: MiddleHighProcessData.h:75
ExtraDataList * extraDataList
Definition: MiddleHighProcessData.h:67
std::uint16_t pad26
Definition: MiddleHighProcessData.h:78
std::uint8_t pad25
Definition: MiddleHighProcessData.h:77
std::int32_t count
Definition: MiddleHighProcessData.h:68
bool unk24
Definition: MiddleHighProcessData.h:76
const BGSEquipSlot * equipSlot
Definition: MiddleHighProcessData.h:70
bool forceEquip
Definition: MiddleHighProcessData.h:73