M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.AttackInformation Struct Reference

Public Member Functions

 AttackInformation (Agent attackerAgent, Agent victimAgent, GameEntity hitObject, in AttackCollisionData attackCollisionData, in MissionWeapon attackerWeapon)
 
 AttackInformation (float armorAmountFloat, WeaponComponentData shieldOnBack, AgentFlag victimAgentFlag, float victimAgentAbsorbedDamageRatio, float damageMultiplierOfBone, float combatDifficultyMultiplier, MissionWeapon victimMainHandWeapon, MissionWeapon victimShield, bool canGiveDamageToAgentShield, bool isVictimAgentLeftStance, bool isFriendlyFire, bool doesAttackerHaveMountAgent, bool doesVictimHaveMountAgent, Vec2 attackerAgentMovementVelocity, Vec2 attackerAgentMountMovementDirection, float attackerMovementDirectionAsAngle, Vec2 victimAgentMovementVelocity, Vec2 victimAgentMountMovementDirection, float victimMovementDirectionAsAngle, bool isVictimAgentSameWithAttackerAgent, bool isAttackerAgentMine, bool doesAttackerHaveRiderAgent, bool isAttackerAgentRiderAgentMine, bool isAttackerAgentMount, bool isVictimAgentMine, bool doesVictimHaveRiderAgent, bool isVictimAgentRiderAgentMine, bool isVictimAgentMount, bool isAttackerAgentNull, bool isAttackerAIControlled, BasicCharacterObject attackerAgentCharacter, BasicCharacterObject attackerRiderAgentCharacter, IAgentOriginBase attackerAgentOrigin, IAgentOriginBase attackerRiderAgentOrigin, BasicCharacterObject victimAgentCharacter, BasicCharacterObject victimRiderAgentCharacter, IAgentOriginBase victimAgentOrigin, IAgentOriginBase victimRiderAgentOrigin, Vec2 attackerAgentMovementDirection, Vec3 attackerAgentVelocity, float attackerAgentMountChargeDamageProperty, Vec3 attackerAgentCurrentWeaponOffset, bool isAttackerAgentHuman, bool isAttackerAgentActive, bool isAttackerAgentDoingPassiveAttack, bool isVictimAgentNull, float victimAgentScale, float victimAgentHealth, float victimAgentMaxHealth, float victimAgentWeight, float victimAgentTotalEncumbrance, bool isVictimAgentHuman, Vec3 victimAgentVelocity, Vec3 victimAgentPosition, int weaponAttachBoneIndex, MissionWeapon offHandItem, bool isHeadShot, bool isVictimRiderAgentSameAsAttackerAgent, bool isAttackerPlayer, bool isVictimPlayer)
 

Public Attributes

float ArmorAmountFloat
 
WeaponComponentData ShieldOnBack
 
AgentFlag VictimAgentFlag
 
float VictimAgentAbsorbedDamageRatio
 
float DamageMultiplierOfBone
 
float CombatDifficultyMultiplier
 
MissionWeapon VictimMainHandWeapon
 
MissionWeapon VictimShield
 
bool CanGiveDamageToAgentShield
 
bool IsVictimAgentLeftStance
 
bool IsFriendlyFire
 
bool DoesAttackerHaveMountAgent
 
bool DoesVictimHaveMountAgent
 
Vec2 AttackerAgentMovementVelocity
 
Vec2 AttackerAgentMountMovementDirection
 
float AttackerMovementDirectionAsAngle
 
Vec2 VictimAgentMovementVelocity
 
Vec2 VictimAgentMountMovementDirection
 
float VictimMovementDirectionAsAngle
 
bool IsVictimAgentSameWithAttackerAgent
 
bool IsAttackerAgentMine
 
bool DoesAttackerHaveRiderAgent
 
bool IsAttackerAgentRiderAgentMine
 
bool IsAttackerAgentMount
 
bool IsVictimAgentMine
 
bool DoesVictimHaveRiderAgent
 
bool IsVictimAgentRiderAgentMine
 
bool IsVictimAgentMount
 
bool IsAttackerAgentNull
 
bool IsAttackerAIControlled
 
BasicCharacterObject AttackerAgentCharacter
 
BasicCharacterObject AttackerRiderAgentCharacter
 
IAgentOriginBase AttackerAgentOrigin
 
IAgentOriginBase AttackerRiderAgentOrigin
 
BasicCharacterObject VictimAgentCharacter
 
BasicCharacterObject VictimRiderAgentCharacter
 
IAgentOriginBase VictimAgentOrigin
 
IAgentOriginBase VictimRiderAgentOrigin
 
Vec2 AttackerAgentMovementDirection
 
Vec3 AttackerAgentVelocity
 
float AttackerAgentMountChargeDamageProperty
 
Vec3 AttackerAgentCurrentWeaponOffset
 
bool IsAttackerAgentHuman
 
bool IsAttackerAgentActive
 
bool IsAttackerAgentDoingPassiveAttack
 
bool IsVictimAgentNull
 
float VictimAgentScale
 
float VictimAgentWeight
 
float VictimAgentHealth
 
float VictimAgentMaxHealth
 
float VictimAgentTotalEncumbrance
 
bool IsVictimAgentHuman
 
Vec3 VictimAgentVelocity
 
Vec3 VictimAgentPosition
 
int WeaponAttachBoneIndex
 
MissionWeapon OffHandItem
 
bool IsHeadShot
 
bool IsVictimRiderAgentSameAsAttackerAgent
 
BasicCharacterObject AttackerCaptainCharacter
 
BasicCharacterObject VictimCaptainCharacter
 
Formation AttackerFormation
 
Formation VictimFormation
 
float AttackerHitPointRate
 
float VictimHitPointRate
 
bool IsAttackerPlayer
 
bool IsVictimPlayer
 

Constructor & Destructor Documentation

◆ AttackInformation() [1/2]

TaleWorlds.MountAndBlade.AttackInformation.AttackInformation ( Agent  attackerAgent,
Agent  victimAgent,
GameEntity  hitObject,
in AttackCollisionData  attackCollisionData,
in MissionWeapon  attackerWeapon 
)

◆ AttackInformation() [2/2]

TaleWorlds.MountAndBlade.AttackInformation.AttackInformation ( float  armorAmountFloat,
WeaponComponentData  shieldOnBack,
AgentFlag  victimAgentFlag,
float  victimAgentAbsorbedDamageRatio,
float  damageMultiplierOfBone,
float  combatDifficultyMultiplier,
MissionWeapon  victimMainHandWeapon,
MissionWeapon  victimShield,
bool  canGiveDamageToAgentShield,
bool  isVictimAgentLeftStance,
bool  isFriendlyFire,
bool  doesAttackerHaveMountAgent,
bool  doesVictimHaveMountAgent,
Vec2  attackerAgentMovementVelocity,
Vec2  attackerAgentMountMovementDirection,
float  attackerMovementDirectionAsAngle,
Vec2  victimAgentMovementVelocity,
Vec2  victimAgentMountMovementDirection,
float  victimMovementDirectionAsAngle,
bool  isVictimAgentSameWithAttackerAgent,
bool  isAttackerAgentMine,
bool  doesAttackerHaveRiderAgent,
bool  isAttackerAgentRiderAgentMine,
bool  isAttackerAgentMount,
bool  isVictimAgentMine,
bool  doesVictimHaveRiderAgent,
bool  isVictimAgentRiderAgentMine,
bool  isVictimAgentMount,
bool  isAttackerAgentNull,
bool  isAttackerAIControlled,
BasicCharacterObject  attackerAgentCharacter,
BasicCharacterObject  attackerRiderAgentCharacter,
IAgentOriginBase  attackerAgentOrigin,
IAgentOriginBase  attackerRiderAgentOrigin,
BasicCharacterObject  victimAgentCharacter,
BasicCharacterObject  victimRiderAgentCharacter,
IAgentOriginBase  victimAgentOrigin,
IAgentOriginBase  victimRiderAgentOrigin,
Vec2  attackerAgentMovementDirection,
Vec3  attackerAgentVelocity,
float  attackerAgentMountChargeDamageProperty,
Vec3  attackerAgentCurrentWeaponOffset,
bool  isAttackerAgentHuman,
bool  isAttackerAgentActive,
bool  isAttackerAgentDoingPassiveAttack,
bool  isVictimAgentNull,
float  victimAgentScale,
float  victimAgentHealth,
float  victimAgentMaxHealth,
float  victimAgentWeight,
float  victimAgentTotalEncumbrance,
bool  isVictimAgentHuman,
Vec3  victimAgentVelocity,
Vec3  victimAgentPosition,
int  weaponAttachBoneIndex,
MissionWeapon  offHandItem,
bool  isHeadShot,
bool  isVictimRiderAgentSameAsAttackerAgent,
bool  isAttackerPlayer,
bool  isVictimPlayer 
)

Member Data Documentation

◆ ArmorAmountFloat

float TaleWorlds.MountAndBlade.AttackInformation.ArmorAmountFloat

◆ ShieldOnBack

WeaponComponentData TaleWorlds.MountAndBlade.AttackInformation.ShieldOnBack

◆ VictimAgentFlag

AgentFlag TaleWorlds.MountAndBlade.AttackInformation.VictimAgentFlag

◆ VictimAgentAbsorbedDamageRatio

float TaleWorlds.MountAndBlade.AttackInformation.VictimAgentAbsorbedDamageRatio

◆ DamageMultiplierOfBone

float TaleWorlds.MountAndBlade.AttackInformation.DamageMultiplierOfBone

◆ CombatDifficultyMultiplier

float TaleWorlds.MountAndBlade.AttackInformation.CombatDifficultyMultiplier

◆ VictimMainHandWeapon

MissionWeapon TaleWorlds.MountAndBlade.AttackInformation.VictimMainHandWeapon

◆ VictimShield

MissionWeapon TaleWorlds.MountAndBlade.AttackInformation.VictimShield

◆ CanGiveDamageToAgentShield

bool TaleWorlds.MountAndBlade.AttackInformation.CanGiveDamageToAgentShield

◆ IsVictimAgentLeftStance

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentLeftStance

◆ IsFriendlyFire

bool TaleWorlds.MountAndBlade.AttackInformation.IsFriendlyFire

◆ DoesAttackerHaveMountAgent

bool TaleWorlds.MountAndBlade.AttackInformation.DoesAttackerHaveMountAgent

◆ DoesVictimHaveMountAgent

bool TaleWorlds.MountAndBlade.AttackInformation.DoesVictimHaveMountAgent

◆ AttackerAgentMovementVelocity

Vec2 TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentMovementVelocity

◆ AttackerAgentMountMovementDirection

Vec2 TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentMountMovementDirection

◆ AttackerMovementDirectionAsAngle

float TaleWorlds.MountAndBlade.AttackInformation.AttackerMovementDirectionAsAngle

◆ VictimAgentMovementVelocity

Vec2 TaleWorlds.MountAndBlade.AttackInformation.VictimAgentMovementVelocity

◆ VictimAgentMountMovementDirection

Vec2 TaleWorlds.MountAndBlade.AttackInformation.VictimAgentMountMovementDirection

◆ VictimMovementDirectionAsAngle

float TaleWorlds.MountAndBlade.AttackInformation.VictimMovementDirectionAsAngle

◆ IsVictimAgentSameWithAttackerAgent

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentSameWithAttackerAgent

◆ IsAttackerAgentMine

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentMine

◆ DoesAttackerHaveRiderAgent

bool TaleWorlds.MountAndBlade.AttackInformation.DoesAttackerHaveRiderAgent

◆ IsAttackerAgentRiderAgentMine

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentRiderAgentMine

◆ IsAttackerAgentMount

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentMount

◆ IsVictimAgentMine

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentMine

◆ DoesVictimHaveRiderAgent

bool TaleWorlds.MountAndBlade.AttackInformation.DoesVictimHaveRiderAgent

◆ IsVictimAgentRiderAgentMine

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentRiderAgentMine

◆ IsVictimAgentMount

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentMount

◆ IsAttackerAgentNull

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentNull

◆ IsAttackerAIControlled

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAIControlled

◆ AttackerAgentCharacter

BasicCharacterObject TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentCharacter

◆ AttackerRiderAgentCharacter

BasicCharacterObject TaleWorlds.MountAndBlade.AttackInformation.AttackerRiderAgentCharacter

◆ AttackerAgentOrigin

IAgentOriginBase TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentOrigin

◆ AttackerRiderAgentOrigin

IAgentOriginBase TaleWorlds.MountAndBlade.AttackInformation.AttackerRiderAgentOrigin

◆ VictimAgentCharacter

BasicCharacterObject TaleWorlds.MountAndBlade.AttackInformation.VictimAgentCharacter

◆ VictimRiderAgentCharacter

BasicCharacterObject TaleWorlds.MountAndBlade.AttackInformation.VictimRiderAgentCharacter

◆ VictimAgentOrigin

IAgentOriginBase TaleWorlds.MountAndBlade.AttackInformation.VictimAgentOrigin

◆ VictimRiderAgentOrigin

IAgentOriginBase TaleWorlds.MountAndBlade.AttackInformation.VictimRiderAgentOrigin

◆ AttackerAgentMovementDirection

Vec2 TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentMovementDirection

◆ AttackerAgentVelocity

Vec3 TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentVelocity

◆ AttackerAgentMountChargeDamageProperty

float TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentMountChargeDamageProperty

◆ AttackerAgentCurrentWeaponOffset

Vec3 TaleWorlds.MountAndBlade.AttackInformation.AttackerAgentCurrentWeaponOffset

◆ IsAttackerAgentHuman

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentHuman

◆ IsAttackerAgentActive

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentActive

◆ IsAttackerAgentDoingPassiveAttack

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerAgentDoingPassiveAttack

◆ IsVictimAgentNull

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentNull

◆ VictimAgentScale

float TaleWorlds.MountAndBlade.AttackInformation.VictimAgentScale

◆ VictimAgentWeight

float TaleWorlds.MountAndBlade.AttackInformation.VictimAgentWeight

◆ VictimAgentHealth

float TaleWorlds.MountAndBlade.AttackInformation.VictimAgentHealth

◆ VictimAgentMaxHealth

float TaleWorlds.MountAndBlade.AttackInformation.VictimAgentMaxHealth

◆ VictimAgentTotalEncumbrance

float TaleWorlds.MountAndBlade.AttackInformation.VictimAgentTotalEncumbrance

◆ IsVictimAgentHuman

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimAgentHuman

◆ VictimAgentVelocity

Vec3 TaleWorlds.MountAndBlade.AttackInformation.VictimAgentVelocity

◆ VictimAgentPosition

Vec3 TaleWorlds.MountAndBlade.AttackInformation.VictimAgentPosition

◆ WeaponAttachBoneIndex

int TaleWorlds.MountAndBlade.AttackInformation.WeaponAttachBoneIndex

◆ OffHandItem

MissionWeapon TaleWorlds.MountAndBlade.AttackInformation.OffHandItem

◆ IsHeadShot

bool TaleWorlds.MountAndBlade.AttackInformation.IsHeadShot

◆ IsVictimRiderAgentSameAsAttackerAgent

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimRiderAgentSameAsAttackerAgent

◆ AttackerCaptainCharacter

BasicCharacterObject TaleWorlds.MountAndBlade.AttackInformation.AttackerCaptainCharacter

◆ VictimCaptainCharacter

BasicCharacterObject TaleWorlds.MountAndBlade.AttackInformation.VictimCaptainCharacter

◆ AttackerFormation

Formation TaleWorlds.MountAndBlade.AttackInformation.AttackerFormation

◆ VictimFormation

Formation TaleWorlds.MountAndBlade.AttackInformation.VictimFormation

◆ AttackerHitPointRate

float TaleWorlds.MountAndBlade.AttackInformation.AttackerHitPointRate

◆ VictimHitPointRate

float TaleWorlds.MountAndBlade.AttackInformation.VictimHitPointRate

◆ IsAttackerPlayer

bool TaleWorlds.MountAndBlade.AttackInformation.IsAttackerPlayer

◆ IsVictimPlayer

bool TaleWorlds.MountAndBlade.AttackInformation.IsVictimPlayer