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