프로퍼티 | 타입 | 설명 | |
---|---|---|---|
IsPublic | bool | ||
MOTD | string | ||
MaxPlayers | int | ||
Salt | int | ||
Salt | long | ||
ServerName | string | ||
ServerURL | string | ||
VerifyNames | bool | ||
classes | ClassList | ||
errors | string | ||
logger | Logger |
메소드 | 설명 | |
---|---|---|
Config ( |
||
GetBasePriority ( ) : System.Diagnostics.ProcessPriorityClass | ||
GetBool ( string key ) : bool | ||
GetInt ( string key ) : int | ||
GetString ( string key ) : string | ||
Init ( string configFileName ) : bool | ||
Load ( string configFileName ) : bool | ||
LoadDefaults ( ) : void | ||
LoadDefaultsAdvanced ( ) : void | ||
LoadDefaultsGeneral ( ) : void | ||
LoadDefaultsLogging ( ) : void | ||
LoadDefaultsSavingAndBackup ( ) : void | ||
LoadDefaultsSecurity ( ) : void | ||
Log ( string format, LogType type ) : void | ||
ParseLogOptions ( XElement el, bool &list ) : void | ||
ResetClasses ( ) : void | ||
Save ( string configFileName ) : bool | ||
SetValue ( string key, string value ) : bool |
메소드 | 설명 | |
---|---|---|
ApplyConfig ( ) : void | ||
DefineClass ( System.Xml.Linq.XElement el ) : bool | ||
DefineDefaultClasses ( ) : System.Xml.Linq.XElement | ||
ReadBool ( XElement doc, string fieldName, bool _default ) : bool | ||
ReadInt ( XElement doc, string fieldName, int _default ) : int | ||
ReadString ( XElement doc, string fieldName, string _default ) : string | ||
ValidateBool ( string key, string value ) : bool | ||
ValidateColor ( string key, string value ) : bool | ||
ValidateEnum ( string key, string value ) : bool | ||
ValidateInt ( string key, string value, int minRange, int maxRange ) : bool | ||
ValidateString ( string key, string value, int minLength, int maxLength ) : bool |
public Config ( |
||
_world | ||
_classes | ||
_logger | Logger | |
리턴 | System |
public GetBasePriority ( ) : System.Diagnostics.ProcessPriorityClass | ||
리턴 | System.Diagnostics.ProcessPriorityClass |
public ParseLogOptions ( XElement el, bool &list ) : void | ||
el | XElement | |
list | bool | |
리턴 | void |
public SetValue ( string key, string value ) : bool | ||
key | string | |
value | string | |
리턴 | bool |