muffin v6.12
This commit is contained in:
parent
060278c1b7
commit
155fbee291
59 changed files with 40083 additions and 58104 deletions
|
@ -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 += " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue