forked from aly/qstbak
1239 lines
62 KiB
C#
1239 lines
62 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Numerics;
|
|
using System.Runtime.CompilerServices;
|
|
using Dalamud.Plugin.Services;
|
|
using Questionable.Controller.Steps;
|
|
using Questionable.Controller.Steps.Common;
|
|
using Questionable.Controller.Steps.Movement;
|
|
using Questionable.Controller.Steps.Shared;
|
|
using Questionable.Data;
|
|
using Questionable.Model.Questing;
|
|
using SmartNav;
|
|
using SmartNav.Model;
|
|
|
|
namespace Questionable.Navigation;
|
|
|
|
internal sealed class SmartNavTaskMapper(IClientState clientState, TerritoryData territoryData)
|
|
{
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec__DisplayClass5_0
|
|
{
|
|
public SmartNavTaskMapper _003C_003E4__this;
|
|
|
|
public NavInstruction.Teleport _003Cteleport_003E5__2;
|
|
|
|
public NavInstruction.WaitForTerritory _003Cwait_003E5__3;
|
|
|
|
internal bool _003CMap_003Eb__0()
|
|
{
|
|
return _202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E4__this.clientState) == _206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(_003Cteleport_003E5__2);
|
|
}
|
|
|
|
internal bool _003CMap_003Eb__1()
|
|
{
|
|
return _206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(_003Cwait_003E5__3).Contains(_202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E4__this.clientState));
|
|
}
|
|
|
|
static uint _202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(IClientState P_0)
|
|
{
|
|
return P_0.TerritoryType;
|
|
}
|
|
|
|
static ushort _206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(NavInstruction.Teleport P_0)
|
|
{
|
|
return P_0.ExpectedTerritory;
|
|
}
|
|
|
|
static IReadOnlyList<uint> _206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(NavInstruction.WaitForTerritory P_0)
|
|
{
|
|
return P_0.Acceptable;
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003CMap_003Ed__5 : IEnumerable<ITask>, IEnumerable, IEnumerator<ITask>, IEnumerator, IDisposable
|
|
{
|
|
private int _003C_003E1__state;
|
|
|
|
private ITask _003C_003E2__current;
|
|
|
|
private int _003C_003El__initialThreadId;
|
|
|
|
public SmartNavTaskMapper _003C_003E4__this;
|
|
|
|
private NavInstruction instruction;
|
|
|
|
public NavInstruction _003C_003E3__instruction;
|
|
|
|
private _003C_003Ec__DisplayClass5_0 _003C_003E8__1;
|
|
|
|
private NavInstruction nextTravel;
|
|
|
|
public NavInstruction _003C_003E3__nextTravel;
|
|
|
|
private QuestStep step;
|
|
|
|
public QuestStep _003C_003E3__step;
|
|
|
|
ITask IEnumerator<ITask>.Current
|
|
{
|
|
[DebuggerHidden]
|
|
get
|
|
{
|
|
return _003C_003E2__current;
|
|
}
|
|
}
|
|
|
|
object IEnumerator.Current
|
|
{
|
|
[DebuggerHidden]
|
|
get
|
|
{
|
|
return _003C_003E2__current;
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public _003CMap_003Ed__5(int _003C_003E1__state)
|
|
{
|
|
this._003C_003E1__state = _003C_003E1__state;
|
|
_003C_003El__initialThreadId = _202C_202D_206D_206C_200C_206D_200F_200B_206B_202C_206E_202B_200E_200F_200C_202C_206F_206B_206E_200D_202C_200B_202B_202E_202C_202B_206C_200C_206A_202D_206F_200E_200F_206B_200F_206A_200F_200B_202A_206B_202E();
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
void IDisposable.Dispose()
|
|
{
|
|
_003C_003E8__1 = null;
|
|
_003C_003E1__state = -2;
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private bool MoveNext()
|
|
{
|
|
int num = _003C_003E1__state;
|
|
SmartNavTaskMapper smartNavTaskMapper = _003C_003E4__this;
|
|
int num2;
|
|
NavInstruction.AethernetHop aethernetHop = default(NavInstruction.AethernetHop);
|
|
NavInstruction.Move move = default(NavInstruction.Move);
|
|
NavInstruction.InteractWarp interactWarp = default(NavInstruction.InteractWarp);
|
|
NavInstruction.SubRegionTransport subRegionTransport = default(NavInstruction.SubRegionTransport);
|
|
NavInstruction.UseTeleportTicket useTeleportTicket = default(NavInstruction.UseTeleportTicket);
|
|
NavInstruction navInstruction = default(NavInstruction);
|
|
bool? flag = default(bool?);
|
|
bool? flag2 = default(bool?);
|
|
switch (num)
|
|
{
|
|
default:
|
|
num2 = 866335748;
|
|
goto IL_005c;
|
|
case 1:
|
|
_003C_003E1__state = -1;
|
|
num2 = ((!AetheryteTeleport.MoveAwayFromAetheryteExecutor.AppliesTo(_206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2))) ? 866335780 : 866335766);
|
|
goto IL_005c;
|
|
case 9:
|
|
goto IL_02c7;
|
|
case 4:
|
|
goto IL_0392;
|
|
case 0:
|
|
goto IL_03a5;
|
|
case 13:
|
|
goto IL_049f;
|
|
case 8:
|
|
goto IL_054f;
|
|
case 11:
|
|
goto IL_0562;
|
|
case 12:
|
|
goto IL_0575;
|
|
case 14:
|
|
goto IL_058a;
|
|
case 10:
|
|
goto IL_06b6;
|
|
case 3:
|
|
goto IL_07cf;
|
|
case 7:
|
|
goto IL_07e2;
|
|
case 5:
|
|
goto IL_081d;
|
|
case 6:
|
|
goto IL_0847;
|
|
case 2:
|
|
break;
|
|
IL_005c:
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = 866335753;
|
|
int num5 = num3;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 40:
|
|
_003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(_003C_003E8__1._003Cwait_003E5__3).Contains(_003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E8__1._003C_003E4__this.clientState)), _206D_202A_206A_206C_202E_202D_206F_200B_200E_202B_206B_202C_200C_206B_200B_202D_206B_206A_206D_206A_200D_206A_202E_202C_202A_206B_202D_206E_200D_200E_206C_202B_206A_200F_206E_206A_206B_206D_206D_200C_202E(_003C_003E8__1._003Cwait_003E5__3));
|
|
_003C_003E1__state = 10;
|
|
return true;
|
|
case 19:
|
|
goto IL_0176;
|
|
case 33:
|
|
_003C_003E2__current = new AethernetRide.Task(_202D_200C_200C_202A_206A_206F_200D_202A_206D_202B_200B_202C_200F_200E_202C_206D_200D_202D_206F_202A_202B_202E_202A_206C_206D_202D_206D_202D_202C_202D_200D_200C_202E_202D_202B_202A_206D_206D_206E_202B_202E(aethernetHop), _200F_200D_200D_200B_206A_200F_206F_202B_206A_206A_206F_200B_200E_206B_202A_200F_206E_200E_200F_202D_200B_206F_200C_206D_202B_206E_200C_200E_202B_200F_200B_200B_206E_202E_200C_206B_206E_202C_200F_200C_202E(aethernetHop));
|
|
_003C_003E1__state = 4;
|
|
return true;
|
|
case 43:
|
|
_003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003Ec__DisplayClass5_0._206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(_003C_003E8__1._003Cteleport_003E5__2), _206B_200E_200C_206D_202D_206F_200D_206D_206C_202D_200D_200B_202C_206D_206A_206E_206E_200E_206F_206E_206A_202B_202C_200E_200C_202E_206A_206C_200B_206A_202A_202B_202A_200F_202B_200E_200E_206F_202B_202E(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>(-344536108), smartNavTaskMapper.territoryData.GetNameAndId(_206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(_003C_003E8__1._003Cteleport_003E5__2)), 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)));
|
|
_003C_003E1__state = 2;
|
|
return true;
|
|
case 25:
|
|
goto end_IL_005c;
|
|
case 3:
|
|
goto IL_0259;
|
|
case 32:
|
|
_003C_003E2__current = new WaitNavmesh.Task();
|
|
_003C_003E1__state = 11;
|
|
return true;
|
|
case 14:
|
|
goto IL_0296;
|
|
case 30:
|
|
goto IL_02c7;
|
|
case 44:
|
|
num2 = 866335748;
|
|
break;
|
|
case 18:
|
|
goto IL_02e6;
|
|
case 7:
|
|
{
|
|
NavInstruction.Move move2 = move;
|
|
ushort territoryId = _202C_202B_202D_202A_202D_200C_206E_200D_202E_200F_206C_202D_202A_202C_200B_202C_206D_200C_200E_206C_206E_200E_202D_206D_206F_202B_206D_206B_200E_206F_202B_206F_206A_202E_202C_200F_202E_206F_202B_202E_202E(move2);
|
|
Vector3 destination2 = _206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move2);
|
|
bool? mount = _206D_206E_200B_206A_202B_202B_200B_200D_200D_200E_202E_206B_206C_202E_200B_202A_206B_206E_202C_206A_206B_200D_200C_206A_200B_206A_206D_206F_206A_200B_206E_206A_202C_200B_202B_206C_200C_200F_200F_202E_202E(move2);
|
|
float? stopDistance = _206F_200C_200E_206D_202C_206C_206D_200C_206C_206B_206D_206D_206F_206F_202D_200E_206B_202B_200F_200B_202C_206E_206D_202C_202B_202C_206A_206D_206B_200D_202B_200B_206C_200F_202C_202A_200E_202D_206E_202A_202E(move2);
|
|
uint? dataId = _206C_200D_202D_200B_202D_202D_206B_206C_200C_206B_202A_206F_200E_200C_202D_206B_206F_206C_200B_200B_202A_200D_200F_202D_206B_206F_206D_206D_202A_206A_202D_200B_200B_200F_206B_202D_200F_200C_202B_202E(move2);
|
|
bool disableNavmesh = _200F_202C_202E_202E_206E_200D_206D_206C_206D_202A_202E_206F_202B_206F_202E_200E_202C_200F_206D_200F_206E_206F_202D_206E_202B_206C_206C_206B_202E_202D_202E_206C_202B_206E_200E_206A_206B_206E_206C_202B_202E(move2);
|
|
bool fly = _206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move2);
|
|
bool land = _200D_200F_206A_206A_202B_200E_200F_200D_202C_202B_202D_206C_200C_200B_200D_202E_202E_206F_200F_202C_202A_206D_200B_200F_200E_206E_206D_206E_202B_202C_206C_200D_206B_206A_202A_202E_202E_206D_206B_202B_202E(move2);
|
|
bool allowZoneTransition = _200D_206B_200F_206E_202A_200C_206F_206A_206E_200B_206E_200E_202A_200D_200B_202B_202C_206C_202A_206C_200E_202C_202E_206E_200D_202E_206C_200F_200E_200C_206C_206F_202D_202B_206E_202E_200B_202E_206E_202B_202E(move2);
|
|
string routeTargetNodeId = _206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move2);
|
|
string routeApproachNodeId = _206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move2);
|
|
_003C_003E2__current = new MoveTask(territoryId, destination2, mount, MountRequired: false, DismountRequired: false, stopDistance, dataId, disableNavmesh, null, fly, land, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.None, SmartNavRouted: true, allowZoneTransition, routeTargetNodeId, routeApproachNodeId);
|
|
_003C_003E1__state = 7;
|
|
return true;
|
|
}
|
|
case 4:
|
|
goto IL_0392;
|
|
case 2:
|
|
goto IL_03a5;
|
|
case 26:
|
|
_003C_003E2__current = new WarpInteract.Task(_206A_200E_206B_206D_206C_200C_202A_206A_202B_206D_202E_206E_206E_200B_200B_206A_200C_200F_200F_206E_200D_200E_202E_200C_200E_206C_202B_200E_200F_202B_200E_206D_206D_206C_206C_202D_200E_206D_202D_202B_202E(interactWarp), _206A_202E_206D_202B_202E_202B_206D_200B_206D_202D_200F_206A_200E_206B_206E_206C_202D_202D_200E_200F_206A_200C_200B_200D_200E_200F_202C_202E_202D_206E_206D_200F_202A_200E_206B_202C_202D_206A_206F_206A_202E(interactWarp), _202E_200E_200D_200B_202C_200E_206D_202D_202A_200D_200D_202C_202B_206E_206E_206F_206C_206A_206D_202C_202B_202C_200D_206E_206A_200D_202C_206F_200F_206D_202A_200D_202B_200E_206C_206E_200E_206E_200B_200F_202E(interactWarp), _200F_200F_202C_202D_206D_202B_200F_200E_200B_202E_206A_202E_206C_202C_206F_202D_200F_202E_200D_206F_200D_200C_206C_202D_200E_206C_206A_206A_206F_206F_206F_200B_200C_206C_202A_200E_202C_206D_200F_206F_202E(interactWarp));
|
|
_003C_003E1__state = 12;
|
|
return true;
|
|
case 48:
|
|
_003C_003E2__current = new SubRegionTransport.Task(_200B_200F_202E_206F_202C_206B_206F_206F_206D_200C_202C_206C_202D_200E_206D_206F_200F_206F_206A_200C_200F_206B_202B_206A_200B_200E_200B_202B_202B_206E_200D_200C_202D_206E_200D_200D_202D_206E_200F_200E_202E(subRegionTransport), _202B_202D_202B_206A_200B_202B_200D_200F_206B_202B_202C_202B_200C_200D_202A_200E_200B_200B_206F_206B_202C_202E_202C_206B_206C_206B_202B_200D_206B_202B_206C_200C_206D_202D_202B_206F_206C_200F_202B_200F_202E(subRegionTransport), _202C_202B_206C_206F_206D_200E_200C_200E_202D_206A_200B_206A_202A_202C_202A_200B_206A_202B_202A_202B_202D_200E_200D_200B_206F_206E_206D_206E_202B_202A_202C_200F_202E_202A_200F_206E_206A_206A_206C_200C_202E(subRegionTransport));
|
|
_003C_003E1__state = 14;
|
|
return true;
|
|
case 17:
|
|
goto IL_0465;
|
|
case 29:
|
|
goto IL_049f;
|
|
case 37:
|
|
goto IL_04b2;
|
|
case 27:
|
|
goto IL_04d6;
|
|
case 41:
|
|
_003C_003E2__current = new TicketTeleport.Task(_202C_200C_206C_202B_200F_200E_200F_202B_200D_200E_200D_206B_206B_200B_200E_206C_202C_206F_200B_202A_206F_200E_202C_200E_200E_206D_200D_202E_200E_206F_206F_206E_202D_202A_206F_206C_206C_200C_202E_206C_202E(useTeleportTicket), _200E_206F_206B_200E_200E_206C_206A_206C_206B_206E_200E_200B_206A_200B_200F_202B_202D_206E_200C_206D_206E_206C_200B_206B_206A_206D_206F_206D_200C_200D_202D_206E_202D_202E_206D_202C_200B_202A_206D_200E_202E(useTeleportTicket));
|
|
_003C_003E1__state = 13;
|
|
return true;
|
|
case 24:
|
|
goto IL_051d;
|
|
case 20:
|
|
num2 = 866335786;
|
|
break;
|
|
case 13:
|
|
return false;
|
|
case 11:
|
|
goto IL_054f;
|
|
case 5:
|
|
goto IL_0562;
|
|
case 15:
|
|
goto IL_0575;
|
|
case 45:
|
|
return false;
|
|
case 12:
|
|
goto IL_058a;
|
|
case 1:
|
|
goto IL_059d;
|
|
case 0:
|
|
{
|
|
QuestStep questStep = step;
|
|
Vector3 destination = _206D_206D_206F_202D_202B_200C_206A_200F_206F_202B_200B_200C_200D_202E_200D_202B_200E_206A_200E_200F_202D_202E_206E_200C_206D_200F_202B_202A_206D_200C_202C_206B_202A_206B_202E_200B_206B_200B_206F_206C_202E(step) ?? _206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move);
|
|
_003C_003E2__current = new MoveTask(questStep, destination)with
|
|
{
|
|
Fly = (_206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step) == true),
|
|
Land = (_206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step) == true),
|
|
SmartNavRouted = true,
|
|
RouteTargetNodeId = _206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move),
|
|
RouteApproachNodeId = _206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move)
|
|
};
|
|
_003C_003E1__state = 5;
|
|
return true;
|
|
}
|
|
case 46:
|
|
_003C_003E2__current = new AetheryteTeleport.Task(_206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2), _206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(_003C_003E8__1._003Cteleport_003E5__2));
|
|
_003C_003E1__state = 1;
|
|
return true;
|
|
case 39:
|
|
goto IL_06b6;
|
|
case 22:
|
|
_003C_003E2__current = new Mount.UnmountTask();
|
|
_003C_003E1__state = 9;
|
|
return true;
|
|
case 6:
|
|
goto IL_06de;
|
|
case 38:
|
|
goto IL_0701;
|
|
case 23:
|
|
goto IL_0724;
|
|
case 16:
|
|
_003C_003E2__current = new LandTask();
|
|
_003C_003E1__state = 6;
|
|
return true;
|
|
case 31:
|
|
goto IL_0760;
|
|
case 42:
|
|
goto IL_07cf;
|
|
case 9:
|
|
goto IL_07e2;
|
|
case 21:
|
|
goto IL_07f5;
|
|
case 28:
|
|
goto IL_081d;
|
|
case 47:
|
|
goto IL_0847;
|
|
case 35:
|
|
{
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1);
|
|
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>(-82937501));
|
|
defaultInterpolatedStringHandler.AppendFormatted(instruction);
|
|
throw _202A_200D_206A_200C_206F_202A_202E_200D_206C_202A_200C_206E_202C_206D_202E_206D_200E_200C_206F_202C_206A_202C_206B_200E_206C_206A_202A_206A_200B_206F_206D_200F_200C_200B_200F_200F_206B_200C_206D_206F_202E(defaultInterpolatedStringHandler.ToStringAndClear());
|
|
}
|
|
case 36:
|
|
_003C_003E2__current = new LandTask();
|
|
_003C_003E1__state = 8;
|
|
return true;
|
|
case 8:
|
|
goto IL_08a3;
|
|
case 34:
|
|
goto IL_08c7;
|
|
case 10:
|
|
goto end_IL_000f;
|
|
}
|
|
continue;
|
|
IL_08c7:
|
|
aethernetHop = navInstruction as NavInstruction.AethernetHop;
|
|
num2 = (((object)aethernetHop != null) ? 866335784 : 866335752);
|
|
continue;
|
|
IL_051d:
|
|
num2 = ((flag != true) ? 866335780 : 866335769);
|
|
continue;
|
|
IL_0259:
|
|
subRegionTransport = navInstruction as NavInstruction.SubRegionTransport;
|
|
num2 = (((object)subRegionTransport != null) ? 866335801 : 866335773);
|
|
continue;
|
|
IL_08a3:
|
|
num2 = ((navInstruction is NavInstruction.Unmount) ? 866335775 : 866335768);
|
|
continue;
|
|
IL_0701:
|
|
num2 = ((!_200D_206A_202B_202B_202C_206D_206B_202A_206B_206B_202D_206C_206B_200B_202A_206A_202E_200E_202E_200B_202C_206F_206C_206C_202D_206E_206F_206E_206E_200D_206C_200B_206E_202E_202D_206E_202B_200C_202D_200E_202E(move)) ? 866335758 : 866335759);
|
|
continue;
|
|
IL_0465:
|
|
_003C_003E8__1._003Cwait_003E5__3 = navInstruction as NavInstruction.WaitForTerritory;
|
|
num2 = (((object)_003C_003E8__1._003Cwait_003E5__3 != null) ? 866335777 : 866335771);
|
|
continue;
|
|
IL_07f5:
|
|
interactWarp = navInstruction as NavInstruction.InteractWarp;
|
|
num2 = (((object)interactWarp != null) ? 866335763 : 866335774);
|
|
continue;
|
|
IL_04d6:
|
|
num2 = ((navInstruction is NavInstruction.Land) ? 866335789 : 866335745);
|
|
continue;
|
|
IL_06de:
|
|
num2 = ((step == null) ? 866335758 : 866335753);
|
|
continue;
|
|
IL_0760:
|
|
NavInstruction.AethernetHop obj = nextTravel as NavInstruction.AethernetHop;
|
|
num2 = (((((object)obj != null) ? new EAetheryteLocation?(_206B_202B_200E_200F_206F_202E_202E_206B_202B_206C_202C_206B_202A_202A_206C_202A_206E_202A_206B_200B_202C_200C_202D_200D_206F_206C_200D_206F_202D_202E_200D_200D_200C_200D_200E_206D_200D_202B_202B_206E_202E(obj)) : ((EAetheryteLocation?)null)) == _206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2)) ? 866335780 : 866335778);
|
|
continue;
|
|
IL_0296:
|
|
flag = _202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step);
|
|
num2 = ((!flag.HasValue) ? 866335780 : 866335761);
|
|
continue;
|
|
IL_059d:
|
|
move = navInstruction as NavInstruction.Move;
|
|
num2 = (((object)move != null) ? 866335791 : 866335762);
|
|
continue;
|
|
IL_0176:
|
|
flag2 = _206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step);
|
|
num2 = ((!flag2.HasValue) ? 866335780 : 866335788);
|
|
continue;
|
|
IL_04b2:
|
|
num2 = ((flag2 != true) ? 866335780 : 866335751);
|
|
continue;
|
|
IL_02e6:
|
|
num2 = ((navInstruction is NavInstruction.WaitForNavmesh) ? 866335785 : 866335772);
|
|
continue;
|
|
IL_0724:
|
|
useTeleportTicket = navInstruction as NavInstruction.UseTeleportTicket;
|
|
num2 = (((object)useTeleportTicket != null) ? 866335776 : 866335754);
|
|
continue;
|
|
end_IL_005c:
|
|
break;
|
|
}
|
|
goto case 1;
|
|
IL_0847:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_081d:
|
|
_003C_003E1__state = -1;
|
|
num2 = ((step == null) ? 866335780 : 866335770);
|
|
goto IL_005c;
|
|
IL_02c7:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_07e2:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_07cf:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_06b6:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_058a:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_0575:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_0562:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_054f:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_049f:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
IL_03a5:
|
|
_003C_003E1__state = -1;
|
|
_003C_003E8__1 = new _003C_003Ec__DisplayClass5_0();
|
|
_003C_003E8__1._003C_003E4__this = _003C_003E4__this;
|
|
navInstruction = instruction;
|
|
_003C_003E8__1._003Cteleport_003E5__2 = navInstruction as NavInstruction.Teleport;
|
|
num2 = (((object)_003C_003E8__1._003Cteleport_003E5__2 != null) ? 866335783 : 866335787);
|
|
goto IL_005c;
|
|
IL_0392:
|
|
_003C_003E1__state = -1;
|
|
num2 = 866335780;
|
|
goto IL_005c;
|
|
end_IL_000f:
|
|
break;
|
|
}
|
|
_003C_003E1__state = -1;
|
|
_003C_003E2__current = new AetheryteTeleport.MoveAwayFromAetheryte(_206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(_003C_003E8__1._003Cteleport_003E5__2));
|
|
_003C_003E1__state = 3;
|
|
return true;
|
|
}
|
|
|
|
bool IEnumerator.MoveNext()
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in MoveNext
|
|
return this.MoveNext();
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
void IEnumerator.Reset()
|
|
{
|
|
throw _200D_206C_200B_202A_206E_206C_202D_202A_206D_200F_200B_206A_200D_200E_202E_206D_202B_206D_206F_202B_202C_202A_206F_200F_200E_206C_202B_206E_202E_200F_202E_206D_200D_206D_200E_206A_202D_206B_206A_202E();
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
IEnumerator<ITask> IEnumerable<ITask>.GetEnumerator()
|
|
{
|
|
int num = ((_003C_003E1__state != -2) ? 1996571645 : 1996571644);
|
|
_003CMap_003Ed__5 _003CMap_003Ed__ = default(_003CMap_003Ed__5);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1996571646;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
_003CMap_003Ed__.instruction = _003C_003E3__instruction;
|
|
_003CMap_003Ed__.nextTravel = _003C_003E3__nextTravel;
|
|
_003CMap_003Ed__.step = _003C_003E3__step;
|
|
return _003CMap_003Ed__;
|
|
case 4:
|
|
_003C_003E1__state = 0;
|
|
_003CMap_003Ed__ = this;
|
|
num = 1996571647;
|
|
break;
|
|
case 2:
|
|
num = ((_003C_003El__initialThreadId != _202C_202D_206D_206C_200C_206D_200F_200B_206B_202C_206E_202B_200E_200F_200C_202C_206F_206B_206E_200D_202C_200B_202B_202E_202C_202B_206C_200C_206A_202D_206F_200E_200F_206B_200F_206A_200F_200B_202A_206B_202E()) ? 1996571645 : 1996571642);
|
|
break;
|
|
case 3:
|
|
_003CMap_003Ed__ = new _003CMap_003Ed__5(0)
|
|
{
|
|
_003C_003E4__this = _003C_003E4__this
|
|
};
|
|
num = 1996571647;
|
|
break;
|
|
case 0:
|
|
num = 1996571644;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return ((IEnumerable<ITask>)this).GetEnumerator();
|
|
}
|
|
|
|
static int _202C_202D_206D_206C_200C_206D_200F_200B_206B_202C_206E_202B_200E_200F_200C_202C_206F_206B_206E_200D_202C_200B_202B_202E_202C_202B_206C_200C_206A_202D_206F_200E_200F_206B_200F_206A_200F_200B_202A_206B_202E()
|
|
{
|
|
return Environment.CurrentManagedThreadId;
|
|
}
|
|
|
|
static EAetheryteLocation _206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(NavInstruction.Teleport P_0)
|
|
{
|
|
return P_0.Target;
|
|
}
|
|
|
|
static ushort _206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(NavInstruction.Teleport P_0)
|
|
{
|
|
return P_0.ExpectedTerritory;
|
|
}
|
|
|
|
static EAetheryteLocation _206B_202B_200E_200F_206F_202E_202E_206B_202B_206C_202C_206B_202A_202A_206C_202A_206E_202A_206B_200B_202C_200C_202D_200D_206F_206C_200D_206F_202D_202E_200D_200D_200C_200D_200E_206D_200D_202B_202B_206E_202E(NavInstruction.AethernetHop P_0)
|
|
{
|
|
return P_0.From;
|
|
}
|
|
|
|
static string _206B_200E_200C_206D_202D_206F_200D_206D_206C_202D_200D_200B_202C_206D_206A_206E_206E_200E_206F_206E_206A_202B_202C_200E_200C_202E_206A_206C_200B_206A_202A_202B_202A_200F_202B_200E_200E_206F_202B_202E(string P_0, string P_1, string P_2)
|
|
{
|
|
return P_0 + P_1 + P_2;
|
|
}
|
|
|
|
static EAetheryteLocation _202D_200C_200C_202A_206A_206F_200D_202A_206D_202B_200B_202C_200F_200E_202C_206D_200D_202D_206F_202A_202B_202E_202A_206C_206D_202D_206D_202D_202C_202D_200D_200C_202E_202D_202B_202A_206D_206D_206E_202B_202E(NavInstruction.AethernetHop P_0)
|
|
{
|
|
return P_0.From;
|
|
}
|
|
|
|
static EAetheryteLocation _200F_200D_200D_200B_206A_200F_206F_202B_206A_206A_206F_200B_200E_206B_202A_200F_206E_200E_200F_202D_200B_206F_200C_206D_202B_206E_200C_200E_202B_200F_200B_200B_206E_202E_200C_206B_206E_202C_200F_200C_202E(NavInstruction.AethernetHop P_0)
|
|
{
|
|
return P_0.To;
|
|
}
|
|
|
|
static bool _200D_206A_202B_202B_202C_206D_206B_202A_206B_206B_202D_206C_206B_200B_202A_206A_202E_200E_202E_200B_202C_206F_206C_206C_202D_206E_206F_206E_206E_200D_206C_200B_206E_202E_202D_206E_202B_200C_202D_200E_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.IsFinal;
|
|
}
|
|
|
|
static Vector3? _206D_206D_206F_202D_202B_200C_206A_200F_206F_202B_200B_200C_200D_202E_200D_202B_200E_206A_200E_200F_202D_202E_206E_200C_206D_200F_202B_202A_206D_200C_202C_206B_202A_206B_202E_200B_206B_200B_206F_206C_202E(QuestStep P_0)
|
|
{
|
|
return P_0.Position;
|
|
}
|
|
|
|
static Vector3 _206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.Position;
|
|
}
|
|
|
|
static bool _206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.Fly;
|
|
}
|
|
|
|
static bool? _206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(QuestStep P_0)
|
|
{
|
|
return P_0.Fly;
|
|
}
|
|
|
|
static bool? _202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(QuestStep P_0)
|
|
{
|
|
return P_0.Land;
|
|
}
|
|
|
|
static string _206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.TargetNodeId;
|
|
}
|
|
|
|
static string _206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.ApproachNodeId;
|
|
}
|
|
|
|
static ushort _202C_202B_202D_202A_202D_200C_206E_200D_202E_200F_206C_202D_202A_202C_200B_202C_206D_200C_200E_206C_206E_200E_202D_206D_206F_202B_206D_206B_200E_206F_202B_206F_206A_202E_202C_200F_202E_206F_202B_202E_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.Territory;
|
|
}
|
|
|
|
static bool? _206D_206E_200B_206A_202B_202B_200B_200D_200D_200E_202E_206B_206C_202E_200B_202A_206B_206E_202C_206A_206B_200D_200C_206A_200B_206A_206D_206F_206A_200B_206E_206A_202C_200B_202B_206C_200C_200F_200F_202E_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.Mount;
|
|
}
|
|
|
|
static float? _206F_200C_200E_206D_202C_206C_206D_200C_206C_206B_206D_206D_206F_206F_202D_200E_206B_202B_200F_200B_202C_206E_206D_202C_202B_202C_206A_206D_206B_200D_202B_200B_206C_200F_202C_202A_200E_202D_206E_202A_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.StopDistance;
|
|
}
|
|
|
|
static uint? _206C_200D_202D_200B_202D_202D_206B_206C_200C_206B_202A_206F_200E_200C_202D_206B_206F_206C_200B_200B_202A_200D_200F_202D_206B_206F_206D_206D_202A_206A_202D_200B_200B_200F_206B_202D_200F_200C_202B_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.DataId;
|
|
}
|
|
|
|
static bool _200F_202C_202E_202E_206E_200D_206D_206C_206D_202A_202E_206F_202B_206F_202E_200E_202C_200F_206D_200F_206E_206F_202D_206E_202B_206C_206C_206B_202E_202D_202E_206C_202B_206E_200E_206A_206B_206E_206C_202B_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.DisableNavmesh;
|
|
}
|
|
|
|
static bool _200D_200F_206A_206A_202B_200E_200F_200D_202C_202B_202D_206C_200C_200B_200D_202E_202E_206F_200F_202C_202A_206D_200B_200F_200E_206E_206D_206E_202B_202C_206C_200D_206B_206A_202A_202E_202E_206D_206B_202B_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.LandAtTarget;
|
|
}
|
|
|
|
static bool _200D_206B_200F_206E_202A_200C_206F_206A_206E_200B_206E_200E_202A_200D_200B_202B_202C_206C_202A_206C_200E_202C_202E_206E_200D_202E_206C_200F_200E_200C_206C_206F_202D_202B_206E_202E_200B_202E_206E_202B_202E(NavInstruction.Move P_0)
|
|
{
|
|
return P_0.AllowZoneTransition;
|
|
}
|
|
|
|
static string _206D_202A_206A_206C_202E_202D_206F_200B_200E_202B_206B_202C_200C_206B_200B_202D_206B_206A_206D_206A_200D_206A_202E_202C_202A_206B_202D_206E_200D_200E_206C_202B_206A_200F_206E_206A_206B_206D_206D_200C_202E(NavInstruction.WaitForTerritory P_0)
|
|
{
|
|
return P_0.Description;
|
|
}
|
|
|
|
static uint _206A_200E_206B_206D_206C_200C_202A_206A_202B_206D_202E_206E_206E_200B_200B_206A_200C_200F_200F_206E_200D_200E_202E_200C_200E_206C_202B_200E_200F_202B_200E_206D_206D_206C_206C_202D_200E_206D_202D_202B_202E(NavInstruction.InteractWarp P_0)
|
|
{
|
|
return P_0.NpcDataId;
|
|
}
|
|
|
|
static uint _206A_202E_206D_202B_202E_202B_206D_200B_206D_202D_200F_206A_200E_206B_206E_206C_202D_202D_200E_200F_206A_200C_200B_200D_200E_200F_202C_202E_202D_206E_206D_200F_202A_200E_206B_202C_202D_206A_206F_206A_202E(NavInstruction.InteractWarp P_0)
|
|
{
|
|
return P_0.WarpRowId;
|
|
}
|
|
|
|
static ushort _202E_200E_200D_200B_202C_200E_206D_202D_202A_200D_200D_202C_202B_206E_206E_206F_206C_206A_206D_202C_202B_202C_200D_206E_206A_200D_202C_206F_200F_206D_202A_200D_202B_200E_206C_206E_200E_206E_200B_200F_202E(NavInstruction.InteractWarp P_0)
|
|
{
|
|
return P_0.FromTerritory;
|
|
}
|
|
|
|
static ushort _200F_200F_202C_202D_206D_202B_200F_200E_200B_202E_206A_202E_206C_202C_206F_202D_200F_202E_200D_206F_200D_200C_206C_202D_200E_206C_206A_206A_206F_206F_206F_200B_200C_206C_202A_200E_202C_206D_200F_206F_202E(NavInstruction.InteractWarp P_0)
|
|
{
|
|
return P_0.ToTerritory;
|
|
}
|
|
|
|
static uint _202C_200C_206C_202B_200F_200E_200F_202B_200D_200E_200D_206B_206B_200B_200E_206C_202C_206F_200B_202A_206F_200E_202C_200E_200E_206D_200D_202E_200E_206F_206F_206E_202D_202A_206F_206C_206C_200C_202E_206C_202E(NavInstruction.UseTeleportTicket P_0)
|
|
{
|
|
return P_0.ItemId;
|
|
}
|
|
|
|
static ushort _200E_206F_206B_200E_200E_206C_206A_206C_206B_206E_200E_200B_206A_200B_200F_202B_202D_206E_200C_206D_206E_206C_200B_206B_206A_206D_206F_206D_200C_200D_202D_206E_202D_202E_206D_202C_200B_202A_206D_200E_202E(NavInstruction.UseTeleportTicket P_0)
|
|
{
|
|
return P_0.Territory;
|
|
}
|
|
|
|
static Vector3 _200B_200F_202E_206F_202C_206B_206F_206F_206D_200C_202C_206C_202D_200E_206D_206F_200F_206F_206A_200C_200F_206B_202B_206A_200B_200E_200B_202B_202B_206E_200D_200C_202D_206E_200D_200D_202D_206E_200F_200E_202E(NavInstruction.SubRegionTransport P_0)
|
|
{
|
|
return P_0.From;
|
|
}
|
|
|
|
static Vector3 _202B_202D_202B_206A_200B_202B_200D_200F_206B_202B_202C_202B_200C_200D_202A_200E_200B_200B_206F_206B_202C_202E_202C_206B_206C_206B_202B_200D_206B_202B_206C_200C_206D_202D_202B_206F_206C_200F_202B_200F_202E(NavInstruction.SubRegionTransport P_0)
|
|
{
|
|
return P_0.To;
|
|
}
|
|
|
|
static ushort _202C_202B_206C_206F_206D_200E_200C_200E_202D_206A_200B_206A_202A_202C_202A_200B_206A_202B_202A_202B_202D_200E_200D_200B_206F_206E_206D_206E_202B_202A_202C_200F_202E_202A_200F_206E_206A_206A_206C_200C_202E(NavInstruction.SubRegionTransport P_0)
|
|
{
|
|
return P_0.Territory;
|
|
}
|
|
|
|
static InvalidOperationException _202A_200D_206A_200C_206F_202A_202E_200D_206C_202A_200C_206E_202C_206D_202E_206D_200E_200C_206F_202C_206A_202C_206B_200E_206C_206A_202A_206A_200B_206F_206D_200F_200C_200B_200F_200F_206B_200C_206D_206F_202E(string P_0)
|
|
{
|
|
return new InvalidOperationException(P_0);
|
|
}
|
|
|
|
static NotSupportedException _200D_206C_200B_202A_206E_206C_202D_202A_206D_200F_200B_206A_200D_200E_202E_206D_202B_206D_206F_202B_202C_202A_206F_200F_200E_206C_202B_206E_202E_200F_202E_206D_200D_206D_200E_206A_202D_206B_206A_202E()
|
|
{
|
|
return new NotSupportedException();
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003CMapInstructions_003Ed__3 : IEnumerable<ITask>, IEnumerable, IEnumerator<ITask>, IEnumerator, IDisposable
|
|
{
|
|
private int _003C_003E1__state;
|
|
|
|
private ITask _003C_003E2__current;
|
|
|
|
private int _003C_003El__initialThreadId;
|
|
|
|
public SmartNavTaskMapper _003C_003E4__this;
|
|
|
|
private IReadOnlyList<NavInstruction> instructions;
|
|
|
|
public IReadOnlyList<NavInstruction> _003C_003E3__instructions;
|
|
|
|
private QuestStep step;
|
|
|
|
public QuestStep _003C_003E3__step;
|
|
|
|
private int _003Ci_003E5__2;
|
|
|
|
private IEnumerator<ITask> _003C_003E7__wrap2;
|
|
|
|
ITask IEnumerator<ITask>.Current
|
|
{
|
|
[DebuggerHidden]
|
|
get
|
|
{
|
|
return _003C_003E2__current;
|
|
}
|
|
}
|
|
|
|
object IEnumerator.Current
|
|
{
|
|
[DebuggerHidden]
|
|
get
|
|
{
|
|
return _003C_003E2__current;
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public _003CMapInstructions_003Ed__3(int _003C_003E1__state)
|
|
{
|
|
this._003C_003E1__state = _003C_003E1__state;
|
|
_003C_003El__initialThreadId = _200B_202D_202E_202B_206C_202D_200C_200E_202A_206A_206A_200D_200E_202D_200D_202D_200B_206E_200D_206B_202C_206D_206B_206A_206A_202C_200C_206E_200E_202E_206B_206C_200D_206A_200F_206E_200E_206A_206B_206E_202E();
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
void IDisposable.Dispose()
|
|
{
|
|
int num = _003C_003E1__state;
|
|
int num2 = ((num == -3) ? (-740261980) : (-740261977));
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = -740261978;
|
|
int num5 = num3;
|
|
int num6 = num5 + num4;
|
|
int num7 = num5 & num4;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
default:
|
|
continue;
|
|
case 0:
|
|
num2 = -740261977;
|
|
continue;
|
|
case 1:
|
|
if (num == 1)
|
|
{
|
|
num2 = -740261980;
|
|
continue;
|
|
}
|
|
break;
|
|
case 2:
|
|
try
|
|
{
|
|
}
|
|
finally
|
|
{
|
|
_003C_003Em__Finally1();
|
|
}
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
_003C_003E7__wrap2 = null;
|
|
_003C_003E1__state = -2;
|
|
}
|
|
|
|
private bool MoveNext()
|
|
{
|
|
try
|
|
{
|
|
int num = _003C_003E1__state;
|
|
SmartNavTaskMapper smartNavTaskMapper = _003C_003E4__this;
|
|
int num2 = ((num == 0) ? (-1350511493) : (-1350511497));
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = -1350511502;
|
|
int num5 = num3;
|
|
int num6 = num5 + num4;
|
|
int num7 = num5 & num4;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 10:
|
|
_003C_003E1__state = -3;
|
|
num2 = -1350511501;
|
|
break;
|
|
case 5:
|
|
num2 = ((num == 1) ? (-1350511496) : (-1350511499));
|
|
break;
|
|
case 3:
|
|
_003C_003E7__wrap2 = smartNavTaskMapper.Map(instructions[_003Ci_003E5__2], NextTravelInstruction(instructions, _003Ci_003E5__2), step).GetEnumerator();
|
|
_003C_003E1__state = -3;
|
|
num2 = -1350511501;
|
|
break;
|
|
case 7:
|
|
return false;
|
|
case 4:
|
|
{
|
|
ITask current = _003C_003E7__wrap2.Current;
|
|
_003C_003E2__current = current;
|
|
_003C_003E1__state = 1;
|
|
return true;
|
|
}
|
|
case 9:
|
|
_003C_003E1__state = -1;
|
|
_003Ci_003E5__2 = 0;
|
|
num2 = -1350511500;
|
|
break;
|
|
case 8:
|
|
{
|
|
_003C_003Em__Finally1();
|
|
_003C_003E7__wrap2 = null;
|
|
int num8 = _003Ci_003E5__2;
|
|
num4 = 1;
|
|
num5 = num8;
|
|
_003Ci_003E5__2 = (num5 | num4) + (num5 & num4);
|
|
num2 = -1350511500;
|
|
break;
|
|
}
|
|
case 6:
|
|
num2 = ((_003Ci_003E5__2 < instructions.Count) ? (-1350511503) : (-1350511504));
|
|
break;
|
|
case 1:
|
|
num2 = (_200E_206A_206C_206D_202D_202E_200C_206C_200C_200F_200C_202E_200C_202A_206A_202D_202C_202B_206E_200F_202C_200E_200B_202A_200B_206E_206F_200F_202B_200D_206A_202B_200F_200D_206F_200F_200D_206B_202D_206D_202E((IEnumerator)_003C_003E7__wrap2) ? (-1350511498) : (-1350511494));
|
|
break;
|
|
case 0:
|
|
num2 = -1350511497;
|
|
break;
|
|
case 2:
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
catch
|
|
{
|
|
//try-fault
|
|
((IDisposable)this).Dispose();
|
|
throw;
|
|
}
|
|
}
|
|
|
|
bool IEnumerator.MoveNext()
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in MoveNext
|
|
return this.MoveNext();
|
|
}
|
|
|
|
private void _003C_003Em__Finally1()
|
|
{
|
|
_003C_003E1__state = -1;
|
|
int num = ((_003C_003E7__wrap2 == null) ? 466494635 : 466494632);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 466494634;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
return;
|
|
case 2:
|
|
_206F_200D_206F_200D_202A_206A_202A_202B_206A_206F_206D_206F_200B_202D_202A_200B_200C_202D_206D_200D_200E_206E_206E_206E_206D_200E_200E_200F_206F_206A_202C_200C_200D_206C_200D_200D_206A_202C_202B_206D_202E((IDisposable)_003C_003E7__wrap2);
|
|
num = 466494635;
|
|
break;
|
|
case 0:
|
|
num = 466494632;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
void IEnumerator.Reset()
|
|
{
|
|
throw _202E_206C_200C_202A_206C_206F_202C_200F_200D_206D_206E_202D_206C_202A_206F_206E_200F_206A_200C_202D_200D_206B_202C_202C_206F_206D_202B_200F_200B_200C_202C_200C_202A_202E_200F_202E_206D_206B_202C_206B_202E();
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
IEnumerator<ITask> IEnumerable<ITask>.GetEnumerator()
|
|
{
|
|
int num = ((_003C_003E1__state != -2) ? (-145160428) : (-145160427));
|
|
_003CMapInstructions_003Ed__3 _003CMapInstructions_003Ed__ = default(_003CMapInstructions_003Ed__3);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -145160428;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
_003CMapInstructions_003Ed__ = new _003CMapInstructions_003Ed__3(0)
|
|
{
|
|
_003C_003E4__this = _003C_003E4__this
|
|
};
|
|
num = -145160432;
|
|
break;
|
|
case 1:
|
|
num = ((_003C_003El__initialThreadId != _200B_202D_202E_202B_206C_202D_200C_200E_202A_206A_206A_200D_200E_202D_200D_202D_200B_206E_200D_206B_202C_206D_206B_206A_206A_202C_200C_206E_200E_202E_206B_206C_200D_206A_200F_206E_200E_206A_206B_206E_202E()) ? (-145160428) : (-145160425));
|
|
break;
|
|
case 3:
|
|
_003C_003E1__state = 0;
|
|
_003CMapInstructions_003Ed__ = this;
|
|
num = -145160432;
|
|
break;
|
|
case 2:
|
|
num = -145160427;
|
|
break;
|
|
case 4:
|
|
_003CMapInstructions_003Ed__.instructions = _003C_003E3__instructions;
|
|
_003CMapInstructions_003Ed__.step = _003C_003E3__step;
|
|
return _003CMapInstructions_003Ed__;
|
|
}
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return ((IEnumerable<ITask>)this).GetEnumerator();
|
|
}
|
|
|
|
static int _200B_202D_202E_202B_206C_202D_200C_200E_202A_206A_206A_200D_200E_202D_200D_202D_200B_206E_200D_206B_202C_206D_206B_206A_206A_202C_200C_206E_200E_202E_206B_206C_200D_206A_200F_206E_200E_206A_206B_206E_202E()
|
|
{
|
|
return Environment.CurrentManagedThreadId;
|
|
}
|
|
|
|
static bool _200E_206A_206C_206D_202D_202E_200C_206C_200C_200F_200C_202E_200C_202A_206A_202D_202C_202B_206E_200F_202C_200E_200B_202A_200B_206E_206F_200F_202B_200D_206A_202B_200F_200D_206F_200F_200D_206B_202D_206D_202E(IEnumerator P_0)
|
|
{
|
|
return P_0.MoveNext();
|
|
}
|
|
|
|
static void _206F_200D_206F_200D_202A_206A_202A_202B_206A_206F_206D_206F_200B_202D_202A_200B_200C_202D_206D_200D_200E_206E_206E_206E_206D_200E_200E_200F_206F_206A_202C_200C_200D_206C_200D_200D_206A_202C_202B_206D_202E(IDisposable P_0)
|
|
{
|
|
P_0.Dispose();
|
|
}
|
|
|
|
static NotSupportedException _202E_206C_200C_202A_206C_206F_202C_200F_200D_206D_206E_202D_206C_202A_206F_206E_200F_206A_200C_202D_200D_206B_202C_202C_206F_206D_202B_200F_200B_200C_202C_200C_202A_202E_200F_202E_206D_206B_202C_206B_202E()
|
|
{
|
|
return new NotSupportedException();
|
|
}
|
|
}
|
|
|
|
[IteratorStateMachine(typeof(_003CMapInstructions_003Ed__3))]
|
|
public IEnumerable<ITask> MapInstructions(IReadOnlyList<NavInstruction> instructions, QuestStep? step = null)
|
|
{
|
|
//yield-return decompiler failed: Unexpected instruction in Iterator.Dispose()
|
|
return new _003CMapInstructions_003Ed__3(-2)
|
|
{
|
|
_003C_003E4__this = this,
|
|
_003C_003E3__instructions = instructions,
|
|
_003C_003E3__step = step
|
|
};
|
|
}
|
|
|
|
private static NavInstruction? NextTravelInstruction(IReadOnlyList<NavInstruction> instructions, int i)
|
|
{
|
|
int num = 1;
|
|
int num2 = i;
|
|
int num3 = (num2 | num) + (num2 & num);
|
|
int num4 = -874356063;
|
|
bool flag = default(bool);
|
|
NavInstruction navInstruction = default(NavInstruction);
|
|
while (true)
|
|
{
|
|
int num5 = num4;
|
|
num = -874356060;
|
|
num2 = num5;
|
|
switch ((num2 | num) - (num2 & num))
|
|
{
|
|
case 7:
|
|
flag = true;
|
|
num4 = -874356058;
|
|
break;
|
|
case 4:
|
|
num4 = ((navInstruction is NavInstruction.Unmount) ? (-874356061) : (-874356059));
|
|
break;
|
|
case 6:
|
|
return null;
|
|
case 10:
|
|
navInstruction = instructions[num3];
|
|
num4 = ((navInstruction is NavInstruction.Land) ? (-874356061) : (-874356064));
|
|
break;
|
|
case 3:
|
|
{
|
|
int num6 = num3;
|
|
num = 1;
|
|
num2 = num6;
|
|
num3 = (num2 | num) + (num2 & num);
|
|
num4 = -874356063;
|
|
break;
|
|
}
|
|
case 11:
|
|
num4 = ((!(navInstruction is NavInstruction.WaitForNavmesh)) ? (-874356051) : (-874356061));
|
|
break;
|
|
case 2:
|
|
num4 = (flag ? (-874356057) : (-874356052));
|
|
break;
|
|
case 9:
|
|
flag = false;
|
|
num4 = -874356058;
|
|
break;
|
|
case 0:
|
|
num4 = -874356063;
|
|
break;
|
|
case 8:
|
|
return instructions[num3];
|
|
case 1:
|
|
num4 = ((navInstruction is NavInstruction.WaitForTerritory) ? (-874356061) : (-874356049));
|
|
break;
|
|
case 5:
|
|
num4 = ((num3 < instructions.Count) ? (-874356050) : (-874356062));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
private IEnumerable<ITask> Map(NavInstruction instruction, NavInstruction? nextTravel, QuestStep? step)
|
|
{
|
|
bool? flag = default(bool?);
|
|
NavInstruction.AethernetHop aethernetHop = default(NavInstruction.AethernetHop);
|
|
NavInstruction.SubRegionTransport subRegionTransport = default(NavInstruction.SubRegionTransport);
|
|
bool? sprint = default(bool?);
|
|
NavInstruction.Move move = default(NavInstruction.Move);
|
|
NavInstruction.InteractWarp interactWarp = default(NavInstruction.InteractWarp);
|
|
NavInstruction.UseTeleportTicket useTeleportTicket = default(NavInstruction.UseTeleportTicket);
|
|
while (true)
|
|
{
|
|
NavInstruction.Teleport teleport = instruction as NavInstruction.Teleport;
|
|
int num = (((object)teleport != null) ? 866335783 : 866335787);
|
|
NavInstruction.WaitForTerritory waitForTerritory = default(NavInstruction.WaitForTerritory);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 866335753;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
default:
|
|
continue;
|
|
case 40:
|
|
yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._206A_200B_206C_206E_200B_202D_206C_202C_202E_206B_206F_200D_206D_200F_202A_200D_202C_206E_200F_202B_206C_202E_202E_206B_202A_206D_206B_200C_202C_206D_206C_206D_200E_206A_206D_200B_206D_202B_202D_200F_202E(waitForTerritory).Contains(_003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(clientState)), _003CMap_003Ed__5._206D_202A_206A_206C_202E_202D_206F_200B_200E_202B_206B_202C_200C_206B_200B_202D_206B_206A_206D_206A_200D_206A_202E_202C_202A_206B_202D_206E_200D_200E_206C_202B_206A_200F_206E_206A_206B_206D_206D_200C_202E(waitForTerritory));
|
|
goto case 39;
|
|
case 19:
|
|
flag = _003CMap_003Ed__5._206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step);
|
|
num = ((!flag.HasValue) ? 866335780 : 866335788);
|
|
continue;
|
|
case 33:
|
|
yield return new AethernetRide.Task(_003CMap_003Ed__5._202D_200C_200C_202A_206A_206F_200D_202A_206D_202B_200B_202C_200F_200E_202C_206D_200D_202D_206F_202A_202B_202E_202A_206C_206D_202D_206D_202D_202C_202D_200D_200C_202E_202D_202B_202A_206D_206D_206E_202B_202E(aethernetHop), _003CMap_003Ed__5._200F_200D_200D_200B_206A_200F_206F_202B_206A_206A_206F_200B_200E_206B_202A_200F_206E_200E_200F_202D_200B_206F_200C_206D_202B_206E_200C_200E_202B_200F_200B_200B_206E_202E_200C_206B_206E_202C_200F_200C_202E(aethernetHop));
|
|
goto case 4;
|
|
case 43:
|
|
yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass5_0._202E_200E_206E_206A_206D_200E_206E_206D_206F_200B_206D_202C_206F_206B_202C_200D_206B_206A_206A_200E_202B_206F_200F_206C_202E_202E_202A_206C_202C_206F_202D_206B_206D_202E_202D_206C_200F_206F_206B_206B_202E(clientState) == _003C_003Ec__DisplayClass5_0._206A_202E_202D_200F_206A_200E_206A_200F_202A_206A_206F_206A_200C_206D_206E_202D_200B_206A_206D_206B_202C_206D_202D_200B_202A_206E_206F_200C_206C_200F_206B_206C_206A_202C_200B_206A_200B_202D_206B_202A_202E(teleport), _003CMap_003Ed__5._206B_200E_200C_206D_202D_206F_200D_206D_206C_202D_200D_200B_202C_206D_206A_206E_206E_200E_206F_206E_206A_202B_202C_200E_200C_202E_206A_206C_200B_206A_202A_202B_202A_200F_202B_200E_200E_206F_202B_202E(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>(-344536108), territoryData.GetNameAndId(_003CMap_003Ed__5._206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(teleport)), 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)));
|
|
goto case 10;
|
|
case 25:
|
|
num = ((!AetheryteTeleport.MoveAwayFromAetheryteExecutor.AppliesTo(_003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport))) ? 866335780 : 866335766);
|
|
continue;
|
|
case 3:
|
|
subRegionTransport = instruction as NavInstruction.SubRegionTransport;
|
|
num = (((object)subRegionTransport != null) ? 866335801 : 866335773);
|
|
continue;
|
|
case 32:
|
|
yield return new WaitNavmesh.Task();
|
|
goto case 5;
|
|
case 14:
|
|
sprint = _003CMap_003Ed__5._202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step);
|
|
num = ((!sprint.HasValue) ? 866335780 : 866335761);
|
|
continue;
|
|
case 30:
|
|
num = 866335780;
|
|
continue;
|
|
case 44:
|
|
num = 866335748;
|
|
continue;
|
|
case 18:
|
|
num = ((instruction is NavInstruction.WaitForNavmesh) ? 866335785 : 866335772);
|
|
continue;
|
|
case 7:
|
|
{
|
|
NavInstruction.Move move2 = move;
|
|
ushort territoryId = _003CMap_003Ed__5._202C_202B_202D_202A_202D_200C_206E_200D_202E_200F_206C_202D_202A_202C_200B_202C_206D_200C_200E_206C_206E_200E_202D_206D_206F_202B_206D_206B_200E_206F_202B_206F_206A_202E_202C_200F_202E_206F_202B_202E_202E(move2);
|
|
Vector3 destination2 = _003CMap_003Ed__5._206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move2);
|
|
bool? mount = _003CMap_003Ed__5._206D_206E_200B_206A_202B_202B_200B_200D_200D_200E_202E_206B_206C_202E_200B_202A_206B_206E_202C_206A_206B_200D_200C_206A_200B_206A_206D_206F_206A_200B_206E_206A_202C_200B_202B_206C_200C_200F_200F_202E_202E(move2);
|
|
float? stopDistance = _003CMap_003Ed__5._206F_200C_200E_206D_202C_206C_206D_200C_206C_206B_206D_206D_206F_206F_202D_200E_206B_202B_200F_200B_202C_206E_206D_202C_202B_202C_206A_206D_206B_200D_202B_200B_206C_200F_202C_202A_200E_202D_206E_202A_202E(move2);
|
|
uint? dataId = _003CMap_003Ed__5._206C_200D_202D_200B_202D_202D_206B_206C_200C_206B_202A_206F_200E_200C_202D_206B_206F_206C_200B_200B_202A_200D_200F_202D_206B_206F_206D_206D_202A_206A_202D_200B_200B_200F_206B_202D_200F_200C_202B_202E(move2);
|
|
bool disableNavmesh = _003CMap_003Ed__5._200F_202C_202E_202E_206E_200D_206D_206C_206D_202A_202E_206F_202B_206F_202E_200E_202C_200F_206D_200F_206E_206F_202D_206E_202B_206C_206C_206B_202E_202D_202E_206C_202B_206E_200E_206A_206B_206E_206C_202B_202E(move2);
|
|
bool fly = _003CMap_003Ed__5._206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move2);
|
|
bool land = _003CMap_003Ed__5._200D_200F_206A_206A_202B_200E_200F_200D_202C_202B_202D_206C_200C_200B_200D_202E_202E_206F_200F_202C_202A_206D_200B_200F_200E_206E_206D_206E_202B_202C_206C_200D_206B_206A_202A_202E_202E_206D_206B_202B_202E(move2);
|
|
bool allowZoneTransition = _003CMap_003Ed__5._200D_206B_200F_206E_202A_200C_206F_206A_206E_200B_206E_200E_202A_200D_200B_202B_202C_206C_202A_206C_200E_202C_202E_206E_200D_202E_206C_200F_200E_200C_206C_206F_202D_202B_206E_202E_200B_202E_206E_202B_202E(move2);
|
|
string routeTargetNodeId = _003CMap_003Ed__5._206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move2);
|
|
string routeApproachNodeId = _003CMap_003Ed__5._206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move2);
|
|
sprint = null;
|
|
yield return new MoveTask(territoryId, destination2, mount, MountRequired: false, DismountRequired: false, stopDistance, dataId, disableNavmesh, sprint, fly, land, IgnoreDistanceToObject: false, RestartNavigation: true, EInteractionType.None, SmartNavRouted: true, allowZoneTransition, routeTargetNodeId, routeApproachNodeId);
|
|
goto case 9;
|
|
}
|
|
case 4:
|
|
num = 866335780;
|
|
continue;
|
|
case 2:
|
|
break;
|
|
case 26:
|
|
yield return new WarpInteract.Task(_003CMap_003Ed__5._206A_200E_206B_206D_206C_200C_202A_206A_202B_206D_202E_206E_206E_200B_200B_206A_200C_200F_200F_206E_200D_200E_202E_200C_200E_206C_202B_200E_200F_202B_200E_206D_206D_206C_206C_202D_200E_206D_202D_202B_202E(interactWarp), _003CMap_003Ed__5._206A_202E_206D_202B_202E_202B_206D_200B_206D_202D_200F_206A_200E_206B_206E_206C_202D_202D_200E_200F_206A_200C_200B_200D_200E_200F_202C_202E_202D_206E_206D_200F_202A_200E_206B_202C_202D_206A_206F_206A_202E(interactWarp), _003CMap_003Ed__5._202E_200E_200D_200B_202C_200E_206D_202D_202A_200D_200D_202C_202B_206E_206E_206F_206C_206A_206D_202C_202B_202C_200D_206E_206A_200D_202C_206F_200F_206D_202A_200D_202B_200E_206C_206E_200E_206E_200B_200F_202E(interactWarp), _003CMap_003Ed__5._200F_200F_202C_202D_206D_202B_200F_200E_200B_202E_206A_202E_206C_202C_206F_202D_200F_202E_200D_206F_200D_200C_206C_202D_200E_206C_206A_206A_206F_206F_206F_200B_200C_206C_202A_200E_202C_206D_200F_206F_202E(interactWarp));
|
|
goto case 15;
|
|
case 48:
|
|
yield return new SubRegionTransport.Task(_003CMap_003Ed__5._200B_200F_202E_206F_202C_206B_206F_206F_206D_200C_202C_206C_202D_200E_206D_206F_200F_206F_206A_200C_200F_206B_202B_206A_200B_200E_200B_202B_202B_206E_200D_200C_202D_206E_200D_200D_202D_206E_200F_200E_202E(subRegionTransport), _003CMap_003Ed__5._202B_202D_202B_206A_200B_202B_200D_200F_206B_202B_202C_202B_200C_200D_202A_200E_200B_200B_206F_206B_202C_202E_202C_206B_206C_206B_202B_200D_206B_202B_206C_200C_206D_202D_202B_206F_206C_200F_202B_200F_202E(subRegionTransport), _003CMap_003Ed__5._202C_202B_206C_206F_206D_200E_200C_200E_202D_206A_200B_206A_202A_202C_202A_200B_206A_202B_202A_202B_202D_200E_200D_200B_206F_206E_206D_206E_202B_202A_202C_200F_202E_202A_200F_206E_206A_206A_206C_200C_202E(subRegionTransport));
|
|
goto case 12;
|
|
case 17:
|
|
waitForTerritory = instruction as NavInstruction.WaitForTerritory;
|
|
num = (((object)waitForTerritory != null) ? 866335777 : 866335771);
|
|
continue;
|
|
case 29:
|
|
num = 866335780;
|
|
continue;
|
|
case 37:
|
|
num = ((flag != true) ? 866335780 : 866335751);
|
|
continue;
|
|
case 27:
|
|
num = ((instruction is NavInstruction.Land) ? 866335789 : 866335745);
|
|
continue;
|
|
case 41:
|
|
yield return new TicketTeleport.Task(_003CMap_003Ed__5._202C_200C_206C_202B_200F_200E_200F_202B_200D_200E_200D_206B_206B_200B_200E_206C_202C_206F_200B_202A_206F_200E_202C_200E_200E_206D_200D_202E_200E_206F_206F_206E_202D_202A_206F_206C_206C_200C_202E_206C_202E(useTeleportTicket), _003CMap_003Ed__5._200E_206F_206B_200E_200E_206C_206A_206C_206B_206E_200E_200B_206A_200B_200F_202B_202D_206E_200C_206D_206E_206C_200B_206B_206A_206D_206F_206D_200C_200D_202D_206E_202D_202E_206D_202C_200B_202A_206D_200E_202E(useTeleportTicket));
|
|
goto case 29;
|
|
case 24:
|
|
num = ((sprint != true) ? 866335780 : 866335769);
|
|
continue;
|
|
case 20:
|
|
num = 866335786;
|
|
continue;
|
|
case 13:
|
|
yield break;
|
|
case 11:
|
|
num = 866335780;
|
|
continue;
|
|
case 5:
|
|
num = 866335780;
|
|
continue;
|
|
case 15:
|
|
num = 866335780;
|
|
continue;
|
|
case 45:
|
|
yield break;
|
|
case 12:
|
|
num = 866335780;
|
|
continue;
|
|
case 1:
|
|
move = instruction as NavInstruction.Move;
|
|
num = (((object)move != null) ? 866335791 : 866335762);
|
|
continue;
|
|
case 0:
|
|
{
|
|
Vector3 destination = _003CMap_003Ed__5._206D_206D_206F_202D_202B_200C_206A_200F_206F_202B_200B_200C_200D_202E_200D_202B_200E_206A_200E_200F_202D_202E_206E_200C_206D_200F_202B_202A_206D_200C_202C_206B_202A_206B_202E_200B_206B_200B_206F_206C_202E(step) ?? _003CMap_003Ed__5._206D_206D_206E_202B_206B_202B_200C_202B_202D_200B_200B_200C_200F_200E_202D_200D_200B_206B_200E_200B_202E_200D_202C_202E_200B_202C_200C_202C_200F_200C_202A_200B_206E_206F_206D_200F_206C_202E_202B_202E(move);
|
|
yield return new MoveTask(step, destination)with
|
|
{
|
|
Fly = (_003CMap_003Ed__5._206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _003CMap_003Ed__5._206D_202B_206F_206D_206D_202E_206D_202E_200F_200E_206C_206B_202E_206F_202D_206B_200E_200D_200F_202C_202A_206B_206A_200C_200C_206B_202E_202B_200C_202E_206C_206F_206C_200C_200C_206C_206D_206B_200B_206E_202E(step) == true),
|
|
Land = (_003CMap_003Ed__5._206B_206D_200D_206D_206D_200C_206F_206D_206F_202E_206E_206A_202B_200C_206F_200B_200F_202D_206E_206E_206B_202B_206A_206D_200D_206C_206E_200B_206B_206B_202B_206F_200F_200C_202E_200C_206B_200D_200B_202B_202E(move) || _003CMap_003Ed__5._202C_206C_200C_200C_206B_200E_202C_200F_206C_202C_206F_202A_200B_202A_200C_206E_206A_200D_206C_200D_202A_206D_206C_206D_202E_206F_202A_206B_200F_206F_202B_202E_206A_202C_200E_206D_206E_206A_200D_206A_202E(step) == true),
|
|
SmartNavRouted = true,
|
|
RouteTargetNodeId = _003CMap_003Ed__5._206F_202D_200D_202B_202C_206B_206B_200C_200C_206F_202D_200C_206B_202D_206E_202D_202A_206A_206F_206D_200E_202E_200B_202D_206E_206C_200E_202A_206D_206D_202E_202E_200D_200F_200E_200F_200E_202E_200C_206D_202E(move),
|
|
RouteApproachNodeId = _003CMap_003Ed__5._206B_200F_202D_206E_200D_206A_206A_206F_200F_200D_202A_202C_206E_206F_202B_206C_206F_206A_206D_200E_202B_206A_202C_206B_206D_206D_202A_206C_200E_206D_200B_200E_206F_206A_206A_206F_200C_200B_206D_200C_202E(move)
|
|
};
|
|
goto case 28;
|
|
}
|
|
case 46:
|
|
yield return new AetheryteTeleport.Task(_003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport), _003CMap_003Ed__5._206D_206B_200E_200F_200B_202E_206E_206F_200E_206D_206A_202E_200F_202D_206B_202D_206D_202A_202E_202A_206F_206E_200E_200F_200F_202B_200E_202E_202E_200E_206D_200F_202A_206D_206F_206B_200B_202C_200F_202B_202E(teleport));
|
|
goto case 25;
|
|
case 39:
|
|
num = 866335780;
|
|
continue;
|
|
case 22:
|
|
yield return new Mount.UnmountTask();
|
|
goto case 30;
|
|
case 6:
|
|
num = ((step == null) ? 866335758 : 866335753);
|
|
continue;
|
|
case 38:
|
|
num = ((!_003CMap_003Ed__5._200D_206A_202B_202B_202C_206D_206B_202A_206B_206B_202D_206C_206B_200B_202A_206A_202E_200E_202E_200B_202C_206F_206C_206C_202D_206E_206F_206E_206E_200D_206C_200B_206E_202E_202D_206E_202B_200C_202D_200E_202E(move)) ? 866335758 : 866335759);
|
|
continue;
|
|
case 23:
|
|
useTeleportTicket = instruction as NavInstruction.UseTeleportTicket;
|
|
num = (((object)useTeleportTicket != null) ? 866335776 : 866335754);
|
|
continue;
|
|
case 16:
|
|
yield return new LandTask();
|
|
goto case 47;
|
|
case 31:
|
|
{
|
|
NavInstruction.AethernetHop obj = nextTravel as NavInstruction.AethernetHop;
|
|
num = (((((object)obj != null) ? new EAetheryteLocation?(_003CMap_003Ed__5._206B_202B_200E_200F_206F_202E_202E_206B_202B_206C_202C_206B_202A_202A_206C_202A_206E_202A_206B_200B_202C_200C_202D_200D_206F_206C_200D_206F_202D_202E_200D_200D_200C_200D_200E_206D_200D_202B_202B_206E_202E(obj)) : ((EAetheryteLocation?)null)) == _003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport)) ? 866335780 : 866335778);
|
|
continue;
|
|
}
|
|
case 42:
|
|
num = 866335780;
|
|
continue;
|
|
case 9:
|
|
num = 866335780;
|
|
continue;
|
|
case 21:
|
|
interactWarp = instruction as NavInstruction.InteractWarp;
|
|
num = (((object)interactWarp != null) ? 866335763 : 866335774);
|
|
continue;
|
|
case 28:
|
|
num = ((step == null) ? 866335780 : 866335770);
|
|
continue;
|
|
case 47:
|
|
num = 866335780;
|
|
continue;
|
|
case 35:
|
|
{
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(25, 1);
|
|
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>(-82937501));
|
|
defaultInterpolatedStringHandler.AppendFormatted(instruction);
|
|
throw _003CMap_003Ed__5._202A_200D_206A_200C_206F_202A_202E_200D_206C_202A_200C_206E_202C_206D_202E_206D_200E_200C_206F_202C_206A_202C_206B_200E_206C_206A_202A_206A_200B_206F_206D_200F_200C_200B_200F_200F_206B_200C_206D_206F_202E(defaultInterpolatedStringHandler.ToStringAndClear());
|
|
}
|
|
case 36:
|
|
yield return new LandTask();
|
|
goto case 11;
|
|
case 8:
|
|
num = ((instruction is NavInstruction.Unmount) ? 866335775 : 866335768);
|
|
continue;
|
|
case 34:
|
|
aethernetHop = instruction as NavInstruction.AethernetHop;
|
|
num = (((object)aethernetHop != null) ? 866335784 : 866335752);
|
|
continue;
|
|
case 10:
|
|
yield return new AetheryteTeleport.MoveAwayFromAetheryte(_003CMap_003Ed__5._206E_206E_206B_202A_206C_200B_206D_206E_202B_202D_200E_202B_206F_202B_202B_200C_200C_202B_206D_200D_202D_206B_206E_206A_206B_202C_206A_200E_202C_206E_206B_206A_206E_202D_200D_200B_202A_200B_202B_206B_202E(teleport));
|
|
goto case 42;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|