Antura  1.1.0
Antura.Database.RewardPackUnlockData Class Reference

Serialized data relative to a reward, used for unlocking. Updated at runtime. More...

Inheritance diagram for Antura.Database.RewardPackUnlockData:
Antura.Database.IData Antura.Database.IDataEditable

Public Member Functions

 RewardPackUnlockData ()
 
 RewardPackUnlockData (int appSession, string itemId, string colorId, RewardTypes type, JourneyPosition journeyPosition)
 
string GetIdAccordingToDBRules ()
 
MaterialPair GetMaterialPair ()
 
Reward GetReward ()
 
string GetRewardCategory ()
 
JourneyPosition GetJourneyPosition ()
 
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...
 
int AppSession [get, set]
 Identifier of the application session. More...
 
string ItemId [get, set]
 Part of the keys used to define the complete reward. More...
 
string ColorId [get, set]
 Part of the keys used to define the complete reward. More...
 
RewardTypes Type [get, set]
 Part of the keys used to define the complete reward. More...
 
int Stage [get, set]
 Stage at which the reward data has been unlocked. More...
 
int LearningBlock [get, set]
 LearningBlock at which the reward data has been unlocked. More...
 
int PlaySession [get, set]
 PlaySession at which the reward data has been unlocked. More...
 
int Order [get, set]
 The order of playsession rewards in case of multi reward for same playsession. More...
 
bool IsNew [get, set]
 True if never used by player. More...
 
bool IsLocked [get, set]
 True if not unlocked yet More...
 
int Timestamp [get, set]
 Timestamp of creation of the reward. More...
 
string AdditionalData [get, set]
 JSON-serialized additional data, may be added as needed. More...
 

Detailed Description

Serialized data relative to a reward, used for unlocking. Updated at runtime.

Constructor & Destructor Documentation

◆ RewardPackUnlockData() [1/2]

Antura.Database.RewardPackUnlockData.RewardPackUnlockData ( )

◆ RewardPackUnlockData() [2/2]

Antura.Database.RewardPackUnlockData.RewardPackUnlockData ( int  appSession,
string  itemId,
string  colorId,
RewardTypes  type,
JourneyPosition  journeyPosition 
)

Member Function Documentation

◆ GetId()

string Antura.Database.RewardPackUnlockData.GetId ( )

Implements Antura.Database.IData.

◆ GetIdAccordingToDBRules()

string Antura.Database.RewardPackUnlockData.GetIdAccordingToDBRules ( )

◆ GetJourneyPosition()

JourneyPosition Antura.Database.RewardPackUnlockData.GetJourneyPosition ( )

◆ GetMaterialPair()

MaterialPair Antura.Database.RewardPackUnlockData.GetMaterialPair ( )

◆ GetReward()

Reward Antura.Database.RewardPackUnlockData.GetReward ( )

◆ GetRewardCategory()

string Antura.Database.RewardPackUnlockData.GetRewardCategory ( )

◆ SetId()

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

◆ ToString()

override string Antura.Database.RewardPackUnlockData.ToString ( )

Property Documentation

◆ AdditionalData

string Antura.Database.RewardPackUnlockData.AdditionalData
getset

JSON-serialized additional data, may be added as needed.

◆ AppSession

int Antura.Database.RewardPackUnlockData.AppSession
getset

Identifier of the application session.

◆ ColorId

string Antura.Database.RewardPackUnlockData.ColorId
getset

Part of the keys used to define the complete reward.

◆ Id

string Antura.Database.RewardPackUnlockData.Id
getset

Primary key for the database.

◆ IsLocked

bool Antura.Database.RewardPackUnlockData.IsLocked
getset

True if not unlocked yet

◆ IsNew

bool Antura.Database.RewardPackUnlockData.IsNew
getset

True if never used by player.

◆ ItemId

string Antura.Database.RewardPackUnlockData.ItemId
getset

Part of the keys used to define the complete reward.

◆ LearningBlock

int Antura.Database.RewardPackUnlockData.LearningBlock
getset

LearningBlock at which the reward data has been unlocked.

◆ Order

int Antura.Database.RewardPackUnlockData.Order
getset

The order of playsession rewards in case of multi reward for same playsession.

◆ PlaySession

int Antura.Database.RewardPackUnlockData.PlaySession
getset

PlaySession at which the reward data has been unlocked.

◆ Stage

int Antura.Database.RewardPackUnlockData.Stage
getset

Stage at which the reward data has been unlocked.

◆ Timestamp

int Antura.Database.RewardPackUnlockData.Timestamp
getset

Timestamp of creation of the reward.

◆ Type

RewardTypes Antura.Database.RewardPackUnlockData.Type
getset

Part of the keys used to define the complete reward.

◆ Uuid

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