forked from KSP-ModularManagement/ModuleManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPatchContext.cs
More file actions
39 lines (34 loc) · 1.26 KB
/
Copy pathPatchContext.cs
File metadata and controls
39 lines (34 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
This file is part of Module Manager /L
© 2018-2024 LisiasT
© 2013-2018 Sarbian; Blowfish
© 2013 ialdabaoth
Module Manager /L is licensed as follows:
* GPL 3.0 : https://www.gnu.org/licenses/gpl-3.0.txt
Module Manager /L is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You should have received a copy of the GNU General Public License 3.0
along with Module Manager /L. If not, see <https://www.gnu.org/licenses/>.
*/
using System;
using System.Collections.Generic;
using ModuleManager.Logging;
using ModuleManager.Progress;
namespace ModuleManager
{
public struct PatchContext
{
public readonly UrlDir.UrlConfig patchUrl;
public readonly IEnumerable<IProtoUrlConfig> databaseConfigs;
public readonly IBasicLogger logger;
public readonly IPatchProgress progress;
public PatchContext(UrlDir.UrlConfig patchUrl, IEnumerable<IProtoUrlConfig> databaseConfigs, IBasicLogger logger, IPatchProgress progress)
{
this.patchUrl = patchUrl;
this.databaseConfigs = databaseConfigs;
this.logger = logger;
this.progress = progress;
}
}
}