Exemple #1
0
 public TriviaGame(TriviaPlugin plugin, string channel, List<QuestionSet> questionSets)
 {
     UsersAttempted = new List<string>();
     CurrentQuestionSet = new QuestionSet();
     Channel = channel;
     Plugin = plugin;
     QuestionSet = questionSets;
 }
 public AnswerQuestionCommand(TriviaPlugin plugin)
 {
     TriviaPlugin = plugin;
 }
Exemple #3
0
 public TriviaGame(TriviaPlugin plugin, string channel)
     : this(plugin, channel, plugin.QuestionSets)
 {
 }
 public StartGameCommand(TriviaPlugin plugin)
 {
     TriviaPlugin = plugin;
     FirstMatchingWord = new List<string> {TriviaPlugin.TriviaKeyword};
     SecondMatchingWord = new List<string> { StartKeyword };
 }
 public LoadQuestionsCommand(TriviaPlugin plugin)
 {
     TriviaPlugin = plugin;
     FirstMatchingWord = new List<string> { "loadquestions" };
 }
 public ResumeGameCommand(TriviaPlugin plugin)
 {
     TriviaPlugin = plugin;
     FirstMatchingWord = new List<string> {"resume"};
 }
 public PauseGameCommand(TriviaPlugin plugin)
 {
     TriviaPlugin = plugin;
     FirstMatchingWord = new List<string> {"pause"};
 }