Ejemplo n.º 1
0
 public override void OnDisabled()
 {
     base.OnDisabled();
     Exiled.Events.Handlers.Server.RoundStarted -= PLEV.RoundStart;
     PLEV = null;
     inst.UnpatchAll();
     inst     = null;
     instance = null;
 }
Ejemplo n.º 2
0
 public override void OnEnabled()
 {
     base.OnEnabled();
     instance = this;
     PLEV     = new PluginEvents(this);
     Exiled.Events.Handlers.Server.RoundStarted += PLEV.RoundStart;
     inst = new Harmony("virtualbrightplayz.mhidext");
     inst.PatchAll();
 }
 public PluginEvents(MicroHIDPlugin microHIDPlugin)
 {
     this.plugin = microHIDPlugin;
     //handle = Timing.RunCoroutine(ChargeMicro(), Segment.FixedUpdate);
 }