Table of Contents

Class I2BasePersistentStorage

Namespace
I2.Loc
Assembly
Assembly-CSharp.dll
public abstract class I2BasePersistentStorage
Inheritance
I2BasePersistentStorage
Derived
Inherited Members
Extension Methods

Constructors

I2BasePersistentStorage()

protected I2BasePersistentStorage()

Methods

CanAccessFiles()

public virtual bool CanAccessFiles()

Returns

bool

DeleteFile(eFileType, string, bool)

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

Parameters

fileType PersistentStorage.eFileType
fileName string
logExceptions bool

Returns

bool

DeleteSetting(string)

public virtual void DeleteSetting(string key)

Parameters

key string

ForceSaveSettings()

public virtual void ForceSaveSettings()

GetSetting_String(string, string)

public virtual string GetSetting_String(string key, string defaultValue)

Parameters

key string
defaultValue string

Returns

string

HasFile(eFileType, string, bool)

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

Parameters

fileType PersistentStorage.eFileType
fileName string
logExceptions bool

Returns

bool

HasSetting(string)

public virtual bool HasSetting(string key)

Parameters

key string

Returns

bool

LoadFile(eFileType, string, bool)

public virtual 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 virtual 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 virtual void SetSetting_String(string key, string value)

Parameters

key string
value string