Simple Poker Template 0.0.1
Loading...
Searching...
No Matches
SimplePoker.SaveLoad.JsonSave Class Reference

Static Public Member Functions

static void Save< T > (string dataName, T data, string saveDebug="Saved")
 
static T Load< T > (string dataName, string loadDebug="Loaded")
 
static bool FileExist (string dataName)
 
static void DeleteSave (string dataName)
 

Static Public Attributes

static readonly string DEFAULT_GAME_SAVE = "gamesave"
 
static readonly string DEFAULT_MENU_SAVE = "menusave"
 
static readonly string SAVE_FOLDER = Application.persistentDataPath
 

Member Function Documentation

◆ DeleteSave()

static void SimplePoker.SaveLoad.JsonSave.DeleteSave ( string dataName)
static

◆ FileExist()

static bool SimplePoker.SaveLoad.JsonSave.FileExist ( string dataName)
static

◆ Load< T >()

static T SimplePoker.SaveLoad.JsonSave.Load< T > ( string dataName,
string loadDebug = "Loaded" )
static
Type Constraints
T :new() 

◆ Save< T >()

static void SimplePoker.SaveLoad.JsonSave.Save< T > ( string dataName,
T data,
string saveDebug = "Saved" )
static

Member Data Documentation

◆ DEFAULT_GAME_SAVE

readonly string SimplePoker.SaveLoad.JsonSave.DEFAULT_GAME_SAVE = "gamesave"
static

◆ DEFAULT_MENU_SAVE

readonly string SimplePoker.SaveLoad.JsonSave.DEFAULT_MENU_SAVE = "menusave"
static

◆ SAVE_FOLDER

readonly string SimplePoker.SaveLoad.JsonSave.SAVE_FOLDER = Application.persistentDataPath
static

The documentation for this class was generated from the following file: