mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-13 02:10:44 -05:00
27 lines
503 B
C#
27 lines
503 B
C#
namespace SPT.ByteBanger
|
|
{
|
|
public class PatchResult
|
|
{
|
|
public PatchResultType Result { get; }
|
|
public byte[] PatchedData { get; }
|
|
|
|
public PatchResult(PatchResultType result, byte[] patchedData)
|
|
{
|
|
Result = result;
|
|
PatchedData = patchedData;
|
|
}
|
|
}
|
|
|
|
public enum PatchResultType
|
|
{
|
|
Success,
|
|
|
|
InputLengthMismatch,
|
|
InputChecksumMismatch,
|
|
|
|
AlreadyPatched,
|
|
|
|
OutputChecksumMismatch
|
|
}
|
|
}
|