mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-13 04:50:44 -05:00
27 lines
503 B
C#
27 lines
503 B
C#
![]() |
namespace Aki.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
|
|||
|
}
|
|||
|
}
|