CommonLibSSE (powerof3)
RE::HitData Class Reference

#include <MiddleHighProcessData.h>

Public Types

enum class  Flag {
  kBlocked = 1 << 0 , kBlockWithWeapon = 1 << 1 , kBlockCandidate = 1 << 2 , kCritical = 1 << 3 ,
  kCriticalOnDeath = 1 << 4 , kFatal = 1 << 5 , kDismemberLimb = 1 << 6 , kExplodeLimb = 1 << 7 ,
  kCrippleLimb = 1 << 8 , kDisarm = 1 << 9 , kDisableWeapon = 1 << 10 , kSneakAttack = 1 << 11 ,
  kIgnoreCritical = 1 << 12 , kPredictDamage = 1 << 13 , kPredictBaseDamage = 1 << 14 , kBash = 1 << 15 ,
  kTimedBash = 1 << 16 , kPowerAttack = 1 << 17 , kMeleeAttack = 1 << 18 , kRicochet = 1 << 19 ,
  kExplosion = 1 << 20
}
 

Public Member Functions

void Populate (Actor *a_aggressor, Actor *a_target, InventoryEntryData *a_weapon)
 

Public Attributes

NiPoint3 unk00
 
NiPoint3 unk0C
 
ActorHandle aggressor
 
ActorHandle target
 
ObjectRefHandle sourceRef
 
std::uint32_t pad24
 
NiPointer< BGSAttackDataattackData
 
TESObjectWEAPweapon
 
std::uint64_t unk38
 
std::uint64_t unk40
 
std::uint32_t unk48
 
float healthDamage
 
float totalDamage
 
float physicalDamage
 
float targetedLimbDamage
 
float percentBlocked
 
float resistedPhysicalDamage
 
float resistedTypedDamage
 
std::uint32_t stagger
 
float sneakAttackBonus
 
float bonusHealthDamageMult
 
float pushBack
 
float reflectedDamage
 
float criticalDamageMult
 
Flag flags
 
std::uint32_t equipIndex
 
std::uint32_t material
 
std::uint32_t damageLimb
 

Member Enumeration Documentation

◆ Flag

enum RE::HitData::Flag
strong
Enumerator
kBlocked 
kBlockWithWeapon 
kBlockCandidate 
kCritical 
kCriticalOnDeath 
kFatal 
kDismemberLimb 
kExplodeLimb 
kCrippleLimb 
kDisarm 
kDisableWeapon 
kSneakAttack 
kIgnoreCritical 
kPredictDamage 
kPredictBaseDamage 
kBash 
kTimedBash 
kPowerAttack 
kMeleeAttack 
kRicochet 
kExplosion 

Member Function Documentation

◆ Populate()

void RE::HitData::Populate ( Actor a_aggressor,
Actor a_target,
InventoryEntryData a_weapon 
)

Member Data Documentation

◆ aggressor

ActorHandle RE::HitData::aggressor

◆ attackData

NiPointer<BGSAttackData> RE::HitData::attackData

◆ bonusHealthDamageMult

float RE::HitData::bonusHealthDamageMult

◆ criticalDamageMult

float RE::HitData::criticalDamageMult

◆ damageLimb

std::uint32_t RE::HitData::damageLimb

◆ equipIndex

std::uint32_t RE::HitData::equipIndex

◆ flags

Flag RE::HitData::flags

◆ healthDamage

float RE::HitData::healthDamage

◆ material

std::uint32_t RE::HitData::material

◆ pad24

std::uint32_t RE::HitData::pad24

◆ percentBlocked

float RE::HitData::percentBlocked

◆ physicalDamage

float RE::HitData::physicalDamage

◆ pushBack

float RE::HitData::pushBack

◆ reflectedDamage

float RE::HitData::reflectedDamage

◆ resistedPhysicalDamage

float RE::HitData::resistedPhysicalDamage

◆ resistedTypedDamage

float RE::HitData::resistedTypedDamage

◆ sneakAttackBonus

float RE::HitData::sneakAttackBonus

◆ sourceRef

ObjectRefHandle RE::HitData::sourceRef

◆ stagger

std::uint32_t RE::HitData::stagger

◆ target

ActorHandle RE::HitData::target

◆ targetedLimbDamage

float RE::HitData::targetedLimbDamage

◆ totalDamage

float RE::HitData::totalDamage

◆ unk00

NiPoint3 RE::HitData::unk00

◆ unk0C

NiPoint3 RE::HitData::unk0C

◆ unk38

std::uint64_t RE::HitData::unk38

◆ unk40

std::uint64_t RE::HitData::unk40

◆ unk48

std::uint32_t RE::HitData::unk48

◆ weapon

TESObjectWEAP* RE::HitData::weapon

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