CommonLibSSE NG
Loading...
Searching...
No Matches
RE::HitData Class Reference

#include <HitData.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 , kBash = 1 << 14 , kTimedBash = 1 << 15 ,
  kPowerAttack = 1 << 16 , 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 hitPosition
 
NiPoint3 hitDirection
 
ActorHandle aggressor
 
ActorHandle target
 
ObjectRefHandle sourceRef
 
std::uint32_t pad24
 
NiPointer< BGSAttackDataattackData
 
TESObjectWEAPweapon
 
MagicItemcriticalEffect
 
SpellItemattackDataSpell
 
VATSCommandVATSCommand
 
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
 
stl::enumeration< Flag, std::uint32_t > flags
 
std::uint32_t equipIndex
 
ActorValue skill
 
std::uint32_t damageLimb
 

Member Enumeration Documentation

◆ Flag

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

Member Function Documentation

◆ Populate()

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

Member Data Documentation

◆ aggressor

ActorHandle RE::HitData::aggressor

◆ attackData

NiPointer<BGSAttackData> RE::HitData::attackData

◆ attackDataSpell

SpellItem* RE::HitData::attackDataSpell

◆ bonusHealthDamageMult

float RE::HitData::bonusHealthDamageMult

◆ criticalDamageMult

float RE::HitData::criticalDamageMult

◆ criticalEffect

MagicItem* RE::HitData::criticalEffect

◆ damageLimb

std::uint32_t RE::HitData::damageLimb

◆ equipIndex

std::uint32_t RE::HitData::equipIndex

◆ flags

stl::enumeration<Flag, std::uint32_t> RE::HitData::flags

◆ hitDirection

NiPoint3 RE::HitData::hitDirection

◆ hitPosition

NiPoint3 RE::HitData::hitPosition

◆ 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

◆ skill

ActorValue RE::HitData::skill

◆ 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

◆ VATSCommand

VATSCommand* RE::HitData::VATSCommand

◆ weapon

TESObjectWEAP* RE::HitData::weapon

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