C# 클래스 AppSettings.AppConfigSettings

Auto Generate for Tab File: "AppConfig+Category.bytes", "AppConfig+Category2.bytes", "AppConfig+TSV.bytes", "AppConfig.bytes" No use of generic and reflection, for better performance, less IL code generating
상속: IReloadableSettings
파일 보기 프로젝트 열기: mr-kelly/KEngine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnReload System.Action
TabFilePaths string[]

공개 메소드들

메소드 설명
Get ( string primaryKey ) : AppConfigSetting

Get class by primary key: AppConfig

GetAll ( ) : IEnumerable

foreachable enumerable: AppConfig

GetEnumerator ( ) : IEnumerator

GetEnumerator for `MoveNext`: AppConfig

GetInstance ( ) : AppConfigSettings

Get the singleton

ReloadAll ( ) : void

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

비공개 메소드들

메소드 설명
AppConfigSettings ( ) : 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: AppConfig

메소드 상세

Get() 공개 정적인 메소드

Get class by primary key: AppConfig
public static Get ( string primaryKey ) : AppConfigSetting
primaryKey string
리턴 AppConfigSetting

GetAll() 공개 정적인 메소드

foreachable enumerable: AppConfig
public static GetAll ( ) : IEnumerable
리턴 IEnumerable

GetEnumerator() 공개 정적인 메소드

GetEnumerator for `MoveNext`: AppConfig
public static GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetInstance() 공개 정적인 메소드

Get the singleton
public static GetInstance ( ) : AppConfigSettings
리턴 AppConfigSettings

ReloadAll() 공개 메소드

Do reload the setting file: AppConfig, no exception when duplicate primary key
public ReloadAll ( ) : void
리턴 void

프로퍼티 상세

OnReload 공개적으로 정적으로 프로퍼티

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

TabFilePaths 공개적으로 정적으로 프로퍼티

public static string[] TabFilePaths
리턴 string[]