Delegate PlayerDamageAsyncDelegate
Assembly: AltV.Net.Async.dll
Syntax
public delegate Task PlayerDamageAsyncDelegate(IPlayer player, IEntity attacker, ushort oldHealth, ushort oldArmor, ushort oldMaxHealth, ushort oldMaxArmor, uint weapon, ushort healthDamage, ushort armourDamage);
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
IEntity |
attacker |
|
System.UInt16 |
oldHealth |
|
System.UInt16 |
oldArmor |
|
System.UInt16 |
oldMaxHealth |
|
System.UInt16 |
oldMaxArmor |
|
System.UInt32 |
weapon |
|
System.UInt16 |
healthDamage |
|
System.UInt16 |
armourDamage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|