CommonLibVR
RE::TESObjectWEAP::Data Struct Reference

#include <TESObjectWEAP.h>

Public Types

enum class  Flag2 {
  kNone = 0 , kPlayerOnly = 1 << 0 , kNPCsUseAmmo = 1 << 1 , kNoJamAfterReload = 1 << 2 ,
  kMinorCrime = 1 << 4 , kRangeFixed = 1 << 5 , kNotUsedInNormalCombat = 1 << 6 , kDontUse3rdPersonISAnim = 1 << 8 ,
  kBurstShot = 1 << 9 , kRumbleAlternate = 1 << 10 , kLongBursts = 1 << 11 , kNonHostile = 1 << 12 ,
  kBoundWeapon = 1 << 13
}
 
enum class  AttackAnimation {
  kAttackLeft = 26 , kAttackRight = 32 , kAttack3 = 38 , kAttack4 = 44 ,
  kAttack5 = 50 , kAttack7 = 62 , kAttack8 = 68 , kAttackLoop = 74 ,
  kAttackSpin = 80 , kAttackSpin2 = 86 , kPlaceMine = 97 , kPlaceMine2 = 103 ,
  kAttackThrow = 109 , kAttackThrow2 = 115 , kAttackThrow3 = 121 , kAttackThrow4 = 127 ,
  kAttackThrow5 = 133 , kDefault = 255
}
 
enum class  Flag {
  kNone = 0 , kIgnoresNormalWeaponResistance = 1 << 0 , kAutomatic = 1 << 1 , kHasScope = 1 << 2 ,
  kCantDrop = 1 << 3 , kHideBackpack = 1 << 4 , kEmbeddedWeapon = 1 << 5 , kDontUseFirstPersonISAnim = 1 << 6 ,
  kNonPlayable = 1 << 7
}
 

Public Attributes

RangedDatarangedData
 
float speed
 
float reach
 
float minRange
 
float maxRange
 
float animationAttackMult
 
float unk1C
 
float staggerValue
 
stl::enumeration< WEAPONHITBEHAVIOR, std::uint32_t > hitBehavior
 
stl::enumeration< ActorValue, std::uint32_t > skill
 
stl::enumeration< ActorValue, std::uint32_t > resistance
 
stl::enumeration< Flag2, std::uint16_t > flags2
 
std::uint8_t baseVATSToHitChance
 
stl::enumeration< AttackAnimation, std::uint8_t > attackAnimation
 
stl::enumeration< ActorValue, std::uint8_t > embeddedWeaponAV
 
stl::enumeration< WEAPON_TYPE, std::uint8_t > animationType
 
stl::enumeration< Flag, std::uint8_t > flags
 
std::uint8_t unk37
 

Member Enumeration Documentation

◆ AttackAnimation

Enumerator
kAttackLeft 
kAttackRight 
kAttack3 
kAttack4 
kAttack5 
kAttack7 
kAttack8 
kAttackLoop 
kAttackSpin 
kAttackSpin2 
kPlaceMine 
kPlaceMine2 
kAttackThrow 
kAttackThrow2 
kAttackThrow3 
kAttackThrow4 
kAttackThrow5 
kDefault 

◆ Flag

Enumerator
kNone 
kIgnoresNormalWeaponResistance 
kAutomatic 
kHasScope 
kCantDrop 
kHideBackpack 
kEmbeddedWeapon 
kDontUseFirstPersonISAnim 
kNonPlayable 

◆ Flag2

Enumerator
kNone 
kPlayerOnly 
kNPCsUseAmmo 
kNoJamAfterReload 
kMinorCrime 
kRangeFixed 
kNotUsedInNormalCombat 
kDontUse3rdPersonISAnim 
kBurstShot 
kRumbleAlternate 
kLongBursts 
kNonHostile 
kBoundWeapon 

Member Data Documentation

◆ animationAttackMult

float RE::TESObjectWEAP::Data::animationAttackMult

◆ animationType

stl::enumeration<WEAPON_TYPE, std::uint8_t> RE::TESObjectWEAP::Data::animationType

◆ attackAnimation

stl::enumeration<AttackAnimation, std::uint8_t> RE::TESObjectWEAP::Data::attackAnimation

◆ baseVATSToHitChance

std::uint8_t RE::TESObjectWEAP::Data::baseVATSToHitChance

◆ embeddedWeaponAV

stl::enumeration<ActorValue, std::uint8_t> RE::TESObjectWEAP::Data::embeddedWeaponAV

◆ flags

stl::enumeration<Flag, std::uint8_t> RE::TESObjectWEAP::Data::flags

◆ flags2

stl::enumeration<Flag2, std::uint16_t> RE::TESObjectWEAP::Data::flags2

◆ hitBehavior

stl::enumeration<WEAPONHITBEHAVIOR, std::uint32_t> RE::TESObjectWEAP::Data::hitBehavior

◆ maxRange

float RE::TESObjectWEAP::Data::maxRange

◆ minRange

float RE::TESObjectWEAP::Data::minRange

◆ rangedData

RangedData* RE::TESObjectWEAP::Data::rangedData

◆ reach

float RE::TESObjectWEAP::Data::reach

◆ resistance

stl::enumeration<ActorValue, std::uint32_t> RE::TESObjectWEAP::Data::resistance

◆ skill

stl::enumeration<ActorValue, std::uint32_t> RE::TESObjectWEAP::Data::skill

◆ speed

float RE::TESObjectWEAP::Data::speed

◆ staggerValue

float RE::TESObjectWEAP::Data::staggerValue

◆ unk1C

float RE::TESObjectWEAP::Data::unk1C

◆ unk37

std::uint8_t RE::TESObjectWEAP::Data::unk37

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