Antura  1.1.0
Antura.Teacher.ScoreHelper Class Reference

Utilities that help in retrieving and updating score values for learning and progression data. More...

Public Member Functions

 ScoreHelper (DatabaseManager _dbManager)
 
List< MiniGameInfoGetAllMiniGameInfo ()
 
List< PlaySessionInfoGetAllPlaySessionInfo ()
 
List< LearningBlockInfoGetAllLearningBlockInfo ()
 
List< LetterInfoGetAllLetterInfo ()
 
List< WordInfoGetAllWordInfo ()
 
List< PhraseInfoGetAllPhraseInfo ()
 
List< I > GetAllMiniGameDataInfo< D, I > (DbTables table)
 
List< I > GetAllJourneyDataInfo< D, I > (DbTables table, JourneyDataType dataType)
 
List< I > GetAllVocabularyDataInfo< D, I > (DbTables table, VocabularyDataType dataType)
 
LetterInfo GetLastLearnedLetterInfo ()
 
WordInfo GetLastLearnedWordInfo ()
 
PhraseInfo GetLastLearnedPhraseInfo ()
 
List< float > GetLatestScoresForMiniGame (MiniGameCode minigameCode, int nLastDays)
 
List< JourneyScoreDataGetCurrentScoreForAllPlaySessions ()
 
List< JourneyScoreDataGetCurrentScoreForPlaySessionsOfStage (int stage)
 
List< JourneyScoreDataGetCurrentScoreForPlaySessionsOfLearningBlock (int stage, int learningBlock)
 
List< JourneyScoreDataGetCurrentScoreForLearningBlocksOfStage (int stage)
 
float GetAverageScore (List< JourneyScoreData > _scoreList, int numberOfItems=-1)
 TODO take count of the numberOfItems variable More...
 
bool HasFinishedTheGameWithAllStars ()
 
bool HasEarnedMaxStarsInCurrentPlaySessions ()
 

Detailed Description

Utilities that help in retrieving and updating score values for learning and progression data.

Constructor & Destructor Documentation

◆ ScoreHelper()

Antura.Teacher.ScoreHelper.ScoreHelper ( DatabaseManager  _dbManager)

Member Function Documentation

◆ GetAllJourneyDataInfo< D, I >()

List<I> Antura.Teacher.ScoreHelper.GetAllJourneyDataInfo< D, I > ( DbTables  table,
JourneyDataType  dataType 
)
Type Constraints
I :DataInfo<D> 
I :new() 
D :IData 

◆ GetAllLearningBlockInfo()

List<LearningBlockInfo> Antura.Teacher.ScoreHelper.GetAllLearningBlockInfo ( )

◆ GetAllLetterInfo()

List<LetterInfo> Antura.Teacher.ScoreHelper.GetAllLetterInfo ( )

◆ GetAllMiniGameDataInfo< D, I >()

List<I> Antura.Teacher.ScoreHelper.GetAllMiniGameDataInfo< D, I > ( DbTables  table)
Type Constraints
I :DataInfo<D> 
I :new() 
D :MiniGameData 

◆ GetAllMiniGameInfo()

List<MiniGameInfo> Antura.Teacher.ScoreHelper.GetAllMiniGameInfo ( )

◆ GetAllPhraseInfo()

List<PhraseInfo> Antura.Teacher.ScoreHelper.GetAllPhraseInfo ( )

◆ GetAllPlaySessionInfo()

List<PlaySessionInfo> Antura.Teacher.ScoreHelper.GetAllPlaySessionInfo ( )

◆ GetAllVocabularyDataInfo< D, I >()

List<I> Antura.Teacher.ScoreHelper.GetAllVocabularyDataInfo< D, I > ( DbTables  table,
VocabularyDataType  dataType 
)
Type Constraints
I :DataInfo<D> 
I :new() 
D :IData 

◆ GetAllWordInfo()

List<WordInfo> Antura.Teacher.ScoreHelper.GetAllWordInfo ( )

◆ GetAverageScore()

float Antura.Teacher.ScoreHelper.GetAverageScore ( List< JourneyScoreData _scoreList,
int  numberOfItems = -1 
)

TODO take count of the numberOfItems variable

Returns
The average score.
Parameters
_scoreListScore list.
numberOfItemsNumber of items.

◆ GetCurrentScoreForAllPlaySessions()

List<JourneyScoreData> Antura.Teacher.ScoreHelper.GetCurrentScoreForAllPlaySessions ( )

◆ GetCurrentScoreForLearningBlocksOfStage()

List<JourneyScoreData> Antura.Teacher.ScoreHelper.GetCurrentScoreForLearningBlocksOfStage ( int  stage)

◆ GetCurrentScoreForPlaySessionsOfLearningBlock()

List<JourneyScoreData> Antura.Teacher.ScoreHelper.GetCurrentScoreForPlaySessionsOfLearningBlock ( int  stage,
int  learningBlock 
)

◆ GetCurrentScoreForPlaySessionsOfStage()

List<JourneyScoreData> Antura.Teacher.ScoreHelper.GetCurrentScoreForPlaySessionsOfStage ( int  stage)

◆ GetLastLearnedLetterInfo()

LetterInfo Antura.Teacher.ScoreHelper.GetLastLearnedLetterInfo ( )

◆ GetLastLearnedPhraseInfo()

PhraseInfo Antura.Teacher.ScoreHelper.GetLastLearnedPhraseInfo ( )

◆ GetLastLearnedWordInfo()

WordInfo Antura.Teacher.ScoreHelper.GetLastLearnedWordInfo ( )

◆ GetLatestScoresForMiniGame()

List<float> Antura.Teacher.ScoreHelper.GetLatestScoresForMiniGame ( MiniGameCode  minigameCode,
int  nLastDays 
)

◆ HasEarnedMaxStarsInCurrentPlaySessions()

bool Antura.Teacher.ScoreHelper.HasEarnedMaxStarsInCurrentPlaySessions ( )

◆ HasFinishedTheGameWithAllStars()

bool Antura.Teacher.ScoreHelper.HasFinishedTheGameWithAllStars ( )

The documentation for this class was generated from the following file: