Antura  1.1.0
Antura.Database.MiniGameScoreData Class Reference

Saved data on achievements related to a MiniGame. Updated at runtime. More...

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

Public Member Functions

 MiniGameScoreData ()
 Empty constructor required by MySQL. More...
 
 MiniGameScoreData (MiniGameCode code, int stars, float totalPlayTime)
 
 MiniGameScoreData (MiniGameCode code, int stars, float totalPlayTime, int timestamp)
 
float GetScore ()
 
string GetId ()
 
void SetId (string _Id)
 
override string ToString ()
 

Properties

string Id [get, set]
 Primary key for the database. More...
 
string Uuid [get, set]
 Unique identifier for the player. empty during game. compiled at export/import More...
 
MiniGameCode MiniGameCode [get, set]
 Related MiniGame More...
 
int Stars [get, set]
 Stars obtained during play. Integer in the [0,3] range More...
 
float TotalPlayTime [get, set]
 Total play time for this minigame in seconds. More...
 
int UpdateTimestamp [get, set]
 Timestamp of the last update of this entry. More...
 

Detailed Description

Saved data on achievements related to a MiniGame. Updated at runtime.

Constructor & Destructor Documentation

◆ MiniGameScoreData() [1/3]

Antura.Database.MiniGameScoreData.MiniGameScoreData ( )

Empty constructor required by MySQL.

◆ MiniGameScoreData() [2/3]

Antura.Database.MiniGameScoreData.MiniGameScoreData ( MiniGameCode  code,
int  stars,
float  totalPlayTime 
)

◆ MiniGameScoreData() [3/3]

Antura.Database.MiniGameScoreData.MiniGameScoreData ( MiniGameCode  code,
int  stars,
float  totalPlayTime,
int  timestamp 
)

Member Function Documentation

◆ GetId()

string Antura.Database.MiniGameScoreData.GetId ( )

Implements Antura.Database.IData.

◆ GetScore()

float Antura.Database.MiniGameScoreData.GetScore ( )

◆ SetId()

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

◆ ToString()

override string Antura.Database.MiniGameScoreData.ToString ( )

Property Documentation

◆ Id

string Antura.Database.MiniGameScoreData.Id
getset

Primary key for the database.

◆ MiniGameCode

MiniGameCode Antura.Database.MiniGameScoreData.MiniGameCode
getset

Related MiniGame

◆ Stars

int Antura.Database.MiniGameScoreData.Stars
getset

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

◆ TotalPlayTime

float Antura.Database.MiniGameScoreData.TotalPlayTime
getset

Total play time for this minigame in seconds.

◆ UpdateTimestamp

int Antura.Database.MiniGameScoreData.UpdateTimestamp
getset

Timestamp of the last update of this entry.

◆ Uuid

string Antura.Database.MiniGameScoreData.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: