Class OnDamageEventArgs
Inherited Members
Namespace: Slipe.Client.Vehicles.Events
Assembly: SlipeClient.dll
Syntax
public class OnDamageEventArgs
Properties
| Improve this Doc View SourceAttacker
The element that did the damage
Declaration
public PhysicalElement Attacker { get; }
Property Value
Type | Description |
---|---|
PhysicalElement |
Loss
The damage taken
Declaration
public float Loss { get; }
Property Value
Type | Description |
---|---|
Single |
Position
The world position of the damage
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Tire
The tire if a tire was damaged
Declaration
public Tire Tire { get; }
Property Value
Type | Description |
---|---|
Tire |
Weapon
The weapon that was used, if any
Declaration
public SharedWeaponModel Weapon { get; }
Property Value
Type | Description |
---|---|
SharedWeaponModel |