muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
|
|
@ -0,0 +1,210 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using Dalamud.Game.ClientState.Objects.SubKinds;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Questionable.Controller.Steps.Shared;
|
||||
|
||||
internal static class SubRegionTransport
|
||||
{
|
||||
internal sealed record Task(Vector3 SourcePosition, Vector3 DestPosition, ushort TerritoryId) : ITask
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _200D_200C_202B_200B_206F_200D_206B_206E_206B_202A_200E_200B_202E_202A_206A_206F_202E_200D_202C_206B_200F_206B_202B_202E_200F_206B_200F_206D_200E_206E_202B_200B_200B_206F_200D_200B_202C_206B_206F_206D_202E(typeof(Task).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
public bool ShouldRedoOnInterrupt()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ITask.ShouldRedoOnInterrupt()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in ShouldRedoOnInterrupt
|
||||
return this.ShouldRedoOnInterrupt();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string ToString()
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(26, 3);
|
||||
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>(-630206869));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(TerritoryId);
|
||||
defaultInterpolatedStringHandler.AppendLiteral(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>(-1095822044));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(SourcePosition);
|
||||
defaultInterpolatedStringHandler.AppendLiteral(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>(198379463));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(DestPosition);
|
||||
defaultInterpolatedStringHandler.AppendLiteral(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>(444206578));
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_202C_200F_206B_206E_202C_206B_200E_200B_200E_200F_206D_200B_202A_202E_206C_202E_202D_206F_202B_206B_206B_200D_202C_202D_202E_200F_206B_202D_206D_200F_202B_206E_202A_200D_202D_202C_200C_200E_202D_202E_202E();
|
||||
_202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_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>(-603430089));
|
||||
_202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, SourcePosition.ToString());
|
||||
_202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_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>(-1503839347));
|
||||
_202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, DestPosition.ToString());
|
||||
_202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_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>(-1428648191));
|
||||
_202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(builder, TerritoryId.ToString());
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(Task? other)
|
||||
{
|
||||
int num = (((object)this == other) ? 627105870 : 627105869);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 627105866;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 4:
|
||||
return true;
|
||||
case 5:
|
||||
num = ((!EqualityComparer<Vector3>.Default.Equals(SourcePosition, other.SourcePosition)) ? 627105867 : 627105868);
|
||||
break;
|
||||
case 7:
|
||||
num = (((object)other == null) ? 627105867 : 627105866);
|
||||
break;
|
||||
case 0:
|
||||
num = ((!_202C_202C_206E_206B_200D_206A_200B_202D_206D_202E_202E_206D_206F_202C_200E_200E_202D_206F_200C_206D_202C_202D_200C_202E_206C_206A_200E_200C_202A_206F_202D_206F_206B_200F_202B_202A_202E_206D_206B_200E_202E(EqualityContract, other.EqualityContract)) ? 627105867 : 627105871);
|
||||
break;
|
||||
case 3:
|
||||
return EqualityComparer<ushort>.Default.Equals(TerritoryId, other.TerritoryId);
|
||||
case 6:
|
||||
num = ((!EqualityComparer<Vector3>.Default.Equals(DestPosition, other.DestPosition)) ? 627105867 : 627105865);
|
||||
break;
|
||||
case 1:
|
||||
return false;
|
||||
case 2:
|
||||
num = 627105869;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<Task>.Equals(Task? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type _200D_200C_202B_200B_206F_200D_206B_206E_206B_202A_200E_200B_202E_202A_206A_206F_202E_200D_202C_206B_200F_206B_202B_202E_200F_206B_200F_206D_200E_206E_202B_200B_200B_206F_200D_200B_202C_206B_206F_206D_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static void _202C_200F_206B_206E_202C_206B_200E_200B_200E_200F_206D_200B_202A_202E_206C_202E_202D_206F_202B_206B_206B_200D_202C_202D_202E_200F_206B_202D_206D_200F_202B_206E_202A_200D_202D_202C_200C_200E_202D_202E_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static StringBuilder _202D_200E_202E_202E_200B_202E_206E_200B_200B_202B_200B_206D_206D_200B_206A_206A_206E_202C_202A_206A_202D_202A_202A_200D_200F_200B_200F_200F_206A_202B_202D_206E_202E_206A_202D_200F_206E_200C_202E_206C_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static bool _202C_202C_206E_206B_200D_206A_200B_202D_206D_202E_202E_206D_206F_202C_200E_200E_202D_206F_200C_206D_202C_202D_200C_202E_206C_206A_200E_200C_202A_206F_202D_206F_206B_200F_202B_202A_202E_206D_206B_200E_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class DoSubRegionTransport(IObjectTable objectTable, ILogger<DoSubRegionTransport> logger) : TaskExecutor<Task>()
|
||||
{
|
||||
private Vector3 _startPosition;
|
||||
|
||||
private long _startTime;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected override bool Start()
|
||||
{
|
||||
IPlayerCharacter playerCharacter = _202E_206B_206E_206F_202D_206C_206B_206C_200D_202C_200D_202A_202B_206B_206E_202B_202D_206F_206F_202A_200E_206F_202D_202C_206F_200F_200F_206B_202A_206E_206C_206B_202B_202E_200D_206C_200D_202B_206F_202A_202E(objectTable);
|
||||
_startPosition = ((playerCharacter != null) ? _200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E((IGameObject)playerCharacter) : Vector3.Zero);
|
||||
_startTime = _202E_206E_200D_200E_206C_206D_202D_202D_206D_206F_202E_200D_200D_200D_206C_206D_200E_200E_200E_200B_200E_206F_200D_200B_200D_200C_202D_200C_206A_206E_202B_200D_202B_202D_200B_206A_200B_202C_206C_200C_202E();
|
||||
_200F_202C_200F_202E_202C_200C_206E_206F_202E_200B_206B_202E_206D_200F_206A_206A_202B_202E_200F_206D_206D_206D_206B_206A_202B_200E_200C_200B_200F_202C_202A_202E_202B_200F_206F_206D_202C_200D_202A_206D_202E((ILogger)logger, 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>(-1244283886), new object[1] { base.Task.SourcePosition });
|
||||
return true;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override ETaskResult Update()
|
||||
{
|
||||
IPlayerCharacter playerCharacter = _202E_206B_206E_206F_202D_206C_206B_206C_200D_202C_200D_202A_202B_206B_206E_202B_202D_206F_206F_202A_200E_206F_202D_202C_206F_200F_200F_206B_202A_206E_206C_206B_202B_202E_200D_206C_200D_202B_206F_202A_202E(objectTable);
|
||||
int num = ((playerCharacter == null) ? 733700456 : 733700461);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 733700460;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 3:
|
||||
num = 733700461;
|
||||
break;
|
||||
case 1:
|
||||
num = ((!(Vector3.Distance(_200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E((IGameObject)playerCharacter), _startPosition) > 5f)) ? 733700456 : 733700457);
|
||||
break;
|
||||
case 4:
|
||||
num = ((_202E_206E_200D_200E_206C_206D_202D_202D_206D_206F_202E_200D_200D_200D_206C_206D_200E_200E_200E_200B_200E_206F_200D_200B_200D_200C_202D_200C_206A_206E_202B_200D_202B_202D_200B_206A_200B_202C_206C_200C_202E() - _startTime <= 15000) ? 733700462 : 733700460);
|
||||
break;
|
||||
case 0:
|
||||
_202B_206B_200B_206A_206F_202E_202C_202C_200B_202A_206C_206E_200E_206D_206D_200E_200F_200E_200F_206B_200C_200E_202D_202D_202E_200B_206D_206A_202E_200E_200C_200E_202D_200C_206E_202E_206E_200F_206D_202C_202E((ILogger)logger, 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>(21515827), Array.Empty<object>());
|
||||
return ETaskResult.RetryStep;
|
||||
case 2:
|
||||
return ETaskResult.StillRunning;
|
||||
case 5:
|
||||
_200F_202C_200F_202E_202C_200C_206E_206F_202E_200B_206B_202E_206D_200F_206A_206A_202B_202E_200F_206D_206D_206D_206B_206A_202B_200E_200C_200B_200F_202C_202A_202E_202B_200F_206F_206D_202C_200D_202A_206D_202E((ILogger)logger, 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>(161211834), new object[1] { Vector3.Distance(_200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E((IGameObject)playerCharacter), _startPosition) });
|
||||
return ETaskResult.TaskComplete;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool ShouldInterruptOnDamage()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static IPlayerCharacter _202E_206B_206E_206F_202D_206C_206B_206C_200D_202C_200D_202A_202B_206B_206E_202B_202D_206F_206F_202A_200E_206F_202D_202C_206F_200F_200F_206B_202A_206E_206C_206B_202B_202E_200D_206C_200D_202B_206F_202A_202E(IObjectTable P_0)
|
||||
{
|
||||
return P_0.LocalPlayer;
|
||||
}
|
||||
|
||||
static Vector3 _200B_202A_206C_202E_206D_202A_202B_202B_202D_200F_200C_200E_206F_206B_206D_200F_206B_202E_200F_206D_202B_206B_206E_202A_202A_206B_200C_202A_202B_200D_200E_200D_206C_206C_202A_202D_202D_200F_200C_206D_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.Position;
|
||||
}
|
||||
|
||||
static long _202E_206E_200D_200E_206C_206D_202D_202D_206D_206F_202E_200D_200D_200D_206C_206D_200E_200E_200E_200B_200E_206F_200D_200B_200D_200C_202D_200C_206A_206E_202B_200D_202B_202D_200B_206A_200B_202C_206C_200C_202E()
|
||||
{
|
||||
return Environment.TickCount64;
|
||||
}
|
||||
|
||||
static void _200F_202C_200F_202E_202C_200C_206E_206F_202E_200B_206B_202E_206D_200F_206A_206A_202B_202E_200F_206D_206D_206D_206B_206A_202B_200E_200C_200B_200F_202C_202A_202E_202B_200F_206F_206D_202C_200D_202A_206D_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogDebug(P_1, P_2);
|
||||
}
|
||||
|
||||
static void _202B_206B_200B_206A_206F_202E_202C_202C_200B_202A_206C_206E_200E_206D_206D_200E_200F_200E_200F_206B_200C_200E_202D_202D_202E_200B_206D_206A_202E_200E_200C_200E_202D_200C_206E_202E_206E_200F_206D_202C_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogWarning(P_1, P_2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue