public static void Prefix(Player __instance) { if (DeathAlert.Settings.Enabled.Value) { DeathAlert.ShowDeathAlert(__instance); } }
public void OffDeath(DeathAlert alert) { this.deathListeners.Remove(alert); }
public DeathAlert OnDeath(DeathAlert alert) { this.deathListeners.Add(alert); return(alert); }