muffin v6.12

This commit is contained in:
alydev 2025-10-09 07:53:51 +10:00
parent cfb4dea47e
commit c8197297b2
58 changed files with 40038 additions and 58059 deletions

View file

@ -23,8 +23,6 @@ internal sealed class QuestProgressInfo
public EClassJob ClassJob { get; }
public string Tooltip { get; }
public QuestProgressInfo(QuestWork questWork)
{
Id = new QuestId(questWork.QuestId);
@ -33,20 +31,11 @@ internal sealed class QuestProgressInfo
Variables = questWork.Variables.ToArray().ToList();
IsHidden = questWork.IsHidden;
ClassJob = (EClassJob)questWork.AcceptClassJob;
Tooltip = "";
Span<byte> variables = questWork.Variables;
string text = "";
for (int i = 0; i < variables.Length; i++)
{
byte b = variables[i];
Tooltip = Tooltip + Convert.ToString(b, 2).PadLeft(8).Replace(" ", "0") + "\n";
int num = b & 0xF;
text += b;
if (num != 0)
{
text += $"({num})";
}
text += " ";
text = text + variables[i] + " ";
if (i % 2 == 1)
{
text += " ";