Terraria.ModLoader.ModPlayer.PreKill C# (CSharp) Method

PreKill() public method

public PreKill ( double damage, int hitDirection, bool pvp, bool &playSound, bool &genGore, PlayerDeathReason &damageSource ) : bool
damage double
hitDirection int
pvp bool
playSound bool
genGore bool
damageSource PlayerDeathReason
return bool
        public virtual bool PreKill(double damage, int hitDirection, bool pvp, ref bool playSound, ref bool genGore,
			ref PlayerDeathReason damageSource)
        {
            return true;
        }