Antura  1.1.0
Antura.Database.VocabularyScoreData Class Reference

Summary score results relative to a vocabulary element. Updated at runtime. More...

Inheritance diagram for Antura.Database.VocabularyScoreData:
Antura.Database.IData Antura.Database.IScoreData Antura.Database.IDataEditable

Public Member Functions

 VocabularyScoreData ()
 Empty constructor required by MySQL. More...
 
 VocabularyScoreData (string elementId, VocabularyDataType dataType, float score, bool unlocked)
 
 VocabularyScoreData (string elementId, VocabularyDataType dataType, float score, bool unlocked, int timestamp)
 
float GetScore ()
 
string GetId ()
 
void SetId (string _Id)
 
override string ToString ()
 

Properties

string Id [get, set]
 Primary key for the database. Set based on ElementId and JourneyDataType More...
 
string Uuid [get, set]
 Unique identifier for the player. empty during game. compiled at export/import More...
 
VocabularyDataType VocabularyDataType [get, set]
 Type of vocabulary data recorded. More...
 
string ElementId [get, set]
 Id of the element for which the score has been recorded. This is related to the primary key of the Static table for the related VocabularyDataType. More...
 
float Score [get, set]
 Score obtained for this element. Floating point value in the [-1,1] range. More...
 
bool Unlocked [get, set]
 Has this element been unlocked in the Book? More...
 
int UpdateTimestamp [get, set]
 Timestamp of the last update of this entry. More...
 

Detailed Description

Summary score results relative to a vocabulary element. Updated at runtime.

Constructor & Destructor Documentation

◆ VocabularyScoreData() [1/3]

Antura.Database.VocabularyScoreData.VocabularyScoreData ( )

Empty constructor required by MySQL.

◆ VocabularyScoreData() [2/3]

Antura.Database.VocabularyScoreData.VocabularyScoreData ( string  elementId,
VocabularyDataType  dataType,
float  score,
bool  unlocked 
)

◆ VocabularyScoreData() [3/3]

Antura.Database.VocabularyScoreData.VocabularyScoreData ( string  elementId,
VocabularyDataType  dataType,
float  score,
bool  unlocked,
int  timestamp 
)

Member Function Documentation

◆ GetId()

string Antura.Database.VocabularyScoreData.GetId ( )

Implements Antura.Database.IData.

◆ GetScore()

float Antura.Database.VocabularyScoreData.GetScore ( )

◆ SetId()

void Antura.Database.VocabularyScoreData.SetId ( string  _Id)

◆ ToString()

override string Antura.Database.VocabularyScoreData.ToString ( )

Property Documentation

◆ ElementId

string Antura.Database.VocabularyScoreData.ElementId
getset

Id of the element for which the score has been recorded. This is related to the primary key of the Static table for the related VocabularyDataType.

◆ Id

string Antura.Database.VocabularyScoreData.Id
getset

Primary key for the database. Set based on ElementId and JourneyDataType

◆ Score

float Antura.Database.VocabularyScoreData.Score
getset

Score obtained for this element. Floating point value in the [-1,1] range.

◆ Unlocked

bool Antura.Database.VocabularyScoreData.Unlocked
getset

Has this element been unlocked in the Book?

◆ UpdateTimestamp

int Antura.Database.VocabularyScoreData.UpdateTimestamp
getset

Timestamp of the last update of this entry.

◆ Uuid

string Antura.Database.VocabularyScoreData.Uuid
getset

Unique identifier for the player. empty during game. compiled at export/import

◆ VocabularyDataType

VocabularyDataType Antura.Database.VocabularyScoreData.VocabularyDataType
getset

Type of vocabulary data recorded.


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