Skip to content

Commit

Permalink
Add PatchContext struct
Browse files Browse the repository at this point in the history
  • Loading branch information
blowfishpro committed Aug 27, 2017
1 parent 536ff0c commit abba87e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions ModuleManager.csproj
Expand Up @@ -38,6 +38,7 @@
<Compile Include="Collections\ImmutableStack.cs" />
<Compile Include="MMPatchLoader.cs" />
<Compile Include="ModuleManager.cs" />
<Compile Include="PatchContext.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs" />
<Compile Include="CustomConfigsManager.cs" />
Expand Down
19 changes: 19 additions & 0 deletions PatchContext.cs
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModuleManager
{
public struct PatchContext
{
public readonly UrlDir.UrlConfig patchUrl;
public readonly UrlDir databaseRoot;

public PatchContext(UrlDir.UrlConfig patchUrl, UrlDir databaseRoot)
{
this.patchUrl = patchUrl;
this.databaseRoot = databaseRoot;
}
}
}

0 comments on commit abba87e

Please sign in to comment.