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,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using Dalamud.Game.Text;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Plugin.Services;
|
||||
|
|
@ -5,144 +9,410 @@ using Questionable.Data;
|
|||
using Questionable.External;
|
||||
using Questionable.Model;
|
||||
using Questionable.Model.Questing;
|
||||
using Questionable.Notifications;
|
||||
|
||||
namespace Questionable.Controller.Steps.Common;
|
||||
|
||||
internal static class SendNotification
|
||||
{
|
||||
internal sealed class Factory(Configuration configuration, AutoDutyIpc autoDutyIpc, BossModIpc bossModIpc, TerritoryData territoryData) : SimpleTaskFactory()
|
||||
internal sealed class Factory(Configuration configuration, AutoDutyIpc autoDutyIpc, AutoHookIpc autoHookIpc, BossModIpc bossModIpc, TerritoryData territoryData) : SimpleTaskFactory()
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step)
|
||||
{
|
||||
switch (step.InteractionType)
|
||||
EInteractionType eInteractionType = _202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step);
|
||||
int num = ((eInteractionType > EInteractionType.SinglePlayerDuty) ? (-1478149782) : (-1478149769));
|
||||
Task result = default(Task);
|
||||
while (true)
|
||||
{
|
||||
case EInteractionType.Snipe:
|
||||
if (!configuration.General.AutoSnipe)
|
||||
int num2 = num;
|
||||
int num3 = -1478149766;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
return new Task(step.InteractionType, step.Comment);
|
||||
}
|
||||
break;
|
||||
case EInteractionType.Duty:
|
||||
if (!autoDutyIpc.IsConfiguredToRunContent(step.DutyOptions))
|
||||
case 4:
|
||||
num = -1478149773;
|
||||
break;
|
||||
case 1:
|
||||
num = (autoHookIpc.IsAvailable() ? (-1478149773) : (-1478149767));
|
||||
break;
|
||||
case 11:
|
||||
num = (bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, _202B_206C_206E_202D_202E_206F_206B_200E_200B_202D_200C_206C_206E_200F_206D_202E_206D_200C_200D_200D_202C_206B_206D_200D_200B_200C_206A_200B_200C_206E_202C_206E_202B_202A_202B_200E_206F_200D_206A_206A_202E(step)) ? (-1478149773) : (-1478149776));
|
||||
break;
|
||||
case 15:
|
||||
return result;
|
||||
case 13:
|
||||
num = ((eInteractionType == EInteractionType.Duty) ? (-1478149761) : (-1478149763));
|
||||
break;
|
||||
case 0:
|
||||
{
|
||||
EInteractionType interactionType = step.InteractionType;
|
||||
uint? num = step.DutyOptions?.ContentFinderConditionId;
|
||||
EInteractionType interactionType = _202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step);
|
||||
DutyOptions dutyOptions = _200F_200C_206E_206F_206B_202E_206B_200E_202D_202D_202C_202D_200D_202E_202E_200E_206A_200E_202A_200C_200B_206F_206C_206F_200C_200B_200F_206A_202D_202D_206F_202D_206A_202E_202D_200D_200F_202A_202D_202E(step);
|
||||
uint? num5 = ((dutyOptions != null) ? new uint?(_202C_200E_202A_200D_200D_202D_200D_200B_200E_206F_206F_206C_200D_202C_200C_202D_206F_200E_202B_200B_200C_200D_206D_206B_206D_200D_206B_200D_202E_202B_206E_200B_202D_206C_200B_200E_206C_202D_202E_206D_202E(dutyOptions)) : ((uint?)null));
|
||||
object comment;
|
||||
if (num.HasValue)
|
||||
if (num5.HasValue)
|
||||
{
|
||||
uint valueOrDefault = num.GetValueOrDefault();
|
||||
uint valueOrDefault = num5.GetValueOrDefault();
|
||||
comment = territoryData.GetContentFinderCondition(valueOrDefault)?.Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
comment = step.Comment;
|
||||
comment = _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(step);
|
||||
}
|
||||
return new Task(interactionType, (string?)comment);
|
||||
result = new Task(interactionType, (string?)comment);
|
||||
num = -1478149771;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case EInteractionType.SinglePlayerDuty:
|
||||
if (!bossModIpc.IsConfiguredToRunSoloInstance(quest.Id, step.SinglePlayerDutyOptions))
|
||||
{
|
||||
return new Task(step.InteractionType, quest.Info.Name);
|
||||
case 3:
|
||||
result = new Task(_202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step), _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(step) ?? 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>(-1221849415));
|
||||
num = -1478149771;
|
||||
break;
|
||||
case 6:
|
||||
num = -1478149773;
|
||||
break;
|
||||
case 2:
|
||||
num = (configuration.General.AutoSnipe ? (-1478149773) : (-1478149772));
|
||||
break;
|
||||
case 12:
|
||||
num = ((eInteractionType == EInteractionType.Fish) ? (-1478149765) : (-1478149764));
|
||||
break;
|
||||
case 14:
|
||||
result = new Task(_202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step), _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(step));
|
||||
num = -1478149771;
|
||||
break;
|
||||
case 5:
|
||||
num = (autoDutyIpc.IsConfiguredToRunContent(_200F_200C_206E_206F_206B_202E_206B_200E_202D_202D_202C_202D_200D_202E_202E_200E_206A_200E_202A_200C_200B_206F_206C_206F_200C_200B_200F_206A_202D_202D_206F_202D_206A_202E_202D_200D_200F_202A_202D_202E(step)) ? (-1478149773) : (-1478149766));
|
||||
break;
|
||||
case 9:
|
||||
result = null;
|
||||
num = -1478149771;
|
||||
break;
|
||||
case 10:
|
||||
result = new Task(_202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(step), quest.Info.Name);
|
||||
num = -1478149771;
|
||||
break;
|
||||
case 16:
|
||||
num = ((eInteractionType == EInteractionType.Snipe) ? (-1478149768) : (-1478149770));
|
||||
break;
|
||||
case 7:
|
||||
num = ((eInteractionType == EInteractionType.SinglePlayerDuty) ? (-1478149775) : (-1478149762));
|
||||
break;
|
||||
case 8:
|
||||
num = -1478149769;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
static EInteractionType _202E_200B_202D_202D_200C_200E_202D_202E_202B_200C_206A_200D_200C_202D_206E_206A_200F_206B_206B_202C_206C_202B_200B_200B_206F_200E_202B_200B_206A_202A_206E_200E_206E_202A_202A_206B_200C_202C_206A_200F_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.InteractionType;
|
||||
}
|
||||
|
||||
static string _206F_206E_206A_202C_202E_200E_206F_202C_206F_206E_206F_206F_206C_202A_200C_202B_202A_206A_200D_202C_202C_206F_202A_202B_206B_200F_200C_206C_200C_206C_200E_202C_202C_202B_202C_206E_202B_206C_206C_206E_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.Comment;
|
||||
}
|
||||
|
||||
static DutyOptions _200F_200C_206E_206F_206B_202E_206B_200E_202D_202D_202C_202D_200D_202E_202E_200E_206A_200E_202A_200C_200B_206F_206C_206F_200C_200B_200F_206A_202D_202D_206F_202D_206A_202E_202D_200D_200F_202A_202D_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.DutyOptions;
|
||||
}
|
||||
|
||||
static uint _202C_200E_202A_200D_200D_202D_200D_200B_200E_206F_206F_206C_200D_202C_200C_202D_206F_200E_202B_200B_200C_200D_206D_206B_206D_200D_206B_200D_202E_202B_206E_200B_202D_206C_200B_200E_206C_202D_202E_206D_202E(DutyOptions P_0)
|
||||
{
|
||||
return P_0.ContentFinderConditionId;
|
||||
}
|
||||
|
||||
static SinglePlayerDutyOptions _202B_206C_206E_202D_202E_206F_206B_200E_200B_202D_200C_206C_206E_200F_206D_202E_206D_200C_200D_200D_202C_206B_206D_200D_200B_200C_206A_200B_200C_206E_202C_206E_202B_202A_202B_200E_206F_200D_206A_206A_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.SinglePlayerDutyOptions;
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed record Task(EInteractionType InteractionType, string? Comment) : ITask
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _202B_206F_206A_202C_200B_202C_206E_202E_206C_206A_200D_202E_206C_200D_200F_202B_206C_200F_202D_206A_206E_202E_202E_202C_200C_206B_202A_202C_200F_206E_200B_206A_206E_206A_206E_200B_206C_206B_202A_200E_202E(typeof(Task).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string ToString()
|
||||
{
|
||||
return "SendNotification";
|
||||
return 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>(1681305913);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_206E_206C_202B_200D_206C_200F_206B_200F_202E_200E_200B_206E_206B_200C_206B_206A_202B_206D_202A_200C_200F_206B_200D_200F_202D_200D_200D_206A_200F_206E_200F_202A_202A_200F_200C_202B_206B_206E_202A_202A_202E();
|
||||
_200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(builder, 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>(702947867));
|
||||
_200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(builder, InteractionType.ToString());
|
||||
_200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(builder, 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>(430956117));
|
||||
_202E_202C_200C_206C_202E_206C_206F_206E_202B_200B_200D_206C_200D_202B_206B_202C_200C_206E_206D_206E_206E_200B_206A_202E_200D_206B_200D_202B_202A_202E_200D_206C_206C_206F_206A_200B_200D_200E_202C_202B_202E(builder, (object?)Comment);
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(Task? other)
|
||||
{
|
||||
int num = (((object)this == other) ? (-845795892) : (-845795894));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -845795889;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 4:
|
||||
num = ((!_206C_200B_202D_200D_200D_206B_206C_200D_200F_200C_200F_202B_200F_200C_206A_202E_200F_206E_206C_202C_202B_202D_206F_200C_206A_206A_202D_206D_206B_200E_206E_202D_200F_200C_200D_206A_202A_206D_202C_206F_202E(EqualityContract, other.EqualityContract)) ? (-845795895) : (-845795891));
|
||||
break;
|
||||
case 5:
|
||||
num = (((object)other == null) ? (-845795895) : (-845795893));
|
||||
break;
|
||||
case 6:
|
||||
return false;
|
||||
case 0:
|
||||
num = -845795894;
|
||||
break;
|
||||
case 2:
|
||||
num = ((!EqualityComparer<EInteractionType>.Default.Equals(InteractionType, other.InteractionType)) ? (-845795895) : (-845795890));
|
||||
break;
|
||||
case 1:
|
||||
return EqualityComparer<string>.Default.Equals(Comment, other.Comment);
|
||||
case 3:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<Task>.Equals(Task? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type? _202B_206F_206A_202C_200B_202C_206E_202E_206C_206A_200D_202E_206C_200D_200F_202B_206C_200F_202D_206A_206E_202E_202E_202C_200C_206B_202A_202C_200F_206E_200B_206A_206E_206A_206E_200B_206C_206B_202A_200E_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static void _206E_206C_202B_200D_206C_200F_206B_200F_202E_200E_200B_206E_206B_200C_206B_206A_202B_206D_202A_200C_200F_206B_200D_200F_202D_200D_200D_206A_200F_206E_200F_202A_202A_200F_200C_202B_206B_206E_202A_202A_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static StringBuilder? _200B_206B_202A_206F_200F_200E_206D_200D_202C_206F_206C_202E_202D_206B_202B_200F_202C_202A_200F_200F_200E_206B_200D_200C_202A_200B_200F_200F_202C_206B_202E_200F_206B_202E_206A_206C_202D_200E_206F_206D_202E(StringBuilder? P_0, string? P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static StringBuilder? _202E_202C_200C_206C_202E_206C_206F_206E_202B_200B_200D_206C_200D_202B_206B_202C_200C_206E_206D_206E_206E_200B_206A_202E_200D_206B_200D_202B_202A_202E_200D_206C_206C_206F_206A_200B_200D_200E_202C_202B_202E(StringBuilder? P_0, object? P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static bool _206C_200B_202D_200D_200D_206B_206C_200D_200F_200C_200F_202B_200F_200C_206A_202E_200F_206E_206C_202C_202B_202D_206F_200C_206A_206A_202D_206D_206B_200E_206E_202D_200F_200C_200D_206A_202A_206D_202C_206F_202E(Type? P_0, Type? P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class Executor(IChatGui chatGui, Configuration configuration) : TaskExecutor<Task>()
|
||||
internal sealed class Executor(NotificationService notificationService, IChatGui chatGui, Configuration configuration) : TaskExecutor<Task>()
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected override bool Start()
|
||||
{
|
||||
if (!configuration.Notifications.Enabled)
|
||||
int num = (configuration.Notifications.Enabled ? 1129159902 : 1129159890);
|
||||
string text = default(string);
|
||||
string text2 = default(string);
|
||||
EInteractionType interactionType = default(EInteractionType);
|
||||
XivChatType chatType = default(XivChatType);
|
||||
XivChatEntry xivChatEntry2 = default(XivChatEntry);
|
||||
while (true)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
string text;
|
||||
switch (base.Task.InteractionType)
|
||||
{
|
||||
case EInteractionType.Duty:
|
||||
text = "Duty";
|
||||
break;
|
||||
case EInteractionType.SinglePlayerDuty:
|
||||
text = "Single player duty";
|
||||
break;
|
||||
case EInteractionType.WaitForManualProgress:
|
||||
case EInteractionType.Snipe:
|
||||
case EInteractionType.Instruction:
|
||||
text = "Manual interaction required";
|
||||
break;
|
||||
default:
|
||||
text = $"{base.Task.InteractionType}";
|
||||
break;
|
||||
}
|
||||
string text2 = text;
|
||||
if (!string.IsNullOrEmpty(base.Task.Comment))
|
||||
{
|
||||
text2 = text2 + " - " + base.Task.Comment;
|
||||
}
|
||||
if (configuration.Notifications.ChatType != XivChatType.None)
|
||||
{
|
||||
XivChatEntry xivChatEntry;
|
||||
switch (configuration.Notifications.ChatType)
|
||||
int num2 = num;
|
||||
int num3 = 1129159886;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case XivChatType.Say:
|
||||
case XivChatType.Shout:
|
||||
case XivChatType.TellOutgoing:
|
||||
case XivChatType.TellIncoming:
|
||||
case XivChatType.Party:
|
||||
case XivChatType.Alliance:
|
||||
case XivChatType.Ls1:
|
||||
case XivChatType.Ls2:
|
||||
case XivChatType.Ls3:
|
||||
case XivChatType.Ls4:
|
||||
case XivChatType.Ls5:
|
||||
case XivChatType.Ls6:
|
||||
case XivChatType.Ls7:
|
||||
case XivChatType.Ls8:
|
||||
case XivChatType.FreeCompany:
|
||||
case XivChatType.NoviceNetwork:
|
||||
case XivChatType.Yell:
|
||||
case XivChatType.CrossParty:
|
||||
case XivChatType.PvPTeam:
|
||||
case XivChatType.CrossLinkShell1:
|
||||
case XivChatType.NPCDialogue:
|
||||
case XivChatType.NPCDialogueAnnouncements:
|
||||
case XivChatType.CrossLinkShell2:
|
||||
case XivChatType.CrossLinkShell3:
|
||||
case XivChatType.CrossLinkShell4:
|
||||
case XivChatType.CrossLinkShell5:
|
||||
case XivChatType.CrossLinkShell6:
|
||||
case XivChatType.CrossLinkShell7:
|
||||
case XivChatType.CrossLinkShell8:
|
||||
xivChatEntry = new XivChatEntry
|
||||
{
|
||||
Message = text2,
|
||||
Type = configuration.Notifications.ChatType,
|
||||
Name = new SeStringBuilder().AddUiForeground("Questionable", 576).Build()
|
||||
};
|
||||
case 18:
|
||||
text = $"{base.Task.InteractionType}";
|
||||
num = 1129159877;
|
||||
break;
|
||||
default:
|
||||
xivChatEntry = new XivChatEntry
|
||||
case 8:
|
||||
text = 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>(-279581808);
|
||||
num = 1129159877;
|
||||
break;
|
||||
case 10:
|
||||
num = 1129159915;
|
||||
break;
|
||||
case 6:
|
||||
num = 1129159900;
|
||||
break;
|
||||
case 21:
|
||||
notificationService.Notify(base.Task.InteractionType, text2);
|
||||
return true;
|
||||
case 33:
|
||||
num = ((interactionType == EInteractionType.Snipe) ? 1129159891 : 1129159880);
|
||||
break;
|
||||
case 3:
|
||||
switch (interactionType)
|
||||
{
|
||||
Message = new SeStringBuilder().AddUiForeground("[Questionable] ", 576).Append(text2).Build(),
|
||||
Type = configuration.Notifications.ChatType
|
||||
};
|
||||
case EInteractionType.Duty:
|
||||
break;
|
||||
default:
|
||||
goto IL_019b;
|
||||
case EInteractionType.WaitForManualProgress:
|
||||
goto IL_037c;
|
||||
case EInteractionType.SinglePlayerDuty:
|
||||
goto IL_0559;
|
||||
}
|
||||
goto case 8;
|
||||
case 30:
|
||||
text = 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>(-1806447196);
|
||||
num = 1129159877;
|
||||
break;
|
||||
case 23:
|
||||
num = 1129159900;
|
||||
break;
|
||||
case 22:
|
||||
num = 1129159890;
|
||||
break;
|
||||
case 28:
|
||||
return false;
|
||||
case 11:
|
||||
text2 = text;
|
||||
num = (_206E_202D_200F_202A_200F_202D_202D_200C_206F_206D_206B_206A_200D_206F_202C_206D_200C_206A_202E_200D_202C_202C_206F_200E_206D_202A_202B_200F_206A_206E_206D_206E_206F_200F_206B_200E_202C_206B_206E_202E(base.Task.Comment) ? 1129159912 : 1129159898);
|
||||
break;
|
||||
case 1:
|
||||
num = ((chatType - 10 > (XivChatType)5) ? 1129159915 : 1129159883);
|
||||
break;
|
||||
case 16:
|
||||
interactionType = base.Task.InteractionType;
|
||||
num = ((interactionType > EInteractionType.Snipe) ? 1129159892 : 1129159885);
|
||||
break;
|
||||
case 19:
|
||||
num = 1129159915;
|
||||
break;
|
||||
case 17:
|
||||
{
|
||||
XivChatEntry xivChatEntry = xivChatEntry2;
|
||||
_206A_200D_202B_200E_202B_200E_206E_206F_206B_206D_200E_206F_202A_206F_206D_202D_206F_206A_206F_206A_206A_200C_206B_206C_206F_200C_206C_200F_202D_206C_206D_206F_200C_200B_202A_200E_200D_202D_202B_202E_202E(chatGui, xivChatEntry);
|
||||
num = 1129159899;
|
||||
break;
|
||||
}
|
||||
case 0:
|
||||
num = (((int)chatType <= 107) ? 1129159883 : 1129159894);
|
||||
break;
|
||||
case 7:
|
||||
num = ((chatType == XivChatType.NPCDialogueAnnouncements) ? 1129159883 : 1129159901);
|
||||
break;
|
||||
case 38:
|
||||
num = ((configuration.Notifications.ChatType == XivChatType.None) ? 1129159899 : 1129159882);
|
||||
break;
|
||||
case 13:
|
||||
num = ((interactionType == EInteractionType.CriticalEncounter) ? 1129159888 : 1129159897);
|
||||
break;
|
||||
case 31:
|
||||
num = ((chatType == XivChatType.NPCDialogue) ? 1129159883 : 1129159881);
|
||||
break;
|
||||
case 24:
|
||||
num = 1129159915;
|
||||
break;
|
||||
case 32:
|
||||
num = ((interactionType == EInteractionType.Fish) ? 1129159891 : 1129159875);
|
||||
break;
|
||||
case 9:
|
||||
num = (((int)chatType < 16) ? 1129159887 : 1129159914);
|
||||
break;
|
||||
case 29:
|
||||
goto IL_037c;
|
||||
case 37:
|
||||
{
|
||||
XivChatEntry xivChatEntry4 = _202A_202B_202E_200F_206A_200E_206B_200E_206E_200F_202B_200F_206B_202B_206F_200F_206D_206E_206E_202E_206F_206F_200D_200D_200B_202C_200D_200D_206F_206A_206E_206B_206D_202C_206F_200D_206C_200D_206E_200E_202E();
|
||||
_200D_200E_200E_206B_202C_206E_206C_202A_200F_200B_200C_206A_202B_200F_200E_206E_206D_206C_200F_206B_200E_206A_206F_206D_206E_206A_206D_200C_206E_202C_200B_206C_200D_200F_200E_200C_202D_206C_206A_202A_202E(xivChatEntry4, _202E_202E_200C_200D_206C_200C_202B_206B_202B_202A_200C_202E_206C_206A_202A_206F_206B_200F_200D_206E_202B_206A_200D_200B_202B_202B_200D_200B_206E_206C_206A_200F_206A_202B_200C_202A_202A_206D_200F_202E_202E(_200F_202C_202D_200C_206D_200C_206A_200C_202B_206A_200D_200E_200C_206F_206D_202A_206C_200B_206E_200C_200B_206D_202A_202E_202E_202A_202E_200B_200E_200E_202D_206D_202A_202C_200D_206F_200B_200F_206A_202A_202E(_200C_202C_202B_202C_202B_206B_206A_202E_206B_200C_202D_202A_200B_202A_206E_206F_206D_200E_202C_206A_200C_202D_206C_206D_206E_200F_206C_206C_202E_202D_206A_202A_200B_206C_206C_206C_200F_200B_206A_202D_202E(_200C_202B_206A_206A_206C_206B_202B_200F_200F_206B_206D_200F_202D_200D_202C_202B_206C_202B_206C_202A_202E_202A_206E_200C_202B_200F_206B_206A_202C_202A_206A_206F_200F_200E_200F_202C_206F_206C_200E_206D_202E(), 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>(-365234196), (ushort)576), text2)));
|
||||
_200E_200E_200D_202E_200B_206E_200D_206F_200B_206D_206A_200F_202C_200E_206F_202A_200C_202E_206B_206A_200C_206F_200C_202B_200F_206F_202E_202D_206F_206D_202C_200F_206B_200E_200E_202C_206B_202B_206C_200C_202E(xivChatEntry4, (XivChatType?)configuration.Notifications.ChatType);
|
||||
xivChatEntry2 = xivChatEntry4;
|
||||
num = 1129159903;
|
||||
break;
|
||||
}
|
||||
case 20:
|
||||
text2 = _202C_200E_206A_200E_206D_200E_200F_206D_206F_200C_202B_206E_200D_200C_202A_206E_202C_200C_206C_200F_206B_206A_206A_200F_202B_202D_206B_200F_202E_202E_206E_206A_202C_206B_200D_202C_202B_200D_206B_206A_202E(text2, 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>(-1186344051), base.Task.Comment);
|
||||
num = 1129159912;
|
||||
break;
|
||||
case 14:
|
||||
num = ((chatType - 36 <= XivChatType.Debug) ? 1129159883 : 1129159874);
|
||||
break;
|
||||
case 5:
|
||||
{
|
||||
XivChatEntry xivChatEntry3 = _202A_202B_202E_200F_206A_200E_206B_200E_206E_200F_202B_200F_206B_202B_206F_200F_206D_206E_206E_202E_206F_206F_200D_200D_200B_202C_200D_200D_206F_206A_206E_206B_206D_202C_206F_200D_206C_200D_206E_200E_202E();
|
||||
_200D_200E_200E_206B_202C_206E_206C_202A_200F_200B_200C_206A_202B_200F_200E_206E_206D_206C_200F_206B_200E_206A_206F_206D_206E_206A_206D_200C_206E_202C_200B_206C_200D_200F_200E_200C_202D_206C_206A_202A_202E(xivChatEntry3, _200C_206A_206D_202A_202C_202B_202B_202D_202D_200F_200E_206C_206B_206B_202A_200B_200C_200F_200D_206C_202E_206B_200F_206C_206D_206F_206D_206E_206A_202C_206E_202E_200B_206A_206F_200E_206D_206D_200E_206B_202E(text2));
|
||||
_200E_200E_200D_202E_200B_206E_200D_206F_200B_206D_206A_200F_202C_200E_206F_202A_200C_202E_206B_206A_200C_206F_200C_202B_200F_206F_202E_202D_206F_206D_202C_200F_206B_200E_200E_202C_206B_202B_206C_200C_202E(xivChatEntry3, (XivChatType?)configuration.Notifications.ChatType);
|
||||
_206B_206A_200E_202D_200D_200E_202D_202A_200E_202B_206E_206E_202D_206B_202A_202C_206D_206A_206E_206D_202D_206B_202D_200E_206A_202D_200B_202B_206D_206E_202C_200E_206B_200E_202C_200C_206C_206C_200B_202D_202E(xivChatEntry3, _202E_202E_200C_200D_206C_200C_202B_206B_202B_202A_200C_202E_206C_206A_202A_206F_206B_200F_200D_206E_202B_206A_200D_200B_202B_202B_200D_200B_206E_206C_206A_200F_206A_202B_200C_202A_202A_206D_200F_202E_202E(_200C_202C_202B_202C_202B_206B_206A_202E_206B_200C_202D_202A_200B_202A_206E_206F_206D_200E_202C_206A_200C_202D_206C_206D_206E_200F_206C_206C_202E_202D_206A_202A_200B_206C_206C_206C_200F_200B_206A_202D_202E(_200C_202B_206A_206A_206C_206B_202B_200F_200F_206B_206D_200F_202D_200D_202C_202B_206C_202B_206C_202A_202E_202A_206E_200C_202B_200F_206B_206A_202C_202A_206A_206F_200F_200E_200F_202C_206F_206C_200E_206D_202E(), 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)576)));
|
||||
xivChatEntry2 = xivChatEntry3;
|
||||
num = 1129159903;
|
||||
break;
|
||||
}
|
||||
case 39:
|
||||
num = ((chatType == XivChatType.NoviceNetwork) ? 1129159883 : 1129159884);
|
||||
break;
|
||||
case 15:
|
||||
num = ((chatType == XivChatType.FreeCompany) ? 1129159883 : 1129159913);
|
||||
break;
|
||||
case 36:
|
||||
num = (((int)chatType <= 23) ? 1129159883 : 1129159893);
|
||||
break;
|
||||
case 27:
|
||||
num = ((chatType > XivChatType.Yell) ? 1129159895 : 1129159873);
|
||||
break;
|
||||
case 26:
|
||||
num = ((interactionType == EInteractionType.Instruction) ? 1129159891 : 1129159918);
|
||||
break;
|
||||
case 25:
|
||||
num = ((chatType > XivChatType.CrossLinkShell1) ? 1129159889 : 1129159917);
|
||||
break;
|
||||
case 34:
|
||||
goto IL_0559;
|
||||
case 35:
|
||||
num = ((chatType == XivChatType.CrossParty) ? 1129159883 : 1129159872);
|
||||
break;
|
||||
case 2:
|
||||
num = ((chatType == XivChatType.Yell) ? 1129159883 : 1129159876);
|
||||
break;
|
||||
case 12:
|
||||
num = 1129159915;
|
||||
break;
|
||||
case 4:
|
||||
{
|
||||
chatType = configuration.Notifications.ChatType;
|
||||
num = (((int)chatType < 101) ? 1129159879 : 1129159886);
|
||||
break;
|
||||
}
|
||||
IL_0559:
|
||||
text = 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>(-984674976);
|
||||
num = 1129159877;
|
||||
break;
|
||||
IL_037c:
|
||||
text = 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>(-2076274604);
|
||||
num = 1129159877;
|
||||
break;
|
||||
IL_019b:
|
||||
num = 1129159919;
|
||||
break;
|
||||
}
|
||||
XivChatEntry chat = xivChatEntry;
|
||||
chatGui.Print(chat);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override ETaskResult Update()
|
||||
|
|
@ -154,5 +424,65 @@ internal static class SendNotification
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool _206E_202D_200F_202A_200F_202D_202D_200C_206F_206D_206B_206A_200D_206F_202C_206D_200C_206A_202E_200D_202C_202C_206F_200E_206D_202A_202B_200F_206A_206E_206D_206E_206F_200F_206B_200E_202C_206B_206E_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
|
||||
static string _202C_200E_206A_200E_206D_200E_200F_206D_206F_200C_202B_206E_200D_200C_202A_206E_202C_200C_206C_200F_206B_206A_206A_200F_202B_202D_206B_200F_202E_202E_206E_206A_202C_206B_200D_202C_202B_200D_206B_206A_202E(string P_0, string P_1, string P_2)
|
||||
{
|
||||
return P_0 + P_1 + P_2;
|
||||
}
|
||||
|
||||
static XivChatEntry _202A_202B_202E_200F_206A_200E_206B_200E_206E_200F_202B_200F_206B_202B_206F_200F_206D_206E_206E_202E_206F_206F_200D_200D_200B_202C_200D_200D_206F_206A_206E_206B_206D_202C_206F_200D_206C_200D_206E_200E_202E()
|
||||
{
|
||||
return new XivChatEntry();
|
||||
}
|
||||
|
||||
static SeString _200C_206A_206D_202A_202C_202B_202B_202D_202D_200F_200E_206C_206B_206B_202A_200B_200C_200F_200D_206C_202E_206B_200F_206C_206D_206F_206D_206E_206A_202C_206E_202E_200B_206A_206F_200E_206D_206D_200E_206B_202E(string P_0)
|
||||
{
|
||||
return P_0;
|
||||
}
|
||||
|
||||
static void _200D_200E_200E_206B_202C_206E_206C_202A_200F_200B_200C_206A_202B_200F_200E_206E_206D_206C_200F_206B_200E_206A_206F_206D_206E_206A_206D_200C_206E_202C_200B_206C_200D_200F_200E_200C_202D_206C_206A_202A_202E(XivChatEntry P_0, SeString P_1)
|
||||
{
|
||||
P_0.Message = P_1;
|
||||
}
|
||||
|
||||
static void _200E_200E_200D_202E_200B_206E_200D_206F_200B_206D_206A_200F_202C_200E_206F_202A_200C_202E_206B_206A_200C_206F_200C_202B_200F_206F_202E_202D_206F_206D_202C_200F_206B_200E_200E_202C_206B_202B_206C_200C_202E(XivChatEntry P_0, XivChatType? P_1)
|
||||
{
|
||||
P_0.Type = P_1;
|
||||
}
|
||||
|
||||
static SeStringBuilder _200C_202B_206A_206A_206C_206B_202B_200F_200F_206B_206D_200F_202D_200D_202C_202B_206C_202B_206C_202A_202E_202A_206E_200C_202B_200F_206B_206A_202C_202A_206A_206F_200F_200E_200F_202C_206F_206C_200E_206D_202E()
|
||||
{
|
||||
return new SeStringBuilder();
|
||||
}
|
||||
|
||||
static SeStringBuilder _200C_202C_202B_202C_202B_206B_206A_202E_206B_200C_202D_202A_200B_202A_206E_206F_206D_200E_202C_206A_200C_202D_206C_206D_206E_200F_206C_206C_202E_202D_206A_202A_200B_206C_206C_206C_200F_200B_206A_202D_202E(SeStringBuilder P_0, string P_1, ushort P_2)
|
||||
{
|
||||
return P_0.AddUiForeground(P_1, P_2);
|
||||
}
|
||||
|
||||
static SeString _202E_202E_200C_200D_206C_200C_202B_206B_202B_202A_200C_202E_206C_206A_202A_206F_206B_200F_200D_206E_202B_206A_200D_200B_202B_202B_200D_200B_206E_206C_206A_200F_206A_202B_200C_202A_202A_206D_200F_202E_202E(SeStringBuilder P_0)
|
||||
{
|
||||
return P_0.Build();
|
||||
}
|
||||
|
||||
static void _206B_206A_200E_202D_200D_200E_202D_202A_200E_202B_206E_206E_202D_206B_202A_202C_206D_206A_206E_206D_202D_206B_202D_200E_206A_202D_200B_202B_206D_206E_202C_200E_206B_200E_202C_200C_206C_206C_200B_202D_202E(XivChatEntry P_0, SeString P_1)
|
||||
{
|
||||
P_0.Name = P_1;
|
||||
}
|
||||
|
||||
static SeStringBuilder _200F_202C_202D_200C_206D_200C_206A_200C_202B_206A_200D_200E_200C_206F_206D_202A_206C_200B_206E_200C_200B_206D_202A_202E_202E_202A_202E_200B_200E_200E_202D_206D_202A_202C_200D_206F_200B_200F_206A_202A_202E(SeStringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static void _206A_200D_202B_200E_202B_200E_206E_206F_206B_206D_200E_206F_202A_206F_206D_202D_206F_206A_206F_206A_206A_200C_206B_206C_206F_200C_206C_200F_202D_206C_206D_206F_200C_200B_202A_200E_200D_202D_202B_202E_202E(IChatGui P_0, XivChatEntry P_1)
|
||||
{
|
||||
P_0.Print(P_1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue