C# Class Senseix.ProblemKeeper

ファイルを表示 Open project: senseix/thinksy_unity_plugin Class Usage Examples

Public Properties

Property Type Description
answeredProblems System.Collections.Queue
newProblems System.Collections.Queue

Public Methods

Method 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

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

Method Details

AddProblemsToProblemQueue() public static method

public static AddProblemsToProblemQueue ( Message problem ) : void
problem Message
return void

CheckAnswer() public static method

public static CheckAnswer ( Message answeredProblemData, Answer answer ) : bool
answeredProblemData Message
answer Answer
return bool

CopyFailsafeOver() public static method

public static CopyFailsafeOver ( ) : void
return void

DeleteAllSeeds() public static method

public static DeleteAllSeeds ( ) : void
return void

DrainProblems() public static method

public static DrainProblems ( ) : void
return void

GetAnsweredProblemCount() public static method

public static GetAnsweredProblemCount ( ) : int
return int

GetNewProblemCount() public static method

public static GetNewProblemCount ( ) : int
return int

GetProblem() public static method

public static GetProblem ( ) : Senseix.Message.Problem.ProblemData
return Senseix.Message.Problem.ProblemData

PlayerSeedPath() public static method

public static PlayerSeedPath ( ) : string
return string

PullNewProblems() public static method

public static PullNewProblems ( ) : void
return void

PushAllProblems() public static method

public static PushAllProblems ( ) : void
return void

ReplaceQueue() public static method

public static ReplaceQueue ( Message reply ) : void
reply Message
return void

SeedFilePath() public static method

public static SeedFilePath ( ) : string
return string

SubmitAnswer() public static method

public static SubmitAnswer ( Message answeredProblemData, Answer answer, bool correct ) : bool
answeredProblemData Message
answer Answer
correct bool
return bool

Property Details

answeredProblems public_oe static_oe property

public static Queue,System.Collections answeredProblems
return System.Collections.Queue

newProblems public_oe static_oe property

public static Queue,System.Collections newProblems
return System.Collections.Queue