예제 #1
0
 public ConfigDTO(
     [JsonProperty("config")] ConfigConfigDTO configConfig = null,
     [JsonProperty("window")] WindowConfigDTO windowConfig = null,
     [JsonProperty("engine")] EngineConfigDTO engineConfig = null
     )
 {
     Config = configConfig ?? new ConfigConfigDTO(GameContainer.configManager.loadedConfig.Config);
     Window = windowConfig ?? new WindowConfigDTO(GameContainer.configManager.loadedConfig.Window);
     Engine = engineConfig ?? new EngineConfigDTO(GameContainer.configManager.loadedConfig.Engine);
 }
예제 #2
0
 public ConfigConfigDTO(ConfigConfigDTO configConfig)
 {
     ExtensionsPriority = configConfig.ExtensionsPriority;
 }