Antura  1.1.0
Antura.Database.LogPlayData Class Reference

Play-related measurements obtained at a given timestamp. Logged at runtime. More...

Inheritance diagram for Antura.Database.LogPlayData:
Antura.Database.IData

Public Member Functions

 LogPlayData ()
 Empty constructor required by MySQL. More...
 
 LogPlayData (int appSession, JourneyPosition journeyPosition, MiniGameCode miniGameCode, PlayEvent playEvent, PlaySkill playSkill, float score)
 
 LogPlayData (int appSession, JourneyPosition journeyPosition, MiniGameCode miniGameCode, PlayEvent playEvent, PlaySkill playSkill, float score, string additionalData)
 
string GetId ()
 
override string ToString ()
 

Properties

int 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...
 
int AppSession [get, set]
 Identifier of the application session. More...
 
int Timestamp [get, set]
 Timestamp of creation of this entry. More...
 
int Stage [get, set]
 Stage at which the play data has been recorded. More...
 
int LearningBlock [get, set]
 LearningBlock at which the play data has been recorded. More...
 
int PlaySession [get, set]
 PlaySession at which the play data has been recorded. More...
 
MiniGameCode MiniGameCode [get, set]
 MiniGame during which the play data has been recorded. More...
 
PlayEvent PlayEvent [get, set]
 Event recorded. More...
 
PlaySkill PlaySkill [get, set]
 Related skill. More...
 
float Score [get, set]
 Score value related to the play skill. [0,1] More...
 
string AdditionalData [get, set]
 Additional raw JSON data saved alongside the event to record more details. Example: "{playerId:0, rewardType:2}" More...
 

Detailed Description

Play-related measurements obtained at a given timestamp. Logged at runtime.

Constructor & Destructor Documentation

◆ LogPlayData() [1/3]

Antura.Database.LogPlayData.LogPlayData ( )

Empty constructor required by MySQL.

◆ LogPlayData() [2/3]

Antura.Database.LogPlayData.LogPlayData ( int  appSession,
JourneyPosition  journeyPosition,
MiniGameCode  miniGameCode,
PlayEvent  playEvent,
PlaySkill  playSkill,
float  score 
)

◆ LogPlayData() [3/3]

Antura.Database.LogPlayData.LogPlayData ( int  appSession,
JourneyPosition  journeyPosition,
MiniGameCode  miniGameCode,
PlayEvent  playEvent,
PlaySkill  playSkill,
float  score,
string  additionalData 
)

Member Function Documentation

◆ GetId()

string Antura.Database.LogPlayData.GetId ( )

Implements Antura.Database.IData.

◆ ToString()

override string Antura.Database.LogPlayData.ToString ( )

Property Documentation

◆ AdditionalData

string Antura.Database.LogPlayData.AdditionalData
getset

Additional raw JSON data saved alongside the event to record more details. Example: "{playerId:0, rewardType:2}"

◆ AppSession

int Antura.Database.LogPlayData.AppSession
getset

Identifier of the application session.

◆ Id

int Antura.Database.LogPlayData.Id
getset

Primary key for the database.

◆ LearningBlock

int Antura.Database.LogPlayData.LearningBlock
getset

LearningBlock at which the play data has been recorded.

◆ MiniGameCode

MiniGameCode Antura.Database.LogPlayData.MiniGameCode
getset

MiniGame during which the play data has been recorded.

◆ PlayEvent

PlayEvent Antura.Database.LogPlayData.PlayEvent
getset

Event recorded.

◆ PlaySession

int Antura.Database.LogPlayData.PlaySession
getset

PlaySession at which the play data has been recorded.

◆ PlaySkill

PlaySkill Antura.Database.LogPlayData.PlaySkill
getset

Related skill.

◆ Score

float Antura.Database.LogPlayData.Score
getset

Score value related to the play skill. [0,1]

◆ Stage

int Antura.Database.LogPlayData.Stage
getset

Stage at which the play data has been recorded.

◆ Timestamp

int Antura.Database.LogPlayData.Timestamp
getset

Timestamp of creation of this entry.

◆ Uuid

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