forked from aly/qstbak
muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
|
|
@ -1,3 +1,4 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Questionable.Functions;
|
||||
using Questionable.Model;
|
||||
|
|
@ -15,7 +16,14 @@ internal sealed class NextQuestCommandHandler : IDebugCommandHandler
|
|||
|
||||
private readonly IChatGui _chatGui;
|
||||
|
||||
public string CommandName => "next";
|
||||
public string CommandName
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
return 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>(1283200128);
|
||||
}
|
||||
}
|
||||
|
||||
public NextQuestCommandHandler(QuestController questController, QuestRegistry questRegistry, QuestFunctions questFunctions, IChatGui chatGui)
|
||||
{
|
||||
|
|
@ -25,29 +33,98 @@ internal sealed class NextQuestCommandHandler : IDebugCommandHandler
|
|||
_chatGui = chatGui;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void Execute(string[] arguments)
|
||||
{
|
||||
if (arguments.Length >= 1 && ElementId.TryFromString(arguments[0], out ElementId elementId) && elementId != null)
|
||||
int num = ((arguments.Length < 1) ? 618054138 : 618054137);
|
||||
ElementId elementId = default(ElementId);
|
||||
Quest quest = default(Quest);
|
||||
while (true)
|
||||
{
|
||||
Quest quest;
|
||||
if (_questFunctions.IsQuestLocked(elementId))
|
||||
int num2 = num;
|
||||
int num3 = 618054140;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
_chatGui.PrintError($"Quest {elementId} is locked.", "Questionable", 576);
|
||||
}
|
||||
else if (_questRegistry.TryGetQuest(elementId, out quest))
|
||||
case 3:
|
||||
num = ((!_questRegistry.TryGetQuest(elementId, out quest)) ? 618054132 : 618054141);
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
_questController.SetNextQuest(quest);
|
||||
_chatGui.Print($"Set next quest to {elementId} ({quest.Info.Name}).", "Questionable", 576);
|
||||
IChatGui chatGui2 = _chatGui;
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(22, 2);
|
||||
defaultInterpolatedStringHandler2.AppendLiteral(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>(1603211036));
|
||||
defaultInterpolatedStringHandler2.AppendFormatted(elementId);
|
||||
defaultInterpolatedStringHandler2.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1473546846));
|
||||
defaultInterpolatedStringHandler2.AppendFormatted(quest.Info.Name);
|
||||
defaultInterpolatedStringHandler2.AppendLiteral(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>(1109945913));
|
||||
_206A_206B_206E_202B_200B_202E_206F_206E_202C_202B_200D_200D_206C_200D_202A_206C_202A_206B_200E_200C_202C_206C_202D_200C_200F_202E_200C_202D_206A_200D_206C_202E_202E_206D_206A_206B_202B_206B_200F_206B_202E(chatGui2, defaultInterpolatedStringHandler2.ToStringAndClear(), 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>(-1179749275), (ushort?)(ushort)576);
|
||||
return;
|
||||
}
|
||||
else
|
||||
case 5:
|
||||
num = ((!_200F_206D_206E_206A_206B_206F_202C_206F_202B_206C_206E_200E_206D_200D_200D_206A_202E_200B_202C_200D_200D_200B_206B_202C_200C_206C_202D_206D_200B_200F_202B_206F_200F_206E_202A_206E_200E_206A_206A_202C_202E(arguments[0], ref elementId)) ? 618054138 : 618054136);
|
||||
break;
|
||||
case 8:
|
||||
{
|
||||
_chatGui.PrintError($"Unknown quest {elementId}.", "Questionable", 576);
|
||||
IChatGui chatGui = _chatGui;
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1);
|
||||
defaultInterpolatedStringHandler.AppendLiteral(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>(-13913784));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(elementId);
|
||||
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-293246245));
|
||||
_200D_206D_200F_202B_200F_206F_200F_200B_206C_200B_202A_206C_202C_206D_202D_206A_200E_202A_202A_202E_202B_200E_200B_202A_202D_202E_200B_206A_206B_206E_202B_206A_206C_200E_206D_200C_200B_202E_200E_202D_202E(chatGui, defaultInterpolatedStringHandler.ToStringAndClear(), 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>(1481660241), (ushort?)(ushort)576);
|
||||
return;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
IChatGui chatGui3 = _chatGui;
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(17, 1);
|
||||
defaultInterpolatedStringHandler3.AppendLiteral(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>(18748268));
|
||||
defaultInterpolatedStringHandler3.AppendFormatted(elementId);
|
||||
defaultInterpolatedStringHandler3.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-832519361));
|
||||
_200D_206D_200F_202B_200F_206F_200F_200B_206C_200B_202A_206C_202C_206D_202D_206A_200E_202A_202A_202E_202B_200E_200B_202A_202D_202E_200B_206A_206B_206E_202B_206A_206C_200E_206D_200C_200B_202E_200E_202D_202E(chatGui3, defaultInterpolatedStringHandler3.ToStringAndClear(), 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>(1231541163), (ushort?)(ushort)576);
|
||||
return;
|
||||
}
|
||||
case 7:
|
||||
num = ((!_questFunctions.IsQuestLocked(elementId)) ? 618054143 : 618054142);
|
||||
break;
|
||||
case 4:
|
||||
num = ((!_202C_202A_206C_202D_200E_202D_200F_202C_206B_200B_202C_206B_200C_202C_202D_202E_200D_200B_206E_206B_200E_200F_206F_202A_206E_206C_200B_202E_206B_206B_206B_202D_206E_200E_202E_206F_202E_206E_202E_202D_202E(elementId, (ElementId)null)) ? 618054138 : 618054139);
|
||||
break;
|
||||
case 0:
|
||||
num = 618054137;
|
||||
break;
|
||||
case 6:
|
||||
_questController.SetNextQuest(null);
|
||||
_206A_206B_206E_202B_200B_202E_206F_206E_202C_202B_200D_200D_206C_200D_202A_206C_202A_206B_200E_200C_202C_206C_202D_200C_200F_202E_200C_202D_206A_200D_206C_202E_202E_206D_206A_206B_202B_206B_200F_206B_202E(_chatGui, 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>(-925408437), 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>(1231541163), (ushort?)(ushort)576);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_questController.SetNextQuest(null);
|
||||
_chatGui.Print("Cleared next quest.", "Questionable", 576);
|
||||
}
|
||||
}
|
||||
|
||||
void IDebugCommandHandler.Execute(string[] arguments)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Execute
|
||||
this.Execute(arguments);
|
||||
}
|
||||
|
||||
static bool _200F_206D_206E_206A_206B_206F_202C_206F_202B_206C_206E_200E_206D_200D_200D_206A_202E_200B_202C_200D_200D_200B_206B_202C_200C_206C_202D_206D_200B_200F_202B_206F_200F_206E_202A_206E_200E_206A_206A_202C_202E(string P_0, ref ElementId P_1)
|
||||
{
|
||||
return ElementId.TryFromString(P_0, out P_1);
|
||||
}
|
||||
|
||||
static bool _202C_202A_206C_202D_200E_202D_200F_202C_206B_200B_202C_206B_200C_202C_202D_202E_200D_200B_206E_206B_200E_200F_206F_202A_206E_206C_200B_202E_206B_206B_206B_202D_206E_200E_202E_206F_202E_206E_202E_202D_202E(ElementId P_0, ElementId P_1)
|
||||
{
|
||||
return P_0 != P_1;
|
||||
}
|
||||
|
||||
static void _200D_206D_200F_202B_200F_206F_200F_200B_206C_200B_202A_206C_202C_206D_202D_206A_200E_202A_202A_202E_202B_200E_200B_202A_202D_202E_200B_206A_206B_206E_202B_206A_206C_200E_206D_200C_200B_202E_200E_202D_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3)
|
||||
{
|
||||
P_0.PrintError(P_1, P_2, P_3);
|
||||
}
|
||||
|
||||
static void _206A_206B_206E_202B_200B_202E_206F_206E_202C_202B_200D_200D_206C_200D_202A_206C_202A_206B_200E_200C_202C_206C_202D_200C_200F_202E_200C_202D_206A_200D_206C_202E_202E_206D_206A_206B_202B_206B_200F_206B_202E(IChatGui P_0, string P_1, string P_2, ushort? P_3)
|
||||
{
|
||||
P_0.Print(P_1, P_2, P_3);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue