1
0
Fork 0
forked from aly/qstbak

muffin v7.5.11

This commit is contained in:
alydev 2026-08-17 20:29:32 +10:00
parent addf2d530f
commit 3102923ce2
522 changed files with 41082 additions and 211592 deletions

View file

@ -1,4 +1,3 @@
using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
using Questionable.Model.Questing.Converter;
@ -7,66 +6,31 @@ namespace Questionable.Model.Questing;
[JsonConverter(typeof(QuestWorkConfigConverter))]
public sealed class QuestWorkValue(byte? high, byte? low, EQuestWorkMode mode)
{
public byte? High { get; set; }
public byte? High { get; set; } = high;
public byte? Low { get; set; }
public byte? Low { get; set; } = low;
public EQuestWorkMode Mode { get; set; }
public QuestWorkValue(byte? high, byte? low, EQuestWorkMode mode)
{
High = high;
Low = low;
Mode = mode;
base._002Ector();
}
public EQuestWorkMode Mode { get; set; } = mode;
public QuestWorkValue(byte value)
: this((byte)(value >> 4), (byte)(value & 0xF), EQuestWorkMode.Bitwise)
{
byte? high = (byte)(value >> 4);
int num = 15;
this._002Ector(high, (byte)((value | num) - (value ^ num)), EQuestWorkMode.Bitwise);
}
[MethodImpl(MethodImplOptions.NoInlining)]
public override string ToString()
{
int num = ((!High.HasValue) ? 30778248 : 30778253);
while (true)
if (High.HasValue && Low.HasValue)
{
int num2 = num;
int num3 = 30778255;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 1:
return ((byte)((High.Value << 4) + Low.Value)).ToString();
case 2:
num = ((!Low.HasValue) ? 30778248 : 30778254);
break;
case 7:
num = ((!High.HasValue) ? 30778250 : 30778252);
break;
case 0:
return global::_003CModule_003E._200C_206E_206A_202B_206D_200F_202D_206C_200B_202E_202A_200F_202B_206F_206E_206F_206A_206D_200F_206A_202B_200E_206A_206E_206F_206C_206A_202D_200B_200C_206B_202A_206E_200D_202C_200B_200E_200C_202A_206E_202E<string>(-882791204);
case 3:
return _206A_200C_200D_206D_206F_202B_206F_202C_206C_200B_202C_202D_202B_206E_206B_206B_206B_202C_200C_202C_202C_206C_206E_200F_206D_202A_200E_200B_202B_206F_202B_200D_206E_206F_202A_200F_206C_206D_200E_202C_202E(High.Value.ToString(), global::_003CModule_003E._202C_200B_200E_200D_206A_200D_202D_206E_200E_206D_202C_200E_206A_202D_202E_206F_200C_206C_206B_206F_200E_202A_200E_200E_202B_202B_206D_202B_206D_200C_206C_200C_200E_202A_202C_200D_206E_202C_200B_202A_202E<string>(48541848));
case 6:
num = 30778253;
break;
case 4:
return _206A_200C_200D_206D_206F_202B_206F_202C_206C_200B_202C_202D_202B_206E_206B_206B_206B_202C_200C_202C_202C_206C_206E_200F_206D_202A_200E_200B_202B_206F_202B_200D_206E_206F_202A_200F_206C_206D_200E_202C_202E(Low.Value.ToString(), global::_003CModule_003E._206D_200B_206E_206A_206A_206F_206E_200F_206C_206C_202D_200E_200F_200E_206A_202E_206B_202A_206D_206A_200E_200D_202A_202C_202C_206A_202A_200C_206E_206D_206C_202A_202E_200D_200E_206E_202D_206F_200F_200D_202E<string>(2110978622));
case 5:
num = ((!Low.HasValue) ? 30778255 : 30778251);
break;
}
return ((byte)((High.Value << 4) + Low.Value)).ToString();
}
}
static string _206A_200C_200D_206D_206F_202B_206F_202C_206C_200B_202C_202D_202B_206E_206B_206B_206B_202C_200C_202C_202C_206C_206E_200F_206D_202A_200E_200B_202B_206F_202B_200D_206E_206F_202A_200F_206C_206D_200E_202C_202E(string P_0, string P_1)
{
return P_0 + P_1;
if (High.HasValue)
{
return High.Value + "H";
}
if (Low.HasValue)
{
return Low.Value + "L";
}
return "-";
}
}