forked from aly/qstbak
muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -1,164 +1,32 @@
|
|||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Questionable.Model.Changelog;
|
||||
|
||||
internal static class ChangeCategoryExtensions
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static string ToDisplayString(this EChangeCategory category)
|
||||
{
|
||||
int num;
|
||||
string result = default(string);
|
||||
switch (category)
|
||||
return category switch
|
||||
{
|
||||
default:
|
||||
num = -1022171732;
|
||||
goto IL_0025;
|
||||
case EChangeCategory.Removed:
|
||||
result = global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1184271712);
|
||||
num = -1022171735;
|
||||
goto IL_0025;
|
||||
case EChangeCategory.QuestUpdates:
|
||||
goto IL_007a;
|
||||
case EChangeCategory.Changed:
|
||||
goto IL_0090;
|
||||
case EChangeCategory.Added:
|
||||
goto IL_00ca;
|
||||
case EChangeCategory.Fixed:
|
||||
goto IL_00e2;
|
||||
IL_0025:
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1022171736;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 5:
|
||||
goto end_IL_0025;
|
||||
case 2:
|
||||
goto IL_007a;
|
||||
case 0:
|
||||
goto IL_0090;
|
||||
case 7:
|
||||
num = -1022171732;
|
||||
break;
|
||||
case 3:
|
||||
result = category.ToString();
|
||||
num = -1022171735;
|
||||
break;
|
||||
case 6:
|
||||
goto IL_00ca;
|
||||
case 1:
|
||||
return result;
|
||||
case 8:
|
||||
goto IL_00e2;
|
||||
case 4:
|
||||
num = -1022171733;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0025:
|
||||
break;
|
||||
}
|
||||
goto case EChangeCategory.Removed;
|
||||
IL_00e2:
|
||||
result = global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1940950850);
|
||||
num = -1022171735;
|
||||
goto IL_0025;
|
||||
IL_00ca:
|
||||
result = global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-836593342);
|
||||
num = -1022171735;
|
||||
goto IL_0025;
|
||||
IL_0090:
|
||||
result = global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-136424921);
|
||||
num = -1022171735;
|
||||
goto IL_0025;
|
||||
IL_007a:
|
||||
result = global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-126460286);
|
||||
num = -1022171735;
|
||||
goto IL_0025;
|
||||
}
|
||||
EChangeCategory.Added => "Added",
|
||||
EChangeCategory.Changed => "Changed",
|
||||
EChangeCategory.Fixed => "Fixed",
|
||||
EChangeCategory.Removed => "Removed",
|
||||
EChangeCategory.QuestUpdates => "Quest Updates",
|
||||
_ => category.ToString(),
|
||||
};
|
||||
}
|
||||
|
||||
public static Vector4 GetColor(this EChangeCategory category)
|
||||
{
|
||||
int num;
|
||||
Vector4 result = default(Vector4);
|
||||
switch (category)
|
||||
return category switch
|
||||
{
|
||||
default:
|
||||
num = -1603635172;
|
||||
goto IL_0025;
|
||||
case EChangeCategory.QuestUpdates:
|
||||
result = new Vector4(0.8f, 0.8f, 0.4f, 1f);
|
||||
num = -1603635184;
|
||||
goto IL_0025;
|
||||
case EChangeCategory.Removed:
|
||||
goto IL_0089;
|
||||
case EChangeCategory.Fixed:
|
||||
goto IL_00d3;
|
||||
case EChangeCategory.Added:
|
||||
goto IL_00f8;
|
||||
case EChangeCategory.Changed:
|
||||
goto IL_0135;
|
||||
IL_0025:
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1603635180;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 6:
|
||||
goto end_IL_0025;
|
||||
case 0:
|
||||
goto IL_0089;
|
||||
case 2:
|
||||
result = new Vector4(0.7f, 0.7f, 0.7f, 1f);
|
||||
num = -1603635184;
|
||||
break;
|
||||
case 1:
|
||||
goto IL_00d3;
|
||||
case 7:
|
||||
goto IL_00f8;
|
||||
case 8:
|
||||
num = -1603635178;
|
||||
break;
|
||||
case 4:
|
||||
return result;
|
||||
case 5:
|
||||
num = -1603635172;
|
||||
break;
|
||||
case 3:
|
||||
goto IL_0135;
|
||||
}
|
||||
continue;
|
||||
end_IL_0025:
|
||||
break;
|
||||
}
|
||||
goto case EChangeCategory.QuestUpdates;
|
||||
IL_0135:
|
||||
result = new Vector4(0.4f, 0.6f, 0.9f, 1f);
|
||||
num = -1603635184;
|
||||
goto IL_0025;
|
||||
IL_00f8:
|
||||
result = new Vector4(0.3f, 0.8f, 0.4f, 1f);
|
||||
num = -1603635184;
|
||||
goto IL_0025;
|
||||
IL_00d3:
|
||||
result = new Vector4(0.9f, 0.6f, 0.3f, 1f);
|
||||
num = -1603635184;
|
||||
goto IL_0025;
|
||||
IL_0089:
|
||||
result = new Vector4(0.9f, 0.3f, 0.3f, 1f);
|
||||
num = -1603635184;
|
||||
goto IL_0025;
|
||||
}
|
||||
EChangeCategory.Added => new Vector4(0.3f, 0.8f, 0.4f, 1f),
|
||||
EChangeCategory.Changed => new Vector4(0.4f, 0.6f, 0.9f, 1f),
|
||||
EChangeCategory.Fixed => new Vector4(0.9f, 0.6f, 0.3f, 1f),
|
||||
EChangeCategory.Removed => new Vector4(0.9f, 0.3f, 0.3f, 1f),
|
||||
EChangeCategory.QuestUpdates => new Vector4(0.8f, 0.8f, 0.4f, 1f),
|
||||
_ => new Vector4(0.7f, 0.7f, 0.7f, 1f),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue