Static class for managing game data in the local database.
More...
Static class for managing game data in the local database.
◆ AddPlayerChipsAndSave()
static void SimplePoker.SaveLoad.DatabaseManager.AddPlayerChipsAndSave |
( |
int | chips | ) |
|
|
static |
Adds chips to the player's current chip count and saves the updated value.
- Parameters
-
chips | The number of chips to add. |
◆ DeleteSave()
static void SimplePoker.SaveLoad.DatabaseManager.DeleteSave |
( |
| ) |
|
|
static |
Deletes the saved game data.
◆ LoadGame()
static GameSaveObject SimplePoker.SaveLoad.DatabaseManager.LoadGame |
( |
| ) |
|
|
static |
Loads the saved game state.
- Returns
- The loaded game state.
◆ LoadPlayerChips()
static int SimplePoker.SaveLoad.DatabaseManager.LoadPlayerChips |
( |
| ) |
|
|
static |
Loads the player's current chip count.
- Returns
- The number of chips the player has.
◆ LoadPlayerPortrait()
static int SimplePoker.SaveLoad.DatabaseManager.LoadPlayerPortrait |
( |
| ) |
|
|
static |
Loads the player's portrait ID.
- Returns
- The ID of the player's portrait.
◆ SaveGame()
static void SimplePoker.SaveLoad.DatabaseManager.SaveGame |
( |
GameSaveObject | gameSave | ) |
|
|
static |
Saves the current game state.
- Parameters
-
gameSave | The object containing the game state to be saved. |
◆ SavePlayerChips()
static void SimplePoker.SaveLoad.DatabaseManager.SavePlayerChips |
( |
int | chips | ) |
|
|
static |
Saves the player's chips.
- Parameters
-
chips | The number of chips to be saved. |
◆ SavePlayerPortrait()
static void SimplePoker.SaveLoad.DatabaseManager.SavePlayerPortrait |
( |
int | portraitID | ) |
|
|
static |
Saves the player's portrait ID.
- Parameters
-
portraitID | The ID of the player's portrait. |
◆ SubPlayerChipsAndSave()
static void SimplePoker.SaveLoad.DatabaseManager.SubPlayerChipsAndSave |
( |
int | chips | ) |
|
|
static |
Subtracts chips from the player's current chip count and saves the updated value.
- Parameters
-
chips | The number of chips to subtract. |
The documentation for this class was generated from the following file:
- C:/Users/USER/Documents/Github/Poker Offline AssetStore/Assets/Simple Poker Template/Scripts/Systems/JSON Save Load/DatabaseManager.cs