forked from aly/qstbak
2281 lines
112 KiB
C#
2281 lines
112 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Numerics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using System.Text.Json;
|
|
using System.Threading;
|
|
using Dalamud.Plugin.Services;
|
|
using LLib.GameData;
|
|
using LLib.Shop;
|
|
using Lumina.Excel;
|
|
using Lumina.Excel.Sheets;
|
|
using Microsoft.Extensions.Logging;
|
|
using SmartNav.Model.Navigation;
|
|
|
|
namespace SmartNav.Data;
|
|
|
|
public sealed class WarpDataService
|
|
{
|
|
private sealed record Snapshot(IReadOnlyList<WarpInfo> Warps, IReadOnlyDictionary<uint, WarpInfo> WarpsByRowId, IReadOnlySet<uint> SkippedWarpIds, int TotalLuminaWarps, int NavigationRelevantWarps, int WarpsWithDestination, int WarpsWithUnknownSource, int WarpsWithDerivedSource, int WarpsWithDerivedArrival, int SkippedNoDest, int SkippedSourceBlocked, int SkippedDestBlocked, bool DerivedSourcesPending)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _206C_200E_202B_200D_206C_202B_200C_206F_200D_200F_200B_202A_206C_206F_202C_206E_202D_202E_202A_206A_202B_200B_202D_202E_200F_206F_200C_200C_206F_200D_202B_200F_206A_202D_200C_200D_206F_206D_202B_206E_202E(typeof(Snapshot).TypeHandle);
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _202E_202D_206E_202E_206A_200F_202A_202A_202B_200D_206F_200D_206A_202C_202D_200D_200C_202E_202C_202A_200B_200F_206A_200E_202B_206F_206E_202A_206D_200E_206F_202E_202A_200C_206F_200C_206C_200E_200D_202C_202E();
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(stringBuilder, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(1756001868));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(stringBuilder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-169322018));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-373285292) : (-373285289));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -373285290;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = -373285289;
|
|
break;
|
|
case 1:
|
|
_202E_200D_202E_200D_202C_202D_206D_202A_200E_202A_206D_206D_200D_200F_206F_206E_206F_202C_202A_202E_202A_202A_202D_200B_200F_200B_202E_206F_206F_202C_206B_202C_202B_202A_206B_202E_202B_206D_206D_202C_202E(stringBuilder, ' ');
|
|
num = -373285292;
|
|
break;
|
|
case 2:
|
|
_202E_200D_202E_200D_202C_202D_206D_202A_200E_202A_206D_206D_200D_200F_206F_206E_206F_202C_202A_202E_202A_202A_202D_200B_200F_200B_202E_206F_206F_202C_206B_202C_202B_202A_206B_202E_202B_206D_206D_202C_202E(stringBuilder, '}');
|
|
return _202D_206D_202D_206A_200D_202E_202E_200E_202B_206E_200E_206A_206E_206C_202A_200E_202A_202B_202C_200D_200D_200D_206F_200F_206E_200C_206B_200D_206F_202B_200E_200D_200B_202C_200D_202D_202C_200D_200C_206C_202E((object)stringBuilder);
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_200E_200F_200E_200E_202D_202A_206D_206F_206B_200E_200D_206B_202D_200C_202B_202E_202C_200F_200E_202B_202E_206D_206E_200E_202D_206B_200B_206F_200E_206F_202A_200D_206B_202B_200B_202D_200C_206C_206B_202B_202E();
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(-144598280));
|
|
_200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(builder, (object)Warps);
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-686068959));
|
|
_200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(builder, (object)WarpsByRowId);
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(-867140763));
|
|
_200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(builder, (object)SkippedWarpIds);
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(-1874028006));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, TotalLuminaWarps.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(285549254));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, NavigationRelevantWarps.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._206C_206C_200C_206D_206C_206F_202D_206B_206F_202C_200F_206A_200E_202A_202C_206F_200E_206A_200B_200F_202A_202C_206F_206A_200C_200D_200E_200E_202A_200C_206B_200E_206E_206C_200D_202B_206F_200C_202E_206E_202E<string>(-2005174402));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithDestination.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(882690042));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithUnknownSource.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(-729388178));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithDerivedSource.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-404384534));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, WarpsWithDerivedArrival.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(133303081));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, SkippedNoDest.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(504753412));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, SkippedSourceBlocked.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(-321305684));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, SkippedDestBlocked.ToString());
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(201100359));
|
|
_206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(builder, DerivedSourcesPending.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(Snapshot? other)
|
|
{
|
|
int num = (((object)this == other) ? 730754972 : 730754966);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 730754975;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
num = 730754966;
|
|
break;
|
|
case 14:
|
|
num = ((!EqualityComparer<IReadOnlyDictionary<uint, WarpInfo>>.Default.Equals(WarpsByRowId, other.WarpsByRowId)) ? 730754963 : 730754971);
|
|
break;
|
|
case 13:
|
|
num = ((!EqualityComparer<int>.Default.Equals(SkippedDestBlocked, other.SkippedDestBlocked)) ? 730754963 : 730754964);
|
|
break;
|
|
case 12:
|
|
return false;
|
|
case 9:
|
|
num = (((object)other == null) ? 730754963 : 730754959);
|
|
break;
|
|
case 15:
|
|
num = ((!EqualityComparer<int>.Default.Equals(TotalLuminaWarps, other.TotalLuminaWarps)) ? 730754963 : 730754975);
|
|
break;
|
|
case 3:
|
|
return true;
|
|
case 4:
|
|
num = ((!EqualityComparer<IReadOnlySet<uint>>.Default.Equals(SkippedWarpIds, other.SkippedWarpIds)) ? 730754963 : 730754960);
|
|
break;
|
|
case 10:
|
|
num = ((!EqualityComparer<int>.Default.Equals(WarpsWithDerivedSource, other.WarpsWithDerivedSource)) ? 730754963 : 730754974);
|
|
break;
|
|
case 7:
|
|
num = ((!EqualityComparer<int>.Default.Equals(SkippedNoDest, other.SkippedNoDest)) ? 730754963 : 730754970);
|
|
break;
|
|
case 0:
|
|
num = ((!EqualityComparer<int>.Default.Equals(NavigationRelevantWarps, other.NavigationRelevantWarps)) ? 730754963 : 730754969);
|
|
break;
|
|
case 16:
|
|
num = ((!_202A_206D_202B_206C_200B_202E_206F_200B_206C_206A_202B_206F_202A_202D_200D_202D_200D_200E_200F_206E_206E_202A_202A_206C_202A_206B_206D_200B_200C_206C_206A_206E_200E_206D_206B_200D_206E_202A_206D_200F_202E(EqualityContract, other.EqualityContract)) ? 730754963 : 730754967);
|
|
break;
|
|
case 6:
|
|
num = ((!EqualityComparer<int>.Default.Equals(WarpsWithDestination, other.WarpsWithDestination)) ? 730754963 : 730754958);
|
|
break;
|
|
case 1:
|
|
num = ((!EqualityComparer<int>.Default.Equals(WarpsWithDerivedArrival, other.WarpsWithDerivedArrival)) ? 730754963 : 730754968);
|
|
break;
|
|
case 5:
|
|
num = ((!EqualityComparer<int>.Default.Equals(SkippedSourceBlocked, other.SkippedSourceBlocked)) ? 730754963 : 730754962);
|
|
break;
|
|
case 11:
|
|
return EqualityComparer<bool>.Default.Equals(DerivedSourcesPending, other.DerivedSourcesPending);
|
|
case 17:
|
|
num = ((!EqualityComparer<int>.Default.Equals(WarpsWithUnknownSource, other.WarpsWithUnknownSource)) ? 730754963 : 730754965);
|
|
break;
|
|
case 8:
|
|
num = ((!EqualityComparer<IReadOnlyList<WarpInfo>>.Default.Equals(Warps, other.Warps)) ? 730754963 : 730754961);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<Snapshot>.Equals(Snapshot? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _206C_200E_202B_200D_206C_202B_200C_206F_200D_200F_200B_202A_206C_206F_202C_206E_202D_202E_202A_206A_202B_200B_202D_202E_200F_206F_200C_200C_206F_200D_202B_200F_206A_202D_200C_200D_206F_206D_202B_206E_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _202E_202D_206E_202E_206A_200F_202A_202A_202B_200D_206F_200D_206A_202C_202D_200D_200C_202E_202C_202A_200B_200F_206A_200E_202B_206F_206E_202A_206D_200E_206F_202E_202A_200C_206F_200C_206C_200E_200D_202C_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _206C_206E_202B_202D_206B_200F_200F_200F_200C_206C_206A_206C_206E_202E_206F_200F_206B_206A_206C_206F_200C_200D_200C_200D_206F_200F_200F_202A_200D_206F_202E_200C_206A_206A_200B_202B_206C_202B_200B_202B_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _202E_200D_202E_200D_202C_202D_206D_202A_200E_202A_206D_206D_200D_200F_206F_206E_206F_202C_202A_202E_202A_202A_202D_200B_200F_200B_202E_206F_206F_202C_206B_202C_202B_202A_206B_202E_202B_206D_206D_202C_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _202D_206D_202D_206A_200D_202E_202E_200E_202B_206E_200E_206A_206E_206C_202A_200E_202A_202B_202C_200D_200D_200D_206F_200F_206E_200C_206B_200D_206F_202B_200E_200D_200B_202C_200D_202D_202C_200D_200C_206C_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _200E_200F_200E_200E_202D_202A_206D_206F_206B_200E_200D_206B_202D_200C_202B_202E_202C_200F_200E_202B_202E_206D_206E_200E_202D_206B_200B_206F_200E_206F_202A_200D_206B_202B_200B_202D_200C_206C_206B_202B_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _200B_202B_206B_200D_202C_200F_206D_202E_200B_202E_202A_206C_200B_202C_206F_202B_202B_202B_202C_206E_200D_202D_200D_206B_206E_202B_200C_202E_206F_200F_200F_200F_202A_206F_206A_202E_206E_206B_206F_202B_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _202A_206D_202B_206C_200B_202E_206F_200B_206C_206A_202B_206F_202A_202D_200D_202D_200D_200E_200F_206E_206E_202A_202A_206C_202A_206B_206D_200B_200C_206C_206A_206E_200E_206D_206B_200D_206E_202A_206D_200F_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
public sealed record WarpInfo(uint RowId, string? Name, string? Question, ushort SourceTerritoryId, Vector3 SourcePosition, uint? NpcDataId, string? NpcName, ushort DestTerritoryId, Vector3? DestPosition, int GilCost, uint[] RequiredQuestIds, uint[]? AvailableDuringMsqIds = null, ushort RequiredClassLevel = 0, bool DerivedSource = false, bool RequireAllQuests = true, bool DerivedArrival = false)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _202B_202D_202D_202E_202C_206A_206C_206C_202D_200E_206F_202A_206B_206C_206F_202A_202E_200D_202D_200E_202B_200F_200C_206A_200E_200F_202D_206F_206A_206C_206F_206E_202E_200E_202A_202C_202C_202C_202C_202E(typeof(WarpInfo).TypeHandle);
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _206C_200F_200E_202B_202B_206C_206F_206D_200D_206F_206F_202B_202B_202D_202E_202C_202D_202A_206F_200C_202D_206B_202A_200F_206C_206E_200B_202B_200B_202C_202E_200C_206C_200E_200B_202D_200D_202C_206D_206F_202E();
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(stringBuilder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-1185315143));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(stringBuilder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-169322018));
|
|
int num = ((!PrintMembers(stringBuilder)) ? 2109038316 : 2109038319);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 2109038317;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 2109038319;
|
|
break;
|
|
case 2:
|
|
_202B_206B_202B_206F_202A_202A_202B_202E_206C_202C_206E_202D_202D_200D_200C_200D_202B_202B_202E_202A_206A_202A_206B_206C_202B_202E_200F_202C_206F_206C_206A_200F_200F_206D_200E_206C_202C_206A_206F_200C_202E(stringBuilder, ' ');
|
|
num = 2109038316;
|
|
break;
|
|
case 1:
|
|
_202B_206B_202B_206F_202A_202A_202B_202E_206C_202C_206E_202D_202D_200D_200C_200D_202B_202B_202E_202A_206A_202A_206B_206C_202B_202E_200F_202C_206F_206C_206A_200F_200F_206D_200E_206C_202C_206A_206F_200C_202E(stringBuilder, '}');
|
|
return _200C_206F_202B_206F_206D_202B_202B_202A_202C_206F_200B_202D_206E_200C_206A_206A_202D_200D_202E_206F_206F_202E_202A_202A_206F_206B_206C_200D_206E_200C_202D_202E_202B_206B_200F_202C_206F_202B_202E_206E_202E((object?)stringBuilder);
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_202E_206E_202D_202B_200D_206D_202B_206D_200E_206D_206C_202E_200E_206D_200C_200E_206D_202E_206E_200E_202E_200B_200F_206A_202E_206F_202A_202C_200F_206A_206A_202B_206F_202D_202A_202D_200F_202A_206A_206D_202E();
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_206C_200C_206D_206C_206F_202D_206B_206F_202C_200F_206A_200E_202A_202C_206F_200E_206A_200B_200F_202A_202C_206F_206A_200C_200D_200E_200E_202A_200C_206B_200E_206E_206C_200D_202B_206F_200C_202E_206E_202E<string>(514129598));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, RowId.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-350069621));
|
|
_202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)Name);
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-1584832933));
|
|
_202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)Question);
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._200B_200C_206E_200D_206E_206D_200D_206D_206B_206F_202C_206B_206D_202D_206D_206D_202D_202E_200B_200E_206D_206A_206F_202A_202A_200F_206F_202E_206F_206A_206C_206F_202B_202B_206C_200E_200E_200D_206E_206D_202E<string>(-894729286));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, SourceTerritoryId.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(6170393));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, SourcePosition.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(995075649));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, NpcDataId.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(1189830150));
|
|
_202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)NpcName);
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(1613414786));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DestTerritoryId.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(526349895));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DestPosition.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(353108370));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, GilCost.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(1935506742));
|
|
_202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)RequiredQuestIds);
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(-1563123768));
|
|
_202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(builder, (object?)AvailableDuringMsqIds);
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(1694220309));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, RequiredClassLevel.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(1760540087));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DerivedSource.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_206C_200C_206D_206C_206F_202D_206B_206F_202C_200F_206A_200E_202A_202C_206F_200E_206A_200B_200F_202A_202C_206F_206A_200C_200D_200E_200E_202A_200C_206B_200E_206E_206C_200D_202B_206F_200C_202E_206E_202E<string>(219114932));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, RequireAllQuests.ToString());
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(1955470053));
|
|
_200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(builder, DerivedArrival.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(WarpInfo? other)
|
|
{
|
|
int num = (((object)this == other) ? (-469766671) : (-469766678));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -469766688;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 4:
|
|
num = ((!EqualityComparer<uint[]>.Default.Equals(RequiredQuestIds, other.RequiredQuestIds)) ? (-469766669) : (-469766672));
|
|
break;
|
|
case 12:
|
|
num = ((!EqualityComparer<string>.Default.Equals(Name, other.Name)) ? (-469766669) : (-469766679));
|
|
break;
|
|
case 9:
|
|
num = ((!EqualityComparer<string>.Default.Equals(Question, other.Question)) ? (-469766669) : (-469766674));
|
|
break;
|
|
case 6:
|
|
return EqualityComparer<bool>.Default.Equals(DerivedArrival, other.DerivedArrival);
|
|
case 17:
|
|
return true;
|
|
case 0:
|
|
num = ((!EqualityComparer<Vector3>.Default.Equals(SourcePosition, other.SourcePosition)) ? (-469766669) : (-469766673));
|
|
break;
|
|
case 8:
|
|
num = ((!EqualityComparer<ushort>.Default.Equals(DestTerritoryId, other.DestTerritoryId)) ? (-469766669) : (-469766685));
|
|
break;
|
|
case 18:
|
|
num = ((!EqualityComparer<uint>.Default.Equals(RowId, other.RowId)) ? (-469766669) : (-469766676));
|
|
break;
|
|
case 16:
|
|
num = ((!EqualityComparer<uint[]>.Default.Equals(AvailableDuringMsqIds, other.AvailableDuringMsqIds)) ? (-469766669) : (-469766687));
|
|
break;
|
|
case 5:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(RequireAllQuests, other.RequireAllQuests)) ? (-469766669) : (-469766682));
|
|
break;
|
|
case 3:
|
|
num = ((!EqualityComparer<Vector3?>.Default.Equals(DestPosition, other.DestPosition)) ? (-469766669) : (-469766681));
|
|
break;
|
|
case 1:
|
|
num = ((!EqualityComparer<ushort>.Default.Equals(RequiredClassLevel, other.RequiredClassLevel)) ? (-469766669) : (-469766668));
|
|
break;
|
|
case 19:
|
|
return false;
|
|
case 13:
|
|
num = -469766678;
|
|
break;
|
|
case 7:
|
|
num = ((!EqualityComparer<int>.Default.Equals(GilCost, other.GilCost)) ? (-469766669) : (-469766684));
|
|
break;
|
|
case 11:
|
|
num = ((!_206A_200D_202A_200D_206F_206F_202B_206D_200E_202E_206D_206C_200D_202C_202A_200C_200D_202B_206A_200F_206C_206E_202E_206D_202B_206C_200F_200F_202E_202B_200D_202E_206B_206A_206A_200B_202C_200C_202D_206F_202E(EqualityContract, other.EqualityContract)) ? (-469766669) : (-469766670));
|
|
break;
|
|
case 14:
|
|
num = ((!EqualityComparer<ushort>.Default.Equals(SourceTerritoryId, other.SourceTerritoryId)) ? (-469766669) : (-469766688));
|
|
break;
|
|
case 20:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(DerivedSource, other.DerivedSource)) ? (-469766669) : (-469766683));
|
|
break;
|
|
case 15:
|
|
num = ((!EqualityComparer<uint?>.Default.Equals(NpcDataId, other.NpcDataId)) ? (-469766669) : (-469766686));
|
|
break;
|
|
case 10:
|
|
num = (((object)other == null) ? (-469766669) : (-469766677));
|
|
break;
|
|
case 2:
|
|
num = ((!EqualityComparer<string>.Default.Equals(NpcName, other.NpcName)) ? (-469766669) : (-469766680));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<WarpInfo>.Equals(WarpInfo? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type? _202B_202D_202D_202E_202C_206A_206C_206C_202D_200E_206F_202A_206B_206C_206F_202A_202E_200D_202D_200E_202B_200F_200C_206A_200E_200F_202D_206F_206A_206C_206F_206E_202E_200E_202A_202C_202C_202C_202C_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder? _206C_200F_200E_202B_202B_206C_206F_206D_200D_206F_206F_202B_202B_202D_202E_202C_202D_202A_206F_200C_202D_206B_202A_200F_206C_206E_200B_202B_200B_202C_202E_200C_206C_200E_200B_202D_200D_202C_206D_206F_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder? _200E_200B_200D_200C_206C_202C_200D_200F_202B_200D_206F_202B_206E_200F_202D_202A_202C_202C_206D_206D_206E_206B_200D_200C_202D_200C_200E_202A_202C_200E_202A_202B_202C_200E_202D_200C_206E_206A_200D_202D_202E(StringBuilder? P_0, string? P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder? _202B_206B_202B_206F_202A_202A_202B_202E_206C_202C_206E_202D_202D_200D_200C_200D_202B_202B_202E_202A_206A_202A_206B_206C_202B_202E_200F_202C_206F_206C_206A_200F_200F_206D_200E_206C_202C_206A_206F_200C_202E(StringBuilder? P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string? _200C_206F_202B_206F_206D_202B_202B_202A_202C_206F_200B_202D_206E_200C_206A_206A_202D_200D_202E_206F_206F_202E_202A_202A_206F_206B_206C_200D_206E_200C_202D_202E_202B_206B_200F_202C_206F_202B_202E_206E_202E(object? P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _202E_206E_202D_202B_200D_206D_202B_206D_200E_206D_206C_202E_200E_206D_200C_200E_206D_202E_206E_200E_202E_200B_200F_206A_202E_206F_202A_202C_200F_206A_206A_202B_206F_202D_202A_202D_200F_202A_206A_206D_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder? _202B_206E_202A_206C_206E_202D_206E_200C_206F_200C_206F_206E_206D_202D_206D_202D_202E_202E_202A_206A_206F_206B_202A_206A_200E_200E_206B_206D_200E_202E_206E_200D_202D_206F_206F_200D_202E_206D_202C_206D_202E(StringBuilder? P_0, object? P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _206A_200D_202A_200D_206F_206F_202B_206D_200E_202E_206D_206C_200D_202C_202A_200C_200D_202B_206A_200F_206C_206E_202E_206D_202B_206C_200F_200F_202E_202B_200D_202E_206B_206A_206A_200B_202C_200C_202D_206F_202E(Type? P_0, Type? P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec__DisplayClass39_0
|
|
{
|
|
public ExcelSheet<ArrayEventHandler> arrayEventHandlers;
|
|
|
|
public IDataManager dataManager;
|
|
|
|
public ExcelSheet<Level> levelSheet;
|
|
|
|
internal IEnumerable<uint>? _003CBuildSnapshot_003Eb__4(uint handlerId)
|
|
{
|
|
ArrayEventHandler? rowOrDefault = arrayEventHandlers.GetRowOrDefault(handlerId);
|
|
int num = (rowOrDefault.HasValue ? (-2031263627) : (-2031263628));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -2031263627;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
return (from x in rowOrDefault.GetValueOrDefault().Data
|
|
where x.RowId != 0
|
|
select x.RowId).ToList();
|
|
case 1:
|
|
return null;
|
|
case 2:
|
|
goto IL_00c3;
|
|
}
|
|
continue;
|
|
IL_00c3:
|
|
num = -2031263628;
|
|
}
|
|
}
|
|
|
|
internal (ushort TerritoryId, Vector3 Position)? _003CBuildSnapshot_003Eb__6(uint popId)
|
|
{
|
|
Level? rowOrDefault = levelSheet.GetRowOrDefault(popId);
|
|
int num = (rowOrDefault.HasValue ? (-1803587058) : (-1803587059));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1803587060;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
return ((ushort)rowOrDefault.Value.Territory.RowId, new Vector3(rowOrDefault.Value.X, rowOrDefault.Value.Y, rowOrDefault.Value.Z));
|
|
case 1:
|
|
return null;
|
|
case 0:
|
|
goto IL_00bc;
|
|
}
|
|
continue;
|
|
IL_00bc:
|
|
num = -1803587059;
|
|
}
|
|
}
|
|
|
|
static bool _202E_202A_206E_202C_206B_206A_202E_202D_206D_206C_200F_206B_200E_202D_202E_206D_200C_206D_206E_202D_200E_206A_206E_200B_206C_206E_200F_200E_200C_200E_206E_200F_200C_206C_206B_206D_206A_206E_200E_206D_202E(string P_0)
|
|
{
|
|
return string.IsNullOrEmpty(P_0);
|
|
}
|
|
}
|
|
|
|
private const uint WarpHandlerType = 2u;
|
|
|
|
private const uint ArrayEventHandlerType = 13u;
|
|
|
|
private static readonly HashSet<ETerritoryIntendedUse> NonNavigableIntendedUses = new HashSet<ETerritoryIntendedUse>
|
|
{
|
|
ETerritoryIntendedUse.Inn,
|
|
ETerritoryIntendedUse.Dungeon,
|
|
ETerritoryIntendedUse.VariantDungeon,
|
|
ETerritoryIntendedUse.MordionGaol,
|
|
ETerritoryIntendedUse.BeforeTrialDung,
|
|
ETerritoryIntendedUse.AllianceRaid,
|
|
ETerritoryIntendedUse.PreEwOverworldQuestBattle,
|
|
ETerritoryIntendedUse.Trial,
|
|
ETerritoryIntendedUse.WaitingRoom,
|
|
ETerritoryIntendedUse.HousingIndoor,
|
|
ETerritoryIntendedUse.SoloOverworldInstances,
|
|
ETerritoryIntendedUse.Raid1,
|
|
ETerritoryIntendedUse.Raid2,
|
|
ETerritoryIntendedUse.Frontline,
|
|
ETerritoryIntendedUse.LordOfVerminion,
|
|
ETerritoryIntendedUse.ExploratoryMissions,
|
|
ETerritoryIntendedUse.HallOfTheNovice,
|
|
ETerritoryIntendedUse.CrystallineConflict,
|
|
ETerritoryIntendedUse.SoloDuty,
|
|
ETerritoryIntendedUse.GrandCompanyBarracks,
|
|
ETerritoryIntendedUse.DeepDungeon,
|
|
ETerritoryIntendedUse.TreasureMapInstance,
|
|
ETerritoryIntendedUse.SeasonalInstancedArea,
|
|
ETerritoryIntendedUse.TripleTriadBattlehall,
|
|
ETerritoryIntendedUse.CrystallineConflictCustomMatch,
|
|
ETerritoryIntendedUse.DiademHuntingGrounds,
|
|
ETerritoryIntendedUse.RivalWings,
|
|
ETerritoryIntendedUse.LeapOfFaith,
|
|
ETerritoryIntendedUse.MaskedCarnival,
|
|
ETerritoryIntendedUse.OceanFishing,
|
|
ETerritoryIntendedUse.Diadem,
|
|
ETerritoryIntendedUse.TripleTriadOpenTournament,
|
|
ETerritoryIntendedUse.TripleTriadInvitationalParlor,
|
|
ETerritoryIntendedUse.DelubrumReginae,
|
|
ETerritoryIntendedUse.DelubrumReginaeSavage,
|
|
ETerritoryIntendedUse.EndwalkerMsqSoloOverworld,
|
|
ETerritoryIntendedUse.Elysion,
|
|
ETerritoryIntendedUse.CriterionDungeon,
|
|
ETerritoryIntendedUse.CriterionDungeonSavage,
|
|
ETerritoryIntendedUse.Blunderville
|
|
};
|
|
|
|
private readonly IDataManager? _dataManager;
|
|
|
|
private readonly SmartNavDataOptions? _dataOptions;
|
|
|
|
private readonly NpcPositionCache? _npcPositionCache;
|
|
|
|
private readonly ILogger<WarpDataService>? _logger;
|
|
|
|
private readonly object _applyLock = _202E_200E_206C_202E_202C_200E_202B_202D_206B_206E_202C_200F_200E_200D_206A_206F_200B_206E_200E_206C_202D_206E_206D_206A_202B_200D_206F_200D_200E_206C_202C_206E_202E_202A_206E_200D_206C_202B_202A_200D_202E();
|
|
|
|
private volatile Snapshot _current;
|
|
|
|
public IReadOnlyList<WarpInfo> Warps => _current.Warps;
|
|
|
|
public IReadOnlyDictionary<uint, WarpInfo> WarpsByRowId => _current.WarpsByRowId;
|
|
|
|
public IReadOnlySet<uint> SkippedWarpIds => _current.SkippedWarpIds;
|
|
|
|
public int TotalLuminaWarps => _current.TotalLuminaWarps;
|
|
|
|
public int NavigationRelevantWarps => _current.NavigationRelevantWarps;
|
|
|
|
public int WarpsWithDestination => _current.WarpsWithDestination;
|
|
|
|
public int WarpsWithUnknownSource => _current.WarpsWithUnknownSource;
|
|
|
|
public int WarpsWithDerivedSource => _current.WarpsWithDerivedSource;
|
|
|
|
public int WarpsWithDerivedArrival => _current.WarpsWithDerivedArrival;
|
|
|
|
public int SkippedNoDest => _current.SkippedNoDest;
|
|
|
|
public int SkippedSourceBlocked => _current.SkippedSourceBlocked;
|
|
|
|
public int SkippedDestBlocked => _current.SkippedDestBlocked;
|
|
|
|
public bool DerivedSourcesPending => _current.DerivedSourcesPending;
|
|
|
|
internal WarpDataService(List<WarpInfo> warps, HashSet<uint>? skippedWarpIds = null)
|
|
{
|
|
Dictionary<uint, WarpInfo> dictionary = new Dictionary<uint, WarpInfo>();
|
|
foreach (WarpInfo warp in warps)
|
|
{
|
|
dictionary.TryAdd(warp.RowId, warp);
|
|
}
|
|
_current = new Snapshot(warps, dictionary, skippedWarpIds ?? new HashSet<uint>(), 0, warps.Count, 0, 0, warps.Count((WarpInfo w) => w.DerivedSource), warps.Count((WarpInfo w) => w.DerivedArrival), 0, 0, 0, DerivedSourcesPending: false);
|
|
}
|
|
|
|
public WarpDataService(IDataManager dataManager, SmartNavDataOptions dataOptions, NpcPositionCache npcPositionCache, ILogger<WarpDataService> logger)
|
|
{
|
|
_dataManager = dataManager;
|
|
_dataOptions = dataOptions;
|
|
_npcPositionCache = npcPositionCache;
|
|
_logger = logger;
|
|
_current = BuildSnapshot();
|
|
}
|
|
|
|
public bool ApplyDerivedSources()
|
|
{
|
|
int num = ((_npcPositionCache != null) ? 690668671 : 690668670);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 690668671;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
goto IL_004c;
|
|
case 1:
|
|
return false;
|
|
case 0:
|
|
{
|
|
object applyLock = _applyLock;
|
|
bool flag = false;
|
|
try
|
|
{
|
|
_200F_206E_200B_206B_202A_202C_200B_206E_206B_200F_200E_202E_200D_206C_200D_206D_202C_200F_206D_200B_200F_202E_202A_200B_206D_200D_202C_202A_206B_202C_200F_200D_202B_202D_200F_202D_202B_202C_206F_202E_202E(applyLock, ref flag);
|
|
num = ((!_current.DerivedSourcesPending) ? (-1198875736) : (-1198875733));
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
num3 = -1198875735;
|
|
num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 3:
|
|
num = -1198875733;
|
|
break;
|
|
case 2:
|
|
num = (_202B_200B_206B_200C_200D_202A_206B_202A_206A_200C_206C_206A_200C_200F_206E_200F_200E_206D_202A_202D_202E_202E_200C_200D_200B_200E_206B_206B_206B_200B_200E_202C_206C_202B_206C_202B_200F_200E_202B_202D_202E(_npcPositionCache) ? (-1198875735) : (-1198875736));
|
|
break;
|
|
case 1:
|
|
return false;
|
|
case 0:
|
|
_current = BuildSnapshot();
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((!flag) ? (-242398341) : (-242398344));
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
num3 = -242398343;
|
|
num4 = num8;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -242398344;
|
|
break;
|
|
case 1:
|
|
_206B_202E_206F_200C_200F_206D_202A_206E_206E_206D_202D_200C_200F_206A_200B_202C_202E_206E_206C_202E_206F_200B_206B_206F_200E_206A_206A_200D_202E_206C_202C_200F_200B_206E_200E_200B_202D_202B_200F_202E(applyLock);
|
|
num = -242398341;
|
|
break;
|
|
case 2:
|
|
goto end_IL_0137;
|
|
}
|
|
continue;
|
|
end_IL_0137:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
continue;
|
|
IL_004c:
|
|
num = 690668670;
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private Snapshot BuildSnapshot()
|
|
{
|
|
IDataManager dataManager = _dataManager;
|
|
SmartNavDataOptions dataOptions = _dataOptions;
|
|
NpcPositionCache npcPositionCache = _npcPositionCache;
|
|
ILogger<WarpDataService> logger = _logger;
|
|
bool flag = _202B_200B_206B_200C_200D_202A_206B_202A_206A_200C_206C_206A_200C_200F_206E_200F_200E_206D_202A_202D_202E_202E_200C_200D_200B_200E_206B_206B_206B_200B_200E_202C_206C_202B_206C_202B_200F_200E_202B_202D_202E(npcPositionCache);
|
|
int num = (flag ? (-539051135) : (-539051134));
|
|
object obj;
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -539051136;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
default:
|
|
continue;
|
|
case 0:
|
|
goto IL_007a;
|
|
case 2:
|
|
obj = (Func<uint, (ushort, Vector3, bool)?>)((uint _) => ((ushort TerritoryId, Vector3 Position, bool FestivalOnly)?)null);
|
|
break;
|
|
case 1:
|
|
obj = new Func<uint, (ushort, Vector3, bool)?>(npcPositionCache.TryGetPlacement);
|
|
break;
|
|
}
|
|
break;
|
|
IL_007a:
|
|
num = -539051134;
|
|
}
|
|
Func<uint, (ushort, Vector3, bool)?> getPlacement = (Func<uint, (ushort, Vector3, bool)?>)obj;
|
|
List<WarpDestinationEntry> list = new List<WarpDestinationEntry>();
|
|
HashSet<uint> hashSet = new HashSet<uint>();
|
|
DirectoryInfo? devSourceDirectory = dataOptions.DevSourceDirectory;
|
|
(IReadOnlyList<uint>, IReadOnlyDictionary<string, WarpDestinationEntry>) tuple = _206E_202B_202A_200D_206D_202D_202B_202C_200B_200E_202C_200C_206B_202D_202D_202C_202A_202B_200D_206B_202E_200B_202B_206F_206E_206A_202B_200C_202A_202C_200D_200B_206F_202B_206C_202C_200B_206F_200E_206B_202E((devSourceDirectory != null) ? _202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E((FileSystemInfo)devSourceDirectory) : null);
|
|
IReadOnlyList<uint> item = tuple.Item1;
|
|
IReadOnlyDictionary<string, WarpDestinationEntry> item2 = tuple.Item2;
|
|
IEnumerator<uint> enumerator = item.GetEnumerator();
|
|
try
|
|
{
|
|
num = 1091070719;
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
int num3 = 1091070718;
|
|
int num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 0:
|
|
num = 1091070719;
|
|
break;
|
|
case 2:
|
|
{
|
|
uint current = enumerator.Current;
|
|
hashSet.Add(current);
|
|
num = 1091070719;
|
|
break;
|
|
}
|
|
case 1:
|
|
num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator) ? 1091070716 : 1091070717);
|
|
break;
|
|
case 3:
|
|
goto end_IL_0116;
|
|
}
|
|
continue;
|
|
end_IL_0116:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((enumerator == null) ? 866852118 : 866852117);
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
int num3 = 866852119;
|
|
int num4 = num8;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 866852117;
|
|
break;
|
|
case 2:
|
|
_200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator);
|
|
num = 866852118;
|
|
break;
|
|
case 1:
|
|
goto end_IL_01bb;
|
|
}
|
|
continue;
|
|
end_IL_01bb:
|
|
break;
|
|
}
|
|
}
|
|
IEnumerator<KeyValuePair<string, WarpDestinationEntry>> enumerator2 = item2.GetEnumerator();
|
|
WarpDestinationEntry value;
|
|
try
|
|
{
|
|
num = -296082524;
|
|
while (true)
|
|
{
|
|
int num9 = num;
|
|
int num3 = -296082521;
|
|
int num4 = num9;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 3:
|
|
num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator2) ? (-296082522) : (-296082521));
|
|
break;
|
|
case 1:
|
|
{
|
|
enumerator2.Current.Deconstruct(out var _, out value);
|
|
WarpDestinationEntry item3 = value;
|
|
list.Add(item3);
|
|
num = -296082524;
|
|
break;
|
|
}
|
|
case 2:
|
|
num = -296082524;
|
|
break;
|
|
case 0:
|
|
goto end_IL_021c;
|
|
}
|
|
continue;
|
|
end_IL_021c:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((enumerator2 == null) ? 208700910 : 208700909);
|
|
while (true)
|
|
{
|
|
int num10 = num;
|
|
int num3 = 208700911;
|
|
int num4 = num10;
|
|
int num11 = num4 + num3;
|
|
int num12 = num4 & num3;
|
|
switch (num11 - (num12 + num12))
|
|
{
|
|
case 0:
|
|
num = 208700909;
|
|
break;
|
|
case 2:
|
|
_200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator2);
|
|
num = 208700910;
|
|
break;
|
|
case 1:
|
|
goto end_IL_02cd;
|
|
}
|
|
continue;
|
|
end_IL_02cd:
|
|
break;
|
|
}
|
|
}
|
|
num = ((dataOptions.UserOverrideDirectory == null) ? (-616875928) : (-616875925));
|
|
uint? num17 = default(uint?);
|
|
WarpDestinationEntry current2 = default(WarpDestinationEntry);
|
|
WarpDestinationEntry current3 = default(WarpDestinationEntry);
|
|
ExcelSheet<ArrayEventHandler> arrayEventHandlers;
|
|
Warp current6 = default(Warp);
|
|
ushort num35 = default(ushort);
|
|
ushort num40 = default(ushort);
|
|
Vector3 sourcePosition = default(Vector3);
|
|
uint? npcDataId = default(uint?);
|
|
string npcName = default(string);
|
|
WarpDestinationEntry warpDestinationEntry = default(WarpDestinationEntry);
|
|
bool derivedSource = default(bool);
|
|
List<uint> list2 = default(List<uint>);
|
|
WarpCondition? valueNullable = default(WarpCondition?);
|
|
List<(uint, ushort, Vector3)> list3 = default(List<(uint, ushort, Vector3)>);
|
|
string text = default(string);
|
|
string text2 = default(string);
|
|
bool requireAllQuests = default(bool);
|
|
int gilCost = default(int);
|
|
ushort requiredClassLevel = default(ushort);
|
|
ETerritoryIntendedUse value4 = default(ETerritoryIntendedUse);
|
|
ExcelSheet<Level> levelSheet;
|
|
uint num46 = default(uint);
|
|
WarpInfo warpInfo = default(WarpInfo);
|
|
Vector3? destPosition = default(Vector3?);
|
|
uint[] array = default(uint[]);
|
|
WarpDestinationEntry warpDestinationEntry2 = default(WarpDestinationEntry);
|
|
Vector3? vector = default(Vector3?);
|
|
bool derivedArrival = default(bool);
|
|
WarpDestinationEntry value8 = default(WarpDestinationEntry);
|
|
WarpDestinationEntry value7 = default(WarpDestinationEntry);
|
|
uint value6 = default(uint);
|
|
WarpInfo warpInfo4 = default(WarpInfo);
|
|
(uint, uint) item4 = default((uint, uint));
|
|
WarpInfo warpInfo3 = default(WarpInfo);
|
|
WarpDestinationEntry warpDestinationEntry3 = default(WarpDestinationEntry);
|
|
List<uint> list5 = default(List<uint>);
|
|
(uint, ushort, Vector3) current7 = default((uint, ushort, Vector3));
|
|
ETerritoryIntendedUse value11 = default(ETerritoryIntendedUse);
|
|
while (true)
|
|
{
|
|
int num13 = num;
|
|
int num3 = -616875927;
|
|
int num4 = num13;
|
|
int num14 = num4 + num3;
|
|
int num15 = num4 & num3;
|
|
switch (num14 - (num15 + num15))
|
|
{
|
|
case 0:
|
|
num = -616875925;
|
|
break;
|
|
case 2:
|
|
LoadWarpOverridesFrom(_206B_206F_200C_206F_206C_202D_202A_206D_200D_206E_202D_206F_200F_206D_202A_202C_200E_200C_200B_202D_206D_202B_200B_200E_200F_200F_200C_200E_206D_202B_202B_206A_200F_200B_202A_202B_206E_202E_206A_206E_202E(_202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E((FileSystemInfo)dataOptions.UserOverrideDirectory), global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(-1598187262)), list, hashSet);
|
|
num = -616875928;
|
|
break;
|
|
case 1:
|
|
{
|
|
Dictionary<(uint, uint), WarpDestinationEntry> dictionary = new Dictionary<(uint, uint), WarpDestinationEntry>();
|
|
Dictionary<uint, WarpDestinationEntry> dictionary2 = new Dictionary<uint, WarpDestinationEntry>();
|
|
using (List<WarpDestinationEntry>.Enumerator enumerator3 = list.GetEnumerator())
|
|
{
|
|
num = 1236181802;
|
|
while (true)
|
|
{
|
|
int num16 = num;
|
|
num3 = 1236181801;
|
|
num4 = num16;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 4:
|
|
{
|
|
uint valueOrDefault = num17.GetValueOrDefault();
|
|
dictionary[(_206F_200B_200D_200C_202D_202B_200C_202A_202B_200C_200C_206F_206F_202D_200E_206B_200D_206B_200D_202B_206E_200F_202E_202E_200B_200F_200D_200C_200C_206B_200C_202A_202B_202A_202A_206E_206E_202D_202C_200D_202E(current2), valueOrDefault)] = current2;
|
|
num = 1236181802;
|
|
break;
|
|
}
|
|
case 2:
|
|
dictionary2[_206F_200B_200D_200C_202D_202B_200C_202A_202B_200C_200C_206F_206F_202D_200E_206B_200D_206B_200D_202B_206E_200F_202E_202E_200B_200F_200D_200C_200C_206B_200C_202A_202B_202A_202A_206E_206E_202D_202C_200D_202E(current2)] = current2;
|
|
num = 1236181802;
|
|
break;
|
|
case 3:
|
|
num = (enumerator3.MoveNext() ? 1236181804 : 1236181800);
|
|
break;
|
|
case 5:
|
|
current2 = enumerator3.Current;
|
|
num17 = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(current2);
|
|
num = ((!num17.HasValue) ? 1236181803 : 1236181805);
|
|
break;
|
|
case 0:
|
|
num = 1236181802;
|
|
break;
|
|
case 1:
|
|
goto end_IL_03ca;
|
|
}
|
|
continue;
|
|
end_IL_03ca:
|
|
break;
|
|
}
|
|
}
|
|
HashSet<ushort> hashSet2 = new HashSet<ushort>();
|
|
using (List<WarpDestinationEntry>.Enumerator enumerator3 = list.GetEnumerator())
|
|
{
|
|
num = 2031466588;
|
|
while (true)
|
|
{
|
|
int num18 = num;
|
|
num3 = 2031466586;
|
|
num4 = num18;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
hashSet2.Add(_206F_206B_200F_206C_202C_202C_200C_206F_206A_202A_206F_206E_206D_206D_206B_206F_206D_202D_200E_202B_200D_206D_200B_200F_206A_202A_206C_206C_200D_206C_202A_202D_206F_202D_200E_202A_206D_202C_202C_202E_202E(current3));
|
|
num = 2031466588;
|
|
break;
|
|
case 6:
|
|
num = (enumerator3.MoveNext() ? 2031466584 : 2031466590);
|
|
break;
|
|
case 3:
|
|
num = ((_206F_206B_200F_206C_202C_202C_200C_206F_206A_202A_206F_206E_206D_206D_206B_206F_206D_202D_200E_202B_200D_206D_200B_200F_206A_202A_206C_206C_200D_206C_202A_202D_206F_202D_200E_202A_206D_202C_202C_202E_202E(current3) <= 0) ? 2031466588 : 2031466586);
|
|
break;
|
|
case 2:
|
|
current3 = enumerator3.Current;
|
|
num = ((_206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(current3) <= 0) ? 2031466585 : 2031466587);
|
|
break;
|
|
case 5:
|
|
num = 2031466588;
|
|
break;
|
|
case 1:
|
|
hashSet2.Add(_206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(current3));
|
|
num = 2031466585;
|
|
break;
|
|
case 4:
|
|
goto end_IL_04df;
|
|
}
|
|
continue;
|
|
end_IL_04df:
|
|
break;
|
|
}
|
|
}
|
|
Dictionary<ushort, ETerritoryIntendedUse> dictionary3 = (from x in dataManager.GetExcelSheet<TerritoryType>()
|
|
where x.RowId != 0
|
|
select x).ToDictionary((TerritoryType x) => (ushort)x.RowId, (TerritoryType x) => (ETerritoryIntendedUse)x.TerritoryIntendedUse.RowId);
|
|
Dictionary<uint, List<uint>> dictionary4 = new Dictionary<uint, List<uint>>();
|
|
int nestedArraysSkipped = 0;
|
|
arrayEventHandlers = dataManager.GetExcelSheet<ArrayEventHandler>();
|
|
Func<uint, IEnumerable<uint>> arrayMemberLookup = delegate(uint handlerId)
|
|
{
|
|
ArrayEventHandler? rowOrDefault = arrayEventHandlers.GetRowOrDefault(handlerId);
|
|
int num60 = (rowOrDefault.HasValue ? (-2031263627) : (-2031263628));
|
|
while (true)
|
|
{
|
|
int num61 = num60;
|
|
int num62 = -2031263627;
|
|
int num63 = num61;
|
|
int num64 = num63 + num62;
|
|
int num65 = num63 & num62;
|
|
switch (num64 - (num65 + num65))
|
|
{
|
|
case 0:
|
|
return (from x in rowOrDefault.GetValueOrDefault().Data
|
|
where x.RowId != 0
|
|
select x.RowId).ToList();
|
|
case 1:
|
|
return (IEnumerable<uint>?)null;
|
|
case 2:
|
|
goto IL_00c3;
|
|
}
|
|
continue;
|
|
IL_00c3:
|
|
num60 = -2031263628;
|
|
}
|
|
};
|
|
foreach (ENpcBase item6 in dataManager.GetExcelSheet<ENpcBase>())
|
|
{
|
|
using Collection<RowRef>.Enumerator enumerator5 = item6.ENpcData.GetEnumerator();
|
|
num = 1868823740;
|
|
while (true)
|
|
{
|
|
int num19 = num;
|
|
num3 = 1868823740;
|
|
num4 = num19;
|
|
int num20 = num4 + num3;
|
|
int num21 = num4 & num3;
|
|
switch (num20 - (num21 + num21))
|
|
{
|
|
case 0:
|
|
num = (enumerator5.MoveNext() ? 1868823741 : 1868823743);
|
|
break;
|
|
case 1:
|
|
AddWarpFronter(dictionary4, enumerator5.Current.RowId, item6.RowId, arrayMemberLookup, ref nestedArraysSkipped);
|
|
num = 1868823740;
|
|
break;
|
|
case 2:
|
|
num = 1868823740;
|
|
break;
|
|
case 3:
|
|
goto end_IL_06ec;
|
|
}
|
|
continue;
|
|
end_IL_06ec:
|
|
break;
|
|
}
|
|
}
|
|
using (ExcelSheet<EObj>.Enumerator enumerator6 = dataManager.GetExcelSheet<EObj>().GetEnumerator())
|
|
{
|
|
num = 1015784097;
|
|
while (true)
|
|
{
|
|
int num22 = num;
|
|
num3 = 1015784097;
|
|
num4 = num22;
|
|
int num23 = num4 + num3;
|
|
int num24 = num4 & num3;
|
|
switch (num23 - (num24 + num24))
|
|
{
|
|
case 0:
|
|
num = (enumerator6.MoveNext() ? 1015784096 : 1015784098);
|
|
break;
|
|
case 1:
|
|
{
|
|
EObj current5 = enumerator6.Current;
|
|
AddWarpFronter(dictionary4, current5.Data.RowId, current5.RowId, arrayMemberLookup, ref nestedArraysSkipped);
|
|
num = 1015784097;
|
|
break;
|
|
}
|
|
case 2:
|
|
num = 1015784097;
|
|
break;
|
|
case 3:
|
|
goto end_IL_07d7;
|
|
}
|
|
continue;
|
|
end_IL_07d7:
|
|
break;
|
|
}
|
|
}
|
|
num = ((nestedArraysSkipped <= 0) ? (-762848955) : (-762848956));
|
|
while (true)
|
|
{
|
|
int num25 = num;
|
|
num3 = -762848955;
|
|
num4 = num25;
|
|
int num26 = num4 + num3;
|
|
int num27 = num4 & num3;
|
|
switch (num26 - (num27 + num27))
|
|
{
|
|
case 2:
|
|
num = -762848956;
|
|
break;
|
|
case 1:
|
|
_206E_202D_202C_200E_200B_206C_206F_202C_206A_202A_202E_200B_206B_200B_200C_206C_202E_200C_202D_206B_206F_202A_206F_202C_200C_200E_200B_200D_206B_200B_206E_206E_206B_206A_202A_206E_202E_202B_202C_206F_202E((ILogger)logger, global::_003CModule_003E._202E_200F_206C_202A_202D_200C_200C_200B_202B_200E_202C_202C_202D_206B_202E_206A_200D_206F_206F_200B_206F_206B_202E_206D_202C_202B_200B_206B_200E_202E_200D_200D_202A_206B_206C_202D_206B_202C_200B_200E_202E<string>(-1287740097), new object[1] { nestedArraysSkipped });
|
|
num = -762848955;
|
|
break;
|
|
case 0:
|
|
{
|
|
Dictionary<uint, WarpInfo> dictionary5 = new Dictionary<uint, WarpInfo>();
|
|
Dictionary<uint, uint> dictionary6 = new Dictionary<uint, uint>();
|
|
Dictionary<uint, List<(uint, ushort, Vector3)>> dictionary7 = new Dictionary<uint, List<(uint, ushort, Vector3)>>();
|
|
int num28 = 0;
|
|
int num29 = 0;
|
|
int num30 = 0;
|
|
int num31 = 0;
|
|
IEnumerator<Warp> enumerator7 = (from x in dataManager.GetExcelSheet<Warp>()
|
|
where x.RowId != 0
|
|
select x).GetEnumerator();
|
|
(uint, uint) key2;
|
|
try
|
|
{
|
|
while (true)
|
|
{
|
|
IL_0c47:
|
|
if (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator7))
|
|
{
|
|
current6 = enumerator7.Current;
|
|
int num32 = num28;
|
|
num3 = 1;
|
|
num4 = num32;
|
|
int num33 = num4 ^ num3;
|
|
int num34 = num4 & num3;
|
|
num28 = num33 + (num34 + num34);
|
|
num35 = (ushort)current6.TerritoryType.RowId;
|
|
if (num35 == 0)
|
|
{
|
|
int num36 = num29;
|
|
num3 = 1;
|
|
num4 = num36;
|
|
num29 = (num4 | num3) + (num4 & num3);
|
|
continue;
|
|
}
|
|
if (dictionary3.TryGetValue(num35, out var value2) && NonNavigableIntendedUses.Contains(value2) && !hashSet2.Contains(num35))
|
|
{
|
|
int num37 = num31;
|
|
num3 = 1;
|
|
num4 = num37;
|
|
int num38 = num4 ^ num3;
|
|
int num39 = num4 & num3;
|
|
num31 = num38 + (num39 + num39);
|
|
continue;
|
|
}
|
|
dictionary6[current6.RowId] = current6.PopRange.RowId;
|
|
num40 = 0;
|
|
sourcePosition = Vector3.Zero;
|
|
npcDataId = null;
|
|
npcName = null;
|
|
if (dictionary2.TryGetValue(current6.RowId, out var value3))
|
|
{
|
|
num40 = _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(value3);
|
|
sourcePosition = _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(value3);
|
|
npcDataId = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(value3);
|
|
}
|
|
if (num40 == 0)
|
|
{
|
|
using Dictionary<(uint, uint), WarpDestinationEntry>.Enumerator enumerator8 = dictionary.GetEnumerator();
|
|
num = -1191632534;
|
|
while (true)
|
|
{
|
|
int num41 = num;
|
|
num3 = -1191632533;
|
|
num4 = num41;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 5:
|
|
num = -1191632534;
|
|
break;
|
|
case 0:
|
|
num40 = _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(warpDestinationEntry);
|
|
sourcePosition = _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(warpDestinationEntry);
|
|
npcDataId = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(warpDestinationEntry);
|
|
goto end_IL_0a8e;
|
|
case 2:
|
|
{
|
|
enumerator8.Current.Deconstruct(out key2, out value);
|
|
(uint, uint) tuple2 = key2;
|
|
warpDestinationEntry = value;
|
|
num = ((tuple2.Item1 != current6.RowId) ? (-1191632534) : (-1191632529));
|
|
break;
|
|
}
|
|
case 1:
|
|
num = (enumerator8.MoveNext() ? (-1191632535) : (-1191632536));
|
|
break;
|
|
case 4:
|
|
num = ((_206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(warpDestinationEntry) <= 0) ? (-1191632534) : (-1191632533));
|
|
break;
|
|
case 3:
|
|
goto end_IL_0a8e;
|
|
}
|
|
continue;
|
|
end_IL_0a8e:
|
|
break;
|
|
}
|
|
}
|
|
derivedSource = false;
|
|
num = ((num40 != 0) ? (-788834391) : (-788834390));
|
|
}
|
|
else
|
|
{
|
|
num = -788834381;
|
|
}
|
|
while (true)
|
|
{
|
|
int num42 = num;
|
|
num3 = -788834371;
|
|
num4 = num42;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
default:
|
|
continue;
|
|
case 1:
|
|
break;
|
|
case 25:
|
|
list2.Add(valueNullable.Value.RequiredQuest4.RowId);
|
|
num = -788834383;
|
|
continue;
|
|
case 23:
|
|
list3 = ResolveDerivedSources(current6.RowId, dictionary4, getPlacement);
|
|
num = ((list3.Count <= 0) ? (-788834391) : (-788834370));
|
|
continue;
|
|
case 7:
|
|
text = current6.Name.ExtractText();
|
|
num = ((!_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(text)) ? (-788834369) : (-788834392));
|
|
continue;
|
|
case 16:
|
|
num = ((valueNullable.Value.RequiredQuest4.RowId == 0) ? (-788834383) : (-788834396));
|
|
continue;
|
|
case 20:
|
|
num = ((num40 <= 0) ? (-788834385) : (-788834379));
|
|
continue;
|
|
case 10:
|
|
text2 = null;
|
|
num = -788834376;
|
|
continue;
|
|
case 17:
|
|
num = ((valueNullable.Value.RequiredQuest2.RowId == 0) ? (-788834386) : (-788834380));
|
|
continue;
|
|
case 12:
|
|
requireAllQuests = valueNullable.Value.CompleteParam == 1;
|
|
num = -788834374;
|
|
continue;
|
|
case 9:
|
|
list2.Add(valueNullable.Value.RequiredQuest2.RowId);
|
|
num = -788834386;
|
|
continue;
|
|
case 6:
|
|
num = -788834390;
|
|
continue;
|
|
case 2:
|
|
text2 = current6.Question.ExtractText();
|
|
num = ((!_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(text2)) ? (-788834376) : (-788834377));
|
|
continue;
|
|
case 18:
|
|
gilCost = 0;
|
|
requiredClassLevel = 0;
|
|
list2 = new List<uint>();
|
|
requireAllQuests = true;
|
|
valueNullable = current6.WarpCondition.ValueNullable;
|
|
num = ((!valueNullable.HasValue) ? (-788834374) : (-788834395));
|
|
continue;
|
|
case 21:
|
|
text = null;
|
|
num = -788834369;
|
|
continue;
|
|
case 4:
|
|
num = ((!NonNavigableIntendedUses.Contains(value4)) ? (-788834385) : (-788834378));
|
|
continue;
|
|
case 3:
|
|
{
|
|
(uint, ushort, Vector3) tuple3 = list3[0];
|
|
num40 = tuple3.Item2;
|
|
sourcePosition = tuple3.Item3;
|
|
npcDataId = tuple3.Item1;
|
|
npcName = ResolveObjectName(tuple3.Item1);
|
|
derivedSource = true;
|
|
num = ((list3.Count <= 1) ? (-788834391) : (-788834371));
|
|
continue;
|
|
}
|
|
case 8:
|
|
num = ((!dictionary3.TryGetValue(num40, out value4)) ? (-788834385) : (-788834375));
|
|
continue;
|
|
case 13:
|
|
list2.Add(valueNullable.Value.RequiredQuest1.RowId);
|
|
num = -788834388;
|
|
continue;
|
|
case 24:
|
|
gilCost = valueNullable.Value.Gil;
|
|
requiredClassLevel = valueNullable.Value.ClassLevel;
|
|
num = ((valueNullable.Value.RequiredQuest1.RowId == 0) ? (-788834388) : (-788834384));
|
|
continue;
|
|
case 19:
|
|
num = ((valueNullable.Value.RequiredQuest3.RowId == 0) ? (-788834387) : (-788834382));
|
|
continue;
|
|
case 22:
|
|
{
|
|
int num43 = num30;
|
|
num3 = 1;
|
|
num4 = num43;
|
|
num30 = (num4 | num3) + (num4 & num3);
|
|
num = -788834372;
|
|
continue;
|
|
}
|
|
case 15:
|
|
list2.Add(valueNullable.Value.RequiredQuest3.RowId);
|
|
num = -788834387;
|
|
continue;
|
|
case 0:
|
|
dictionary7[current6.RowId] = list3;
|
|
num = -788834391;
|
|
continue;
|
|
case 11:
|
|
num = (hashSet2.Contains(num40) ? (-788834385) : (-788834389));
|
|
continue;
|
|
case 5:
|
|
dictionary5[current6.RowId] = new WarpInfo(current6.RowId, text, text2, num40, sourcePosition, npcDataId, npcName, num35, null, gilCost, list2.ToArray(), null, requiredClassLevel, derivedSource, requireAllQuests);
|
|
num = -788834372;
|
|
continue;
|
|
case 14:
|
|
goto end_IL_0bbf;
|
|
}
|
|
goto IL_0c47;
|
|
continue;
|
|
end_IL_0bbf:
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((enumerator7 == null) ? (-2087080931) : (-2087080930));
|
|
while (true)
|
|
{
|
|
int num44 = num;
|
|
num3 = -2087080932;
|
|
num4 = num44;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -2087080930;
|
|
break;
|
|
case 1:
|
|
goto end_IL_10ea;
|
|
case 2:
|
|
_200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator7);
|
|
num = -2087080931;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_10ea:
|
|
break;
|
|
}
|
|
}
|
|
List<WarpInfo> list4 = new List<WarpInfo>();
|
|
Dictionary<uint, WarpInfo> dictionary8 = new Dictionary<uint, WarpInfo>();
|
|
HashSet<(uint, uint)> hashSet3 = new HashSet<(uint, uint)>();
|
|
levelSheet = dataManager.GetExcelSheet<Level>();
|
|
Func<uint, (ushort, Vector3)?> levelLookup = delegate(uint popId)
|
|
{
|
|
Level? rowOrDefault = levelSheet.GetRowOrDefault(popId);
|
|
int num60 = (rowOrDefault.HasValue ? (-1803587058) : (-1803587059));
|
|
while (true)
|
|
{
|
|
int num61 = num60;
|
|
int num62 = -1803587060;
|
|
int num63 = num61;
|
|
switch ((num63 | num62) - (num63 & num62))
|
|
{
|
|
case 2:
|
|
return ((ushort)rowOrDefault.Value.Territory.RowId, new Vector3(rowOrDefault.Value.X, rowOrDefault.Value.Y, rowOrDefault.Value.Z));
|
|
case 1:
|
|
return ((ushort TerritoryId, Vector3 Position)?)null;
|
|
case 0:
|
|
goto IL_00bc;
|
|
}
|
|
continue;
|
|
IL_00bc:
|
|
num60 = -1803587059;
|
|
}
|
|
};
|
|
DirectoryInfo? devSourceDirectory2 = dataOptions.DevSourceDirectory;
|
|
DerivedArrivalFile derivedArrivalFile = _200E_202D_206A_202D_206A_206C_206F_206B_200F_200C_202E_200F_200B_200C_206A_206F_206C_200E_202C_206B_206C_200B_206A_200F_206B_202B_202D_200B_206A_200F_206A_202E_202D_202A_202C_200B_202B_200D_200B_206E_202E((devSourceDirectory2 != null) ? _202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E((FileSystemInfo)devSourceDirectory2) : null);
|
|
num = (_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(_202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(derivedArrivalFile)) ? (-1202914817) : (-1202914824));
|
|
while (true)
|
|
{
|
|
int num45 = num;
|
|
num3 = -1202914820;
|
|
num4 = num45;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
_206E_202D_202C_200E_200B_206C_206F_202C_206A_202A_202E_200B_206B_200B_200C_206C_202E_200C_202D_206B_206F_202A_206F_202C_200C_200E_200B_200D_206B_200B_206E_206E_206B_206A_202A_206E_202E_202B_202C_206F_202E((ILogger)logger, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(-174820420), new object[2]
|
|
{
|
|
_202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(derivedArrivalFile),
|
|
dataOptions.GameVersion
|
|
});
|
|
num = -1202914817;
|
|
break;
|
|
case 4:
|
|
num = (_206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(dataOptions.GameVersion) ? (-1202914817) : (-1202914819));
|
|
break;
|
|
case 1:
|
|
num = ((!_202A_206C_206D_206F_200B_202C_202E_200C_206E_206C_202E_202C_200F_200F_202A_202A_206F_200E_200D_202C_202A_200E_202E_202D_206B_202A_200C_202E_206F_206F_200C_206C_206D_206D_202E_206F_206D_202A_206F_202D_202E(_202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(derivedArrivalFile), dataOptions.GameVersion)) ? (-1202914817) : (-1202914818));
|
|
break;
|
|
case 0:
|
|
num = -1202914824;
|
|
break;
|
|
case 3:
|
|
{
|
|
uint key3;
|
|
using (Dictionary<uint, WarpInfo>.Enumerator enumerator9 = dictionary5.GetEnumerator())
|
|
{
|
|
while (true)
|
|
{
|
|
IL_151e:
|
|
if (enumerator9.MoveNext())
|
|
{
|
|
enumerator9.Current.Deconstruct(out key3, out var value5);
|
|
num46 = key3;
|
|
warpInfo = value5;
|
|
destPosition = null;
|
|
array = null;
|
|
using (Dictionary<(uint, uint), WarpDestinationEntry>.Enumerator enumerator8 = dictionary.GetEnumerator())
|
|
{
|
|
num = -1453011060;
|
|
while (true)
|
|
{
|
|
int num47 = num;
|
|
num3 = -1453011061;
|
|
num4 = num47;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 8:
|
|
array = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry2).ToArray();
|
|
num = -1453011060;
|
|
break;
|
|
case 0:
|
|
destPosition = _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry2);
|
|
num = -1453011063;
|
|
break;
|
|
case 6:
|
|
num = ((!(_206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry2) != Vector3.Zero)) ? (-1453011063) : (-1453011061));
|
|
break;
|
|
case 2:
|
|
num = ((array != null) ? (-1453011060) : (-1453011057));
|
|
break;
|
|
case 5:
|
|
num = ((list5.Count <= 0) ? (-1453011060) : (-1453011069));
|
|
break;
|
|
case 7:
|
|
num = (enumerator8.MoveNext() ? (-1453011070) : (-1453011071));
|
|
break;
|
|
case 1:
|
|
num = (destPosition.HasValue ? (-1453011063) : (-1453011059));
|
|
break;
|
|
case 9:
|
|
{
|
|
enumerator8.Current.Deconstruct(out key2, out value);
|
|
(uint, uint) tuple4 = key2;
|
|
warpDestinationEntry2 = value;
|
|
num = ((tuple4.Item1 != num46) ? (-1453011060) : (-1453011062));
|
|
break;
|
|
}
|
|
case 4:
|
|
list5 = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry2);
|
|
num = ((list5 == null) ? (-1453011060) : (-1453011058));
|
|
break;
|
|
case 3:
|
|
num = -1453011060;
|
|
break;
|
|
case 10:
|
|
goto end_IL_12d3;
|
|
}
|
|
continue;
|
|
end_IL_12d3:
|
|
break;
|
|
}
|
|
}
|
|
num = (destPosition.HasValue ? 322550405 : 322550421);
|
|
}
|
|
else
|
|
{
|
|
num = 322550414;
|
|
}
|
|
while (true)
|
|
{
|
|
int num48 = num;
|
|
num3 = 322550405;
|
|
num4 = num48;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
default:
|
|
continue;
|
|
case 12:
|
|
break;
|
|
case 0:
|
|
num = ((array != null) ? 322550403 : 322550408);
|
|
continue;
|
|
case 2:
|
|
destPosition = vector;
|
|
derivedArrival = true;
|
|
num = 322550412;
|
|
continue;
|
|
case 9:
|
|
{
|
|
WarpInfo warpInfo2 = warpInfo with
|
|
{
|
|
DestPosition = destPosition,
|
|
AvailableDuringMsqIds = array,
|
|
DerivedArrival = derivedArrival
|
|
};
|
|
list4.Add(warpInfo2);
|
|
dictionary8[num46] = warpInfo2;
|
|
num17 = warpInfo.NpcDataId;
|
|
num = ((!num17.HasValue) ? 322550409 : 322550402);
|
|
continue;
|
|
}
|
|
case 13:
|
|
num = ((!dictionary2.TryGetValue(num46, out value8)) ? 322550403 : 322550401);
|
|
continue;
|
|
case 15:
|
|
destPosition = _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(value7);
|
|
num = 322550405;
|
|
continue;
|
|
case 16:
|
|
num = ((!dictionary2.TryGetValue(num46, out value7)) ? 322550405 : 322550415);
|
|
continue;
|
|
case 17:
|
|
num = ((list5.Count <= 0) ? 322550403 : 322550411);
|
|
continue;
|
|
case 10:
|
|
num = ((!(_206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(value7) != Vector3.Zero)) ? 322550405 : 322550410);
|
|
continue;
|
|
case 7:
|
|
{
|
|
uint valueOrDefault2 = num17.GetValueOrDefault();
|
|
hashSet3.Add((num46, valueOrDefault2));
|
|
num = 322550409;
|
|
continue;
|
|
}
|
|
case 5:
|
|
num = 322550421;
|
|
continue;
|
|
case 8:
|
|
num = ((value6 == 0) ? 322550412 : 322550404);
|
|
continue;
|
|
case 4:
|
|
list5 = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(value8);
|
|
num = ((list5 == null) ? 322550403 : 322550420);
|
|
continue;
|
|
case 6:
|
|
derivedArrival = false;
|
|
num = (destPosition.HasValue ? 322550412 : 322550406);
|
|
continue;
|
|
case 14:
|
|
array = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(value8).ToArray();
|
|
num = 322550403;
|
|
continue;
|
|
case 1:
|
|
vector = ResolveDerivedArrival(value6, warpInfo.DestTerritoryId, _202C_206D_206C_200E_206C_202C_206A_202B_200E_206C_200B_200B_206D_202A_202B_206E_206F_206B_202A_200C_202B_206A_206D_200F_206E_202A_202B_206B_200E_200C_200C_200B_206C_200D_206A_202C_202A_202B_206D_206C_202E(derivedArrivalFile).GetValueOrDefault(num46), levelLookup);
|
|
num = ((!vector.HasValue) ? 322550412 : 322550407);
|
|
continue;
|
|
case 3:
|
|
num = ((!dictionary6.TryGetValue(num46, out value6)) ? 322550412 : 322550413);
|
|
continue;
|
|
case 11:
|
|
goto end_IL_14b6;
|
|
}
|
|
goto IL_151e;
|
|
continue;
|
|
end_IL_14b6:
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
using (Dictionary<(uint, uint), WarpDestinationEntry>.Enumerator enumerator8 = dictionary.GetEnumerator())
|
|
{
|
|
num = 1428496538;
|
|
while (true)
|
|
{
|
|
int num49 = num;
|
|
num3 = 1428496536;
|
|
num4 = num49;
|
|
int num50 = num4 + num3;
|
|
int num51 = num4 & num3;
|
|
Vector3? vector2;
|
|
Vector3? destPosition2;
|
|
uint item5;
|
|
string? name;
|
|
string? question;
|
|
ushort sourceTerritoryId;
|
|
Vector3 sourcePosition2;
|
|
uint? npcDataId2;
|
|
ushort destTerritoryId;
|
|
int gilCost2;
|
|
uint[] requiredQuestIds;
|
|
switch (num50 - (num51 + num51))
|
|
{
|
|
case 1:
|
|
warpInfo4 = dictionary5[item4.Item1];
|
|
warpInfo3 = dictionary8[item4.Item1];
|
|
num = ((_206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry3) != Vector3.Zero) ? 1428496542 : 1428496536);
|
|
break;
|
|
case 7:
|
|
num = (hashSet3.Contains(item4) ? 1428496538 : 1428496537);
|
|
break;
|
|
case 0:
|
|
vector2 = warpInfo3.DestPosition;
|
|
goto IL_18d3;
|
|
case 2:
|
|
num = (enumerator8.MoveNext() ? 1428496539 : 1428496541);
|
|
break;
|
|
case 6:
|
|
vector2 = _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry3);
|
|
goto IL_18d3;
|
|
case 3:
|
|
enumerator8.Current.Deconstruct(out key2, out value);
|
|
item4 = key2;
|
|
warpDestinationEntry3 = value;
|
|
num = ((!dictionary5.ContainsKey(item4.Item1)) ? 1428496538 : 1428496543);
|
|
break;
|
|
case 4:
|
|
num = 1428496538;
|
|
break;
|
|
case 5:
|
|
goto end_IL_17d5;
|
|
IL_18d3:
|
|
destPosition2 = vector2;
|
|
item5 = item4.Item1;
|
|
name = warpInfo4.Name;
|
|
question = warpInfo4.Question;
|
|
sourceTerritoryId = _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(warpDestinationEntry3);
|
|
sourcePosition2 = _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(warpDestinationEntry3);
|
|
npcDataId2 = _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(warpDestinationEntry3);
|
|
destTerritoryId = warpInfo4.DestTerritoryId;
|
|
gilCost2 = warpInfo4.GilCost;
|
|
requiredQuestIds = warpInfo4.RequiredQuestIds;
|
|
list5 = _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry3);
|
|
list4.Add(new WarpInfo(item5, name, question, sourceTerritoryId, sourcePosition2, npcDataId2, null, destTerritoryId, destPosition2, gilCost2, requiredQuestIds, (list5 != null && list5.Count > 0) ? _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(warpDestinationEntry3).ToArray() : null, warpInfo4.RequiredClassLevel, DerivedSource: false, warpInfo4.RequireAllQuests, _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(warpDestinationEntry3) == Vector3.Zero && warpInfo3.DerivedArrival));
|
|
hashSet3.Add(item4);
|
|
num = 1428496538;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_17d5:
|
|
break;
|
|
}
|
|
}
|
|
foreach (KeyValuePair<uint, List<(uint, ushort, Vector3)>> item7 in dictionary7)
|
|
{
|
|
item7.Deconstruct(out key3, out var value9);
|
|
uint num52 = key3;
|
|
List<(uint, ushort, Vector3)> list6 = value9;
|
|
if (!dictionary8.TryGetValue(num52, out var value10))
|
|
{
|
|
continue;
|
|
}
|
|
using List<(uint, ushort, Vector3)>.Enumerator enumerator11 = list6.GetEnumerator();
|
|
num = -909189203;
|
|
while (true)
|
|
{
|
|
int num53 = num;
|
|
num3 = -909189201;
|
|
num4 = num53;
|
|
int num54 = num4 + num3;
|
|
int num55 = num4 & num3;
|
|
switch (num54 - (num55 + num55))
|
|
{
|
|
case 5:
|
|
list4.Add(value10 with
|
|
{
|
|
SourceTerritoryId = current7.Item2,
|
|
SourcePosition = current7.Item3,
|
|
NpcDataId = current7.Item1,
|
|
NpcName = ResolveObjectName(current7.Item1),
|
|
DerivedSource = true
|
|
});
|
|
num = -909189203;
|
|
break;
|
|
case 7:
|
|
num = ((!NonNavigableIntendedUses.Contains(value11)) ? (-909189206) : (-909189202));
|
|
break;
|
|
case 6:
|
|
num = -909189203;
|
|
break;
|
|
case 2:
|
|
num = (enumerator11.MoveNext() ? (-909189204) : (-909189205));
|
|
break;
|
|
case 1:
|
|
num = ((!hashSet2.Contains(current7.Item2)) ? (-909189203) : (-909189206));
|
|
break;
|
|
case 0:
|
|
num = ((!dictionary3.TryGetValue(current7.Item2, out value11)) ? (-909189206) : (-909189208));
|
|
break;
|
|
case 3:
|
|
current7 = enumerator11.Current;
|
|
num = ((!hashSet3.Add((num52, current7.Item1))) ? (-909189203) : (-909189201));
|
|
break;
|
|
case 4:
|
|
goto end_IL_1a4f;
|
|
}
|
|
continue;
|
|
end_IL_1a4f:
|
|
break;
|
|
}
|
|
}
|
|
int num56 = list4.Count((WarpInfo w) => w.DestPosition.HasValue);
|
|
int num57 = list4.Count((WarpInfo w) => w.SourceTerritoryId == 0);
|
|
int num58 = list4.Count((WarpInfo w) => w.DerivedSource);
|
|
int num59 = list4.Count((WarpInfo w) => w.DerivedArrival);
|
|
_200E_202A_206B_202A_200B_202B_202E_202A_200B_206E_206D_206D_206C_206F_200E_200D_202C_202C_200F_206D_200B_206B_202C_206B_206A_202B_206E_202B_200B_206D_206C_206D_202E_202E_200D_202A_200B_206E_202B_206C_202E((ILogger)logger, global::_003CModule_003E._202C_206A_200E_202C_200C_206A_206A_202A_206C_200E_202D_200D_206C_206D_202D_200E_200B_202A_200B_206C_200C_202E_206D_202D_200F_206B_206E_200D_200C_206E_202B_206E_200C_206B_200E_200C_206D_200C_206B_202B_202E<string>(-1204221542), new object[8]
|
|
{
|
|
num28,
|
|
list4.Count,
|
|
dictionary8.Count,
|
|
num56,
|
|
num58,
|
|
num59,
|
|
num57,
|
|
flag ? global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(-1568919776) : global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(1048379339)
|
|
});
|
|
_200E_202A_206B_202A_200B_202B_202E_202A_200B_206E_206D_206D_206C_206F_200E_200D_202C_202C_200F_206D_200B_206B_202C_206B_206A_202B_206E_202B_200B_206D_206C_206D_202E_202E_200D_202A_200B_206E_202B_206C_202E((ILogger)logger, global::_003CModule_003E._206C_200D_200D_206D_202E_200F_206A_206A_206D_202A_202D_200D_206F_206A_200F_206C_200F_202D_206B_202B_200B_202A_200B_202A_206A_206A_200D_206B_202E_206B_206F_206D_200E_202B_202C_202B_200B_202A_202C_206A_202E<string>(-64023076), new object[4] { num29, hashSet.Count, num30, num31 });
|
|
return new Snapshot(list4, dictionary8, hashSet, num28, list4.Count, num56, num57, num58, num59, num29, num30, num31, !flag);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
string? ResolveObjectName(uint objectId)
|
|
{
|
|
ENpcResident? rowOrDefault = dataManager.GetExcelSheet<ENpcResident>().GetRowOrDefault(objectId);
|
|
int num60 = ((!rowOrDefault.HasValue) ? (-389697121) : (-389697126));
|
|
string text3 = default(string);
|
|
EObjName? rowOrDefault2 = default(EObjName?);
|
|
string text4 = default(string);
|
|
while (true)
|
|
{
|
|
int num61 = num60;
|
|
int num62 = -389697122;
|
|
int num63 = num61;
|
|
switch ((num63 | num62) - (num63 & num62))
|
|
{
|
|
case 6:
|
|
num60 = -389697126;
|
|
break;
|
|
case 5:
|
|
text3 = rowOrDefault2.Value.Singular.ExtractText();
|
|
num60 = (_003C_003Ec__DisplayClass39_0._202E_202A_206E_202C_206B_206A_202E_202D_206D_206C_200F_206B_200E_202D_202E_206D_200C_206D_206E_202D_200E_206A_206E_200B_206C_206E_200F_200E_200C_200E_206E_200F_200C_206C_206B_206D_206A_206E_200E_206D_202E(text3) ? (-389697122) : (-389697123));
|
|
break;
|
|
case 3:
|
|
return text3;
|
|
case 4:
|
|
text4 = rowOrDefault.Value.Singular.ExtractText();
|
|
num60 = (_003C_003Ec__DisplayClass39_0._202E_202A_206E_202C_206B_206A_202E_202D_206D_206C_200F_206B_200E_202D_202E_206D_200C_206D_206E_202D_200E_206A_206E_200B_206C_206E_200F_200E_200C_200E_206E_200F_200C_206C_206B_206D_206A_206E_200E_206D_202E(text4) ? (-389697121) : (-389697124));
|
|
break;
|
|
case 2:
|
|
return text4;
|
|
case 1:
|
|
rowOrDefault2 = dataManager.GetExcelSheet<EObjName>().GetRowOrDefault(objectId);
|
|
num60 = ((!rowOrDefault2.HasValue) ? (-389697122) : (-389697125));
|
|
break;
|
|
case 0:
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
internal static void AddWarpFronter(Dictionary<uint, List<uint>> index, uint handlerId, uint fronterObjectId, Func<uint, IEnumerable<uint>?> arrayMemberLookup, ref int nestedArraysSkipped)
|
|
{
|
|
int num = ((handlerId != 0) ? (-1948350651) : (-1948350649));
|
|
uint num9 = default(uint);
|
|
IEnumerable<uint> enumerable = default(IEnumerable<uint>);
|
|
uint current = default(uint);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1948350653;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -1948350649;
|
|
break;
|
|
case 3:
|
|
AddFronterEntry(index, handlerId, fronterObjectId);
|
|
return;
|
|
case 4:
|
|
return;
|
|
case 6:
|
|
num9 = handlerId >> 16;
|
|
num = ((num9 != 2) ? (-1948350652) : (-1948350656));
|
|
break;
|
|
case 1:
|
|
return;
|
|
case 7:
|
|
if (num9 == 13)
|
|
{
|
|
num = -1948350655;
|
|
break;
|
|
}
|
|
return;
|
|
case 2:
|
|
enumerable = arrayMemberLookup(handlerId);
|
|
num = ((enumerable != null) ? (-1948350650) : (-1948350654));
|
|
break;
|
|
case 5:
|
|
{
|
|
IEnumerator<uint> enumerator = enumerable.GetEnumerator();
|
|
try
|
|
{
|
|
num = 145017122;
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
num3 = 145017123;
|
|
num4 = num5;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 5:
|
|
nestedArraysSkipped++;
|
|
num = 145017122;
|
|
break;
|
|
case 4:
|
|
current = enumerator.Current;
|
|
num = ((current >> 16 != 2) ? 145017123 : 145017121);
|
|
break;
|
|
case 1:
|
|
num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator) ? 145017127 : 145017120);
|
|
break;
|
|
case 2:
|
|
AddFronterEntry(index, current, fronterObjectId);
|
|
num = 145017122;
|
|
break;
|
|
case 6:
|
|
num = 145017122;
|
|
break;
|
|
case 0:
|
|
num = ((current >> 16 != 13) ? 145017122 : 145017126);
|
|
break;
|
|
case 3:
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((enumerator == null) ? (-2062162633) : (-2062162636));
|
|
while (true)
|
|
{
|
|
int num6 = num;
|
|
num3 = -2062162635;
|
|
num4 = num6;
|
|
int num7 = num4 + num3;
|
|
int num8 = num4 & num3;
|
|
switch (num7 - (num8 + num8))
|
|
{
|
|
case 0:
|
|
num = -2062162636;
|
|
break;
|
|
case 2:
|
|
goto end_IL_01e8;
|
|
case 1:
|
|
_200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator);
|
|
num = -2062162633;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_01e8:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private static void AddFronterEntry(Dictionary<uint, List<uint>> index, uint warpRowId, uint fronterObjectId)
|
|
{
|
|
List<uint> value;
|
|
int num = (index.TryGetValue(warpRowId, out value) ? 1144046997 : 1144046998);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1144046997;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
value.Add(fronterObjectId);
|
|
num = 1144046999;
|
|
break;
|
|
case 0:
|
|
num = (value.Contains(fronterObjectId) ? 1144046999 : 1144046996);
|
|
break;
|
|
case 3:
|
|
value = (index[warpRowId] = new List<uint>());
|
|
num = 1144046997;
|
|
break;
|
|
case 4:
|
|
num = 1144046998;
|
|
break;
|
|
case 2:
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal static Vector3? ResolveDerivedArrival(uint popRangeId, ushort destTerritoryId, DerivedArrivalEntry? embedded, Func<uint, (ushort TerritoryId, Vector3 Position)?> levelLookup)
|
|
{
|
|
int num = ((popRangeId != 0) ? 693111575 : 693111576);
|
|
(ushort, Vector3) valueOrDefault = default((ushort, Vector3));
|
|
(ushort, Vector3)? tuple = default((ushort, Vector3)?);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 693111569;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 8:
|
|
num = ((_200D_202A_202B_206E_202C_202D_206A_200C_206D_200B_206E_206D_206D_206F_206C_202E_200C_200B_202E_202A_206D_202D_200C_200E_206C_200D_202B_206E_200D_202A_206C_202D_200C_206F_206C_200B_202C_202A_200D_200D_202E(embedded) != popRangeId) ? 693111569 : 693111570);
|
|
break;
|
|
case 9:
|
|
return null;
|
|
case 6:
|
|
num = ((embedded == null) ? 693111569 : 693111577);
|
|
break;
|
|
case 3:
|
|
num = ((_206A_202E_202A_206A_206B_206F_202D_206B_202E_200B_202B_202A_200C_202A_202C_206C_200E_202C_202B_206E_206E_200F_200F_206D_206F_202E_202E_206E_206D_200F_202E_202B_206B_202E_206D_200B_206A_202A_206C_206E_202E(embedded) != destTerritoryId) ? 693111569 : 693111571);
|
|
break;
|
|
case 1:
|
|
return valueOrDefault.Item2;
|
|
case 5:
|
|
valueOrDefault = tuple.GetValueOrDefault();
|
|
num = ((valueOrDefault.Item1 != destTerritoryId) ? 693111573 : 693111568);
|
|
break;
|
|
case 4:
|
|
return null;
|
|
case 2:
|
|
return new Vector3(_202B_202C_206E_202A_200E_200B_206C_202E_200F_206A_202A_206C_202A_200E_206C_200E_206B_206A_206F_200B_200E_206B_202D_206C_206B_202C_206E_200B_200C_200F_200C_202E_202E_206F_202A_206E_200B_206E_200C_202A_202E(embedded), _206E_200D_202A_206C_202E_200C_206A_202C_200B_200D_200D_202B_206F_200E_202A_206A_200E_200D_206A_200B_206A_200B_202E_200F_206C_202A_200D_200D_206C_202A_200F_202D_206A_206D_200E_206E_200D_200F_200C_202B_202E(embedded), _200D_202B_202D_206B_206B_206C_200C_202A_202C_202C_202D_206D_206C_206F_206E_200C_206F_200D_202B_200C_206F_206A_200D_200C_202B_200F_202C_200B_200E_206C_202D_206B_202B_200B_202C_206D_206A_200E_206F_200E_202E(embedded));
|
|
case 7:
|
|
num = 693111576;
|
|
break;
|
|
case 0:
|
|
tuple = levelLookup(popRangeId);
|
|
num = ((!tuple.HasValue) ? 693111573 : 693111572);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal static List<(uint NpcDataId, ushort TerritoryId, Vector3 Position)> ResolveDerivedSources(uint warpRowId, IReadOnlyDictionary<uint, List<uint>> fronterIndex, Func<uint, (ushort TerritoryId, Vector3 Position, bool FestivalOnly)?> getPlacement)
|
|
{
|
|
List<(uint, ushort, Vector3)> list = new List<(uint, ushort, Vector3)>();
|
|
int num = (fronterIndex.TryGetValue(warpRowId, out List<uint> value) ? 337465769 : 337465770);
|
|
uint current = default(uint);
|
|
(ushort, Vector3, bool) valueOrDefault = default((ushort, Vector3, bool));
|
|
(ushort, Vector3, bool)? tuple = default((ushort, Vector3, bool)?);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 337465768;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
goto IL_0058;
|
|
case 2:
|
|
return list;
|
|
case 1:
|
|
{
|
|
IEnumerator<uint> enumerator = value.Order().GetEnumerator();
|
|
try
|
|
{
|
|
num = -304547261;
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
num3 = -304547258;
|
|
num4 = num5;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 3:
|
|
list.Add((current, valueOrDefault.Item1, valueOrDefault.Item2));
|
|
num = -304547261;
|
|
break;
|
|
case 5:
|
|
num = (_200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E((IEnumerator)enumerator) ? (-304547257) : (-304547258));
|
|
break;
|
|
case 4:
|
|
num = -304547261;
|
|
break;
|
|
case 2:
|
|
valueOrDefault = tuple.GetValueOrDefault();
|
|
num = (valueOrDefault.Item3 ? (-304547261) : (-304547259));
|
|
break;
|
|
case 1:
|
|
current = enumerator.Current;
|
|
tuple = getPlacement(current);
|
|
num = ((!tuple.HasValue) ? (-304547261) : (-304547260));
|
|
break;
|
|
case 0:
|
|
return list;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((enumerator == null) ? (-1914934886) : (-1914934885));
|
|
while (true)
|
|
{
|
|
int num6 = num;
|
|
num3 = -1914934886;
|
|
num4 = num6;
|
|
int num7 = num4 + num3;
|
|
int num8 = num4 & num3;
|
|
switch (num7 - (num8 + num8))
|
|
{
|
|
case 2:
|
|
num = -1914934885;
|
|
break;
|
|
case 1:
|
|
_200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E((IDisposable)enumerator);
|
|
num = -1914934886;
|
|
break;
|
|
case 0:
|
|
goto end_IL_018f;
|
|
}
|
|
continue;
|
|
end_IL_018f:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
continue;
|
|
IL_0058:
|
|
num = 337465770;
|
|
}
|
|
}
|
|
|
|
private static void LoadWarpOverridesFrom(string path, List<WarpDestinationEntry> target, HashSet<uint> skippedIds)
|
|
{
|
|
int num = (_202D_200C_206F_206C_206F_200D_200D_206C_202A_200F_200F_200F_206F_200E_200F_206C_206A_202A_202B_206F_200C_202D_200E_202D_202A_202C_206F_206F_202B_200F_202C_202C_206E_206E_200C_202E_202A_206B_206A_200D_202E(path) ? 1659706856 : 1659706857);
|
|
WarpDestinationOverrides warpDestinationOverrides = default(WarpDestinationOverrides);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1659706856;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 4:
|
|
return;
|
|
case 0:
|
|
warpDestinationOverrides = JsonSerializer.Deserialize<WarpDestinationOverrides>(_206E_200E_206F_200E_200E_202B_202E_202B_200F_206A_200D_200D_202A_206A_206A_206E_202E_202B_202D_200E_202D_202C_202E_206A_202B_206F_206D_202C_202C_202C_206C_200D_200E_200D_202E_206B_206C_206A_206A_206D_202E(path));
|
|
num = ((warpDestinationOverrides != null) ? 1659706858 : 1659706860);
|
|
break;
|
|
case 1:
|
|
return;
|
|
case 3:
|
|
num = 1659706857;
|
|
break;
|
|
case 2:
|
|
{
|
|
using (List<uint>.Enumerator enumerator = _206A_202C_206C_202C_200E_200F_202D_206C_200E_200D_206E_200C_206B_200F_202E_202C_206C_200B_202E_200E_206F_206A_206D_202B_202E_206D_206E_202B_206F_202C_206F_206A_200B_200C_206E_200D_206D_206F_202B_206F_202E(warpDestinationOverrides).GetEnumerator())
|
|
{
|
|
num = 1865429245;
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
num3 = 1865429247;
|
|
num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 0:
|
|
num = 1865429245;
|
|
break;
|
|
case 2:
|
|
num = (enumerator.MoveNext() ? 1865429246 : 1865429244);
|
|
break;
|
|
case 1:
|
|
{
|
|
uint current = enumerator.Current;
|
|
skippedIds.Add(current);
|
|
num = 1865429245;
|
|
break;
|
|
}
|
|
case 3:
|
|
goto end_IL_00a8;
|
|
}
|
|
continue;
|
|
end_IL_00a8:
|
|
break;
|
|
}
|
|
}
|
|
using Dictionary<string, WarpDestinationEntry>.Enumerator enumerator2 = _202C_206A_200C_200D_200F_206C_200C_202B_202A_202B_202B_206E_206D_206D_202C_202E_202D_200D_206F_206E_200B_202A_200E_200E_206B_202D_200B_202A_206C_206C_200D_206F_202A_206B_202B_202E_202E_202D_202E_206B_202E(warpDestinationOverrides).GetEnumerator();
|
|
num = 1971888332;
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
num3 = 1971888334;
|
|
num4 = num8;
|
|
int num9 = num4 + num3;
|
|
int num10 = num4 & num3;
|
|
switch (num9 - (num10 + num10))
|
|
{
|
|
case 2:
|
|
num = (enumerator2.MoveNext() ? 1971888333 : 1971888335);
|
|
break;
|
|
case 3:
|
|
var (_, item) = (KeyValuePair<string, WarpDestinationEntry>)(ref enumerator2.Current);
|
|
target.Add(item);
|
|
num = 1971888332;
|
|
break;
|
|
case 0:
|
|
num = 1971888332;
|
|
break;
|
|
case 1:
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
static object _202E_200E_206C_202E_202C_200E_202B_202D_206B_206E_202C_200F_200E_200D_206A_206F_200B_206E_200E_206C_202D_206E_206D_206A_202B_200D_206F_200D_200E_206C_202C_206E_202E_202A_206E_200D_206C_202B_202A_200D_202E()
|
|
{
|
|
return new object();
|
|
}
|
|
|
|
static void _200F_206E_200B_206B_202A_202C_200B_206E_206B_200F_200E_202E_200D_206C_200D_206D_202C_200F_206D_200B_200F_202E_202A_200B_206D_200D_202C_202A_206B_202C_200F_200D_202B_202D_200F_202D_202B_202C_206F_202E_202E(object P_0, ref bool P_1)
|
|
{
|
|
Monitor.Enter(P_0, ref P_1);
|
|
}
|
|
|
|
static bool _202B_200B_206B_200C_200D_202A_206B_202A_206A_200C_206C_206A_200C_200F_206E_200F_200E_206D_202A_202D_202E_202E_200C_200D_200B_200E_206B_206B_206B_200B_200E_202C_206C_202B_206C_202B_200F_200E_202B_202D_202E(NpcPositionCache P_0)
|
|
{
|
|
return P_0.IsBuilt;
|
|
}
|
|
|
|
static void _206B_202E_206F_200C_200F_206D_202A_206E_206E_206D_202D_200C_200F_206A_200B_202C_202E_206E_206C_202E_206F_200B_206B_206F_200E_206A_206A_200D_202E_206C_202C_200F_200B_206E_200E_200B_202D_202B_200F_202E(object P_0)
|
|
{
|
|
Monitor.Exit(P_0);
|
|
}
|
|
|
|
static string _202B_206F_206A_200E_200C_202E_202D_202C_200F_202C_202C_206E_200C_206C_206A_206D_206B_200F_206E_200B_202E_206C_200C_200B_202A_200F_206A_200F_202D_206E_202E_202E_206A_206F_202E_200B_202A_206F_202B_206A_202E(FileSystemInfo P_0)
|
|
{
|
|
return P_0.FullName;
|
|
}
|
|
|
|
static (IReadOnlyList<uint>, IReadOnlyDictionary<string, WarpDestinationEntry>) _206E_202B_202A_200D_206D_202D_202B_202C_200B_200E_202C_200C_206B_202D_202D_202C_202A_202B_200D_206B_202E_200B_202B_206F_206E_206A_202B_200C_202A_202C_200D_200B_206F_202B_206C_202C_200B_206F_200E_206B_202E(string P_0)
|
|
{
|
|
return AssemblyWarpDestinationLoader.GetOverrides(P_0);
|
|
}
|
|
|
|
static bool _200B_206F_206C_202E_202E_202D_200E_202C_206B_206D_202C_200B_206E_200D_200D_206B_200D_202A_206D_200B_206F_202D_200F_202B_202B_202D_202A_206B_206B_200B_200C_202D_200F_206A_202C_206B_206C_206C_206E_202D_202E(IEnumerator P_0)
|
|
{
|
|
return P_0.MoveNext();
|
|
}
|
|
|
|
static void _200B_200D_202B_202C_200D_206D_206C_200F_202C_200F_200D_200F_206B_202E_202C_206F_206A_200C_206B_202D_206F_202B_206E_206E_200E_206F_200C_202E_200E_200B_206A_202C_206C_206D_200F_206B_200B_202A_202E_200F_202E(IDisposable P_0)
|
|
{
|
|
P_0.Dispose();
|
|
}
|
|
|
|
static string _206B_206F_200C_206F_206C_202D_202A_206D_200D_206E_202D_206F_200F_206D_202A_202C_200E_200C_200B_202D_206D_202B_200B_200E_200F_200F_200C_200E_206D_202B_202B_206A_200F_200B_202A_202B_206E_202E_206A_206E_202E(string P_0, string P_1)
|
|
{
|
|
return Path.Combine(P_0, P_1);
|
|
}
|
|
|
|
static uint? _202B_206D_206C_206C_206E_200F_202E_206D_200E_200C_206E_206A_200D_200E_206A_200C_206E_202C_206A_200E_202B_202C_200B_202B_206E_206D_202C_206F_202D_202A_206F_206A_206F_206A_200B_206B_202A_206C_200E_200C_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.NpcDataId;
|
|
}
|
|
|
|
static uint _206F_200B_200D_200C_202D_202B_200C_202A_202B_200C_200C_206F_206F_202D_200E_206B_200D_206B_200D_202B_206E_200F_202E_202E_200B_200F_200D_200C_200C_206B_200C_202A_202B_202A_202A_206E_206E_202D_202C_200D_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.WarpRowId;
|
|
}
|
|
|
|
static ushort _206F_200E_206D_206A_200F_202D_206D_202B_200F_206B_200C_200C_200D_206F_200C_206E_206C_202B_200C_206C_206D_202B_206E_202E_200D_206E_206C_200B_202B_202D_200F_202A_206B_206B_206D_202D_206F_206B_206E_206C_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.SourceTerritoryId;
|
|
}
|
|
|
|
static ushort _206F_206B_200F_206C_202C_202C_200C_206F_206A_202A_206F_206E_206D_206D_206B_206F_206D_202D_200E_202B_200D_206D_200B_200F_206A_202A_206C_206C_200D_206C_202A_202D_206F_202D_200E_202A_206D_202C_202C_202E_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.DestTerritoryId;
|
|
}
|
|
|
|
static void _206E_202D_202C_200E_200B_206C_206F_202C_206A_202A_202E_200B_206B_200B_200C_206C_202E_200C_202D_206B_206F_202A_206F_202C_200C_200E_200B_200D_206B_200B_206E_206E_206B_206A_202A_206E_202E_202B_202C_206F_202E(ILogger P_0, string P_1, object[] P_2)
|
|
{
|
|
P_0.LogWarning(P_1, P_2);
|
|
}
|
|
|
|
static Vector3 _200F_202B_200E_200C_206A_202E_206D_206B_200B_200C_206C_206E_202A_200F_200E_200F_200B_202B_200B_206F_200E_202D_202C_206C_200E_202E_206C_202C_200B_200C_206F_206C_206D_202B_206E_206B_206D_200D_206B_202B_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.SourcePosition;
|
|
}
|
|
|
|
static bool _206A_202D_200C_206F_206A_206C_206C_202B_206C_200E_206A_200E_206A_200C_206E_206C_200F_206F_202A_206E_202B_200D_206F_206F_200B_206A_206B_200D_200B_202C_206A_202C_202E_206A_206D_202E_206A_200E_206C_202A_202E(string P_0)
|
|
{
|
|
return string.IsNullOrEmpty(P_0);
|
|
}
|
|
|
|
static DerivedArrivalFile _200E_202D_206A_202D_206A_206C_206F_206B_200F_200C_202E_200F_200B_200C_206A_206F_206C_200E_202C_206B_206C_200B_206A_200F_206B_202B_202D_200B_206A_200F_206A_202E_202D_202A_202C_200B_202B_200D_200B_206E_202E(string P_0)
|
|
{
|
|
return AssemblyDerivedArrivalLoader.GetArrivals(P_0);
|
|
}
|
|
|
|
static string _202D_202B_200E_200C_200F_200C_206F_206D_206D_206C_206E_200F_200B_200C_206F_202B_206E_202A_202B_206E_206E_206F_202E_200C_206C_200E_206B_202E_200F_202B_206A_200F_200E_206D_206D_200D_200E_206C_202A_200C_202E(DerivedArrivalFile P_0)
|
|
{
|
|
return P_0.GameVersion;
|
|
}
|
|
|
|
static bool _202A_206C_206D_206F_200B_202C_202E_200C_206E_206C_202E_202C_200F_200F_202A_202A_206F_200E_200D_202C_202A_200E_202E_202D_206B_202A_200C_202E_206F_206F_200C_206C_206D_206D_202E_206F_206D_202A_206F_202D_202E(string P_0, string P_1)
|
|
{
|
|
return P_0 != P_1;
|
|
}
|
|
|
|
static Vector3 _206F_200F_202D_206B_206A_202B_200F_206A_206F_206C_206F_202A_200D_206B_202C_200F_202A_206B_206F_202C_206B_200E_200C_202E_200F_202B_200C_202C_202E_206E_200B_202D_202C_202A_200B_202C_202C_206A_200C_200C_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.DestPosition;
|
|
}
|
|
|
|
static List<uint> _206E_206F_200C_200B_206C_206D_200E_202A_206D_202C_202D_200C_200C_206F_206E_206B_206F_202C_202C_200F_206F_202B_200E_202C_200D_200C_206D_200D_202A_200D_200C_200B_206F_200B_202B_200E_206C_206A_202E_206D_202E(WarpDestinationEntry P_0)
|
|
{
|
|
return P_0.AvailableDuringMsqIds;
|
|
}
|
|
|
|
static Dictionary<uint, DerivedArrivalEntry> _202C_206D_206C_200E_206C_202C_206A_202B_200E_206C_200B_200B_206D_202A_202B_206E_206F_206B_202A_200C_202B_206A_206D_200F_206E_202A_202B_206B_200E_200C_200C_200B_206C_200D_206A_202C_202A_202B_206D_206C_202E(DerivedArrivalFile P_0)
|
|
{
|
|
return P_0.Arrivals;
|
|
}
|
|
|
|
static void _200E_202A_206B_202A_200B_202B_202E_202A_200B_206E_206D_206D_206C_206F_200E_200D_202C_202C_200F_206D_200B_206B_202C_206B_206A_202B_206E_202B_200B_206D_206C_206D_202E_202E_200D_202A_200B_206E_202B_206C_202E(ILogger P_0, string P_1, object[] P_2)
|
|
{
|
|
P_0.LogDebug(P_1, P_2);
|
|
}
|
|
|
|
static uint _200D_202A_202B_206E_202C_202D_206A_200C_206D_200B_206E_206D_206D_206F_206C_202E_200C_200B_202E_202A_206D_202D_200C_200E_206C_200D_202B_206E_200D_202A_206C_202D_200C_206F_206C_200B_202C_202A_200D_200D_202E(DerivedArrivalEntry P_0)
|
|
{
|
|
return P_0.PopRangeId;
|
|
}
|
|
|
|
static ushort _206A_202E_202A_206A_206B_206F_202D_206B_202E_200B_202B_202A_200C_202A_202C_206C_200E_202C_202B_206E_206E_200F_200F_206D_206F_202E_202E_206E_206D_200F_202E_202B_206B_202E_206D_200B_206A_202A_206C_206E_202E(DerivedArrivalEntry P_0)
|
|
{
|
|
return P_0.TerritoryId;
|
|
}
|
|
|
|
static float _202B_202C_206E_202A_200E_200B_206C_202E_200F_206A_202A_206C_202A_200E_206C_200E_206B_206A_206F_200B_200E_206B_202D_206C_206B_202C_206E_200B_200C_200F_200C_202E_202E_206F_202A_206E_200B_206E_200C_202A_202E(DerivedArrivalEntry P_0)
|
|
{
|
|
return P_0.X;
|
|
}
|
|
|
|
static float _206E_200D_202A_206C_202E_200C_206A_202C_200B_200D_200D_202B_206F_200E_202A_206A_200E_200D_206A_200B_206A_200B_202E_200F_206C_202A_200D_200D_206C_202A_200F_202D_206A_206D_200E_206E_200D_200F_200C_202B_202E(DerivedArrivalEntry P_0)
|
|
{
|
|
return P_0.Y;
|
|
}
|
|
|
|
static float _200D_202B_202D_206B_206B_206C_200C_202A_202C_202C_202D_206D_206C_206F_206E_200C_206F_200D_202B_200C_206F_206A_200D_200C_202B_200F_202C_200B_200E_206C_202D_206B_202B_200B_202C_206D_206A_200E_206F_200E_202E(DerivedArrivalEntry P_0)
|
|
{
|
|
return P_0.Z;
|
|
}
|
|
|
|
static bool _202D_200C_206F_206C_206F_200D_200D_206C_202A_200F_200F_200F_206F_200E_200F_206C_206A_202A_202B_206F_200C_202D_200E_202D_202A_202C_206F_206F_202B_200F_202C_202C_206E_206E_200C_202E_202A_206B_206A_200D_202E(string P_0)
|
|
{
|
|
return File.Exists(P_0);
|
|
}
|
|
|
|
static string _206E_200E_206F_200E_200E_202B_202E_202B_200F_206A_200D_200D_202A_206A_206A_206E_202E_202B_202D_200E_202D_202C_202E_206A_202B_206F_206D_202C_202C_202C_206C_200D_200E_200D_202E_206B_206C_206A_206A_206D_202E(string P_0)
|
|
{
|
|
return File.ReadAllText(P_0);
|
|
}
|
|
|
|
static List<uint> _206A_202C_206C_202C_200E_200F_202D_206C_200E_200D_206E_200C_206B_200F_202E_202C_206C_200B_202E_200E_206F_206A_206D_202B_202E_206D_206E_202B_206F_202C_206F_206A_200B_200C_206E_200D_206D_206F_202B_206F_202E(WarpDestinationOverrides P_0)
|
|
{
|
|
return P_0.SkippedWarpIds;
|
|
}
|
|
|
|
static Dictionary<string, WarpDestinationEntry> _202C_206A_200C_200D_200F_206C_200C_202B_202A_202B_202B_206E_206D_206D_202C_202E_202D_200D_206F_206E_200B_202A_200E_200E_206B_202D_200B_202A_206C_206C_200D_206F_202A_206B_202B_202E_202E_202D_202E_206B_202E(WarpDestinationOverrides P_0)
|
|
{
|
|
return P_0.Destinations;
|
|
}
|
|
}
|