muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,9 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using Dalamud.Game.ClientState.Conditions;
|
||||
using Dalamud.Game.ClientState.Objects.SubKinds;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.Text;
|
||||
using Dalamud.Plugin.Services;
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
using LLib.GameData;
|
||||
using LLib.GameUI;
|
||||
using Lumina.Excel;
|
||||
using Lumina.Excel.Sheets;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Questionable.Functions;
|
||||
using Questionable.Model.Gathering;
|
||||
|
|
@ -15,6 +24,16 @@ internal static class DoGatherCollectable
|
|||
{
|
||||
internal sealed record Task(GatheringController.GatheringRequest Request, GatheringNode Node, bool RevisitRequired) : ITask, IRevisitAware
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _200F_200D_202D_206C_206C_206E_202C_200E_200C_206B_200D_200B_206F_202C_206B_206C_206B_202B_202D_200F_206C_200C_202B_206B_206F_206C_206B_200B_206A_202A_200D_202A_206F_200E_202C_200D_206C_202E_200C_206E_202E(typeof(Task).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
public bool RevisitTriggered { get; private set; }
|
||||
|
||||
public void OnRevisit()
|
||||
|
|
@ -22,179 +41,793 @@ internal static class DoGatherCollectable
|
|||
RevisitTriggered = true;
|
||||
}
|
||||
|
||||
void IRevisitAware.OnRevisit()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in OnRevisit
|
||||
this.OnRevisit();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string ToString()
|
||||
{
|
||||
return $"DoGatherCollectable({SeIconChar.Collectible.ToIconString()}/{Request.Collectability}){(RevisitRequired ? " if revist" : "")}";
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(22, 3);
|
||||
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>(1601908547));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(_202D_202B_206C_202D_206D_202C_202A_200E_206E_200B_202E_202D_200C_200B_202A_200F_200C_200D_206F_206E_206B_206A_206B_200F_200E_206E_200B_206B_200C_200E_206A_202D_200E_206F_206C_200E_202E_200E_200C_206A_202E(SeIconChar.Collectible));
|
||||
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>(503298330));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(Request.Collectability);
|
||||
defaultInterpolatedStringHandler.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>(555647321));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(RevisitRequired ? 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>(-1240368665) : 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>(1200342830));
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_200B_200E_200D_200F_202A_202D_200D_206B_206E_202A_202A_206A_202B_200F_206B_200C_202D_206B_202B_206F_206F_200D_206A_206C_202A_202A_200F_206F_200D_202D_200B_202A_200E_202C_200C_206D_206F_206A_200E_202B_202E();
|
||||
_202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, 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>(1124844995));
|
||||
_202D_202B_200C_200F_200D_200F_200E_200C_200D_202A_206C_206E_206A_200D_202B_206C_200D_202B_206A_206C_200F_202D_202A_200C_206B_202A_206C_206F_202A_200E_206A_206A_202D_200C_202E_202C_200E_202A_202D_206E_202E(builder, (object)Request);
|
||||
_202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, 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>(-722402907));
|
||||
_202D_202B_200C_200F_200D_200F_200E_200C_200D_202A_206C_206E_206A_200D_202B_206C_200D_202B_206A_206C_200F_202D_202A_200C_206B_202A_206C_206F_202A_200E_206A_206A_202D_200C_202E_202C_200E_202A_202D_206E_202E(builder, (object)Node);
|
||||
_202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, 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>(849152591));
|
||||
_202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, RevisitRequired.ToString());
|
||||
_202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, 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>(-145983723));
|
||||
_202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(builder, RevisitTriggered.ToString());
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(Task? other)
|
||||
{
|
||||
int num = (((object)this == other) ? 1037561831 : 1037561826);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1037561830;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 6:
|
||||
num = ((!EqualityComparer<GatheringNode>.Default.Equals(Node, other.Node)) ? 1037561825 : 1037561829);
|
||||
break;
|
||||
case 8:
|
||||
return EqualityComparer<bool>.Default.Equals(RevisitTriggered, other.RevisitTriggered);
|
||||
case 2:
|
||||
num = ((!EqualityComparer<GatheringController.GatheringRequest>.Default.Equals(Request, other.Request)) ? 1037561825 : 1037561824);
|
||||
break;
|
||||
case 5:
|
||||
num = ((!_206A_202E_202E_206D_206E_206B_200F_200D_200E_206A_200B_202D_202C_206C_202A_200D_202B_200F_206C_202B_206F_206D_202A_206F_202E_206B_206B_202A_202A_202C_202E_200D_202B_206B_206B_206C_206F_202D_200C_202D_202E(EqualityContract, other.EqualityContract)) ? 1037561825 : 1037561828);
|
||||
break;
|
||||
case 3:
|
||||
num = ((!EqualityComparer<bool>.Default.Equals(RevisitRequired, other.RevisitRequired)) ? 1037561825 : 1037561838);
|
||||
break;
|
||||
case 0:
|
||||
num = 1037561826;
|
||||
break;
|
||||
case 4:
|
||||
num = (((object)other == null) ? 1037561825 : 1037561827);
|
||||
break;
|
||||
case 7:
|
||||
return false;
|
||||
case 1:
|
||||
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 _200F_200D_202D_206C_206C_206E_202C_200E_200C_206B_200D_200B_206F_202C_206B_206C_206B_202B_202D_200F_206C_200C_202B_206B_206F_206C_206B_200B_206A_202A_200D_202A_206F_200E_202C_200D_206C_202E_200C_206E_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static string _202D_202B_206C_202D_206D_202C_202A_200E_206E_200B_202E_202D_200C_200B_202A_200F_200C_200D_206F_206E_206B_206A_206B_200F_200E_206E_200B_206B_200C_200E_206A_202D_200E_206F_206C_200E_202E_200E_200C_206A_202E(SeIconChar P_0)
|
||||
{
|
||||
return P_0.ToIconString();
|
||||
}
|
||||
|
||||
static void _200B_200E_200D_200F_202A_202D_200D_206B_206E_202A_202A_206A_202B_200F_206B_200C_202D_206B_202B_206F_206F_200D_206A_206C_202A_202A_200F_206F_200D_202D_200B_202A_200E_202C_200C_206D_206F_206A_200E_202B_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static StringBuilder _202A_202E_206C_206D_206B_206C_206A_206D_202B_200E_206A_202C_206F_200B_200B_202B_200C_200B_206D_206A_206C_200D_206F_200B_202E_206B_206D_206B_206B_202A_200C_206C_200D_202A_202D_206D_206C_202D_202E_206A_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static StringBuilder _202D_202B_200C_200F_200D_200F_200E_200C_200D_202A_206C_206E_206A_200D_202B_206C_200D_202B_206A_206C_200F_202D_202A_200C_206B_202A_206C_206F_202A_200E_206A_206A_202D_200C_202E_202C_200E_202A_202D_206E_202E(StringBuilder P_0, object P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static bool _206A_202E_202E_206D_206E_206B_200F_200D_200E_206A_200B_202D_202C_206C_202A_200D_202B_200F_206C_202B_206F_206D_202A_206F_202E_206B_206B_202A_202A_202C_202E_200D_202B_206B_206B_206C_206F_202D_200C_202D_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class GatherCollectableExecutor(GatheringController gatheringController, GameFunctions gameFunctions, IObjectTable objectTable, IGameGui gameGui, ILogger<GatherCollectableExecutor> logger) : TaskExecutor<Task>()
|
||||
internal sealed class GatherCollectableExecutor(GatheringController gatheringController, GameFunctions gameFunctions, IObjectTable objectTable, IGameGui gameGui, ICondition condition, ILogger<GatherCollectableExecutor> logger) : TaskExecutor<Task>()
|
||||
{
|
||||
private Queue<EAction>? _actionQueue;
|
||||
|
||||
private bool? _expectedScrutiny;
|
||||
|
||||
private bool _wasGathering;
|
||||
|
||||
private long _nextRevisitInteractionAt;
|
||||
|
||||
protected override bool Start()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public unsafe override ETaskResult Update()
|
||||
{
|
||||
if (base.Task.RevisitRequired && !base.Task.RevisitTriggered)
|
||||
int num = ((!base.Task.RevisitRequired) ? (-1306248143) : (-1306248180));
|
||||
NodeCondition nodeCondition = default(NodeCondition);
|
||||
AtkUnitBase* addonPtr = default(AtkUnitBase*);
|
||||
bool? flag = default(bool?);
|
||||
EAction result = default(EAction);
|
||||
IGameObject gameObject = default(IGameObject);
|
||||
Task task = default(Task);
|
||||
while (true)
|
||||
{
|
||||
logger.LogInformation("No revisit");
|
||||
return ETaskResult.TaskComplete;
|
||||
}
|
||||
if (gatheringController.HasNodeDisappeared(base.Task.Node))
|
||||
{
|
||||
logger.LogInformation("Node disappeared");
|
||||
return ETaskResult.TaskComplete;
|
||||
}
|
||||
if (gatheringController.HasRequestedItems())
|
||||
{
|
||||
if (gameGui.TryGetAddonByName<AtkUnitBase>("GatheringMasterpiece", out var addonPtr))
|
||||
int num2 = num;
|
||||
int num3 = -1306248192;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
addonPtr->FireCallbackInt(1);
|
||||
default:
|
||||
continue;
|
||||
case 50:
|
||||
_actionQueue = GetNextActions(nodeCondition);
|
||||
if (_actionQueue != null)
|
||||
{
|
||||
num = -1306248176;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
case 36:
|
||||
return ETaskResult.StillRunning;
|
||||
}
|
||||
if (gameGui.TryGetAddonByName<AtkUnitBase>("Gathering", out addonPtr))
|
||||
case 18:
|
||||
{
|
||||
addonPtr->FireCallbackInt(-1);
|
||||
uint uInt3 = addonPtr->AtkValues[62].UInt;
|
||||
uint uInt4 = addonPtr->AtkValues[63].UInt;
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_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>(-1155490632), new object[2] { uInt3, uInt4 });
|
||||
num = ((uInt3 == 0) ? (-1306248152) : (-1306248189));
|
||||
continue;
|
||||
}
|
||||
case 7:
|
||||
_expectedScrutiny = flag;
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_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>(-1760938028), new object[1] { result });
|
||||
_actionQueue.Dequeue();
|
||||
num = -1306248164;
|
||||
continue;
|
||||
case 51:
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_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>(509991167), Array.Empty<object>());
|
||||
return ETaskResult.TaskComplete;
|
||||
}
|
||||
}
|
||||
if (gameFunctions.GetFreeInventorySlots() == 0)
|
||||
{
|
||||
throw new TaskException("Inventory full");
|
||||
}
|
||||
NodeCondition nodeCondition = GetNodeCondition();
|
||||
if (nodeCondition == null)
|
||||
{
|
||||
return ETaskResult.TaskComplete;
|
||||
}
|
||||
if (_expectedScrutiny.HasValue)
|
||||
{
|
||||
if (nodeCondition.ScrutinyActive != _expectedScrutiny)
|
||||
{
|
||||
case 30:
|
||||
num = ((!gameFunctions.InteractWith(gameObject)) ? (-1306248136) : (-1306248191));
|
||||
continue;
|
||||
case 17:
|
||||
num = ((!task.RevisitRequired) ? (-1306248182) : (-1306248173));
|
||||
continue;
|
||||
case 4:
|
||||
num = -1306248180;
|
||||
continue;
|
||||
case 33:
|
||||
return ETaskResult.StillRunning;
|
||||
}
|
||||
_expectedScrutiny = null;
|
||||
return ETaskResult.StillRunning;
|
||||
}
|
||||
if (_actionQueue != null && _actionQueue.TryPeek(out var result))
|
||||
{
|
||||
if (gameFunctions.UseAction(result))
|
||||
case 45:
|
||||
num = ((_actionQueue == null) ? (-1306248172) : (-1306248169));
|
||||
continue;
|
||||
case 9:
|
||||
num = ((!_206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(condition, ConditionFlag.Gathering)) ? (-1306248177) : (-1306248148));
|
||||
continue;
|
||||
case 0:
|
||||
num = ((!gameFunctions.UseAction(result)) ? (-1306248164) : (-1306248163));
|
||||
continue;
|
||||
case 35:
|
||||
num = ((!_wasGathering) ? (-1306248154) : (-1306248160));
|
||||
continue;
|
||||
case 28:
|
||||
return ETaskResult.StillRunning;
|
||||
case 42:
|
||||
throw new TaskException(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>(1562567850));
|
||||
case 49:
|
||||
task = base.Task;
|
||||
num = (((object)task == null) ? (-1306248161) : (-1306248165));
|
||||
continue;
|
||||
case 14:
|
||||
num = ((!_expectedScrutiny.HasValue) ? (-1306248147) : (-1306248170));
|
||||
continue;
|
||||
case 56:
|
||||
_nextRevisitInteractionAt = _206E_200B_200B_200B_206A_202E_200E_206A_202D_206E_206F_206B_206B_200C_206B_202E_206B_206D_206A_206D_206C_200F_206A_206E_206F_202C_206F_206F_202B_200C_200E_200E_202C_206B_200C_202A_202D_200F_202D_202C_202E() + 1000;
|
||||
num = -1306248144;
|
||||
continue;
|
||||
case 26:
|
||||
num = ((!gatheringController.HasNodeDisappeared(base.Task.Node)) ? (-1306248183) : (-1306248187));
|
||||
continue;
|
||||
case 37:
|
||||
task = base.Task;
|
||||
num = (((object)task == null) ? (-1306248182) : (-1306248175));
|
||||
continue;
|
||||
case 40:
|
||||
return ETaskResult.StillRunning;
|
||||
case 23:
|
||||
num = ((!_actionQueue.TryPeek(out result)) ? (-1306248172) : (-1306248192));
|
||||
continue;
|
||||
case 27:
|
||||
num = ((!task.RevisitRequired) ? (-1306248161) : (-1306248168));
|
||||
continue;
|
||||
case 55:
|
||||
flag = true;
|
||||
num = -1306248185;
|
||||
continue;
|
||||
case 6:
|
||||
num = (_206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(condition, ConditionFlag.Gathering) ? (-1306248156) : (-1306248145));
|
||||
continue;
|
||||
case 15:
|
||||
num = ((!gatheringController.HasRequestedItems()) ? (-1306248138) : (-1306248153));
|
||||
continue;
|
||||
case 22:
|
||||
{
|
||||
bool? expectedScrutiny;
|
||||
bool scrutinyActive = nodeCondition.ScrutinyActive;
|
||||
flag = _expectedScrutiny;
|
||||
num = ((scrutinyActive == flag) ? (-1306248190) : (-1306248158));
|
||||
continue;
|
||||
}
|
||||
case 20:
|
||||
if (nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability) != 0)
|
||||
{
|
||||
num = -1306248142;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
case 29:
|
||||
switch (result)
|
||||
{
|
||||
case EAction.ScrutinyMiner:
|
||||
case EAction.ScrutinyBotanist:
|
||||
expectedScrutiny = true;
|
||||
break;
|
||||
default:
|
||||
goto IL_0540;
|
||||
case EAction.ScourMiner:
|
||||
case EAction.MeticulousMiner:
|
||||
case EAction.ScourBotanist:
|
||||
case EAction.MeticulousBotanist:
|
||||
expectedScrutiny = false;
|
||||
break;
|
||||
default:
|
||||
expectedScrutiny = null;
|
||||
break;
|
||||
}
|
||||
_expectedScrutiny = expectedScrutiny;
|
||||
logger.LogInformation("Used action {Action} on node", result);
|
||||
_actionQueue.Dequeue();
|
||||
}
|
||||
return ETaskResult.StillRunning;
|
||||
}
|
||||
if (nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability) != 0)
|
||||
{
|
||||
_actionQueue = GetNextActions(nodeCondition);
|
||||
if (_actionQueue != null)
|
||||
{
|
||||
foreach (EAction item in _actionQueue)
|
||||
{
|
||||
logger.LogInformation("Next Actions {Action}", item);
|
||||
goto IL_0627;
|
||||
case (EAction)22183:
|
||||
case (EAction)22187:
|
||||
goto IL_075a;
|
||||
}
|
||||
goto case 55;
|
||||
case 5:
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, 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>(670927983), Array.Empty<object>());
|
||||
return ETaskResult.TaskComplete;
|
||||
case 48:
|
||||
return ETaskResult.StillRunning;
|
||||
case 32:
|
||||
return ETaskResult.TaskComplete;
|
||||
case 8:
|
||||
gameObject = objectTable.FirstOrDefault(delegate(IGameObject x)
|
||||
{
|
||||
int num8 = ((_202E_200C_202C_202B_200F_202C_206B_202A_200B_200F_202C_200B_206E_202A_202B_202E_206B_206C_202C_202A_202C_202E_206E_200B_202C_202C_200F_202A_206C_206B_206B_202C_206E_206C_202B_206C_202C_200E_202C_202D_202E(x) != _202C_202A_202D_200E_206B_200D_206B_200B_206E_202C_200F_206C_206E_202D_202B_206A_206A_202A_200D_206B_206F_202D_200D_200C_206A_202E_206C_200C_200C_202D_202C_202E_202A_200F_206A_200D_206B_200D_200B_206A_202E(base.Task.Node)) ? 101007406 : 101007405);
|
||||
while (true)
|
||||
{
|
||||
int num9 = num8;
|
||||
int num10 = 101007407;
|
||||
int num11 = num9;
|
||||
int num12 = num11 + num10;
|
||||
int num13 = num11 & num10;
|
||||
switch (num12 - (num13 + num13))
|
||||
{
|
||||
case 0:
|
||||
goto IL_0058;
|
||||
case 1:
|
||||
return false;
|
||||
case 2:
|
||||
return _202A_206A_202A_200C_206B_202E_200E_206E_206E_200D_206C_202B_206B_206C_206D_202C_202B_200B_200C_200F_200B_202B_202D_206C_200B_200F_206F_202D_200B_200E_206E_202E_202B_200E_202C_202B_202C_206B_200D_202E_202E(x);
|
||||
}
|
||||
continue;
|
||||
IL_0058:
|
||||
num8 = 101007405;
|
||||
}
|
||||
});
|
||||
num = ((gameObject == null) ? (-1306248136) : (-1306248162));
|
||||
continue;
|
||||
case 19:
|
||||
num = (task.RevisitTriggered ? (-1306248139) : (-1306248182));
|
||||
continue;
|
||||
case 3:
|
||||
addonPtr->FireCallbackInt(1);
|
||||
num = -1306248152;
|
||||
continue;
|
||||
case 47:
|
||||
return ETaskResult.TaskComplete;
|
||||
case 24:
|
||||
num = ((!task.RevisitTriggered) ? (-1306248161) : (-1306248179));
|
||||
continue;
|
||||
case 31:
|
||||
num = (base.Task.RevisitTriggered ? (-1306248183) : (-1306248166));
|
||||
continue;
|
||||
case 21:
|
||||
goto IL_0627;
|
||||
case 1:
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_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>(866221755), new object[1] { _202C_202A_202D_200E_206B_200D_206B_200B_206E_202C_200F_206C_206E_202D_202B_206A_206A_202A_200D_206B_206F_202D_200D_200C_206A_202E_206C_200C_200C_202D_202C_202E_202A_200F_206A_200D_206B_200D_200B_206A_202E(base.Task.Node) });
|
||||
num = -1306248136;
|
||||
continue;
|
||||
case 52:
|
||||
{
|
||||
uint uInt = addonPtr->AtkValues[109].UInt;
|
||||
uint uInt2 = addonPtr->AtkValues[110].UInt;
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, 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>(-749226007), new object[2] { uInt, uInt2 });
|
||||
num = ((uInt == 0) ? (-1306248159) : (-1306248151));
|
||||
continue;
|
||||
}
|
||||
case 11:
|
||||
nodeCondition = GetNodeCondition();
|
||||
num = ((!(nodeCondition == null)) ? (-1306248178) : (-1306248155));
|
||||
continue;
|
||||
case 39:
|
||||
num = ((!gameGui.TryGetAddonByName<AtkUnitBase>(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>(396218849), out addonPtr)) ? (-1306248149) : (-1306248174));
|
||||
continue;
|
||||
case 25:
|
||||
goto IL_075a;
|
||||
case 46:
|
||||
num = -1306248167;
|
||||
continue;
|
||||
case 44:
|
||||
_wasGathering = true;
|
||||
num = -1306248177;
|
||||
continue;
|
||||
case 54:
|
||||
num = ((gameFunctions.GetFreeInventorySlots() != 0) ? (-1306248181) : (-1306248150));
|
||||
continue;
|
||||
case 2:
|
||||
_expectedScrutiny = null;
|
||||
return ETaskResult.StillRunning;
|
||||
case 38:
|
||||
num = ((_206E_200B_200B_200B_206A_202E_200E_206A_202D_206E_206F_206B_206B_200C_206B_202E_206B_206D_206A_206D_206C_200F_206A_206E_206F_202C_206F_206F_202B_200C_200E_200E_202C_206B_200C_202A_202D_200F_202D_202C_202E() < _nextRevisitInteractionAt) ? (-1306248144) : (-1306248184));
|
||||
continue;
|
||||
case 12:
|
||||
num = (base.Task.RevisitTriggered ? (-1306248143) : (-1306248141));
|
||||
continue;
|
||||
case 53:
|
||||
return ETaskResult.StillRunning;
|
||||
case 13:
|
||||
num = (_206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(condition, ConditionFlag.Gathering) ? (-1306248161) : (-1306248157));
|
||||
continue;
|
||||
case 10:
|
||||
return ETaskResult.TaskComplete;
|
||||
case 41:
|
||||
addonPtr->FireCallbackInt(-1);
|
||||
num = -1306248159;
|
||||
continue;
|
||||
case 43:
|
||||
num = ((!gameGui.TryGetAddonByName<AtkUnitBase>(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>(2134680438), out addonPtr)) ? (-1306248186) : (-1306248140));
|
||||
continue;
|
||||
case 34:
|
||||
return ETaskResult.StillRunning;
|
||||
case 16:
|
||||
{
|
||||
using (Queue<EAction>.Enumerator enumerator = _actionQueue.GetEnumerator())
|
||||
{
|
||||
num = -1901885352;
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
num3 = -1901885351;
|
||||
num4 = num7;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = -1901885352;
|
||||
break;
|
||||
case 1:
|
||||
num = (enumerator.MoveNext() ? (-1901885349) : (-1901885350));
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
EAction current = enumerator.Current;
|
||||
_206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E((ILogger)logger, 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>(1559757228), new object[1] { current });
|
||||
num = -1901885352;
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
goto end_IL_08a8;
|
||||
}
|
||||
continue;
|
||||
end_IL_08a8:
|
||||
break;
|
||||
}
|
||||
}
|
||||
return ETaskResult.StillRunning;
|
||||
}
|
||||
IL_075a:
|
||||
flag = null;
|
||||
num = -1306248185;
|
||||
continue;
|
||||
IL_0627:
|
||||
flag = false;
|
||||
num = -1306248185;
|
||||
continue;
|
||||
IL_0540:
|
||||
num = -1306248146;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
_actionQueue = new Queue<EAction>();
|
||||
_actionQueue.Enqueue(PickAction(EAction.CollectMiner, EAction.CollectBotanist));
|
||||
return ETaskResult.StillRunning;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private unsafe NodeCondition? GetNodeCondition()
|
||||
{
|
||||
if (gameGui.TryGetAddonByName<AtkUnitBase>("GatheringMasterpiece", out var addonPtr))
|
||||
AtkUnitBase* addonPtr;
|
||||
int num = ((!gameGui.TryGetAddonByName<AtkUnitBase>(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>(206776723), out addonPtr)) ? 460399678 : 460399677);
|
||||
while (true)
|
||||
{
|
||||
AtkValue* atkValues = addonPtr->AtkValues;
|
||||
return new NodeCondition(atkValues[13].UInt, atkValues[14].UInt, atkValues[62].UInt, atkValues[63].UInt, atkValues[54].Bool, atkValues[48].UInt, atkValues[51].UInt);
|
||||
int num2 = num;
|
||||
int num3 = 460399676;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 2:
|
||||
return null;
|
||||
case 1:
|
||||
{
|
||||
AtkValue* atkValues = addonPtr->AtkValues;
|
||||
return new NodeCondition(atkValues[13].UInt, atkValues[14].UInt, atkValues[62].UInt, atkValues[63].UInt, atkValues[54].Bool, atkValues[48].UInt, atkValues[51].UInt);
|
||||
}
|
||||
case 0:
|
||||
goto IL_00e2;
|
||||
}
|
||||
continue;
|
||||
IL_00e2:
|
||||
num = 460399677;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private Queue<EAction> GetNextActions(NodeCondition nodeCondition)
|
||||
{
|
||||
uint num = (objectTable[0] as ICharacter)?.CurrentGp ?? 0;
|
||||
logger.LogTrace("Getting next actions (with {GP} GP, {MeticulousCollectability}~ meticulous, {ScourCollectability}~ scour)", num, nodeCondition.CollectabilityFromMeticulous, nodeCondition.CollectabilityFromScour);
|
||||
IPlayerCharacter playerCharacter = _202C_202B_206D_200C_206C_202C_206A_202A_202C_206D_200C_206E_202E_206A_200D_200C_202C_200C_200B_206C_200E_202E_200E_202D_202E_206E_202D_200E_202D_202D_200F_206A_202A_206A_206B_202B_206B_202B_200B_206A_202E(objectTable);
|
||||
uint num = ((playerCharacter != null) ? _202C_200B_202B_202B_206A_202E_200F_200B_206E_200C_206B_200F_206D_200D_200D_206F_206A_202E_202B_206A_200F_202C_202A_200B_206F_200F_202C_206F_206F_202D_206C_200D_206C_206E_206D_200D_200F_202A_200D_202A_202E((ICharacter)playerCharacter) : 0u);
|
||||
_206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_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>(-600944510), new object[3] { num, nodeCondition.CollectabilityFromMeticulous, nodeCondition.CollectabilityFromScour });
|
||||
Queue<EAction> queue = new Queue<EAction>();
|
||||
uint num2 = nodeCondition.CollectabilityToGoal(base.Task.Request.Collectability);
|
||||
if (num2 <= nodeCondition.CollectabilityFromMeticulous)
|
||||
int num3 = ((num2 > nodeCondition.CollectabilityFromMeticulous) ? 1622338187 : 1622338185);
|
||||
while (true)
|
||||
{
|
||||
logger.LogTrace("Can get all needed {NeededCollectability} from {Collectability}~ meticulous", num2, nodeCondition.CollectabilityFromMeticulous);
|
||||
queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist));
|
||||
return queue;
|
||||
int num4 = num3;
|
||||
int num5 = 1622338188;
|
||||
int num6 = num4;
|
||||
int num7 = num6 + num5;
|
||||
int num8 = num6 & num5;
|
||||
switch (num7 - (num8 + num8))
|
||||
{
|
||||
case 1:
|
||||
_206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, 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>(-1982406925), new object[2] { num2, nodeCondition.CollectabilityFromMeticulous });
|
||||
queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist));
|
||||
return queue;
|
||||
case 7:
|
||||
num3 = ((num2 > nodeCondition.CollectabilityFromScour) ? 1622338191 : 1622338184);
|
||||
break;
|
||||
case 5:
|
||||
_206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_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>(1892669606), new object[2] { num2, nodeCondition.CollectabilityFromMeticulous });
|
||||
queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist));
|
||||
return queue;
|
||||
case 8:
|
||||
num3 = ((!nodeCondition.ScrutinyActive) ? 1622338181 : 1622338189);
|
||||
break;
|
||||
case 4:
|
||||
_206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E((ILogger)logger, 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>(2113421034), new object[2] { num2, nodeCondition.CollectabilityFromScour });
|
||||
queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist));
|
||||
return queue;
|
||||
case 3:
|
||||
num3 = (nodeCondition.ScrutinyActive ? 1622338180 : 1622338190);
|
||||
break;
|
||||
case 2:
|
||||
num3 = ((num < 200) ? 1622338180 : 1622338186);
|
||||
break;
|
||||
case 6:
|
||||
_206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_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>(-837817091), new object[1] { num2 });
|
||||
queue.Enqueue(PickAction(EAction.ScrutinyMiner, EAction.ScrutinyBotanist));
|
||||
return queue;
|
||||
case 9:
|
||||
_206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_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>(1121451143), new object[2] { num2, nodeCondition.CollectabilityFromScour });
|
||||
queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist));
|
||||
return queue;
|
||||
case 0:
|
||||
num3 = 1622338185;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (num2 <= nodeCondition.CollectabilityFromScour)
|
||||
{
|
||||
logger.LogTrace("Can get all needed {NeededCollectability} from {Collectability}~ scour", num2, nodeCondition.CollectabilityFromScour);
|
||||
queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist));
|
||||
return queue;
|
||||
}
|
||||
if (!nodeCondition.ScrutinyActive && num >= 200)
|
||||
{
|
||||
logger.LogTrace("Still missing {NeededCollectability} collectability, scrutiny inactive", num2);
|
||||
queue.Enqueue(PickAction(EAction.ScrutinyMiner, EAction.ScrutinyBotanist));
|
||||
return queue;
|
||||
}
|
||||
if (nodeCondition.ScrutinyActive)
|
||||
{
|
||||
logger.LogTrace("Scrutiny active, need {NeededCollectability} and we expect {Collectability}~ meticulous", num2, nodeCondition.CollectabilityFromMeticulous);
|
||||
queue.Enqueue(PickAction(EAction.MeticulousMiner, EAction.MeticulousBotanist));
|
||||
return queue;
|
||||
}
|
||||
logger.LogTrace("Scrutiny active, need {NeededCollectability} and we expect {Collectability}~ scour", num2, nodeCondition.CollectabilityFromScour);
|
||||
queue.Enqueue(PickAction(EAction.ScourMiner, EAction.ScourBotanist));
|
||||
return queue;
|
||||
}
|
||||
|
||||
private EAction PickAction(EAction minerAction, EAction botanistAction)
|
||||
{
|
||||
if ((objectTable[0] as ICharacter)?.ClassJob.RowId == 16)
|
||||
IPlayerCharacter playerCharacter = _202C_202B_206D_200C_206C_202C_206A_202A_202C_206D_200C_206E_202E_206A_200D_200C_202C_200C_200B_206C_200E_202E_200E_202D_202E_206E_202D_200E_202D_202D_200F_206A_202A_206A_206B_202B_206B_202B_200B_206A_202E(objectTable);
|
||||
uint? num = ((playerCharacter != null) ? new uint?(_202C_202B_200F_202A_206B_200E_206D_200D_206D_202C_202E_202C_200B_206D_200E_200D_200E_202A_202B_200D_206D_202B_200B_206C_200E_202E_200E_206B_206A_200B_200E_206B_200E_200E_200C_202B_200F_202C_202C_202A_202E((ICharacter)playerCharacter).RowId) : ((uint?)null));
|
||||
int num2 = (num.HasValue ? (-2144175217) : (-2144175223));
|
||||
while (true)
|
||||
{
|
||||
return minerAction;
|
||||
int num3 = num2;
|
||||
int num4 = -2144175221;
|
||||
int num5 = num3;
|
||||
EClassJob? obj;
|
||||
switch ((num5 | num4) - (num5 & num4))
|
||||
{
|
||||
case 4:
|
||||
obj = (EClassJob)num.GetValueOrDefault();
|
||||
goto IL_0097;
|
||||
case 1:
|
||||
return minerAction;
|
||||
case 0:
|
||||
num2 = -2144175223;
|
||||
break;
|
||||
case 3:
|
||||
return botanistAction;
|
||||
case 2:
|
||||
{
|
||||
obj = null;
|
||||
goto IL_0097;
|
||||
}
|
||||
IL_0097:
|
||||
num2 = ((obj != EClassJob.Miner) ? (-2144175224) : (-2144175222));
|
||||
break;
|
||||
}
|
||||
}
|
||||
return botanistAction;
|
||||
}
|
||||
|
||||
public override bool ShouldInterruptOnDamage()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static void _206B_200E_200D_206F_206B_206F_200C_200B_202D_206A_206E_206F_200F_206A_200B_202B_202D_200B_206E_200C_206D_206F_206E_202A_200E_206A_200F_206F_200B_200F_202B_200F_200B_202E_200B_200E_200C_200B_202C_200C_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogDebug(P_1, P_2);
|
||||
}
|
||||
|
||||
static bool _206E_206B_202D_202E_202B_200F_200B_206F_200C_206A_206D_206E_202A_202E_200B_200C_202A_200B_200E_202E_200B_206B_206F_200F_206D_202A_206E_206F_206C_202C_206D_206E_206E_206D_206D_200D_206C_202D_202E_202A_202E(ICondition P_0, ConditionFlag P_1)
|
||||
{
|
||||
return P_0[P_1];
|
||||
}
|
||||
|
||||
static long _206E_200B_200B_200B_206A_202E_200E_206A_202D_206E_206F_206B_206B_200C_206B_202E_206B_206D_206A_206D_206C_200F_206A_206E_206F_202C_206F_206F_202B_200C_200E_200E_202C_206B_200C_202A_202D_200F_202D_202C_202E()
|
||||
{
|
||||
return Environment.TickCount64;
|
||||
}
|
||||
|
||||
static uint _202C_202A_202D_200E_206B_200D_206B_200B_206E_202C_200F_206C_206E_202D_202B_206A_206A_202A_200D_206B_206F_202D_200D_200C_206A_202E_206C_200C_200C_202D_202C_202E_202A_200F_206A_200D_206B_200D_200B_206A_202E(GatheringNode P_0)
|
||||
{
|
||||
return P_0.DataId;
|
||||
}
|
||||
|
||||
static IPlayerCharacter _202C_202B_206D_200C_206C_202C_206A_202A_202C_206D_200C_206E_202E_206A_200D_200C_202C_200C_200B_206C_200E_202E_200E_202D_202E_206E_202D_200E_202D_202D_200F_206A_202A_206A_206B_202B_206B_202B_200B_206A_202E(IObjectTable P_0)
|
||||
{
|
||||
return P_0.LocalPlayer;
|
||||
}
|
||||
|
||||
static uint _202C_200B_202B_202B_206A_202E_200F_200B_206E_200C_206B_200F_206D_200D_200D_206F_206A_202E_202B_206A_200F_202C_202A_200B_206F_200F_202C_206F_206F_202D_206C_200D_206C_206E_206D_200D_200F_202A_200D_202A_202E(ICharacter P_0)
|
||||
{
|
||||
return P_0.CurrentGp;
|
||||
}
|
||||
|
||||
static void _206B_206B_202A_200F_202A_200F_206E_202A_206C_206F_200E_202B_206D_206F_202D_202A_200C_200C_200F_206D_206A_202B_202C_202D_206D_200B_206A_202A_200B_202C_202E_206F_206B_206A_206D_202E_200B_200B_200B_206F_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogTrace(P_1, P_2);
|
||||
}
|
||||
|
||||
static RowRef<ClassJob> _202C_202B_200F_202A_206B_200E_206D_200D_206D_202C_202E_202C_200B_206D_200E_200D_200E_202A_202B_200D_206D_202B_200B_206C_200E_202E_200E_206B_206A_200B_200E_206B_200E_200E_200C_202B_200F_202C_202C_202A_202E(ICharacter P_0)
|
||||
{
|
||||
return P_0.ClassJob;
|
||||
}
|
||||
|
||||
static uint _202E_200C_202C_202B_200F_202C_206B_202A_200B_200F_202C_200B_206E_202A_202B_202E_206B_206C_202C_202A_202C_202E_206E_200B_202C_202C_200F_202A_206C_206B_206B_202C_206E_206C_202B_206C_202C_200E_202C_202D_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.BaseId;
|
||||
}
|
||||
|
||||
static bool _202A_206A_202A_200C_206B_202E_200E_206E_206E_200D_206C_202B_206B_206C_206D_202C_202B_200B_200C_200F_200B_202B_202D_206C_200B_200F_206F_202D_200B_200E_206E_202E_202B_200E_202C_202B_202C_206B_200D_202E_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.IsTargetable;
|
||||
}
|
||||
}
|
||||
|
||||
private sealed record NodeCondition(uint CurrentCollectability, uint MaxCollectability, uint CurrentIntegrity, uint MaxIntegrity, bool ScrutinyActive, uint CollectabilityFromScour, uint CollectabilityFromMeticulous)
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _206A_206E_206D_206E_206E_202E_206C_206A_206D_202C_206D_206A_202D_202C_200F_202A_202A_202D_200F_206E_206C_206A_206E_200D_202C_200D_206B_206D_202C_206D_202B_200E_206E_200C_202E_200B_206F_202E_202D_200D_202E(typeof(NodeCondition).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
public uint CollectabilityToGoal(uint goal)
|
||||
{
|
||||
if (goal >= CurrentCollectability)
|
||||
int num = ((goal < CurrentCollectability) ? (-1343525975) : (-1343525974));
|
||||
while (true)
|
||||
{
|
||||
return goal - CurrentCollectability;
|
||||
int num2 = num;
|
||||
int num3 = -1343525973;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 2:
|
||||
return (CurrentCollectability == 0) ? 1u : 0u;
|
||||
case 1:
|
||||
return goal - CurrentCollectability;
|
||||
case 0:
|
||||
goto IL_005c;
|
||||
}
|
||||
continue;
|
||||
IL_005c:
|
||||
num = -1343525974;
|
||||
}
|
||||
return (CurrentCollectability == 0) ? 1u : 0u;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder stringBuilder = _206E_202C_200C_206D_200D_202C_202E_206A_206D_206F_202A_202C_206D_202A_200C_206F_206C_202A_206D_202B_202A_202B_200B_206D_202D_202C_206B_206C_200B_206C_202A_200C_202E_202D_206E_206D_202E_206E_200B_206F_202E();
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(stringBuilder, 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>(1102678348));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(stringBuilder, 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>(698284764));
|
||||
int num = ((!PrintMembers(stringBuilder)) ? 376930465 : 376930466);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 376930464;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 1:
|
||||
_202C_206D_206A_202D_206B_202E_202C_206C_200D_200D_202B_206D_200C_202D_202C_202D_202C_200E_202D_202E_206A_200D_206A_202E_200D_200C_200C_206A_200C_206A_202E_200F_206A_202B_206D_202C_206D_202D_200C_206C_202E(stringBuilder, '}');
|
||||
return _200B_202B_202A_200E_200E_200D_200E_200E_202A_200B_202E_202A_206B_202A_200D_206C_206C_206F_202D_202A_200C_202D_200D_206F_206A_202D_200E_206F_206E_200B_202A_200C_206A_206F_206A_206B_202A_202D_202C_202E_202E((object)stringBuilder);
|
||||
case 2:
|
||||
_202C_206D_206A_202D_206B_202E_202C_206C_200D_200D_202B_206D_200C_202D_202C_202D_202C_200E_202D_202E_206A_200D_206A_202E_200D_200C_200C_206A_200C_206A_202E_200F_206A_202B_206D_202C_206D_202D_200C_206C_202E(stringBuilder, ' ');
|
||||
num = 376930465;
|
||||
break;
|
||||
case 0:
|
||||
num = 376930466;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_202D_200D_206D_200E_202C_200F_202D_206A_202A_206A_202E_206D_206C_200C_202B_200B_200B_206F_206E_200F_202D_200D_206E_206D_202D_206A_206B_206A_202D_206D_202E_206B_202A_202D_202C_200F_206D_200C_206F_200D_202E();
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_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>(-608021837));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CurrentCollectability.ToString());
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, 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>(2066958103));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, MaxCollectability.ToString());
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_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>(-706377363));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CurrentIntegrity.ToString());
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, 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>(-634525791));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, MaxIntegrity.ToString());
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, 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>(742968729));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, ScrutinyActive.ToString());
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_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>(506728788));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CollectabilityFromScour.ToString());
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, 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>(-1577334643));
|
||||
_202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(builder, CollectabilityFromMeticulous.ToString());
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(NodeCondition? other)
|
||||
{
|
||||
int num = (((object)this == other) ? (-1448578084) : (-1448578095));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1448578086;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 1:
|
||||
num = ((!EqualityComparer<uint>.Default.Equals(MaxIntegrity, other.MaxIntegrity)) ? (-1448578093) : (-1448578083));
|
||||
break;
|
||||
case 11:
|
||||
num = (((object)other == null) ? (-1448578093) : (-1448578088));
|
||||
break;
|
||||
case 9:
|
||||
return false;
|
||||
case 4:
|
||||
return EqualityComparer<uint>.Default.Equals(CollectabilityFromMeticulous, other.CollectabilityFromMeticulous);
|
||||
case 0:
|
||||
num = ((!EqualityComparer<uint>.Default.Equals(CollectabilityFromScour, other.CollectabilityFromScour)) ? (-1448578093) : (-1448578082));
|
||||
break;
|
||||
case 3:
|
||||
num = ((!EqualityComparer<uint>.Default.Equals(CurrentIntegrity, other.CurrentIntegrity)) ? (-1448578093) : (-1448578085));
|
||||
break;
|
||||
case 8:
|
||||
num = ((!EqualityComparer<uint>.Default.Equals(MaxCollectability, other.MaxCollectability)) ? (-1448578093) : (-1448578087));
|
||||
break;
|
||||
case 5:
|
||||
num = -1448578095;
|
||||
break;
|
||||
case 6:
|
||||
return true;
|
||||
case 10:
|
||||
num = ((!EqualityComparer<uint>.Default.Equals(CurrentCollectability, other.CurrentCollectability)) ? (-1448578093) : (-1448578094));
|
||||
break;
|
||||
case 2:
|
||||
num = ((!_202D_206C_206A_206B_200B_200C_206F_200D_206B_206D_200B_206C_202A_206A_202E_206B_202E_206D_200E_206D_202A_200D_202A_200B_206F_202C_200C_206E_206F_206B_206A_200E_206B_200E_206D_206F_200B_202C_200D_200D_202E(EqualityContract, other.EqualityContract)) ? (-1448578093) : (-1448578096));
|
||||
break;
|
||||
case 7:
|
||||
num = ((!EqualityComparer<bool>.Default.Equals(ScrutinyActive, other.ScrutinyActive)) ? (-1448578093) : (-1448578086));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<NodeCondition>.Equals(NodeCondition? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type _206A_206E_206D_206E_206E_202E_206C_206A_206D_202C_206D_206A_202D_202C_200F_202A_202A_202D_200F_206E_206C_206A_206E_200D_202C_200D_206B_206D_202C_206D_202B_200E_206E_200C_202E_200B_206F_202E_202D_200D_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static StringBuilder _206E_202C_200C_206D_200D_202C_202E_206A_206D_206F_202A_202C_206D_202A_200C_206F_206C_202A_206D_202B_202A_202B_200B_206D_202D_202C_206B_206C_200B_206C_202A_200C_202E_202D_206E_206D_202E_206E_200B_206F_202E()
|
||||
{
|
||||
return new StringBuilder();
|
||||
}
|
||||
|
||||
static StringBuilder _202C_200C_202D_200F_200B_200F_206B_202B_202B_202C_200E_200E_202C_200D_206F_206D_200C_200D_200F_200D_206C_206D_200E_200E_200E_200F_202A_206C_202E_200B_200B_200B_202C_202B_202C_206E_200F_200F_202C_200F_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static StringBuilder _202C_206D_206A_202D_206B_202E_202C_206C_200D_200D_202B_206D_200C_202D_202C_202D_202C_200E_202D_202E_206A_200D_206A_202E_200D_200C_200C_206A_200C_206A_202E_200F_206A_202B_206D_202C_206D_202D_200C_206C_202E(StringBuilder P_0, char P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static string _200B_202B_202A_200E_200E_200D_200E_200E_202A_200B_202E_202A_206B_202A_200D_206C_206C_206F_202D_202A_200C_202D_200D_206F_206A_202D_200E_206F_206E_200B_202A_200C_206A_206F_206A_206B_202A_202D_202C_202E_202E(object P_0)
|
||||
{
|
||||
return P_0.ToString();
|
||||
}
|
||||
|
||||
static void _202D_200D_206D_200E_202C_200F_202D_206A_202A_206A_202E_206D_206C_200C_202B_200B_200B_206F_206E_200F_202D_200D_206E_206D_202D_206A_206B_206A_202D_206D_202E_206B_202A_202D_202C_200F_206D_200C_206F_200D_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static bool _202D_206C_206A_206B_200B_200C_206F_200D_206B_206D_200B_206C_202A_206A_202E_206B_202E_206D_200E_206D_202A_200D_202A_200B_206F_202C_200C_206E_206F_206B_206A_200E_206B_200E_206D_206F_200B_202C_200D_200D_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using Dalamud.Game.ClientState.Objects.Enums;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
|
|
@ -18,38 +22,224 @@ internal static class MoveToLandingLocation
|
|||
{
|
||||
internal sealed record Task(ushort TerritoryId, bool FlyBetweenNodes, GatheringNode GatheringNode) : ITask
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _206D_206E_202C_202B_206A_200C_200C_200B_200B_206B_206F_206D_206C_202B_206D_200C_202B_206D_200C_206D_206E_202A_206B_200C_202A_206D_202E_202C_200F_206C_202E_202C_200E_202B_202D_202D_202B_206F_202B_200C_202E(typeof(Task).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Land/{FlyBetweenNodes}";
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(5, 1);
|
||||
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>(-1985466382));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(FlyBetweenNodes);
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_206B_206E_202E_202A_206D_200D_202D_200C_202C_202C_206D_206C_202A_206E_206B_202A_202A_206A_202E_206F_202A_200E_202E_202A_202D_206E_202E_202D_206A_202B_200B_206C_202B_200B_206B_206D_200F_206E_206F_206A_202E();
|
||||
_206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, 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>(-1030915870));
|
||||
_206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, TerritoryId.ToString());
|
||||
_206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_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>(1326412835));
|
||||
_206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, FlyBetweenNodes.ToString());
|
||||
_206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(builder, 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>(-41827092));
|
||||
_202C_200F_206A_206A_202C_200C_206F_206E_202E_202C_200C_206C_202B_202A_206B_206E_200D_206D_202A_200E_202E_200E_200C_202D_202C_202A_200F_206D_202A_202E_206C_202C_206F_202A_206F_200B_202B_202A_202A_206A_202E(builder, (object)GatheringNode);
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(Task? other)
|
||||
{
|
||||
int num = (((object)this == other) ? (-1523296508) : (-1523296507));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1523296508;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 7:
|
||||
num = -1523296507;
|
||||
break;
|
||||
case 6:
|
||||
num = ((!EqualityComparer<ushort>.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1523296505) : (-1523296512));
|
||||
break;
|
||||
case 3:
|
||||
return false;
|
||||
case 1:
|
||||
num = (((object)other == null) ? (-1523296505) : (-1523296506));
|
||||
break;
|
||||
case 4:
|
||||
num = ((!EqualityComparer<bool>.Default.Equals(FlyBetweenNodes, other.FlyBetweenNodes)) ? (-1523296505) : (-1523296511));
|
||||
break;
|
||||
case 0:
|
||||
return true;
|
||||
case 5:
|
||||
return EqualityComparer<Questionable.Model.Gathering.GatheringNode>.Default.Equals(GatheringNode, other.GatheringNode);
|
||||
case 2:
|
||||
num = ((!_200C_206D_202D_200F_206A_202B_206C_202A_206D_206E_202C_200F_202D_200D_206A_200D_202A_202E_206F_202B_206A_202A_206E_202A_206C_202C_202A_202B_206A_200E_206D_206D_202E_206E_202C_200C_200E_206D_202A_202C_202E(EqualityContract, other.EqualityContract)) ? (-1523296505) : (-1523296510));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<Task>.Equals(Task? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type _206D_206E_202C_202B_206A_200C_200C_200B_200B_206B_206F_206D_206C_202B_206D_200C_202B_206D_200C_206D_206E_202A_206B_200C_202A_206D_202E_202C_200F_206C_202E_202C_200E_202B_202D_202D_202B_206F_202B_200C_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static void _206B_206E_202E_202A_206D_200D_202D_200C_202C_202C_206D_206C_202A_206E_206B_202A_202A_206A_202E_206F_202A_200E_202E_202A_202D_206E_202E_202D_206A_202B_200B_206C_202B_200B_206B_206D_200F_206E_206F_206A_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static StringBuilder _206A_206F_206A_200E_206A_206E_202D_206A_202A_200B_206B_202B_200C_206A_206C_202B_200F_206B_202E_202D_202B_206C_202A_200B_202A_206D_202D_206F_200E_200F_206F_202E_202C_202D_206E_200C_202C_202A_202D_202D_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static StringBuilder _202C_200F_206A_206A_202C_200C_206F_206E_202E_202C_200C_206C_202B_202A_206B_206E_200D_206D_202A_200E_202E_200E_200C_202D_202C_202A_200F_206D_202A_202E_206C_202C_206F_202A_206F_200B_202B_202A_202A_206A_202E(StringBuilder P_0, object P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static bool _200C_206D_202D_200F_206A_202B_206C_202A_206D_206E_202C_200F_202D_200D_206A_200D_202A_202E_206F_202B_206A_202A_206E_202A_206C_202C_202A_202B_206A_200E_206D_206D_202E_206E_202C_200C_200E_206D_202A_202C_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class MoveToLandingLocationExecutor(MoveExecutor moveExecutor, GameFunctions gameFunctions, IObjectTable objectTable, ILogger<MoveToLandingLocationExecutor> logger) : TaskExecutor<Task>(), IToastAware, ITaskExecutor
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private sealed class _003C_003Ec__DisplayClass6_0
|
||||
{
|
||||
public IGameObject gameObject;
|
||||
|
||||
internal bool _003CStart_003Eb__1(GatheringLocation x)
|
||||
{
|
||||
return Vector3.Distance(_206C_200F_206C_200E_202B_200C_202C_200E_206E_202D_202B_206C_202D_202B_202D_206E_200F_202E_206B_206E_200C_200D_202E_206E_200E_200C_202A_206C_206F_206B_206B_202D_200C_202D_200B_206F_200C_202A_206E_200F_202E(x), _206F_206F_200C_206F_206B_202A_200F_200D_206C_202D_206B_206B_202D_202C_200B_206F_206D_206D_206D_200C_200F_206F_206A_200D_202D_206D_206C_206D_202C_202D_202B_200D_200D_200E_200B_206E_202C_206E_202C_200D_202E(gameObject)) < 0.1f;
|
||||
}
|
||||
|
||||
static Vector3 _206C_200F_206C_200E_202B_200C_202C_200E_206E_202D_202B_206C_202D_202B_202D_206E_200F_202E_206B_206E_200C_200D_202E_206E_200E_200C_202A_206C_206F_206B_206B_202D_200C_202D_200B_206F_200C_202A_206E_200F_202E(GatheringLocation P_0)
|
||||
{
|
||||
return P_0.Position;
|
||||
}
|
||||
|
||||
static Vector3 _206F_206F_200C_206F_206B_202A_200F_200D_206C_202D_206B_206B_202D_202C_200B_206F_206D_206D_206D_200C_200F_206F_206A_200D_202D_206D_206C_206D_202C_202D_202B_200D_200D_200E_200B_206E_202C_206E_202C_200D_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.Position;
|
||||
}
|
||||
}
|
||||
|
||||
private ITask _moveTask;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected override bool Start()
|
||||
{
|
||||
GatheringLocation location = base.Task.GatheringNode.Locations.First();
|
||||
if (base.Task.GatheringNode.Locations.Count > 1)
|
||||
GatheringLocation gatheringLocation = _202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(base.Task.GatheringNode).First();
|
||||
int num = ((_202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(base.Task.GatheringNode).Count <= 1) ? (-148025039) : (-148025036));
|
||||
_003C_003Ec__DisplayClass6_0 _003C_003Ec__DisplayClass6_ = default(_003C_003Ec__DisplayClass6_0);
|
||||
Vector3 vector = default(Vector3);
|
||||
while (true)
|
||||
{
|
||||
IGameObject gameObject = objectTable.SingleOrDefault((IGameObject x) => x.ObjectKind == ObjectKind.GatheringPoint && x.BaseId == base.Task.GatheringNode.DataId && x.IsTargetable);
|
||||
if (gameObject == null)
|
||||
int num2 = num;
|
||||
int num3 = -148025039;
|
||||
int num4 = num2;
|
||||
int num5;
|
||||
bool flag;
|
||||
ushort territoryId;
|
||||
Vector3 destination;
|
||||
float? stopDistance;
|
||||
uint? dataId;
|
||||
bool fly;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 3:
|
||||
num5 = 0;
|
||||
goto IL_0086;
|
||||
case 4:
|
||||
return false;
|
||||
case 5:
|
||||
_003C_003Ec__DisplayClass6_ = new _003C_003Ec__DisplayClass6_0();
|
||||
_003C_003Ec__DisplayClass6_.gameObject = objectTable.SingleOrDefault(delegate(IGameObject x)
|
||||
{
|
||||
int num8 = ((_202D_202A_206A_206A_206A_202C_200E_206E_200D_202C_206A_206A_200E_206E_200E_200D_200C_202E_200E_200D_202B_206E_202A_200E_200C_202D_202A_200F_206A_206A_206D_200F_200C_202B_202D_206E_206D_206F_206B_202A_202E(x) != ObjectKind.GatheringPoint) ? 412306684 : 412306686);
|
||||
while (true)
|
||||
{
|
||||
int num9 = num8;
|
||||
int num10 = 412306687;
|
||||
int num11 = num9;
|
||||
int num12 = num11 + num10;
|
||||
int num13 = num11 & num10;
|
||||
switch (num12 - (num13 + num13))
|
||||
{
|
||||
case 0:
|
||||
num8 = 412306686;
|
||||
break;
|
||||
case 2:
|
||||
return _206E_202D_206F_200D_206C_206F_206E_206F_200E_200B_206F_200D_206D_202B_206A_200F_206E_202A_202E_202E_206B_202C_200B_202D_202A_202A_200F_202D_206F_200B_202D_200C_202B_202E_200D_206E_200D_206A_206F_206D_202E(x);
|
||||
case 3:
|
||||
return false;
|
||||
case 1:
|
||||
num8 = ((_202D_202A_206D_202C_206F_206C_202A_206D_202B_202A_206F_206D_206C_202B_202E_200B_202A_206D_200F_200B_200F_202A_202E_200E_202A_200B_202A_200E_206F_202C_200D_206B_206D_202D_206C_206A_206A_206B_202D_202B_202E(x) != _202A_202B_206B_202E_200F_206B_202C_206D_206F_202C_202A_200F_202E_202E_206F_200D_206D_206E_206D_202D_200F_200E_202B_206B_206E_206E_206B_202C_200B_200D_206B_200D_206A_200E_206C_202D_200D_206D_200F_200C_202E(base.Task.GatheringNode)) ? 412306684 : 412306685);
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
num = ((_003C_003Ec__DisplayClass6_.gameObject != null) ? (-148025037) : (-148025035));
|
||||
break;
|
||||
case 0:
|
||||
{
|
||||
int num6;
|
||||
float num7;
|
||||
(vector, num6, num7) = _206D_202A_202C_202B_200E_200B_206F_202C_202B_200F_200D_202C_200D_202E_206C_202C_202B_206C_206A_206A_202D_206B_200D_206C_200B_206C_206E_200E_200F_200C_200C_202A_202E_206B_200F_206E_200F_206B_206E_202D_202E(gatheringLocation);
|
||||
_202C_200B_200F_206D_200B_202B_202B_206C_200F_206D_202C_200B_202C_206A_206D_202E_200F_200E_202E_206C_206B_202C_206F_206D_206D_202B_200D_202D_200C_206F_202C_200F_202A_200F_200D_200F_202E_200E_206A_206B_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>(-1690558388), new object[3]
|
||||
{
|
||||
vector.ToString(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>(-1318690943), _200D_202B_202B_206A_206B_206D_206A_202B_200B_206E_206E_200E_202B_200C_206C_206E_200C_206C_202E_202A_200C_200B_206C_206A_206C_206F_206B_200E_202A_202B_202A_206B_200D_202A_202A_206D_202A_202B_206C_202A_202E()),
|
||||
num6,
|
||||
num7
|
||||
});
|
||||
num = ((!base.Task.FlyBetweenNodes) ? (-148025038) : (-148025040));
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
num = -148025036;
|
||||
break;
|
||||
case 1:
|
||||
num5 = (gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId) ? 1 : 0);
|
||||
goto IL_0086;
|
||||
case 2:
|
||||
{
|
||||
gatheringLocation = _202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(base.Task.GatheringNode).Single(_003C_003Ec__DisplayClass6_._003CStart_003Eb__1);
|
||||
num = -148025039;
|
||||
break;
|
||||
}
|
||||
IL_0086:
|
||||
flag = (byte)num5 != 0;
|
||||
territoryId = base.Task.TerritoryId;
|
||||
destination = vector;
|
||||
stopDistance = 0.25f;
|
||||
dataId = _202A_202B_206B_202E_200F_206B_202C_206D_206F_202C_202A_200F_202E_202E_206F_200D_206D_206E_206D_202D_200F_200E_202B_206B_206E_206E_206B_202C_200B_200D_206B_200D_206A_200E_206C_202D_200D_206D_200F_200C_202E(base.Task.GatheringNode);
|
||||
fly = flag;
|
||||
_moveTask = new MoveTask(territoryId, destination, null, MountRequired: false, DismountRequired: false, stopDistance, dataId, DisableNavmesh: false, null, fly, Land: false, IgnoreDistanceToObject: true, RestartNavigation: true, EInteractionType.Gather);
|
||||
return moveExecutor.Start(_moveTask);
|
||||
}
|
||||
location = base.Task.GatheringNode.Locations.Single((GatheringLocation x) => Vector3.Distance(x.Position, gameObject.Position) < 0.1f);
|
||||
}
|
||||
var (vector, num, num2) = GatheringMath.CalculateLandingLocation(location);
|
||||
logger.LogInformation("Preliminary landing location: {Location}, with degrees = {Degrees}, range = {Range}", vector.ToString("G", CultureInfo.InvariantCulture), num, num2);
|
||||
bool flag = base.Task.FlyBetweenNodes && gameFunctions.IsFlyingUnlocked(base.Task.TerritoryId);
|
||||
ushort territoryId = base.Task.TerritoryId;
|
||||
Vector3 destination = vector;
|
||||
float? stopDistance = 0.25f;
|
||||
uint? dataId = base.Task.GatheringNode.DataId;
|
||||
bool fly = flag;
|
||||
_moveTask = new MoveTask(territoryId, destination, null, stopDistance, dataId, DisableNavmesh: false, null, fly, Land: false, IgnoreDistanceToObject: true, RestartNavigation: true, EInteractionType.Gather);
|
||||
return moveExecutor.Start(_moveTask);
|
||||
}
|
||||
|
||||
public override ETaskResult Update()
|
||||
|
|
@ -62,9 +252,55 @@ internal static class MoveToLandingLocation
|
|||
return moveExecutor.OnErrorToast(message);
|
||||
}
|
||||
|
||||
bool IToastAware.OnErrorToast(SeString message)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in OnErrorToast
|
||||
return this.OnErrorToast(message);
|
||||
}
|
||||
|
||||
public override bool ShouldInterruptOnDamage()
|
||||
{
|
||||
return moveExecutor.ShouldInterruptOnDamage();
|
||||
}
|
||||
|
||||
static List<GatheringLocation> _202B_202D_206F_206B_202D_200B_200E_200F_200D_200F_202D_206E_200E_202C_200C_206C_206C_200F_202B_202C_200B_200E_202C_206F_206D_206A_200F_200D_206D_202D_200E_200B_206F_202D_206C_206C_206C_200D_206B_206C_202E(GatheringNode P_0)
|
||||
{
|
||||
return P_0.Locations;
|
||||
}
|
||||
|
||||
static (Vector3, int, float) _206D_202A_202C_202B_200E_200B_206F_202C_202B_200F_200D_202C_200D_202E_206C_202C_202B_206C_206A_206A_202D_206B_200D_206C_200B_206C_206E_200E_200F_200C_200C_202A_202E_206B_200F_206E_200F_206B_206E_202D_202E(GatheringLocation P_0)
|
||||
{
|
||||
return GatheringMath.CalculateLandingLocation(P_0);
|
||||
}
|
||||
|
||||
static CultureInfo _200D_202B_202B_206A_206B_206D_206A_202B_200B_206E_206E_200E_202B_200C_206C_206E_200C_206C_202E_202A_200C_200B_206C_206A_206C_206F_206B_200E_202A_202B_202A_206B_200D_202A_202A_206D_202A_202B_206C_202A_202E()
|
||||
{
|
||||
return CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
static void _202C_200B_200F_206D_200B_202B_202B_206C_200F_206D_202C_200B_202C_206A_206D_202E_200F_200E_202E_206C_206B_202C_206F_206D_206D_202B_200D_202D_200C_206F_202C_200F_202A_200F_200D_200F_202E_200E_206A_206B_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogDebug(P_1, P_2);
|
||||
}
|
||||
|
||||
static uint _202A_202B_206B_202E_200F_206B_202C_206D_206F_202C_202A_200F_202E_202E_206F_200D_206D_206E_206D_202D_200F_200E_202B_206B_206E_206E_206B_202C_200B_200D_206B_200D_206A_200E_206C_202D_200D_206D_200F_200C_202E(GatheringNode P_0)
|
||||
{
|
||||
return P_0.DataId;
|
||||
}
|
||||
|
||||
static ObjectKind _202D_202A_206A_206A_206A_202C_200E_206E_200D_202C_206A_206A_200E_206E_200E_200D_200C_202E_200E_200D_202B_206E_202A_200E_200C_202D_202A_200F_206A_206A_206D_200F_200C_202B_202D_206E_206D_206F_206B_202A_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.ObjectKind;
|
||||
}
|
||||
|
||||
static uint _202D_202A_206D_202C_206F_206C_202A_206D_202B_202A_206F_206D_206C_202B_202E_200B_202A_206D_200F_200B_200F_202A_202E_200E_202A_200B_202A_200E_206F_202C_200D_206B_206D_202D_206C_206A_206A_206B_202D_202B_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.BaseId;
|
||||
}
|
||||
|
||||
static bool _206E_202D_206F_200D_206C_206F_206E_206F_200E_200B_206F_200D_206D_202B_206A_200F_206E_202A_202E_202E_206B_202C_200B_202D_202A_202A_200F_202D_206F_200B_202D_200C_202B_202E_200D_206E_200D_206A_206F_206D_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.IsTargetable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue