public void OnGameClose(IGameDestroyedEvent e) { AutomuteUsPlugin.Log(TAG, "Game > destroyed"); BotConnected = false; GamesManager.OnGameStateChanged(e.Game.Code, GameState.MENU); AutomuteUsPlugin.gamesManager.RemoveGame(e); }
public async void OnGameDestroyed(IGameDestroyedEvent evt) { var code = evt.Game.Code; logger.LogInformation($"[{code}] Game destroyed, deleting voice channel."); var delete = new DeleteChannel { ChannelName = $"Impostor {code}" }; var id = await executor.Schedule(delete); logger.LogInformation($"[{code}] Voice channel deleted: id={id}"); }
public void OnGameDestroyed(IGameDestroyedEvent e) { Console.WriteLine("Game > destroyed"); }
public void OnGameDestroyed(IGameDestroyedEvent evt) => GameDestroyed?.Invoke(evt);
public void OnGameDestroyedEvent(IGameDestroyedEvent e) { _susSuiteManager.PluginManager.RemoveGame(e.Game.Code); }
public void OnGameDestroyed(IGameDestroyedEvent e) { _automuteService.DestroyMuteController(e.Game.Code.Code); _automuteService.Games.Remove(e.Game.Code.Code); }
public void OnGameDestroyed(IGameDestroyedEvent e) { _logger.LogInformation("Game {code} > destroyed", e.Game.Code); }
public void OnGameDestroyed(IGameDestroyedEvent e) { AutomuteUsPlugin.gamesManager.GetGame(e)?.OnGameClose(e); }
public void OnGameDestroyed(IGameDestroyedEvent e) { Bot.games.Remove(e.Game.Code.Code); }
public void OnGameDestroyed(IGameDestroyedEvent e) { _activeGameModes[e.Game.Code].SetOff(e.Game); _activeGameModes.Remove(e.Game.Code); }
public void OnGameDestroyed(IGameDestroyedEvent e) => _gameCodeManager.Release(e.Game.Code);
public void OnGameDestroyed(IGameDestroyedEvent e) { DisableAllRoles(e.Game); }
public void OnGameDestroyed(IGameDestroyedEvent evt) { OnLobbyTerminated?.Invoke(evt); }
public void OnGameDestroyed(IGameDestroyedEvent e) { JesterGames.Remove(e.Game.Code); }
public void OnGameDestroyed(IGameDestroyedEvent evt) { Interlocked.Increment(ref OnGameDestroyedCount); }
public void OnGameDestroyed(IGameDestroyedEvent e) { _logger.LogInformation("Game > destroyed"); }