Delegate PlayerDeathDelegate
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
When the player died, this delegate will fire.
public delegate void PlayerDeathDelegate(IServerPlayer byPlayer, DamageSource damageSource)
Parameters
byPlayer
IServerPlayerThe player that died.
damageSource
DamageSourceThe source of the damage.
- Extension Methods