mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-24 13:45:54 +12:00
register real time quiz.
This commit is contained in:
parent
40a79df196
commit
661320317f
4 changed files with 672 additions and 4 deletions
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace HISP.Game.Events
|
||||
{
|
||||
class RealTimeQuiz
|
||||
{
|
||||
public class QuizQuestion
|
||||
{
|
||||
public QuizQuestion(QuizCategory category)
|
||||
{
|
||||
BaseCategory = category;
|
||||
}
|
||||
public QuizCategory BaseCategory;
|
||||
public string Question;
|
||||
public string[] Answers;
|
||||
}
|
||||
public class QuizCategory
|
||||
{
|
||||
public string Name;
|
||||
public QuizQuestion[] Questions;
|
||||
}
|
||||
|
||||
public static QuizCategory[] Categories;
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue