C# Class MCLawl.Properties

Show file Open project: dekema2/MCDek

Public Properties

Property Type Description
DebugEnabled bool
MaxMaps byte
MaxPlayers byte
PublicServer bool
ServerName string
ServerPort int
VerifyNames bool

Public Methods

Method Description
Load ( string givenPath, bool skipsalt = false ) : void
ValidString ( string str, string allowed ) : bool

Private Methods

Method Description
Save ( string givenPath ) : void

Method Details

Load() public static method

public static Load ( string givenPath, bool skipsalt = false ) : void
givenPath string
skipsalt bool
return void

ValidString() public static method

public static ValidString ( string str, string allowed ) : bool
str string
allowed string
return bool

Property Details

DebugEnabled public static property

public static bool DebugEnabled
return bool

MaxMaps public static property

public static byte MaxMaps
return byte

MaxPlayers public static property

public static byte MaxPlayers
return byte

PublicServer public static property

public static bool PublicServer
return bool

ServerName public static property

public static string ServerName
return string

ServerPort public static property

public static int ServerPort
return int

VerifyNames public static property

public static bool VerifyNames
return bool