muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -1,12 +1,7 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Game.ClientState.Objects.SubKinds;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Questionable.Controller.Steps.Common;
|
||||
|
|
@ -23,875 +18,97 @@ internal static class MoveTo
|
|||
{
|
||||
internal sealed class Factory(IClientState clientState, IObjectTable objectTable, AetheryteData aetheryteData, TerritoryData territoryData, SmartNavStep.Factory smartNavFactory, ILogger<Factory> logger) : ITaskFactory
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private sealed class _003C_003Ec__DisplayClass8_0
|
||||
{
|
||||
public Factory _003C_003E4__this;
|
||||
|
||||
public QuestStep step;
|
||||
|
||||
internal bool _003CCreateMoveToObjectTasks_003Eb__0()
|
||||
{
|
||||
return _206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(_003C_003E4__this.clientState) == _206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(step);
|
||||
}
|
||||
|
||||
static uint _206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(IClientState P_0)
|
||||
{
|
||||
return P_0.TerritoryType;
|
||||
}
|
||||
|
||||
static ushort _206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.TerritoryId;
|
||||
}
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
private sealed class _003C_003Ec__DisplayClass9_0
|
||||
{
|
||||
public Factory _003C_003E4__this;
|
||||
|
||||
public QuestStep step;
|
||||
|
||||
internal bool _003CCreateMoveTasks_003Eb__0()
|
||||
{
|
||||
return _202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(_003C_003E4__this.clientState) == _202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(step);
|
||||
}
|
||||
|
||||
static uint _202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(IClientState P_0)
|
||||
{
|
||||
return P_0.TerritoryType;
|
||||
}
|
||||
|
||||
static ushort _202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.TerritoryId;
|
||||
}
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
private sealed class _003CCreateMoveTasks_003Ed__9 : IEnumerable<ITask>, IEnumerable, IEnumerator<ITask>, IEnumerator, IDisposable
|
||||
{
|
||||
private int _003C_003E1__state;
|
||||
|
||||
private ITask _003C_003E2__current;
|
||||
|
||||
private int _003C_003El__initialThreadId;
|
||||
|
||||
public Factory _003C_003E4__this;
|
||||
|
||||
private QuestStep step;
|
||||
|
||||
public QuestStep _003C_003E3__step;
|
||||
|
||||
private _003C_003Ec__DisplayClass9_0 _003C_003E8__1;
|
||||
|
||||
private Vector3 destination;
|
||||
|
||||
public Vector3 _003C_003E3__destination;
|
||||
|
||||
ITask IEnumerator<ITask>.Current
|
||||
{
|
||||
[DebuggerHidden]
|
||||
get
|
||||
{
|
||||
return _003C_003E2__current;
|
||||
}
|
||||
}
|
||||
|
||||
object IEnumerator.Current
|
||||
{
|
||||
[DebuggerHidden]
|
||||
get
|
||||
{
|
||||
return _003C_003E2__current;
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
public _003CCreateMoveTasks_003Ed__9(int _003C_003E1__state)
|
||||
{
|
||||
this._003C_003E1__state = _003C_003E1__state;
|
||||
_003C_003El__initialThreadId = _206E_200B_200D_206F_200E_202C_200E_202B_206B_206E_200B_206F_200C_202B_206E_206C_202E_206B_206A_202D_206E_206C_200E_202D_200B_200C_200D_200F_206B_206E_202D_206C_206E_202D_200E_206F_206C_202B_200C_206C_202E();
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
_003C_003E8__1 = null;
|
||||
_003C_003E1__state = -2;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private bool MoveNext()
|
||||
{
|
||||
int num = _003C_003E1__state;
|
||||
Factory factory = _003C_003E4__this;
|
||||
switch (num)
|
||||
{
|
||||
case 2:
|
||||
goto IL_0231;
|
||||
case 3:
|
||||
goto IL_02e4;
|
||||
case 4:
|
||||
goto IL_0313;
|
||||
case 1:
|
||||
goto IL_0326;
|
||||
case 0:
|
||||
goto IL_035a;
|
||||
}
|
||||
int num2 = -6884996;
|
||||
goto IL_0034;
|
||||
IL_0313:
|
||||
_003C_003E1__state = -1;
|
||||
num2 = -6885020;
|
||||
goto IL_0034;
|
||||
IL_0034:
|
||||
IPlayerCharacter playerCharacter = default(IPlayerCharacter);
|
||||
bool? flag = default(bool?);
|
||||
bool? flag2 = default(bool?);
|
||||
while (true)
|
||||
{
|
||||
int num3 = num2;
|
||||
int num4 = -6885012;
|
||||
int num5 = num3;
|
||||
switch ((num5 | num4) - (num5 & num4))
|
||||
{
|
||||
case 14:
|
||||
goto IL_00a4;
|
||||
case 12:
|
||||
goto IL_00c8;
|
||||
case 0:
|
||||
_003C_003E2__current = new WaitNavmesh.Task();
|
||||
_003C_003E1__state = 2;
|
||||
return true;
|
||||
case 15:
|
||||
_206D_206D_206E_200B_202C_200B_202A_200D_202E_202E_200E_200C_200D_206C_200E_206F_206A_206D_206A_200D_200E_200F_202C_206E_200D_206C_200E_206F_200F_202E_202A_200C_202D_206B_200D_206C_206D_200B_200D_206C_202E((ILogger)factory.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>(2099763005), Array.Empty<object>());
|
||||
return false;
|
||||
case 11:
|
||||
goto IL_012e;
|
||||
case 13:
|
||||
_003C_003E2__current = new LandTask();
|
||||
_003C_003E1__state = 4;
|
||||
return true;
|
||||
case 1:
|
||||
_003C_003E2__current = new MoveTask(_003C_003E8__1.step, destination);
|
||||
_003C_003E1__state = 3;
|
||||
return true;
|
||||
case 16:
|
||||
return false;
|
||||
case 7:
|
||||
_003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass9_0._202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003Ec__DisplayClass9_0._202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(_003C_003E8__1.step), _200B_206A_200C_206D_202C_200B_200C_206A_202C_206D_200B_206B_200F_202D_202B_202E_202B_202C_200C_206B_206D_202D_200C_206E_200D_206C_200F_200D_200D_200B_206F_206E_202B_200B_206E_202B_202D_200B_206C_206C_202E(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>(923276170), factory.territoryData.GetNameAndId(_206E_206B_200C_200E_200B_202B_200F_206F_202E_206C_206A_206C_202B_202A_200D_200C_206D_202B_202D_200C_206F_200B_202A_200D_202C_200D_206C_206F_206F_202A_202C_206E_206E_202C_206D_202A_206C_200D_206A_206D_202E(_003C_003E8__1.step)), 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>(1735737295)));
|
||||
_003C_003E1__state = 1;
|
||||
return true;
|
||||
case 19:
|
||||
goto IL_01e0;
|
||||
case 4:
|
||||
goto IL_020d;
|
||||
case 5:
|
||||
goto end_IL_0034;
|
||||
case 3:
|
||||
goto IL_0244;
|
||||
case 18:
|
||||
goto IL_027a;
|
||||
case 8:
|
||||
return false;
|
||||
case 6:
|
||||
goto IL_02e4;
|
||||
case 17:
|
||||
goto IL_0313;
|
||||
case 2:
|
||||
goto IL_0326;
|
||||
case 10:
|
||||
goto IL_035a;
|
||||
case 9:
|
||||
num2 = -6884996;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
IL_027a:
|
||||
num2 = ((!((_206D_206A_200C_206C_200C_202D_206E_206C_200E_202D_206F_202A_200C_206F_202E_206F_206D_206C_206C_202D_206B_206D_202E_206E_206A_206F_200D_206E_200B_200F_202B_206E_202C_202A_200C_200F_200B_200B_206F_206D_202E((IGameObject)playerCharacter) - _202C_202A_202D_202A_206D_202C_202D_206F_202A_200E_202B_206B_200F_202C_206C_206E_206C_202D_202E_200E_202C_200B_202D_206E_206B_202E_206E_200C_206D_200D_202E_202E_200E_202C_202C_200C_200C_200D_200C_206F_202E(_206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(_003C_003E8__1.step))).Length() <= (_200B_200D_206B_200D_202E_200F_206C_206A_206C_200F_200E_202A_202B_200E_202A_206B_202D_202C_202A_202C_202D_206E_206E_206A_206E_200F_206C_206A_202C_200D_202D_200B_206D_202A_200C_206A_200F_206C_202E_200D_202E(_206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(_003C_003E8__1.step)) ?? 1f))) ? (-6885013) : (-6885021));
|
||||
continue;
|
||||
IL_00a4:
|
||||
num2 = ((flag != true) ? (-6885020) : (-6885023));
|
||||
continue;
|
||||
IL_012e:
|
||||
num2 = ((playerCharacter == null) ? (-6885013) : (-6884994));
|
||||
continue;
|
||||
IL_0244:
|
||||
flag2 = _200F_200F_206E_202E_206E_206C_206D_200F_200E_206D_200D_206A_202B_206B_200C_206B_206E_206B_206E_206B_202B_202C_202A_200F_206C_202C_200C_200D_206F_206E_200E_206C_206E_206A_202E_200F_206A_206E_200D_200D_202E(_003C_003E8__1.step);
|
||||
num2 = ((!flag2.HasValue) ? (-6885020) : (-6885016));
|
||||
continue;
|
||||
IL_01e0:
|
||||
num2 = ((_206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(_003C_003E8__1.step) == null) ? (-6885013) : (-6885017));
|
||||
continue;
|
||||
IL_00c8:
|
||||
flag = _206E_202A_206C_200F_206B_202A_200F_206D_206D_206B_206F_206A_206C_206C_200C_200C_206F_206F_206C_206A_206D_206E_206F_202C_200C_202B_200B_202C_206C_200B_200B_202B_206F_202E_206F_200B_206F_206C_206E_202A_202E(_003C_003E8__1.step);
|
||||
num2 = ((!flag.HasValue) ? (-6885020) : (-6885022));
|
||||
continue;
|
||||
IL_020d:
|
||||
num2 = ((flag2 != true) ? (-6885020) : (-6885024));
|
||||
continue;
|
||||
end_IL_0034:
|
||||
break;
|
||||
}
|
||||
goto IL_0231;
|
||||
IL_02e4:
|
||||
_003C_003E1__state = -1;
|
||||
num2 = ((_003C_003E8__1.step == null) ? (-6885020) : (-6885009));
|
||||
goto IL_0034;
|
||||
IL_0231:
|
||||
_003C_003E1__state = -1;
|
||||
num2 = -6885011;
|
||||
goto IL_0034;
|
||||
IL_0326:
|
||||
_003C_003E1__state = -1;
|
||||
num2 = (_202D_202B_200B_202D_206F_202A_206C_200F_206C_200D_202D_202A_200B_206F_202A_206D_200E_206D_200B_206F_206A_206A_200B_206D_200F_206A_206C_200D_200D_206B_200D_202E_200F_202C_200C_200B_206F_206C_206C_202E(_003C_003E8__1.step) ? (-6885011) : (-6885012));
|
||||
goto IL_0034;
|
||||
IL_035a:
|
||||
_003C_003E1__state = -1;
|
||||
_003C_003E8__1 = new _003C_003Ec__DisplayClass9_0();
|
||||
_003C_003E8__1._003C_003E4__this = _003C_003E4__this;
|
||||
_003C_003E8__1.step = step;
|
||||
playerCharacter = _206E_202A_206D_206A_206A_206C_206C_206E_202D_200F_202B_202D_206C_206A_200E_206A_206E_206F_200C_202A_206F_206F_202B_206C_202D_206B_206C_206F_202D_200F_202A_200E_200D_200D_202C_202E_202D_206C_200F_202B_202E(factory.objectTable);
|
||||
num2 = ((_206F_200E_206E_202E_206D_200E_206A_206F_200E_202E_202E_200C_206A_206C_202D_200F_206C_200B_200D_200C_202C_200C_206D_206E_200C_206B_206B_202D_206C_202E_202D_200D_206E_202E_202A_206A_200C_200E_202D_202E(_003C_003E8__1.step) != EInteractionType.Jump) ? (-6885013) : (-6884993));
|
||||
goto IL_0034;
|
||||
}
|
||||
|
||||
bool IEnumerator.MoveNext()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in MoveNext
|
||||
return this.MoveNext();
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
void IEnumerator.Reset()
|
||||
{
|
||||
throw _206B_200F_202D_202D_202A_202C_206E_206C_206E_200D_202E_206F_200F_202B_202D_202B_206A_206F_206A_200B_202E_202B_202B_206B_206B_200D_206D_206F_206C_206A_202D_200B_200D_202C_202C_200F_200E_206D_202A_202E_202E();
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
IEnumerator<ITask> IEnumerable<ITask>.GetEnumerator()
|
||||
{
|
||||
int num = ((_003C_003E1__state != -2) ? (-1841135018) : (-1841135017));
|
||||
_003CCreateMoveTasks_003Ed__9 _003CCreateMoveTasks_003Ed__ = default(_003CCreateMoveTasks_003Ed__9);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1841135019;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 3:
|
||||
_003CCreateMoveTasks_003Ed__ = new _003CCreateMoveTasks_003Ed__9(0)
|
||||
{
|
||||
_003C_003E4__this = _003C_003E4__this
|
||||
};
|
||||
num = -1841135019;
|
||||
break;
|
||||
case 0:
|
||||
_003CCreateMoveTasks_003Ed__.step = _003C_003E3__step;
|
||||
_003CCreateMoveTasks_003Ed__.destination = _003C_003E3__destination;
|
||||
return _003CCreateMoveTasks_003Ed__;
|
||||
case 4:
|
||||
num = -1841135017;
|
||||
break;
|
||||
case 1:
|
||||
_003C_003E1__state = 0;
|
||||
_003CCreateMoveTasks_003Ed__ = this;
|
||||
num = -1841135019;
|
||||
break;
|
||||
case 2:
|
||||
num = ((_003C_003El__initialThreadId != _206E_200B_200D_206F_200E_202C_200E_202B_206B_206E_200B_206F_200C_202B_206E_206C_202E_206B_206A_202D_206E_206C_200E_202D_200B_200C_200D_200F_206B_206E_202D_206C_206E_202D_200E_206F_206C_202B_200C_206C_202E()) ? (-1841135018) : (-1841135020));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return ((IEnumerable<ITask>)this).GetEnumerator();
|
||||
}
|
||||
|
||||
static int _206E_200B_200D_206F_200E_202C_200E_202B_206B_206E_200B_206F_200C_202B_206E_206C_202E_206B_206A_202D_206E_206C_200E_202D_200B_200C_200D_200F_206B_206E_202D_206C_206E_202D_200E_206F_206C_202B_200C_206C_202E()
|
||||
{
|
||||
return Environment.CurrentManagedThreadId;
|
||||
}
|
||||
|
||||
static IPlayerCharacter _206E_202A_206D_206A_206A_206C_206C_206E_202D_200F_202B_202D_206C_206A_200E_206A_206E_206F_200C_202A_206F_206F_202B_206C_202D_206B_206C_206F_202D_200F_202A_200E_200D_200D_202C_202E_202D_206C_200F_202B_202E(IObjectTable P_0)
|
||||
{
|
||||
return P_0.LocalPlayer;
|
||||
}
|
||||
|
||||
static EInteractionType _206F_200E_206E_202E_206D_200E_206A_206F_200E_202E_202E_200C_206A_206C_202D_200F_206C_200B_200D_200C_202C_200C_206D_206E_200C_206B_206B_202D_206C_202E_202D_200D_206E_202E_202A_206A_200C_200E_202D_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.InteractionType;
|
||||
}
|
||||
|
||||
static JumpDestination _206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.JumpDestination;
|
||||
}
|
||||
|
||||
static Vector3 _206D_206A_200C_206C_200C_202D_206E_206C_200E_202D_206F_202A_200C_206F_202E_206F_206D_206C_206C_202D_206B_206D_202E_206E_206A_206F_200D_206E_200B_200F_202B_206E_202C_202A_200C_200F_200B_200B_206F_206D_202E(IGameObject P_0)
|
||||
{
|
||||
return P_0.Position;
|
||||
}
|
||||
|
||||
static Vector3 _202C_202A_202D_202A_206D_202C_202D_206F_202A_200E_202B_206B_200F_202C_206C_206E_206C_202D_202E_200E_202C_200B_202D_206E_206B_202E_206E_200C_206D_200D_202E_202E_200E_202C_202C_200C_200C_200D_200C_206F_202E(JumpDestination P_0)
|
||||
{
|
||||
return P_0.Position;
|
||||
}
|
||||
|
||||
static float? _200B_200D_206B_200D_202E_200F_206C_206A_206C_200F_200E_202A_202B_200E_202A_206B_202D_202C_202A_202C_202D_206E_206E_206A_206E_200F_206C_206A_202C_200D_202D_200B_206D_202A_200C_206A_200F_206C_202E_200D_202E(JumpDestination P_0)
|
||||
{
|
||||
return P_0.StopDistance;
|
||||
}
|
||||
|
||||
static void _206D_206D_206E_200B_202C_200B_202A_200D_202E_202E_200E_200C_200D_206C_200E_206F_206A_206D_206A_200D_200E_200F_202C_206E_200D_206C_200E_206F_200F_202E_202A_200C_202D_206B_200D_206C_206D_200B_200D_206C_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogDebug(P_1, P_2);
|
||||
}
|
||||
|
||||
static ushort _206E_206B_200C_200E_200B_202B_200F_206F_202E_206C_206A_206C_202B_202A_200D_200C_206D_202B_202D_200C_206F_200B_202A_200D_202C_200D_206C_206F_206F_202A_202C_206E_206E_202C_206D_202A_206C_200D_206A_206D_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.TerritoryId;
|
||||
}
|
||||
|
||||
static string _200B_206A_200C_206D_202C_200B_200C_206A_202C_206D_200B_206B_200F_202D_202B_202E_202B_202C_200C_206B_206D_202D_200C_206E_200D_206C_200F_200D_200D_200B_206F_206E_202B_200B_206E_202B_202D_200B_206C_206C_202E(string P_0, string P_1, string P_2)
|
||||
{
|
||||
return P_0 + P_1 + P_2;
|
||||
}
|
||||
|
||||
static bool _202D_202B_200B_202D_206F_202A_206C_200F_206C_200D_202D_202A_200B_206F_202A_206D_200E_206D_200B_206F_206A_206A_200B_206D_200F_206A_206C_200D_200D_206B_200D_202E_200F_202C_200C_200B_206F_206C_206C_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.DisableNavmesh;
|
||||
}
|
||||
|
||||
static bool? _200F_200F_206E_202E_206E_206C_206D_200F_200E_206D_200D_206A_202B_206B_200C_206B_206E_206B_206E_206B_202B_202C_202A_200F_206C_202C_200C_200D_206F_206E_200E_206C_206E_206A_202E_200F_206A_206E_200D_200D_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.Fly;
|
||||
}
|
||||
|
||||
static bool? _206E_202A_206C_200F_206B_202A_200F_206D_206D_206B_206F_206A_206C_206C_200C_200C_206F_206F_206C_206A_206D_206E_206F_202C_200C_202B_200B_202C_206C_200B_200B_202B_206F_202E_206F_200B_206F_206C_206E_202A_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.Land;
|
||||
}
|
||||
|
||||
static NotSupportedException _206B_200F_202D_202D_202A_202C_206E_206C_206E_200D_202E_206F_200F_202B_202D_202B_206A_206F_206A_200B_202E_202B_202B_206B_206B_200D_206D_206F_206C_206A_202D_200B_200D_202C_202C_200F_200E_206D_202A_202E_202E()
|
||||
{
|
||||
return new NotSupportedException();
|
||||
}
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
private sealed class _003CCreateMoveToObjectTasks_003Ed__8 : IEnumerable<ITask>, IEnumerable, IEnumerator<ITask>, IEnumerator, IDisposable
|
||||
{
|
||||
private int _003C_003E1__state;
|
||||
|
||||
private ITask _003C_003E2__current;
|
||||
|
||||
private int _003C_003El__initialThreadId;
|
||||
|
||||
public Factory _003C_003E4__this;
|
||||
|
||||
private QuestStep step;
|
||||
|
||||
public QuestStep _003C_003E3__step;
|
||||
|
||||
private _003C_003Ec__DisplayClass8_0 _003C_003E8__1;
|
||||
|
||||
ITask IEnumerator<ITask>.Current
|
||||
{
|
||||
[DebuggerHidden]
|
||||
get
|
||||
{
|
||||
return _003C_003E2__current;
|
||||
}
|
||||
}
|
||||
|
||||
object IEnumerator.Current
|
||||
{
|
||||
[DebuggerHidden]
|
||||
get
|
||||
{
|
||||
return _003C_003E2__current;
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
public _003CCreateMoveToObjectTasks_003Ed__8(int _003C_003E1__state)
|
||||
{
|
||||
this._003C_003E1__state = _003C_003E1__state;
|
||||
_003C_003El__initialThreadId = _206E_202C_200C_200E_206D_206B_206A_202E_202B_200B_206D_202B_200C_200E_206F_206F_202E_206E_206B_200F_200B_202D_200C_206F_200B_206A_202E_200F_202B_200C_206F_202A_202D_202D_206D_206B_206C_206A_202D_206F_202E();
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
_003C_003E8__1 = null;
|
||||
_003C_003E1__state = -2;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private bool MoveNext()
|
||||
{
|
||||
int num = _003C_003E1__state;
|
||||
Factory factory = _003C_003E4__this;
|
||||
int num2;
|
||||
switch (num)
|
||||
{
|
||||
default:
|
||||
num2 = -1973141890;
|
||||
goto IL_002f;
|
||||
case 2:
|
||||
_003C_003E1__state = -1;
|
||||
num2 = -1973141894;
|
||||
goto IL_002f;
|
||||
case 1:
|
||||
goto IL_007d;
|
||||
case 0:
|
||||
goto IL_00c3;
|
||||
case 3:
|
||||
break;
|
||||
IL_002f:
|
||||
while (true)
|
||||
{
|
||||
int num3 = num2;
|
||||
int num4 = -1973141893;
|
||||
int num5 = num3;
|
||||
switch ((num5 | num4) - (num5 & num4))
|
||||
{
|
||||
case 7:
|
||||
goto end_IL_002f;
|
||||
case 3:
|
||||
goto IL_007d;
|
||||
case 0:
|
||||
_003C_003E2__current = new WaitNavmesh.Task();
|
||||
_003C_003E1__state = 2;
|
||||
return true;
|
||||
case 6:
|
||||
goto IL_00c3;
|
||||
case 2:
|
||||
goto end_IL_000f;
|
||||
case 1:
|
||||
_003C_003E2__current = new MoveToObject(_003C_003E8__1.step);
|
||||
_003C_003E1__state = 3;
|
||||
return true;
|
||||
case 4:
|
||||
num2 = -1973141890;
|
||||
break;
|
||||
case 5:
|
||||
return false;
|
||||
}
|
||||
continue;
|
||||
end_IL_002f:
|
||||
break;
|
||||
}
|
||||
goto case 2;
|
||||
IL_00c3:
|
||||
_003C_003E1__state = -1;
|
||||
_003C_003E8__1 = new _003C_003Ec__DisplayClass8_0();
|
||||
_003C_003E8__1._003C_003E4__this = _003C_003E4__this;
|
||||
_003C_003E8__1.step = step;
|
||||
_003C_003E2__current = new WaitCondition.Task(() => _003C_003Ec__DisplayClass8_0._206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(_003C_003E8__1._003C_003E4__this.clientState) == _003C_003Ec__DisplayClass8_0._206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(_003C_003E8__1.step), _202B_202C_206F_202E_202E_202D_200B_206C_200C_202C_200D_206A_202E_206C_206E_200F_202D_202E_202E_202D_200E_200C_206B_200F_206C_206B_200D_200F_202E_202E_200F_200B_200F_202A_200C_206C_202C_206E_200B_206D_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), factory.territoryData.GetNameAndId(_206E_200D_200E_202B_206D_206D_202E_202B_206D_200D_200B_202A_200B_206A_206F_206D_202E_202B_200E_206C_206B_206F_202B_200E_206E_206E_202A_206E_202D_200D_200F_200D_202B_200B_202E_200B_200D_202E_206A_206E_202E(_003C_003E8__1.step)), 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>(1735737295)));
|
||||
_003C_003E1__state = 1;
|
||||
return true;
|
||||
IL_007d:
|
||||
_003C_003E1__state = -1;
|
||||
num2 = (_202E_200C_206C_200B_206D_200D_202E_206E_202C_202B_200F_202D_200E_202E_202B_200B_202B_202A_202E_206F_200F_200E_206F_200B_200C_206F_202E_206C_202E_202C_200F_206C_206B_206C_200D_206D_202C_200B_206F_202C_202E(_003C_003E8__1.step) ? (-1973141894) : (-1973141893));
|
||||
goto IL_002f;
|
||||
end_IL_000f:
|
||||
break;
|
||||
}
|
||||
_003C_003E1__state = -1;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IEnumerator.MoveNext()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in MoveNext
|
||||
return this.MoveNext();
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
void IEnumerator.Reset()
|
||||
{
|
||||
throw _202B_202D_206C_206F_202E_200E_200C_206D_202A_200B_202D_200C_206A_200E_206E_206B_206B_202B_200D_200B_202E_206A_202E_202C_206D_200B_206C_200B_202C_200F_202C_200F_206D_206C_200C_206C_202B_200D_206C_200D_202E();
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
IEnumerator<ITask> IEnumerable<ITask>.GetEnumerator()
|
||||
{
|
||||
int num = ((_003C_003E1__state != -2) ? (-1685384377) : (-1685384379));
|
||||
_003CCreateMoveToObjectTasks_003Ed__8 _003CCreateMoveToObjectTasks_003Ed__ = default(_003CCreateMoveToObjectTasks_003Ed__8);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1685384378;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
_003CCreateMoveToObjectTasks_003Ed__.step = _003C_003E3__step;
|
||||
return _003CCreateMoveToObjectTasks_003Ed__;
|
||||
case 3:
|
||||
num = ((_003C_003El__initialThreadId != _206E_202C_200C_200E_206D_206B_206A_202E_202B_200B_206D_202B_200C_200E_206F_206F_202E_206E_206B_200F_200B_202D_200C_206F_200B_206A_202E_200F_202B_200C_206F_202A_202D_202D_206D_206B_206C_206A_202D_206F_202E()) ? (-1685384377) : (-1685384382));
|
||||
break;
|
||||
case 4:
|
||||
_003C_003E1__state = 0;
|
||||
_003CCreateMoveToObjectTasks_003Ed__ = this;
|
||||
num = -1685384378;
|
||||
break;
|
||||
case 2:
|
||||
num = -1685384379;
|
||||
break;
|
||||
case 1:
|
||||
_003CCreateMoveToObjectTasks_003Ed__ = new _003CCreateMoveToObjectTasks_003Ed__8(0)
|
||||
{
|
||||
_003C_003E4__this = _003C_003E4__this
|
||||
};
|
||||
num = -1685384378;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return ((IEnumerable<ITask>)this).GetEnumerator();
|
||||
}
|
||||
|
||||
static int _206E_202C_200C_200E_206D_206B_206A_202E_202B_200B_206D_202B_200C_200E_206F_206F_202E_206E_206B_200F_200B_202D_200C_206F_200B_206A_202E_200F_202B_200C_206F_202A_202D_202D_206D_206B_206C_206A_202D_206F_202E()
|
||||
{
|
||||
return Environment.CurrentManagedThreadId;
|
||||
}
|
||||
|
||||
static ushort _206E_200D_200E_202B_206D_206D_202E_202B_206D_200D_200B_202A_200B_206A_206F_206D_202E_202B_200E_206C_206B_206F_202B_200E_206E_206E_202A_206E_202D_200D_200F_200D_202B_200B_202E_200B_200D_202E_206A_206E_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.TerritoryId;
|
||||
}
|
||||
|
||||
static string _202B_202C_206F_202E_202E_202D_200B_206C_200C_202C_200D_206A_202E_206C_206E_200F_202D_202E_202E_202D_200E_200C_206B_200F_206C_206B_200D_200F_202E_202E_200F_200B_200F_202A_200C_206C_202C_206E_200B_206D_202E(string P_0, string P_1, string P_2)
|
||||
{
|
||||
return P_0 + P_1 + P_2;
|
||||
}
|
||||
|
||||
static bool _202E_200C_206C_200B_206D_200D_202E_206E_202C_202B_200F_202D_200E_202E_202B_200B_202B_202A_202E_206F_200F_200E_206F_200B_200C_206F_202E_206C_202E_202C_200F_206C_206B_206C_200D_206D_202C_200B_206F_202C_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.DisableNavmesh;
|
||||
}
|
||||
|
||||
static NotSupportedException _202B_202D_206C_206F_202E_200E_200C_206D_202A_200B_202D_200C_206A_200E_206E_206B_206B_202B_200D_200B_202E_206A_202E_202C_206D_200B_206C_200B_202C_200F_202C_200F_206D_206C_200C_206C_202B_200D_206C_200D_202E()
|
||||
{
|
||||
return new NotSupportedException();
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<ITask> CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step)
|
||||
{
|
||||
int num = ((!smartNavFactory.HandledRouting) ? (-434907777) : (-434907787));
|
||||
EAetheryteLocation valueOrDefault = default(EAetheryteLocation);
|
||||
EAetheryteLocation? eAetheryteLocation = default(EAetheryteLocation?);
|
||||
bool flag = default(bool);
|
||||
List<LandingZone> list = default(List<LandingZone>);
|
||||
Vector3 destination = default(Vector3);
|
||||
while (true)
|
||||
if (smartNavFactory.HandledRouting)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -434907786;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
return Array.Empty<ITask>();
|
||||
}
|
||||
if (step.DataIds.Count > 0)
|
||||
{
|
||||
return Array.Empty<ITask>();
|
||||
}
|
||||
if (step.Position.HasValue)
|
||||
{
|
||||
List<LandingZone> landingZones = step.LandingZones;
|
||||
Vector3 destination = ((landingZones == null || landingZones.Count <= 0) ? step.Position.Value : LandingZoneMath.CalculateLandingLocation(step.LandingZones));
|
||||
return CreateMoveTasks(step, destination);
|
||||
}
|
||||
if (step != null && step.DataId.HasValue && step.StopDistance.HasValue)
|
||||
{
|
||||
return new global::_003C_003Ez__ReadOnlySingleElementList<ITask>(new WaitForNearDataId(step.DataId.Value, step.StopDistance.Value));
|
||||
}
|
||||
if (step != null && step.DataId.HasValue && !step.Position.HasValue)
|
||||
{
|
||||
return CreateMoveToObjectTasks(step);
|
||||
}
|
||||
EAetheryteLocation valueOrDefault = default(EAetheryteLocation);
|
||||
bool flag;
|
||||
if (step != null)
|
||||
{
|
||||
EInteractionType interactionType = step.InteractionType;
|
||||
if ((uint)(interactionType - 4) <= 1u)
|
||||
{
|
||||
case 23:
|
||||
return Array.Empty<ITask>();
|
||||
case 1:
|
||||
num = ((!_200B_200B_206B_206F_206A_202E_206D_200C_200F_200C_200E_200F_202A_202E_200E_206B_206B_202E_200B_206E_206C_200C_200C_206D_202B_206E_200E_206A_202B_202B_200C_200E_202E_202B_202D_206E_202C_200F_202C_200C_202E(step).HasValue) ? (-434907791) : (-434907783));
|
||||
break;
|
||||
case 4:
|
||||
num = ((_206A_202A_206A_206C_206C_202B_202D_206E_206B_202E_206E_206A_202E_206F_200B_206D_206D_200F_202B_202C_206F_202B_202D_206E_200B_206C_200C_206C_206C_200F_202A_200F_200E_202E_206D_202C_206A_202B_200B_202D_202E(step) != EInteractionType.AttuneAethernetShard) ? (-434907807) : (-434907786));
|
||||
break;
|
||||
case 12:
|
||||
valueOrDefault = eAetheryteLocation.GetValueOrDefault();
|
||||
flag = true;
|
||||
num = -434907793;
|
||||
break;
|
||||
case 21:
|
||||
return Array.Empty<ITask>();
|
||||
case 10:
|
||||
return CreateMoveToObjectTasks(step);
|
||||
case 6:
|
||||
num = ((step == null) ? (-434907807) : (-434907790));
|
||||
break;
|
||||
case 5:
|
||||
list = _206D_202C_202D_206F_206F_206A_202B_206B_206F_206A_202C_200C_200C_206E_202E_206F_206E_202E_202D_202B_200E_206D_202A_206D_202B_200E_200C_206C_202E_202A_200D_202B_206A_202D_202D_200D_202D_206B_202B_202E(step);
|
||||
num = ((list == null) ? (-434907794) : (-434907784));
|
||||
break;
|
||||
case 14:
|
||||
num = ((list.Count <= 0) ? (-434907794) : (-434907808));
|
||||
break;
|
||||
case 15:
|
||||
return new global::_003C_003Ez__ReadOnlySingleElementList<ITask>(new WaitForNearDataId(_202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(step).Value, _200B_200B_206B_206F_206A_202E_206D_200C_200F_200C_200E_200F_202A_202E_200E_206B_206B_202E_200B_206E_206C_200C_200C_206D_202B_206E_200E_206A_202B_202B_200C_200E_202E_202B_202D_206E_202C_200F_202C_200C_202E(step).Value));
|
||||
case 2:
|
||||
num = ((!_206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(step).HasValue) ? (-434907781) : (-434907789));
|
||||
break;
|
||||
case 17:
|
||||
num = (_206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(step).HasValue ? (-434907804) : (-434907780));
|
||||
break;
|
||||
case 26:
|
||||
{
|
||||
EAetheryteLocation valueOrDefault2 = eAetheryteLocation.GetValueOrDefault();
|
||||
return CreateMoveTasks(step, _206B_206E_206C_200C_200C_200F_206A_206E_202E_202D_202C_200B_206F_200D_200E_206A_202B_206C_206E_200F_206A_206B_206B_206F_206D_206D_200F_202C_200C_206C_206E_200C_202E_200F_200B_206B_206B_202C_202E_206F_202E(aetheryteData)[valueOrDefault2]);
|
||||
}
|
||||
case 0:
|
||||
eAetheryteLocation = _200D_200C_206A_200D_202B_206B_200E_206B_200F_202A_200B_206A_206A_202D_200F_200B_200F_202E_206A_206D_202B_200C_200F_206E_206A_202C_206A_206D_206F_206C_202E_200D_200F_206D_206D_202C_202A_206A_206C_202B_202E(step);
|
||||
num = ((!eAetheryteLocation.HasValue) ? (-434907807) : (-434907796));
|
||||
break;
|
||||
case 27:
|
||||
return CreateMoveTasks(step, _206B_206E_206C_200C_200C_200F_206A_206E_202E_202D_202C_200B_206F_200D_200E_206A_202B_206C_206E_200F_206A_206B_206B_206F_206D_206D_200F_202C_200C_206C_206E_200C_202E_200F_200B_206B_206B_202C_202E_206F_202E(aetheryteData)[valueOrDefault]);
|
||||
case 18:
|
||||
num = ((step == null) ? (-434907797) : (-434907798));
|
||||
break;
|
||||
case 3:
|
||||
return Array.Empty<ITask>();
|
||||
case 13:
|
||||
num = ((step == null) ? (-434907791) : (-434907778));
|
||||
break;
|
||||
case 9:
|
||||
num = ((_202B_202E_202C_200C_202A_206E_206E_202B_206C_206A_200D_206D_206C_206C_200C_206A_202C_202D_206C_206F_206A_206A_202C_200C_202D_200C_202E_200E_202C_206C_206F_206B_202E_200E_206F_206D_206E_202E_206E_202E_202E(step).Count <= 0) ? (-434907788) : (-434907805));
|
||||
break;
|
||||
case 29:
|
||||
flag = false;
|
||||
num = -434907793;
|
||||
break;
|
||||
case 16:
|
||||
eAetheryteLocation = _200F_206A_202A_206F_206F_200E_206F_202B_200C_206C_202C_200C_206F_200C_200D_202A_206F_200E_206F_206A_206E_206C_200D_202D_206B_206E_202B_206E_200E_206F_200D_206B_206D_206E_206E_200B_200F_202C_202D_200E_202E(step);
|
||||
num = ((!eAetheryteLocation.HasValue) ? (-434907797) : (-434907782));
|
||||
break;
|
||||
case 7:
|
||||
num = ((step == null) ? (-434907804) : (-434907779));
|
||||
break;
|
||||
case 22:
|
||||
destination = _202D_206B_200C_202E_200D_200F_202D_202D_200F_200D_200E_200B_206A_200E_202C_202B_202C_202D_200D_206C_200D_206F_202A_200D_202C_206A_200E_206B_202D_200D_206F_202D_206B_206B_200D_206B_206C_206A_206A_202D_202E((IReadOnlyList<LandingZone>)_206D_202C_202D_206F_206F_206A_202B_206B_206F_206A_202C_200C_200C_206E_202E_206F_206E_202E_202D_202B_200E_206D_202A_206D_202B_200E_200C_206C_202E_202A_200D_202B_206A_202D_202D_200D_202D_206B_202B_202E(step));
|
||||
num = -434907806;
|
||||
break;
|
||||
case 28:
|
||||
{
|
||||
EInteractionType eInteractionType = _206A_202A_206A_206C_206C_202B_202D_206E_206B_202E_206E_206A_202E_206F_200B_206D_206D_200F_202B_202C_206F_202B_202D_206E_200B_206C_200C_206C_206C_200F_202A_200F_200E_202E_206D_202C_206A_202B_200B_202D_202E(step);
|
||||
num = (((uint)(eInteractionType - 4) > 1u) ? (-434907797) : (-434907802));
|
||||
break;
|
||||
}
|
||||
case 20:
|
||||
return CreateMoveTasks(step, destination);
|
||||
case 8:
|
||||
num = ((!_202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(step).HasValue) ? (-434907791) : (-434907785));
|
||||
break;
|
||||
case 19:
|
||||
num = -434907787;
|
||||
break;
|
||||
case 11:
|
||||
num = ((!_202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(step).HasValue) ? (-434907804) : (-434907801));
|
||||
break;
|
||||
case 24:
|
||||
destination = _206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(step).Value;
|
||||
num = -434907806;
|
||||
break;
|
||||
case 25:
|
||||
num = ((!flag) ? (-434907792) : (-434907795));
|
||||
break;
|
||||
EAetheryteLocation? aetheryte = step.Aetheryte;
|
||||
if (aetheryte.HasValue)
|
||||
{
|
||||
valueOrDefault = aetheryte.GetValueOrDefault();
|
||||
flag = true;
|
||||
goto IL_011b;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
IEnumerable<ITask> ITaskFactory.CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in CreateAllTasks
|
||||
return this.CreateAllTasks(quest, sequence, step);
|
||||
flag = false;
|
||||
goto IL_011b;
|
||||
IL_011b:
|
||||
if (flag)
|
||||
{
|
||||
return CreateMoveTasks(step, aetheryteData.Locations[valueOrDefault]);
|
||||
}
|
||||
if (step != null && step.InteractionType == EInteractionType.AttuneAethernetShard)
|
||||
{
|
||||
EAetheryteLocation? aetheryte = step.AethernetShard;
|
||||
if (aetheryte.HasValue)
|
||||
{
|
||||
EAetheryteLocation valueOrDefault2 = aetheryte.GetValueOrDefault();
|
||||
return CreateMoveTasks(step, aetheryteData.Locations[valueOrDefault2]);
|
||||
}
|
||||
}
|
||||
return Array.Empty<ITask>();
|
||||
}
|
||||
|
||||
private IEnumerable<ITask> CreateMoveToObjectTasks(QuestStep step)
|
||||
{
|
||||
while (true)
|
||||
yield return new WaitCondition.Task(() => clientState.TerritoryType == step.TerritoryId, "Wait(territory: " + territoryData.GetNameAndId(step.TerritoryId) + ")");
|
||||
if (!step.DisableNavmesh)
|
||||
{
|
||||
yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass8_0._206B_206A_206C_202D_200D_206A_202E_200F_202E_202C_202B_200B_200C_206D_200B_206F_206D_206F_200E_206A_202D_202A_206E_200B_206B_200D_206C_200C_202D_200F_206D_206B_206C_202A_206D_206F_202E_200D_206B_206E_202E(clientState) == _003C_003Ec__DisplayClass8_0._206B_202E_206D_202A_206D_200B_202E_200C_206D_206B_200F_206A_206C_200B_206B_206E_206B_202E_202C_202A_202C_206D_202C_206A_202E_200B_206E_206F_202B_206C_206B_206D_200E_206E_200D_206F_206D_200F_206A_202A_202E(step), _003CCreateMoveToObjectTasks_003Ed__8._202B_202C_206F_202E_202E_202D_200B_206C_200C_202C_200D_206A_202E_206C_206E_200F_202D_202E_202E_202D_200E_200C_206B_200F_206C_206B_200D_200F_202E_202E_200F_200B_200F_202A_200C_206C_202C_206E_200B_206D_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(_003CCreateMoveToObjectTasks_003Ed__8._206E_200D_200E_202B_206D_206D_202E_202B_206D_200D_200B_202A_200B_206A_206F_206D_202E_202B_200E_206C_206B_206F_202B_200E_206E_206E_202A_206E_202D_200D_200F_200D_202B_200B_202E_200B_200D_202E_206A_206E_202E(step)), 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>(1735737295)));
|
||||
while (true)
|
||||
{
|
||||
int num = (_003CCreateMoveToObjectTasks_003Ed__8._202E_200C_206C_200B_206D_200D_202E_206E_202C_202B_200F_202D_200E_202E_202B_200B_202B_202A_202E_206F_200F_200E_206F_200B_200C_206F_202E_206C_202E_202C_200F_206C_206B_206C_200D_206D_202C_200B_206F_202C_202E(step) ? (-1973141894) : (-1973141893));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1973141893;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 7:
|
||||
num = -1973141894;
|
||||
break;
|
||||
case 3:
|
||||
goto end_IL_002f;
|
||||
case 0:
|
||||
yield return new WaitNavmesh.Task();
|
||||
goto case 7;
|
||||
case 6:
|
||||
goto end_IL_007d;
|
||||
case 2:
|
||||
yield break;
|
||||
case 1:
|
||||
yield return new MoveToObject(step);
|
||||
yield break;
|
||||
case 4:
|
||||
num = -1973141890;
|
||||
break;
|
||||
case 5:
|
||||
yield break;
|
||||
}
|
||||
continue;
|
||||
end_IL_002f:
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_007d:
|
||||
break;
|
||||
}
|
||||
yield return new WaitNavmesh.Task();
|
||||
}
|
||||
yield return new MoveToObject(step);
|
||||
}
|
||||
|
||||
private IEnumerable<ITask> CreateMoveTasks(QuestStep step, Vector3 destination)
|
||||
{
|
||||
bool? flag2 = default(bool?);
|
||||
bool? flag = default(bool?);
|
||||
while (true)
|
||||
IPlayerCharacter localPlayer = objectTable.LocalPlayer;
|
||||
if (step.InteractionType == EInteractionType.Jump && step.JumpDestination != null && localPlayer != null && (localPlayer.Position - step.JumpDestination.Position).Length() <= (step.JumpDestination.StopDistance ?? 1f))
|
||||
{
|
||||
IPlayerCharacter playerCharacter = _003CCreateMoveTasks_003Ed__9._206E_202A_206D_206A_206A_206C_206C_206E_202D_200F_202B_202D_206C_206A_200E_206A_206E_206F_200C_202A_206F_206F_202B_206C_202D_206B_206C_206F_202D_200F_202A_200E_200D_200D_202C_202E_202D_206C_200F_202B_202E(objectTable);
|
||||
int num = ((_003CCreateMoveTasks_003Ed__9._206F_200E_206E_202E_206D_200E_206A_206F_200E_202E_202E_200C_206A_206C_202D_200F_206C_200B_200D_200C_202C_200C_206D_206E_200C_206B_206B_202D_206C_202E_202D_200D_206E_202E_202A_206A_200C_200E_202D_202E(step) != EInteractionType.Jump) ? (-6885013) : (-6884993));
|
||||
while (true)
|
||||
logger.LogDebug("We're at the jump destination, skipping movement");
|
||||
yield break;
|
||||
}
|
||||
yield return new WaitCondition.Task(() => clientState.TerritoryType == step.TerritoryId, "Wait(territory: " + territoryData.GetNameAndId(step.TerritoryId) + ")");
|
||||
if (!step.DisableNavmesh)
|
||||
{
|
||||
yield return new WaitNavmesh.Task();
|
||||
}
|
||||
yield return new MoveTask(step, destination);
|
||||
if (step != null)
|
||||
{
|
||||
bool? fly = step.Fly;
|
||||
if (fly.HasValue && fly == true && (step.Land ?? false))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -6885012;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 14:
|
||||
num = ((flag2 != true) ? (-6885020) : (-6885023));
|
||||
continue;
|
||||
case 12:
|
||||
flag2 = _003CCreateMoveTasks_003Ed__9._206E_202A_206C_200F_206B_202A_200F_206D_206D_206B_206F_206A_206C_206C_200C_200C_206F_206F_206C_206A_206D_206E_206F_202C_200C_202B_200B_202C_206C_200B_200B_202B_206F_202E_206F_200B_206F_206C_206E_202A_202E(step);
|
||||
num = ((!flag2.HasValue) ? (-6885020) : (-6885022));
|
||||
continue;
|
||||
case 0:
|
||||
yield return new WaitNavmesh.Task();
|
||||
goto case 5;
|
||||
case 15:
|
||||
_003CCreateMoveTasks_003Ed__9._206D_206D_206E_200B_202C_200B_202A_200D_202E_202E_200E_200C_200D_206C_200E_206F_206A_206D_206A_200D_200E_200F_202C_206E_200D_206C_200E_206F_200F_202E_202A_200C_202D_206B_200D_206C_206D_200B_200D_206C_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>(2099763005), Array.Empty<object>());
|
||||
yield break;
|
||||
case 11:
|
||||
num = ((playerCharacter == null) ? (-6885013) : (-6884994));
|
||||
continue;
|
||||
case 13:
|
||||
yield return new LandTask();
|
||||
goto case 17;
|
||||
case 1:
|
||||
yield return new MoveTask(step, destination);
|
||||
goto case 6;
|
||||
case 16:
|
||||
yield break;
|
||||
case 7:
|
||||
yield return new WaitCondition.Task(() => _003C_003Ec__DisplayClass9_0._202A_202A_200F_200E_200E_202E_206B_200B_200C_202C_206E_206B_200E_200D_202D_200F_202E_206C_206D_206E_206C_200E_200E_206F_200D_200D_202E_206D_200F_206A_206D_206E_200D_202A_200E_202C_202D_202E_202C_202E(clientState) == _003C_003Ec__DisplayClass9_0._202A_206A_206A_200F_200F_206F_206E_202C_202B_200F_202D_206C_200C_200C_200E_202D_202C_200E_200B_206A_202D_200C_200B_206F_200F_202D_200B_206C_206E_202C_200B_202A_200F_202C_202E_200D_206D_206C_206A_206F_202E(step), _003CCreateMoveTasks_003Ed__9._200B_206A_200C_206D_202C_200B_200C_206A_202C_206D_200B_206B_200F_202D_202B_202E_202B_202C_200C_206B_206D_202D_200C_206E_200D_206C_200F_200D_200D_200B_206F_206E_202B_200B_206E_202B_202D_200B_206C_206C_202E(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>(923276170), territoryData.GetNameAndId(_003CCreateMoveTasks_003Ed__9._206E_206B_200C_200E_200B_202B_200F_206F_202E_206C_206A_206C_202B_202A_200D_200C_206D_202B_202D_200C_206F_200B_202A_200D_202C_200D_206C_206F_206F_202A_202C_206E_206E_202C_206D_202A_206C_200D_206A_206D_202E(step)), 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>(1735737295)));
|
||||
goto case 2;
|
||||
case 19:
|
||||
num = ((_003CCreateMoveTasks_003Ed__9._206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(step) == null) ? (-6885013) : (-6885017));
|
||||
continue;
|
||||
case 4:
|
||||
num = ((flag != true) ? (-6885020) : (-6885024));
|
||||
continue;
|
||||
case 5:
|
||||
num = -6885011;
|
||||
continue;
|
||||
case 3:
|
||||
flag = _003CCreateMoveTasks_003Ed__9._200F_200F_206E_202E_206E_206C_206D_200F_200E_206D_200D_206A_202B_206B_200C_206B_206E_206B_206E_206B_202B_202C_202A_200F_206C_202C_200C_200D_206F_206E_200E_206C_206E_206A_202E_200F_206A_206E_200D_200D_202E(step);
|
||||
num = ((!flag.HasValue) ? (-6885020) : (-6885016));
|
||||
continue;
|
||||
case 18:
|
||||
num = ((!((_003CCreateMoveTasks_003Ed__9._206D_206A_200C_206C_200C_202D_206E_206C_200E_202D_206F_202A_200C_206F_202E_206F_206D_206C_206C_202D_206B_206D_202E_206E_206A_206F_200D_206E_200B_200F_202B_206E_202C_202A_200C_200F_200B_200B_206F_206D_202E((IGameObject)playerCharacter) - _003CCreateMoveTasks_003Ed__9._202C_202A_202D_202A_206D_202C_202D_206F_202A_200E_202B_206B_200F_202C_206C_206E_206C_202D_202E_200E_202C_200B_202D_206E_206B_202E_206E_200C_206D_200D_202E_202E_200E_202C_202C_200C_200C_200D_200C_206F_202E(_003CCreateMoveTasks_003Ed__9._206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(step))).Length() <= (_003CCreateMoveTasks_003Ed__9._200B_200D_206B_200D_202E_200F_206C_206A_206C_200F_200E_202A_202B_200E_202A_206B_202D_202C_202A_202C_202D_206E_206E_206A_206E_200F_206C_206A_202C_200D_202D_200B_206D_202A_200C_206A_200F_206C_202E_200D_202E(_003CCreateMoveTasks_003Ed__9._206B_206D_202A_202C_206B_206A_202B_206C_200E_202E_202C_202D_206B_200D_206D_200E_202B_202E_200D_200F_200C_206A_206E_200C_206B_202B_200B_200F_202D_202A_206C_206C_206B_206F_202D_202D_200E_202E_200C_202C_202E(step)) ?? 1f))) ? (-6885013) : (-6885021));
|
||||
continue;
|
||||
case 8:
|
||||
yield break;
|
||||
case 6:
|
||||
num = ((step == null) ? (-6885020) : (-6885009));
|
||||
continue;
|
||||
case 17:
|
||||
num = -6885020;
|
||||
continue;
|
||||
case 2:
|
||||
num = (_003CCreateMoveTasks_003Ed__9._202D_202B_200B_202D_206F_202A_206C_200F_206C_200D_202D_202A_200B_206F_202A_206D_200E_206D_200B_206F_206A_206A_200B_206D_200F_206A_206C_200D_200D_206B_200D_202E_200F_202C_200C_200B_206F_206C_206C_202E(step) ? (-6885011) : (-6885012));
|
||||
continue;
|
||||
case 10:
|
||||
break;
|
||||
case 9:
|
||||
num = -6884996;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
yield return new LandTask();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static List<uint> _202B_202E_202C_200C_202A_206E_206E_202B_206C_206A_200D_206D_206C_206C_200C_206A_202C_202D_206C_206F_206A_206A_202C_200C_202D_200C_202E_200E_202C_206C_206F_206B_202E_200E_206F_206D_206E_202E_206E_202E_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.DataIds;
|
||||
}
|
||||
|
||||
static Vector3? _206D_202C_202B_202A_202B_206B_200B_206A_202E_200D_202E_200C_206E_206B_200F_206A_200E_200C_200F_206B_202B_200E_202C_206E_200F_200D_200F_202D_200D_200E_206E_206B_206C_206F_206A_202B_206C_206E_206D_202B_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.Position;
|
||||
}
|
||||
|
||||
static List<LandingZone> _206D_202C_202D_206F_206F_206A_202B_206B_206F_206A_202C_200C_200C_206E_202E_206F_206E_202E_202D_202B_200E_206D_202A_206D_202B_200E_200C_206C_202E_202A_200D_202B_206A_202D_202D_200D_202D_206B_202B_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.LandingZones;
|
||||
}
|
||||
|
||||
static Vector3 _202D_206B_200C_202E_200D_200F_202D_202D_200F_200D_200E_200B_206A_200E_202C_202B_202C_202D_200D_206C_200D_206F_202A_200D_202C_206A_200E_206B_202D_200D_206F_202D_206B_206B_200D_206B_206C_206A_206A_202D_202E(IReadOnlyList<LandingZone> P_0)
|
||||
{
|
||||
return LandingZoneMath.CalculateLandingLocation(P_0);
|
||||
}
|
||||
|
||||
static uint? _202A_200D_206E_200D_200E_200B_202D_200B_202B_206B_206C_200E_202E_206B_206E_202E_200F_200D_200C_200B_202B_202B_206E_200C_206A_200C_200B_202A_202E_206B_200B_206B_206D_200C_206E_200C_202C_202A_200D_200E_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.DataId;
|
||||
}
|
||||
|
||||
static float? _200B_200B_206B_206F_206A_202E_206D_200C_200F_200C_200E_200F_202A_202E_200E_206B_206B_202E_200B_206E_206C_200C_200C_206D_202B_206E_200E_206A_202B_202B_200C_200E_202E_202B_202D_206E_202C_200F_202C_200C_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.StopDistance;
|
||||
}
|
||||
|
||||
static EInteractionType _206A_202A_206A_206C_206C_202B_202D_206E_206B_202E_206E_206A_202E_206F_200B_206D_206D_200F_202B_202C_206F_202B_202D_206E_200B_206C_200C_206C_206C_200F_202A_200F_200E_202E_206D_202C_206A_202B_200B_202D_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.InteractionType;
|
||||
}
|
||||
|
||||
static EAetheryteLocation? _200F_206A_202A_206F_206F_200E_206F_202B_200C_206C_202C_200C_206F_200C_200D_202A_206F_200E_206F_206A_206E_206C_200D_202D_206B_206E_202B_206E_200E_206F_200D_206B_206D_206E_206E_200B_200F_202C_202D_200E_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.Aetheryte;
|
||||
}
|
||||
|
||||
static ReadOnlyDictionary<EAetheryteLocation, Vector3> _206B_206E_206C_200C_200C_200F_206A_206E_202E_202D_202C_200B_206F_200D_200E_206A_202B_206C_206E_200F_206A_206B_206B_206F_206D_206D_200F_202C_200C_206C_206E_200C_202E_200F_200B_206B_206B_202C_202E_206F_202E(AetheryteData P_0)
|
||||
{
|
||||
return P_0.Locations;
|
||||
}
|
||||
|
||||
static EAetheryteLocation? _200D_200C_206A_200D_202B_206B_200E_206B_200F_202A_200B_206A_206A_202D_200F_200B_200F_202E_206A_206D_202B_200C_200F_206E_206A_202C_206A_206D_206F_206C_202E_200D_200F_206D_206D_202C_202A_206A_206C_202B_202E(QuestStep P_0)
|
||||
{
|
||||
return P_0.AethernetShard;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue