Beispiel #1
0
 private static void Entities_OnCloseAll()
 {
     MyAPIGateway.Entities.OnCloseAll -= Entities_OnCloseAll;
     Instance = null;
 }
Beispiel #2
0
 public DamageHandler()
 {
     m_logger = new Logger();
     MyAPIGateway.Session.DamageSystem.RegisterBeforeDamageHandler((int)MyDamageSystemPriority.Low, BeforeDamageApplied);
     Instance = this;
 }
Beispiel #3
0
 public DamageHandler()
 {
     m_logger = new Logger(GetType().Name);
     MyAPIGateway.Session.DamageSystem.RegisterBeforeDamageHandler((int)MyDamageSystemPriority.Low, BeforeDamageApplied);
     Instance = this;
 }
Beispiel #4
0
 private static void Entities_OnCloseAll()
 {
     MyAPIGateway.Entities.OnCloseAll -= Entities_OnCloseAll;
     Instance = null;
 }