C# Class AppSettings.SubdirExample2Settings

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

Méthodes publiques

Свойство Type Description
OnReload System.Action
TabFilePaths string[]

Méthodes publiques

Méthode Description
Get ( int primaryKey ) : SubdirExample2Setting

Get class by primary key: SubdirExample2

GetAll ( ) : IEnumerable

foreachable enumerable: SubdirExample2

GetEnumerator ( ) : IEnumerator

GetEnumerator for `MoveNext`: SubdirExample2

GetInstance ( ) : SubdirExample2Settings

Get the singleton

ReloadAll ( ) : void

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

Private Methods

Méthode Description
SubdirExample2Settings ( ) : 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: SubdirExample2

Method Details

Get() public static méthode

Get class by primary key: SubdirExample2
public static Get ( int primaryKey ) : SubdirExample2Setting
primaryKey int
Résultat SubdirExample2Setting

GetAll() public static méthode

foreachable enumerable: SubdirExample2
public static GetAll ( ) : IEnumerable
Résultat IEnumerable

GetEnumerator() public static méthode

GetEnumerator for `MoveNext`: SubdirExample2
public static GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetInstance() public static méthode

Get the singleton
public static GetInstance ( ) : SubdirExample2Settings
Résultat SubdirExample2Settings

ReloadAll() public méthode

Do reload the setting file: SubdirExample2, no exception when duplicate primary key
public ReloadAll ( ) : void
Résultat void

Property Details

OnReload public_oe static_oe property

Trigger delegate when reload the Settings
public static System.Action OnReload
Résultat System.Action

TabFilePaths public_oe static_oe property

public static string[] TabFilePaths
Résultat string[]