C# Class Senseix.ProblemKeeper

Afficher le fichier Open project: senseix/thinksy_unity_plugin Class Usage Examples

Méthodes publiques

Свойство Type Description
answeredProblems System.Collections.Queue
newProblems System.Collections.Queue

Méthodes publiques

Méthode Description
AddProblemsToProblemQueue ( Message problem ) : void
CheckAnswer ( Message answeredProblemData, Answer answer ) : bool
CopyFailsafeOver ( ) : void
DeleteAllSeeds ( ) : void
DrainProblems ( ) : void
GetAnsweredProblemCount ( ) : int
GetNewProblemCount ( ) : int
GetProblem ( ) : Senseix.Message.Problem.ProblemData
PlayerSeedPath ( ) : string
PullNewProblems ( ) : void
PushAllProblems ( ) : void
ReplaceQueue ( Message reply ) : void
SeedFilePath ( ) : string
SubmitAnswer ( Message answeredProblemData, Answer answer, bool correct ) : bool

Private Methods

Méthode Description
AddAnsweredProblem ( Message ProblemBuilder, Answer answer ) : void
CheckAnsweredProblemPush ( ) : void
CheckProblemPull ( ) : void
GetProblemsFromSeed ( ) : void
ReplaceSeed ( Message reply ) : void
UnixTimeNow ( ) : ulong

Method Details

AddProblemsToProblemQueue() public static méthode

public static AddProblemsToProblemQueue ( Message problem ) : void
problem Message
Résultat void

CheckAnswer() public static méthode

public static CheckAnswer ( Message answeredProblemData, Answer answer ) : bool
answeredProblemData Message
answer Answer
Résultat bool

CopyFailsafeOver() public static méthode

public static CopyFailsafeOver ( ) : void
Résultat void

DeleteAllSeeds() public static méthode

public static DeleteAllSeeds ( ) : void
Résultat void

DrainProblems() public static méthode

public static DrainProblems ( ) : void
Résultat void

GetAnsweredProblemCount() public static méthode

public static GetAnsweredProblemCount ( ) : int
Résultat int

GetNewProblemCount() public static méthode

public static GetNewProblemCount ( ) : int
Résultat int

GetProblem() public static méthode

public static GetProblem ( ) : Senseix.Message.Problem.ProblemData
Résultat Senseix.Message.Problem.ProblemData

PlayerSeedPath() public static méthode

public static PlayerSeedPath ( ) : string
Résultat string

PullNewProblems() public static méthode

public static PullNewProblems ( ) : void
Résultat void

PushAllProblems() public static méthode

public static PushAllProblems ( ) : void
Résultat void

ReplaceQueue() public static méthode

public static ReplaceQueue ( Message reply ) : void
reply Message
Résultat void

SeedFilePath() public static méthode

public static SeedFilePath ( ) : string
Résultat string

SubmitAnswer() public static méthode

public static SubmitAnswer ( Message answeredProblemData, Answer answer, bool correct ) : bool
answeredProblemData Message
answer Answer
correct bool
Résultat bool

Property Details

answeredProblems public_oe static_oe property

public static Queue,System.Collections answeredProblems
Résultat System.Collections.Queue

newProblems public_oe static_oe property

public static Queue,System.Collections newProblems
Résultat System.Collections.Queue