Пример #1
0
 public int GetNetworkSetting(SettingsKeys key)
 {
     return(GetSetting("Network Settings", key.ToString()).IntValue);
 }
Пример #2
0
 public void SetNetworkSetting(SettingsKeys key, int value)
 {
     SetSetting("Network Settings", key.ToString(), value.ToString(CultureInfo.InvariantCulture));
 }
Пример #3
0
 public void SetClientSetting(SettingsKeys key, string value)
 {
     SetSetting("Client Settings", key.ToString(), value);
 }
Пример #4
0
 public Setting GetClientSetting(SettingsKeys key)
 {
     return(GetSetting("Client Settings", key.ToString()));
 }
Пример #5
0
 public void SetPositionSetting(SettingsKeys key, double value)
 {
     SetSetting("Position Settings", key.ToString(), value.ToString(CultureInfo.InvariantCulture));
 }
Пример #6
0
 public Setting GetPositionSetting(SettingsKeys key)
 {
     return(GetSetting("Position Settings", key.ToString()));
 }
 public void SetClientSetting(SettingsKeys key, string[] strArray)
 {
     SetSetting("Client Settings", key.ToString(), strArray);
 }