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); }
public ConfigConfigDTO(ConfigConfigDTO configConfig) { ExtensionsPriority = configConfig.ExtensionsPriority; }