private void Net_HitSwitch(object sender, TileLocationEventArgs e) { if (this.isDisposed || !this.hooksEnabled || e.Handled) { return; } e.Handled = this.UserInteractionHandler.HandleHitSwitch(e.Player, e.Location); }
private void Net_HitSwitch(object sender, TileLocationEventArgs e) { if (this.isDisposed || !this.hooksEnabled || e.Handled) { return; } if (this.CircuitHandler != null) { e.Handled = this.CircuitHandler.HandleHitSwitch(e.Player, e.Location); } }