Terraria.ModLoader.ModPlayer.PreKill C# (CSharp) Méthode

PreKill() public méthode

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
Résultat bool
        public virtual bool PreKill(double damage, int hitDirection, bool pvp, ref bool playSound, ref bool genGore,
			ref PlayerDeathReason damageSource)
        {
            return true;
        }