Antura  1.1.0
Antura.Database.JourneyScoreData Class Reference

Score (in stars) relative to a journey element or a minigame. Updated at runtime. More...

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

Public Member Functions

 JourneyScoreData ()
 Empty constructor required by MySQL. More...
 
 JourneyScoreData (string elementId, JourneyDataType dataType, int stars)
 
 JourneyScoreData (string elementId, JourneyDataType dataType, int stars, 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...
 
JourneyDataType JourneyDataType [get, set]
 Type of journey 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 JourneyDataType. More...
 
int Stage [get, set]
 Stage of the journey position at which this score was recorded. More...
 
int LearningBlock [get, set]
 LearningBlock of the journey position at which this score was recorded. More...
 
int PlaySession [get, set]
 PlaySession of the journey position at which this score was recorded. More...
 
int Stars [get, set]
 Stars obtained during this play session. Integer in the [0,3] range More...
 
int UpdateTimestamp [get, set]
 Timestamp of the last update of this entry. More...
 

Detailed Description

Score (in stars) relative to a journey element or a minigame. Updated at runtime.

Constructor & Destructor Documentation

◆ JourneyScoreData() [1/3]

Antura.Database.JourneyScoreData.JourneyScoreData ( )

Empty constructor required by MySQL.

◆ JourneyScoreData() [2/3]

Antura.Database.JourneyScoreData.JourneyScoreData ( string  elementId,
JourneyDataType  dataType,
int  stars 
)

◆ JourneyScoreData() [3/3]

Antura.Database.JourneyScoreData.JourneyScoreData ( string  elementId,
JourneyDataType  dataType,
int  stars,
int  timestamp 
)

Member Function Documentation

◆ GetId()

string Antura.Database.JourneyScoreData.GetId ( )

Implements Antura.Database.IData.

◆ GetScore()

float Antura.Database.JourneyScoreData.GetScore ( )

◆ SetId()

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

◆ ToString()

override string Antura.Database.JourneyScoreData.ToString ( )

Property Documentation

◆ ElementId

string Antura.Database.JourneyScoreData.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 JourneyDataType.

◆ Id

string Antura.Database.JourneyScoreData.Id
getset

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

◆ JourneyDataType

JourneyDataType Antura.Database.JourneyScoreData.JourneyDataType
getset

Type of journey data recorded.

◆ LearningBlock

int Antura.Database.JourneyScoreData.LearningBlock
getset

LearningBlock of the journey position at which this score was recorded.

◆ PlaySession

int Antura.Database.JourneyScoreData.PlaySession
getset

PlaySession of the journey position at which this score was recorded.

◆ Stage

int Antura.Database.JourneyScoreData.Stage
getset

Stage of the journey position at which this score was recorded.

◆ Stars

int Antura.Database.JourneyScoreData.Stars
getset

Stars obtained during this play session. Integer in the [0,3] range

◆ UpdateTimestamp

int Antura.Database.JourneyScoreData.UpdateTimestamp
getset

Timestamp of the last update of this entry.

◆ Uuid

string Antura.Database.JourneyScoreData.Uuid
getset

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


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