Riwmorld
Verse.DamageInfo Struct Reference

Public Member Functions

 DamageInfo (DamageDef def, int amount, float angle=-1, Thing instigator=null, BodyPartRecord forceHitPart=null, ThingDef weaponGear=null)
 
 DamageInfo (DamageInfo cloneSource)
 
void SetAllowDamagePropagation (bool val)
 
void SetAmount (int newAmount)
 
void SetAngle (Vector3 vec)
 
void SetBodyRegion (BodyPartHeight height=0, BodyPartDepth depth=0)
 
void SetForcedHitPart (BodyPartRecord forceHitPart)
 
void SetInstantOldInjury (bool val)
 
void SetWeaponBodyPartGroup (BodyPartGroupDef gr)
 
void SetWeaponHediff (HediffDef hd)
 
override string ToString ()
 

Properties

bool AllowDamagePropagation [get]
 
int Amount [get]
 
float Angle [get]
 
DamageDef Def [get]
 
BodyPartDepth Depth [get]
 
BodyPartRecord ForceHitPart [get]
 
BodyPartHeight Height [get]
 
bool InstantOldInjury [get]
 
Thing Instigator [get]
 
BodyPartGroupDef WeaponBodyPartGroup [get]
 
ThingDef WeaponGear [get]
 
HediffDef WeaponLinkedHediff [get]
 

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