C# Class AppSettings.SubdirSubSubDirExample3Settings

Auto Generate for Tab File: "Subdir/SubSubDir/Example3.bytes" No use of generic and reflection, for better performance, less IL code generating
Inheritance: IReloadableSettings
Mostra file Open project: mr-kelly/KEngine Class Usage Examples

Public Properties

Property Type Description
OnReload System.Action
TabFilePaths string[]

Public Methods

Method Description
Get ( string primaryKey ) : SubdirSubSubDirExample3Setting

Get class by primary key: SubdirSubSubDirExample3

GetAll ( ) : IEnumerable

foreachable enumerable: SubdirSubSubDirExample3

GetEnumerator ( ) : IEnumerator

GetEnumerator for `MoveNext`: SubdirSubSubDirExample3

GetInstance ( ) : SubdirSubSubDirExample3Settings

Get the singleton

ReloadAll ( ) : void

Do reload the setting file: SubdirSubSubDirExample3, no exception when duplicate primary key

Private Methods

Method Description
SubdirSubSubDirExample3Settings ( ) : System.Collections

Constructor, just reload(init) When Unity Editor mode, will watch the file modification and auto reload

_ReloadAll ( bool throwWhenDuplicatePrimaryKey ) : void

Do reload the setting file: SubdirSubSubDirExample3

Method Details

Get() public static method

Get class by primary key: SubdirSubSubDirExample3
public static Get ( string primaryKey ) : SubdirSubSubDirExample3Setting
primaryKey string
return SubdirSubSubDirExample3Setting

GetAll() public static method

foreachable enumerable: SubdirSubSubDirExample3
public static GetAll ( ) : IEnumerable
return IEnumerable

GetEnumerator() public static method

GetEnumerator for `MoveNext`: SubdirSubSubDirExample3
public static GetEnumerator ( ) : IEnumerator
return IEnumerator

GetInstance() public static method

Get the singleton
public static GetInstance ( ) : SubdirSubSubDirExample3Settings
return SubdirSubSubDirExample3Settings

ReloadAll() public method

Do reload the setting file: SubdirSubSubDirExample3, no exception when duplicate primary key
public ReloadAll ( ) : void
return void

Property Details

OnReload public_oe static_oe property

Trigger delegate when reload the Settings
public static System.Action OnReload
return System.Action

TabFilePaths public_oe static_oe property

public static string[] TabFilePaths
return string[]