This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
using System.Collections.Generic;
namespace VibranceHud.Licensing;
public static class ServedCodes
{
private static readonly ShareCodeFormat DefaultFormat = new ShareCodeFormat(
Alphabet: "23456789ABCDEFGHJKMNPQRSTUVWXYZ#",
Prefix: "PX-",
ChecksumModulus: 32,
ChecksumWeightStep: 2,
ChecksumWeightOffset: 1,
ChecksumIndexOffset: 0,
BodyLengths: new Dictionary<int, int>
{
[13] = 6,
[17] = 8,
[19] = 9,
[27] = 13,
[39] = 19
},
MaxVibrance: 350,
MaxSaturation: 200,
MinBrightness: 50,
MaxBrightness: 150,
MinGamma: 50,
MaxGamma: 150,
MinContrast: 50,
MaxContrast: 150,
MinTemperature: -100,
MaxTemperature: 100,
MinGrade: -100,
MaxGrade: 100);
public static ShareCodeFormat Current => DefaultFormat;
public static ServedSource Source => ServedSource.Served;
internal static void Install()
{
}
}