Пример #1
0
 /// <summary>
 /// Creates an instance with default settings.
 /// </summary>
 public ServerConfiguration()
 {
     AutoSave = new AutoSaveConfiguration();
      Network = new NetworkConfiguration();
      Security = new SecurityConfiguration();
      World = new WorldConfiguration();
 }
Пример #2
0
 /// <summary>
 /// Creates a configuration node instance.
 /// </summary>
 public ClientConfiguration()
 {
     AutoSave = new AutoSaveConfiguration();
      Customization = new CustomizationConfiguration();
      Input = new InputConfiguration();
      Network = new NetworkConfiguration();
      Video = new VideoConfiguration();
 }
Пример #3
0
 public static void SetAutoSaveConfiguration(AutoSaveConfiguration config)
 {
     _AutoSaveConfiguration = config;
 }