Table of Contents

Class PersistentStorage

Namespace
I2.Loc
Assembly
Assembly-CSharp.dll
public static class PersistentStorage
Inheritance
PersistentStorage
Inherited Members

Methods

CanAccessFiles()

public static bool CanAccessFiles()

Returns

bool

DeleteFile(eFileType, string, bool)

public static bool DeleteFile(PersistentStorage.eFileType fileType, string fileName, bool logExceptions = true)

Parameters

fileType PersistentStorage.eFileType
fileName string
logExceptions bool

Returns

bool

DeleteSetting(string)

public static void DeleteSetting(string key)

Parameters

key string

ForceSaveSettings()

public static void ForceSaveSettings()

GetSetting_String(string, string)

public static string GetSetting_String(string key, string defaultValue)

Parameters

key string
defaultValue string

Returns

string

HasFile(eFileType, string, bool)

public static bool HasFile(PersistentStorage.eFileType fileType, string fileName, bool logExceptions = true)

Parameters

fileType PersistentStorage.eFileType
fileName string
logExceptions bool

Returns

bool

HasSetting(string)

public static bool HasSetting(string key)

Parameters

key string

Returns

bool

LoadFile(eFileType, string, bool)

public static string LoadFile(PersistentStorage.eFileType fileType, string fileName, bool logExceptions = true)

Parameters

fileType PersistentStorage.eFileType
fileName string
logExceptions bool

Returns

string

SaveFile(eFileType, string, string, bool)

public static bool SaveFile(PersistentStorage.eFileType fileType, string fileName, string data, bool logExceptions = true)

Parameters

fileType PersistentStorage.eFileType
fileName string
data string
logExceptions bool

Returns

bool

SetSetting_String(string, string)

public static void SetSetting_String(string key, string value)

Parameters

key string
value string