Score DAO for PlayerPrefs database.
| bool ScoreDAOPlayerPrefs.Add |
( |
Score |
score | ) |
|
Adds Iall fields of Score into PlayerPrefs if Score with current Id hasn't existed in PlayerPrefs.
- Parameters
-
| id | - Score's Id. |
| args | - parameters of Score's constructor. |
- Returns
- Returns FALSE if Score with current Id has existed before, else returns TRUE.
| bool ScoreDAOPlayerPrefs.Delete |
( |
int |
id | ) |
|
Deletes all fields of Score from PlayerPrefs.
- Parameters
-
- Returns
- TRUE if all fields are deleted.
Implements DAO< Type >.
| Score ScoreDAOPlayerPrefs.Get< T > |
( |
int |
id, |
|
|
params object[] |
args |
|
) |
| |
Gets Score from PlayerPrefs fields.
- Parameters
-
| id | - Score's Id. |
| args | - parameters of Score's constructor. |
- Returns
- an instance of Score.
Implements DAO< Type >.
| bool ScoreDAOPlayerPrefs.Update |
( |
Score |
score | ) |
|
Updates fields of Score in PlayerPrefs.
- Parameters
-
- Returns
- TRUE if fields are updated.
| string ScoreDAOPlayerPrefs.columnId |
|
protected |
PlayerPrefs key for Id field.
| string ScoreDAOPlayerPrefs.columnName |
|
protected |
PlayerPrefs key for Name field.
| string ScoreDAOPlayerPrefs.columnValue |
|
protected |
PlayerPrefs key for Value field.
The documentation for this class was generated from the following file:
- /Users/zefram/Documents/Mobile games/FlyingPiggy2DRunnerKit/Assets/FlyingPiggy2DRunner/Scripts/Game/DAO/ImplementPlayerPrefs/ScoreDAOPlayerPrefs.cs