public ArkServerContext( IConfig fullconfig, ServerConfigSection config, ArkClusterContext clusterContext, ISavedState savedState, ArkAnonymizeData anonymizeData, ILifetimeScope scope) : base( config?.SaveFilePath, clusterContext, loadOnlyPropertiesInDomain: true) { Config = config; _clusterContext = clusterContext; _scope = scope; _saveFileWatcher = _scope.Resolve <IArkSaveFileWatcher>(new TypedParameter(typeof(ArkServerContext), this)); _savedState = savedState; _anonymizeData = anonymizeData; Steam = new SteamManager(config); }
public ArkServerContext( IConfig fullconfig, ServerConfigSection config, ArkClusterContext clusterContext, ISavedState savedState, ArkAnonymizeData anonymizeData, ILifetimeScope scope) : base( config?.SaveFilePath, clusterContext, fullconfig.SavegameExtractionMaxDegreeOfParallelism, true) { Config = config; _clusterContext = clusterContext; _scope = scope; _saveFileWatcher = _scope.Resolve <IArkSaveFileWatcher>(new TypedParameter(typeof(ArkServerContext), this)); _savedState = savedState; _anonymizeData = anonymizeData; Steam = new SteamManager(config); }
public ArkClusterContext(ClusterConfigSection config, ArkAnonymizeData anonymizeData) : base(config.SavePath, true) { Config = config; _anonymizeData = anonymizeData; }