CommonLibSSE (Parapets fork)
RE::TESHitEvent Struct Reference

#include <TESHitEvent.h>

Public Types

enum class  Flag {
  kNone = 0 , kPowerAttack = 1 << 0 , kSneakAttack = 1 << 1 , kBashAttack = 1 << 2 ,
  kHitBlocked = 1 << 3
}
 

Public Member Functions

 TESHitEvent ()
 
 TESHitEvent (TESObjectREFR *a_target, TESObjectREFR *a_aggressor, FormID a_weapon, FormID a_projectile, Flag a_flags)
 
 ~TESHitEvent ()=default
 

Public Attributes

NiPointer< TESObjectREFRtarget
 
NiPointer< TESObjectREFRcause
 
FormID source
 
FormID projectile
 
stl::enumeration< Flag, std::uint8_t > flags
 
std::uint8_t pad19
 
std::uint16_t pad1A
 
std::uint32_t pad1C
 

Member Enumeration Documentation

◆ Flag

enum RE::TESHitEvent::Flag
strong
Enumerator
kNone 
kPowerAttack 
kSneakAttack 
kBashAttack 
kHitBlocked 

Constructor & Destructor Documentation

◆ TESHitEvent() [1/2]

RE::TESHitEvent::TESHitEvent ( )

◆ TESHitEvent() [2/2]

RE::TESHitEvent::TESHitEvent ( TESObjectREFR a_target,
TESObjectREFR a_aggressor,
FormID  a_weapon,
FormID  a_projectile,
Flag  a_flags 
)

◆ ~TESHitEvent()

RE::TESHitEvent::~TESHitEvent ( )
default

Member Data Documentation

◆ cause

NiPointer<TESObjectREFR> RE::TESHitEvent::cause

◆ flags

stl::enumeration<Flag, std::uint8_t> RE::TESHitEvent::flags

◆ pad19

std::uint8_t RE::TESHitEvent::pad19

◆ pad1A

std::uint16_t RE::TESHitEvent::pad1A

◆ pad1C

std::uint32_t RE::TESHitEvent::pad1C

◆ projectile

FormID RE::TESHitEvent::projectile

◆ source

FormID RE::TESHitEvent::source

◆ target

NiPointer<TESObjectREFR> RE::TESHitEvent::target

The documentation for this struct was generated from the following file: