-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathIPatchProgress.cs
More file actions
33 lines (29 loc) · 1.34 KB
/
IPatchProgress.cs
File metadata and controls
33 lines (29 loc) · 1.34 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
using System;
namespace ModuleManager.Progress
{
public interface IPatchProgress
{
ProgressCounter Counter { get; }
float ProgressFraction { get; }
EventVoid OnPatchApplied { get; }
EventData<IPass> OnPassStarted { get; }
void Warning(UrlDir.UrlConfig url, string message);
void ForWithInvalidNeedsWarning(string modName, UrlDir.UrlConfig cfgmod);
void Error(UrlDir.UrlConfig url, string message);
void Error(string message);
void Exception(string message, Exception exception);
void Exception(UrlDir.UrlConfig url, string message, Exception exception);
void NeedsUnsatisfiedRoot(UrlDir.UrlConfig url);
void NeedsUnsatisfiedNode(UrlDir.UrlConfig url, string path);
void NeedsUnsatisfiedValue(UrlDir.UrlConfig url, string path);
void NeedsUnsatisfiedBefore(UrlDir.UrlConfig url);
void NeedsUnsatisfiedFor(UrlDir.UrlConfig url);
void NeedsUnsatisfiedAfter(UrlDir.UrlConfig url);
void ApplyingCopy(IUrlConfigIdentifier original, UrlDir.UrlConfig patch);
void ApplyingDelete(IUrlConfigIdentifier original, UrlDir.UrlConfig patch);
void ApplyingUpdate(IUrlConfigIdentifier original, UrlDir.UrlConfig patch);
void PatchAdded();
void PatchApplied();
void PassStarted(IPass pass);
}
}