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