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