CommonLibSSE NG
CriticalHit.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTEvent.h"
4 
5 namespace RE
6 {
7  class TESObjectREFR;
8  class TESObjectWEAP;
9 
10  struct CriticalHit
11  {
12  public:
13  struct Event
14  {
15  public:
16  // members
19  bool sneakHit; // 10
20  std::uint8_t pad11{ 0 }; // 11
21  std::uint16_t pad12{ 0 }; // 12
22  std::uint32_t pad14{ 0 }; // 14
23  };
24  static_assert(sizeof(Event) == 0x18);
25 
27  };
28 }
Definition: BSTEvent.h:19
Definition: TESObjectREFR.h:113
Definition: TESObjectWEAP.h:79
Definition: AbsorbEffect.h:6
Definition: CriticalHit.h:14
std::uint8_t pad11
Definition: CriticalHit.h:20
std::uint16_t pad12
Definition: CriticalHit.h:21
bool sneakHit
Definition: CriticalHit.h:19
TESObjectWEAP * weapon
Definition: CriticalHit.h:18
TESObjectREFR * aggressor
Definition: CriticalHit.h:17
std::uint32_t pad14
Definition: CriticalHit.h:22
Definition: CriticalHit.h:11
static BSTEventSource< CriticalHit::Event > * GetEventSource()