forked from aly/qstbak
2972 lines
164 KiB
C#
2972 lines
164 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Numerics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using Dalamud.Bindings.ImGui;
|
|
using Dalamud.Interface;
|
|
using Dalamud.Interface.ManagedFontAtlas;
|
|
using Dalamud.Interface.Utility.Raii;
|
|
using Dalamud.Plugin;
|
|
using Dalamud.Plugin.Services;
|
|
using FFXIVClientStructs.FFXIV.Client.Game;
|
|
using LLib.GameData;
|
|
using Lumina.Excel;
|
|
using Lumina.Excel.Sheets;
|
|
using Questionable.Controller;
|
|
using Questionable.Model;
|
|
using Questionable.Model.Gathering;
|
|
using Questionable.Model.Questing;
|
|
|
|
namespace Questionable.Windows.JournalComponents;
|
|
|
|
internal sealed class GatheringJournalComponent
|
|
{
|
|
private enum RowType : byte
|
|
{
|
|
Expansion,
|
|
Territory,
|
|
GatheringPoint,
|
|
Item
|
|
}
|
|
|
|
private readonly record struct GatheringCounts(string FormattedSupported, string FormattedCollected, bool IsSupportedComplete, bool IsCollectedComplete, bool IsSupportedEmpty, bool IsCollectedEmpty)
|
|
{
|
|
public static GatheringCounts Empty
|
|
{
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
get
|
|
{
|
|
return new GatheringCounts(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1108021570), global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1228468769), IsSupportedComplete: false, IsCollectedComplete: false, IsSupportedEmpty: true, IsCollectedEmpty: true);
|
|
}
|
|
}
|
|
|
|
private static readonly int PadWidth = _206B_200C_206B_202A_200E_206B_202E_206D_202A_206F_200B_200E_202E_200E_202C_202C_206A_202B_202D_200F_200E_206D_200C_202B_200F_202B_206F_202D_200D_202C_202E_202C_200F_202C_206E_206D_200F_200E_206B_202E_202E(9999.ToString(_200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E()));
|
|
|
|
public static GatheringCounts Create(int supported, int totalSupported, int collected, int totalCollected)
|
|
{
|
|
return new GatheringCounts(FormatPair(supported, totalSupported), FormatPair(collected, totalCollected), supported == totalSupported && totalSupported > 0, collected == totalCollected && totalCollected > 0, totalSupported == 0, totalCollected == 0);
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private static string FormatPair(int n, int d)
|
|
{
|
|
int num = ((d == 0) ? 1282005657 : 1282005658);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1282005659;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
return _206F_206A_200E_206B_202C_202D_206A_202C_200F_202E_206F_200D_202D_202E_200B_200C_206F_202A_206B_206D_202B_202D_206E_206B_202B_200E_206C_206F_200E_206F_202B_206B_206B_200B_206E_206C_200E_206F_206E_202A_202E(_206C_202C_202E_200F_206F_200E_202E_202A_200B_206D_200E_206E_202C_200B_206E_206B_200D_206D_202B_206B_202E_202B_200B_200E_206C_202D_206A_206C_202D_200E_200F_206E_200C_200F_202B_202A_200C_200C_202E_206B_202E(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(792471175), PadWidth), global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1534070043), _206C_202C_202E_200F_206F_200E_202E_202A_200B_206D_200E_206E_202C_200B_206E_206B_200D_206D_202B_206B_202E_202B_200B_200E_206C_202D_206A_206C_202D_200E_200F_206E_200C_200F_202B_202A_200C_200C_202E_206B_202E(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(792471175), PadWidth));
|
|
case 1:
|
|
return _206F_206A_200E_206B_202C_202D_206A_202C_200F_202E_206F_200D_202D_202E_200B_200C_206F_202A_206B_206D_202B_202D_206E_206B_202B_200E_206C_206F_200E_206F_202B_206B_206B_200B_206E_206C_200E_206F_206E_202A_202E(_202A_202C_202B_200D_206C_200B_206E_206A_200B_200F_200F_200F_206D_200C_206E_206F_206D_200E_200D_202C_200D_200D_206A_206E_200B_200C_206C_200E_202C_202C_200D_202C_206C_206A_202D_206E_202D_200C_200F_200E_202E(n.ToString(_200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E()), PadWidth), global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-242478203), _202A_202C_202B_200D_206C_200B_206E_206A_200B_200F_200F_200F_206D_200C_206E_206F_206D_200E_200D_202C_200D_200D_206A_206E_200B_200C_206C_200E_202C_202C_200D_202C_206C_206A_202D_206E_202D_200C_200F_200E_202E(d.ToString(_200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E()), PadWidth));
|
|
case 0:
|
|
goto IL_00b7;
|
|
}
|
|
continue;
|
|
IL_00b7:
|
|
num = 1282005658;
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _206A_206C_206C_206C_206F_202A_202B_206C_206D_202C_206D_200D_200E_206B_206C_200C_202A_206E_206D_206B_200B_206E_202C_200B_202B_206D_202A_206A_206F_200D_200E_202B_206F_206E_200F_206F_200E_202C_202A_200D_202E();
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(stringBuilder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-790800990));
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(stringBuilder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(698284764));
|
|
int num = ((!PrintMembers(stringBuilder)) ? 631277519 : 631277516);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 631277518;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 1:
|
|
_200F_202B_206F_206F_206A_200B_200B_202B_206C_200E_202A_206F_200B_202C_206C_200C_200E_206A_200E_206A_206F_206A_200F_200F_202B_202A_206C_202B_200B_200D_200D_206F_200F_206A_200C_200F_200F_202C_202B_200D_202E(stringBuilder, '}');
|
|
return _206B_206C_202B_202E_206A_202E_200C_200B_200E_206A_200F_202A_200E_200F_200B_202E_202A_206D_200F_202D_206D_206D_202A_206B_200E_200D_200F_200C_200F_202C_200D_202B_202B_206C_202D_200C_206B_206B_206E_206C_202E((object)stringBuilder);
|
|
case 2:
|
|
_200F_202B_206F_206F_206A_200B_200B_202B_206C_200E_202A_206F_200B_202C_206C_200C_200E_206A_200E_206A_206F_206A_200F_200F_202B_202A_206C_202B_200B_200D_200D_206F_200F_206A_200C_200F_200F_202C_202B_200D_202E(stringBuilder, ' ');
|
|
num = 631277519;
|
|
break;
|
|
case 0:
|
|
num = 631277516;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-1069213863));
|
|
_206D_200C_200C_206C_200E_200F_200E_200F_206D_206F_206A_202C_200C_202A_206D_200D_200E_206D_206F_206E_200C_200E_202A_206C_206D_200D_206D_206E_206A_202B_200B_200D_200C_202A_206B_206A_202B_200E_206B_200D_202E(builder, (object)FormattedSupported);
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-2136494893));
|
|
_206D_200C_200C_206C_200E_200F_200E_200F_206D_206F_206A_202C_200C_202A_206D_200D_200E_206D_206F_206E_200C_200E_202A_206C_206D_200D_206D_206E_206A_202B_200B_200D_200C_202A_206B_206A_202B_200E_206B_200D_202E(builder, (object)FormattedCollected);
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1503984796));
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsSupportedComplete.ToString());
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(1561397285));
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsCollectedComplete.ToString());
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-748445346));
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsSupportedEmpty.ToString());
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-1462861686));
|
|
_206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(builder, IsCollectedEmpty.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(GatheringCounts other)
|
|
{
|
|
int num = ((!EqualityComparer<string>.Default.Equals(FormattedSupported, other.FormattedSupported)) ? 156024419 : 156024416);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 156024422;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(IsCollectedComplete, other.IsCollectedComplete)) ? 156024419 : 156024418);
|
|
break;
|
|
case 6:
|
|
num = ((!EqualityComparer<string>.Default.Equals(FormattedCollected, other.FormattedCollected)) ? 156024419 : 156024420);
|
|
break;
|
|
case 2:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(IsSupportedComplete, other.IsSupportedComplete)) ? 156024419 : 156024422);
|
|
break;
|
|
case 4:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(IsSupportedEmpty, other.IsSupportedEmpty)) ? 156024419 : 156024423);
|
|
break;
|
|
case 1:
|
|
return EqualityComparer<bool>.Default.Equals(IsCollectedEmpty, other.IsCollectedEmpty);
|
|
case 3:
|
|
num = 156024416;
|
|
break;
|
|
case 5:
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<GatheringCounts>.Equals(GatheringCounts other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static CultureInfo _200F_202C_206F_200F_202B_202D_200E_200F_200E_206B_200F_202E_206A_200F_200D_206F_200D_202C_200B_202B_206F_206D_206E_206F_206F_206E_202E_200C_202D_202D_206F_202B_202D_206B_206E_200C_202E_206E_206D_200D_202E()
|
|
{
|
|
return CultureInfo.CurrentCulture;
|
|
}
|
|
|
|
static string _202A_202C_202B_200D_206C_200B_206E_206A_200B_200F_200F_200F_206D_200C_206E_206F_206D_200E_200D_202C_200D_200D_206A_206E_200B_200C_206C_200E_202C_202C_200D_202C_206C_206A_202D_206E_202D_200C_200F_200E_202E(string P_0, int P_1)
|
|
{
|
|
return P_0.PadLeft(P_1);
|
|
}
|
|
|
|
static string _206F_206A_200E_206B_202C_202D_206A_202C_200F_202E_206F_200D_202D_202E_200B_200C_206F_202A_206B_206D_202B_202D_206E_206B_202B_200E_206C_206F_200E_206F_202B_206B_206B_200B_206E_206C_200E_206F_206E_202A_202E(string P_0, string P_1, string P_2)
|
|
{
|
|
return P_0 + P_1 + P_2;
|
|
}
|
|
|
|
static string _206C_202C_202E_200F_206F_200E_202E_202A_200B_206D_200E_206E_202C_200B_206E_206B_200D_206D_202B_206B_202E_202B_200B_200E_206C_202D_206A_206C_202D_200E_200F_206E_200C_200F_202B_202A_200C_200C_202E_206B_202E(string P_0, int P_1)
|
|
{
|
|
return P_0.PadLeft(P_1);
|
|
}
|
|
|
|
static StringBuilder _206A_206C_206C_206C_206F_202A_202B_206C_206D_202C_206D_200D_200E_206B_206C_200C_202A_206E_206D_206B_200B_206E_202C_200B_202B_206D_202A_206A_206F_200D_200E_202B_206F_206E_200F_206F_200E_202C_202A_200D_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _206E_200C_206E_202D_206C_200B_206B_202D_202E_202E_206A_200B_202E_200F_200B_206D_202A_206C_206F_206C_206B_200D_206E_206D_202B_200B_206F_206E_206D_200F_200E_200E_200E_200E_200F_200F_202B_202A_206F_202B_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _200F_202B_206F_206F_206A_200B_200B_202B_206C_200E_202A_206F_200B_202C_206C_200C_200E_206A_200E_206A_206F_206A_200F_200F_202B_202A_206C_202B_200B_200D_200D_206F_200F_206A_200C_200F_200F_202C_202B_200D_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _206B_206C_202B_202E_206A_202E_200C_200B_200E_206A_200F_202A_200E_200F_200B_202E_202A_206D_200F_202D_206D_206D_202A_206B_200E_200D_200F_200C_200F_202C_200D_202B_202B_206C_202D_200C_206B_206B_206E_206C_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static StringBuilder _206D_200C_200C_206C_200E_200F_200E_200F_206D_206F_206A_202C_200C_202A_206D_200D_200E_206D_206F_206E_200C_200E_202A_206C_206D_200D_206D_206E_206A_202B_200B_200D_200C_202A_206B_206A_202B_200E_206B_200D_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static int _206B_200C_206B_202A_200E_206B_202E_206D_202A_206F_200B_200E_202E_200E_202C_202C_206A_202B_202D_200F_200E_206D_200C_202B_200F_202B_206F_202D_200D_202C_202E_202C_200F_202C_206E_206D_200F_200E_206B_202E_202E(string P_0)
|
|
{
|
|
return P_0.Length;
|
|
}
|
|
}
|
|
|
|
private readonly record struct FlatRow(RowType Type, int Depth, int GroupIndex, string Label, GatheringCounts Counts, bool IsPointComplete, ushort ItemId, bool IsItemGathered)
|
|
{
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _200F_206C_202D_206B_206D_200B_206C_200C_206D_206C_202E_206A_202A_206B_200B_202D_202E_202D_202B_206E_200C_206C_202E_206B_206E_202A_200E_200C_206C_202A_202B_206D_206B_202B_200D_206A_206B_200D_206A_206E_202E();
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(stringBuilder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-2098208768));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(stringBuilder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1664411125));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-1638947350) : (-1638947351));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1638947352;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
_200D_206C_206D_206C_206E_202A_202B_202D_202E_202C_202D_202E_200E_200C_202E_200E_202E_206D_202A_206C_202D_206C_206A_202B_206A_200C_202C_200F_202D_200D_200F_206C_202B_200E_206B_202A_200F_200D_202B_206F_202E(stringBuilder, '}');
|
|
return _206C_206C_202B_202D_206D_202D_202B_202A_206D_200F_206C_202D_202D_202A_202E_206A_202E_206B_200E_202D_202D_200D_200C_202B_200D_200C_202E_200F_202D_206D_202B_200F_200D_202E_202A_202D_206D_206B_206E_202B_202E((object)stringBuilder);
|
|
case 1:
|
|
_200D_206C_206D_206C_206E_202A_202B_202D_202E_202C_202D_202E_200E_200C_202E_200E_202E_206D_202A_206C_202D_206C_206A_202B_206A_200C_202C_200F_202D_200D_200F_206C_202B_200E_206B_202A_200F_200D_202B_206F_202E(stringBuilder, ' ');
|
|
num = -1638947350;
|
|
break;
|
|
case 0:
|
|
num = -1638947351;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-217898061));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, Type.ToString());
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1014922524));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, Depth.ToString());
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1647495557));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, GroupIndex.ToString());
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-882901215));
|
|
_202C_200F_206A_202A_202B_202D_202C_202D_200D_200F_200E_206C_200F_206C_202C_206A_206E_202A_200E_202E_200D_202D_206B_206B_200F_206A_200E_206C_202C_206C_206E_200C_206B_202A_206E_202C_202A_206E_200D_206F_202E(builder, (object)Label);
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-1999051001));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, Counts.ToString());
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(237855300));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, IsPointComplete.ToString());
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-727021518));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, ItemId.ToString());
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(2079981210));
|
|
_200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(builder, IsItemGathered.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(FlatRow other)
|
|
{
|
|
int num = ((!EqualityComparer<RowType>.Default.Equals(Type, other.Type)) ? (-1674576019) : (-1674576028));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1674576027;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 6:
|
|
num = -1674576028;
|
|
break;
|
|
case 1:
|
|
num = ((!EqualityComparer<int>.Default.Equals(Depth, other.Depth)) ? (-1674576019) : (-1674576030));
|
|
break;
|
|
case 3:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(IsPointComplete, other.IsPointComplete)) ? (-1674576019) : (-1674576031));
|
|
break;
|
|
case 2:
|
|
num = ((!EqualityComparer<string>.Default.Equals(Label, other.Label)) ? (-1674576019) : (-1674576027));
|
|
break;
|
|
case 7:
|
|
num = ((!EqualityComparer<int>.Default.Equals(GroupIndex, other.GroupIndex)) ? (-1674576019) : (-1674576025));
|
|
break;
|
|
case 4:
|
|
num = ((!EqualityComparer<ushort>.Default.Equals(ItemId, other.ItemId)) ? (-1674576019) : (-1674576032));
|
|
break;
|
|
case 8:
|
|
return false;
|
|
case 0:
|
|
num = ((!EqualityComparer<GatheringCounts>.Default.Equals(Counts, other.Counts)) ? (-1674576019) : (-1674576026));
|
|
break;
|
|
case 5:
|
|
return EqualityComparer<bool>.Default.Equals(IsItemGathered, other.IsItemGathered);
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<FlatRow>.Equals(FlatRow other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static StringBuilder _200F_206C_202D_206B_206D_200B_206C_200C_206D_206C_202E_206A_202A_206B_200B_202D_202E_202D_202B_206E_200C_206C_202E_206B_206E_202A_200E_200C_206C_202A_202B_206D_206B_202B_200D_206A_206B_200D_206A_206E_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _200F_202B_206E_206F_202B_200D_206A_202D_202E_202C_200F_200C_206B_206D_200B_202C_202E_202E_206B_200F_206B_206B_206F_202B_200F_202A_206F_200D_206B_202A_206F_206F_202C_200F_200E_202D_206E_202B_202A_200D_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _200D_206C_206D_206C_206E_202A_202B_202D_202E_202C_202D_202E_200E_200C_202E_200E_202E_206D_202A_206C_202D_206C_206A_202B_206A_200C_202C_200F_202D_200D_200F_206C_202B_200E_206B_202A_200F_200D_202B_206F_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _206C_206C_202B_202D_206D_202D_202B_202A_206D_200F_206C_202D_202D_202A_202E_206A_202E_206B_200E_202D_202D_200D_200C_202B_200D_200C_202E_200F_202D_206D_202B_200F_200D_202E_202A_202D_206D_206B_206E_202B_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static StringBuilder _202C_200F_206A_202A_202B_202D_202C_202D_200D_200F_200E_206C_200F_206C_202C_206A_206E_202A_200E_202E_200D_202D_206B_206B_200F_206A_200E_206C_202C_206C_206E_200C_206B_202A_206E_202C_202A_206E_200D_206F_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
}
|
|
|
|
private delegate byte GetIsGatheringItemGatheredDelegate(ushort item);
|
|
|
|
private sealed record ExpansionPoints(EExpansionVersion ExpansionVersion, List<TerritoryPoints> PointsByTerritories)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _202C_206F_200D_200C_206F_206A_206E_202C_202A_200B_200F_202E_200E_202D_206F_202C_206B_202A_200F_200F_200F_206D_200B_206C_206A_200F_202A_206C_200D_202A_206D_200F_206F_200B_206E_206A_206D_206A_202B_200E_202E(typeof(ExpansionPoints).TypeHandle);
|
|
}
|
|
}
|
|
|
|
public int TotalItems { get; set; }
|
|
|
|
public int TotalPoints { get; set; }
|
|
|
|
public int CompletedItems { get; set; }
|
|
|
|
public int CompletedPoints { get; set; }
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _206F_200F_206C_206E_200E_202C_206C_202A_202C_206F_206B_200E_206B_200D_206C_200E_200B_202E_206F_206B_202A_202A_202C_200F_206D_200B_200C_206D_202B_206E_202E_200F_200C_202D_202B_206F_206B_200F_206A_206D_202E();
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(stringBuilder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1433999488));
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(stringBuilder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1344697862));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-127138192) : (-127138189));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -127138191;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = -127138189;
|
|
break;
|
|
case 2:
|
|
_202C_200B_206E_202D_206D_202C_206B_206F_202D_202B_200C_200C_206E_200C_202B_202D_200E_202A_206F_202C_206A_202C_206F_200F_200D_200F_200B_206C_200E_200D_200D_206F_202C_200F_200F_200F_206A_202B_202C_202D_202E(stringBuilder, ' ');
|
|
num = -127138192;
|
|
break;
|
|
case 1:
|
|
_202C_200B_206E_202D_206D_202C_206B_206F_202D_202B_200C_200C_206E_200C_202B_202D_200E_202A_206F_202C_206A_202C_206F_200F_200D_200F_200B_206C_200E_200D_200D_206F_202C_200F_200F_200F_206A_202B_202C_202D_202E(stringBuilder, '}');
|
|
return _200F_202E_200C_206A_202E_200E_206E_200B_206C_200B_202C_206E_206D_202D_200B_202A_200B_202B_200E_200D_206E_200C_206A_206A_206C_206B_202E_202B_200C_202B_206F_200D_200B_202A_206C_200F_200C_206C_202E_202B_202E((object)stringBuilder);
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_206D_206A_200D_200C_202A_202B_206B_206E_202D_206D_202D_200C_206F_206E_202C_200B_202E_202D_200B_206D_200B_200D_206F_202B_206A_202C_206E_202A_202D_206E_206D_200F_200E_202B_202E_200E_206F_206C_202E_202A_202E();
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-1921573758));
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, ExpansionVersion.ToString());
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1746556757));
|
|
_206A_200B_202E_202B_202A_206D_202B_206F_202B_206F_206A_202D_200C_202B_200C_202B_202A_202E_200F_200B_200B_206F_206E_200B_206F_202D_200B_206E_200B_206E_202C_202C_202D_206E_206D_206A_206B_202B_200B_200D_202E(builder, (object)PointsByTerritories);
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(19786210));
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, TotalItems.ToString());
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(606702436));
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, TotalPoints.ToString());
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1780143284));
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, CompletedItems.ToString());
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1774551967));
|
|
_206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(builder, CompletedPoints.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(ExpansionPoints? other)
|
|
{
|
|
int num = (((object)this == other) ? (-1546294236) : (-1546294235));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1546294227;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 1:
|
|
return EqualityComparer<int>.Default.Equals(CompletedPoints, other.CompletedPoints);
|
|
case 0:
|
|
num = ((!EqualityComparer<EExpansionVersion>.Default.Equals(ExpansionVersion, other.ExpansionVersion)) ? (-1546294226) : (-1546294229));
|
|
break;
|
|
case 7:
|
|
num = -1546294235;
|
|
break;
|
|
case 9:
|
|
return true;
|
|
case 6:
|
|
num = ((!EqualityComparer<List<TerritoryPoints>>.Default.Equals(PointsByTerritories, other.PointsByTerritories)) ? (-1546294226) : (-1546294232));
|
|
break;
|
|
case 10:
|
|
num = ((!EqualityComparer<int>.Default.Equals(CompletedItems, other.CompletedItems)) ? (-1546294226) : (-1546294228));
|
|
break;
|
|
case 8:
|
|
num = (((object)other == null) ? (-1546294226) : (-1546294225));
|
|
break;
|
|
case 4:
|
|
num = ((!EqualityComparer<int>.Default.Equals(TotalPoints, other.TotalPoints)) ? (-1546294226) : (-1546294233));
|
|
break;
|
|
case 2:
|
|
num = ((!_200E_206B_200F_202B_200B_202C_202C_200C_206B_200E_206F_206F_206B_202C_202C_206B_206B_200B_206D_200D_206E_202D_200F_206F_206F_200B_202D_202E_202A_202E_206A_202C_200B_202A_202D_202D_206F_206A_206E_206E_202E(EqualityContract, other.EqualityContract)) ? (-1546294226) : (-1546294227));
|
|
break;
|
|
case 3:
|
|
return false;
|
|
case 5:
|
|
num = ((!EqualityComparer<int>.Default.Equals(TotalItems, other.TotalItems)) ? (-1546294226) : (-1546294231));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<ExpansionPoints>.Equals(ExpansionPoints? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _202C_206F_200D_200C_206F_206A_206E_202C_202A_200B_200F_202E_200E_202D_206F_202C_206B_202A_200F_200F_200F_206D_200B_206C_206A_200F_202A_206C_200D_202A_206D_200F_206F_200B_206E_206A_206D_206A_202B_200E_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _206F_200F_206C_206E_200E_202C_206C_202A_202C_206F_206B_200E_206B_200D_206C_200E_200B_202E_206F_206B_202A_202A_202C_200F_206D_200B_200C_206D_202B_206E_202E_200F_200C_202D_202B_206F_206B_200F_206A_206D_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _206E_206E_206A_200C_200D_202D_200F_202C_200D_206B_200F_202B_206B_200E_202C_200C_202E_202E_200E_206E_206B_202D_200B_202E_206F_206B_206B_206C_200D_200C_200B_206D_200B_202D_206A_202D_206F_200D_202A_202E_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _202C_200B_206E_202D_206D_202C_206B_206F_202D_202B_200C_200C_206E_200C_202B_202D_200E_202A_206F_202C_206A_202C_206F_200F_200D_200F_200B_206C_200E_200D_200D_206F_202C_200F_200F_200F_206A_202B_202C_202D_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _200F_202E_200C_206A_202E_200E_206E_200B_206C_200B_202C_206E_206D_202D_200B_202A_200B_202B_200E_200D_206E_200C_206A_206A_206C_206B_202E_202B_200C_202B_206F_200D_200B_202A_206C_200F_200C_206C_202E_202B_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _206D_206A_200D_200C_202A_202B_206B_206E_202D_206D_202D_200C_206F_206E_202C_200B_202E_202D_200B_206D_200B_200D_206F_202B_206A_202C_206E_202A_202D_206E_206D_200F_200E_202B_202E_200E_206F_206C_202E_202A_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _206A_200B_202E_202B_202A_206D_202B_206F_202B_206F_206A_202D_200C_202B_200C_202B_202A_202E_200F_200B_200B_206F_206E_200B_206F_202D_200B_206E_200B_206E_202C_202C_202D_206E_206D_206A_206B_202B_200B_200D_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _200E_206B_200F_202B_200B_202C_202C_200C_206B_200E_206F_206F_206B_202C_202C_206B_206B_200B_206D_200D_206E_202D_200F_206F_206F_200B_202D_202E_202A_202E_206A_202C_200B_202A_202D_202D_206F_206A_206E_206E_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
private sealed record TerritoryPoints(ushort TerritoryType, string TerritoryName, List<DefaultGatheringPoint> Points)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _206E_206C_200C_206B_200E_200E_202A_206B_206A_202D_206C_200F_202D_206F_200D_206E_206D_200F_206F_206F_206C_206E_206B_206F_200D_206B_202C_202C_206F_206F_202B_202D_200D_202C_206F_202E_202C_200C_202D_200D_202E(typeof(TerritoryPoints).TypeHandle);
|
|
}
|
|
}
|
|
|
|
public int TotalItems { get; set; }
|
|
|
|
public int TotalPoints => Points.Count;
|
|
|
|
public int CompletedItems { get; set; }
|
|
|
|
public int CompletedPoints { get; set; }
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public string ToFriendlyString()
|
|
{
|
|
int num = ((!_206E_200B_202A_202A_202D_202C_200E_202C_206D_206B_200B_202A_206B_202A_202B_200F_200E_202B_202C_206C_200B_200C_202D_206B_202E_206C_202B_200C_200C_200D_202B_202B_200E_202B_206E_200C_200E_202A_200D_200D_202E(TerritoryName)) ? (-372970510) : (-372970511));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -372970509;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
goto IL_004b;
|
|
case 2:
|
|
{
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 1);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(1282129484));
|
|
defaultInterpolatedStringHandler.AppendFormatted(TerritoryType);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1735737295));
|
|
return defaultInterpolatedStringHandler.ToStringAndClear();
|
|
}
|
|
case 1:
|
|
return TerritoryName;
|
|
}
|
|
continue;
|
|
IL_004b:
|
|
num = -372970511;
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _200E_206B_202E_206C_200C_202D_206B_200D_206D_200B_202C_200E_200F_200D_206B_202D_206A_200D_206C_202D_206B_202A_202E_200C_206E_202E_202E_206A_200D_206D_206B_206D_202E_200D_202C_200B_206E_202D_202E_200E_202E();
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(stringBuilder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(1982297905));
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(stringBuilder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1664411125));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-1682111640) : (-1682111639));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1682111640;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
_202B_206D_206C_206A_202B_206A_206F_200B_206F_202A_202A_202B_200C_200F_200D_202D_200F_202C_206E_200F_200B_206E_202A_206F_202E_202D_206D_202A_202D_200E_206F_202B_206B_206D_206F_206E_202B_200B_206B_200D_202E(stringBuilder, '}');
|
|
return _202C_202C_206A_202C_206A_206E_200C_202E_206D_200E_202D_202E_200B_202B_206D_202D_202B_200B_200B_206F_202A_202E_202D_202B_200D_202C_202B_206A_200F_206F_200D_202C_200D_206F_206B_200B_206F_202E_202B_202A_202E((object)stringBuilder);
|
|
case 1:
|
|
_202B_206D_206C_206A_202B_206A_206F_200B_206F_202A_202A_202B_200C_200F_200D_202D_200F_202C_206E_200F_200B_206E_202A_206F_202E_202D_206D_202A_202D_200E_206F_202B_206B_206D_206F_206E_202B_200B_206B_200D_202E(stringBuilder, ' ');
|
|
num = -1682111640;
|
|
break;
|
|
case 2:
|
|
num = -1682111639;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_200C_206D_206C_202E_206F_206E_206A_206A_200E_200E_202E_200F_202E_206E_206E_200C_202A_206F_202E_200B_200E_200D_202E_200E_202E_206E_202C_206A_200C_206E_200F_202A_202C_200E_206F_206A_202B_206F_200F_206F_202E();
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(1717589508));
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, TerritoryType.ToString());
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1928556849));
|
|
_202E_200D_206D_200D_206D_202D_202B_202D_206F_202D_202B_200F_202E_200C_202D_200D_200D_200C_206D_200E_206E_206E_200B_202D_200D_206F_202E_206F_206A_206A_200D_202E_202D_200C_202A_206F_202D_202E_206D_202C_202E(builder, (object)TerritoryName);
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1371274133));
|
|
_202E_200D_206D_200D_206D_202D_202B_202D_206F_202D_202B_200F_202E_200C_202D_200D_200D_200C_206D_200E_206E_206E_200B_202D_200D_206F_202E_206F_206A_206A_200D_202E_202D_200C_202A_206F_202D_202E_206D_202C_202E(builder, (object)Points);
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-708467607));
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, TotalItems.ToString());
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1253835803));
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, TotalPoints.ToString());
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-1273608271));
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, CompletedItems.ToString());
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-1790706375));
|
|
_202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(builder, CompletedPoints.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(TerritoryPoints? other)
|
|
{
|
|
int num = (((object)this == other) ? (-862053346) : (-862053348));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -862053350;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
num = ((!EqualityComparer<List<DefaultGatheringPoint>>.Default.Equals(Points, other.Points)) ? (-862053345) : (-862053349));
|
|
break;
|
|
case 3:
|
|
num = ((!_200C_200F_202B_202D_202B_202B_202B_202D_206D_200B_200B_200D_206B_202B_206F_200B_206B_200C_200F_202A_206B_202D_202C_200C_202D_200D_206E_202B_200E_200D_202B_206E_200B_206B_200D_206E_202C_202C_206D_200E_202E(EqualityContract, other.EqualityContract)) ? (-862053345) : (-862053358));
|
|
break;
|
|
case 8:
|
|
num = ((!EqualityComparer<ushort>.Default.Equals(TerritoryType, other.TerritoryType)) ? (-862053345) : (-862053357));
|
|
break;
|
|
case 9:
|
|
num = ((!EqualityComparer<string>.Default.Equals(TerritoryName, other.TerritoryName)) ? (-862053345) : (-862053352));
|
|
break;
|
|
case 1:
|
|
num = ((!EqualityComparer<int>.Default.Equals(TotalItems, other.TotalItems)) ? (-862053345) : (-862053360));
|
|
break;
|
|
case 0:
|
|
return EqualityComparer<int>.Default.Equals(CompletedPoints, other.CompletedPoints);
|
|
case 4:
|
|
return true;
|
|
case 5:
|
|
return false;
|
|
case 7:
|
|
num = -862053348;
|
|
break;
|
|
case 10:
|
|
num = ((!EqualityComparer<int>.Default.Equals(CompletedItems, other.CompletedItems)) ? (-862053345) : (-862053350));
|
|
break;
|
|
case 6:
|
|
num = (((object)other == null) ? (-862053345) : (-862053351));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<TerritoryPoints>.Equals(TerritoryPoints? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _206E_206C_200C_206B_200E_200E_202A_206B_206A_202D_206C_200F_202D_206F_200D_206E_206D_200F_206F_206F_206C_206E_206B_206F_200D_206B_202C_202C_206F_206F_202B_202D_200D_202C_206F_202E_202C_200C_202D_200D_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static bool _206E_200B_202A_202A_202D_202C_200E_202C_206D_206B_200B_202A_206B_202A_202B_200F_200E_202B_202C_206C_200B_200C_202D_206B_202E_206C_202B_200C_200C_200D_202B_202B_200E_202B_206E_200C_200E_202A_200D_200D_202E(string P_0)
|
|
{
|
|
return string.IsNullOrEmpty(P_0);
|
|
}
|
|
|
|
static StringBuilder _200E_206B_202E_206C_200C_202D_206B_200D_206D_200B_202C_200E_200F_200D_206B_202D_206A_200D_206C_202D_206B_202A_202E_200C_206E_202E_202E_206A_200D_206D_206B_206D_202E_200D_202C_200B_206E_202D_202E_200E_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _202E_206F_200C_200B_202C_202A_200E_206B_202E_206D_206C_202D_200E_200F_202A_206E_200C_200B_200E_206E_200B_202D_200B_206B_206E_200B_202C_200C_200C_206E_206C_202D_202C_200E_206C_202D_206F_206C_202C_200C_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _202B_206D_206C_206A_202B_206A_206F_200B_206F_202A_202A_202B_200C_200F_200D_202D_200F_202C_206E_200F_200B_206E_202A_206F_202E_202D_206D_202A_202D_200E_206F_202B_206B_206D_206F_206E_202B_200B_206B_200D_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _202C_202C_206A_202C_206A_206E_200C_202E_206D_200E_202D_202E_200B_202B_206D_202D_202B_200B_200B_206F_202A_202E_202D_202B_200D_202C_202B_206A_200F_206F_200D_202C_200D_206F_206B_200B_206F_202E_202B_202A_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _200C_206D_206C_202E_206F_206E_206A_206A_200E_200E_202E_200F_202E_206E_206E_200C_202A_206F_202E_200B_200E_200D_202E_200E_202E_206E_202C_206A_200C_206E_200F_202A_202C_200E_206F_206A_202B_206F_200F_206F_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _202E_200D_206D_200D_206D_202D_202B_202D_206F_202D_202B_200F_202E_200C_202D_200D_200D_200C_206D_200E_206E_206E_200B_202D_200D_206F_202E_206F_206A_206A_200D_202E_202D_200C_202A_206F_202D_202E_206D_202C_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _200C_200F_202B_202D_202B_202B_202B_202D_206D_200B_200B_200D_206B_202B_206F_200B_206B_200C_200F_202A_206B_202D_202C_200C_202D_200D_206E_202B_200E_200D_202B_206E_200B_206B_200D_206E_202C_202C_206D_200E_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
private sealed record DefaultGatheringPoint(GatheringPointId Id, EClassJob ClassJob, byte Level, List<ushort> GatheringItemIds, EExpansionVersion Expansion, ushort TerritoryType, string? TerritoryName, string? PlaceName)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _202E_200D_206E_202C_206F_200F_200E_200D_206F_206F_202C_202A_206E_202D_200D_206F_206D_200C_206C_202C_206F_206B_200F_206E_202D_206A_200B_202A_200C_200D_202C_206B_200B_202A_206C_202E_206C_200D_200E_202B_202E(typeof(DefaultGatheringPoint).TypeHandle);
|
|
}
|
|
}
|
|
|
|
public int TotalItems { get; set; }
|
|
|
|
public int CompletedItems { get; set; }
|
|
|
|
public bool IsComplete { get; set; }
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _200F_200C_200D_206A_200D_202A_200D_202A_206E_202D_206D_200B_202E_206A_206D_202B_202B_200D_202B_200C_202B_202E_200D_206A_200C_202C_200E_202D_206E_206E_206C_206B_202A_202B_206F_200C_202B_206A_202B_200C_202E();
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(stringBuilder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(697029583));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(stringBuilder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(117284107));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-1428012309) : (-1428012310));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1428012309;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
num = -1428012310;
|
|
break;
|
|
case 0:
|
|
_200D_200C_202D_200C_206F_206F_202B_202E_206D_200F_206D_200D_206F_206E_202D_202D_200D_202E_206D_202E_206B_200C_206B_206B_206A_202B_202C_206B_202B_202D_206B_202C_206B_200F_206F_200E_206A_200E_206F_200D_202E(stringBuilder, '}');
|
|
return _200C_206F_206B_206B_206F_200B_202B_206A_200F_202E_202E_206B_206B_200E_206A_206F_206D_200F_200D_202D_202C_202A_200F_200C_206C_200D_206F_202B_206C_202D_200D_200F_200B_206D_200C_200C_206A_206A_206E_200C_202E((object)stringBuilder);
|
|
case 1:
|
|
_200D_200C_202D_200C_206F_206F_202B_202E_206D_200F_206D_200D_206F_206E_202D_202D_200D_202E_206D_202E_206B_200C_206B_206B_206A_202B_202C_206B_202B_202D_206B_202C_206B_200F_206F_200E_206A_200E_206F_200D_202E(stringBuilder, ' ');
|
|
num = -1428012309;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_202A_200E_202E_206F_206F_206C_206A_206D_202D_200F_200C_200C_200C_202D_206A_202E_200E_206C_200F_200B_206F_206B_206B_206C_206E_200D_200F_206D_200D_200B_206B_202B_206B_200D_200D_200C_206E_200F_202E_202A_202E();
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-2012349732));
|
|
_206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)Id);
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1160325293));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, ClassJob.ToString());
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(2059092762));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, Level.ToString());
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1694264994));
|
|
_206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)GatheringItemIds);
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1684057181));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, Expansion.ToString());
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1364954486));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, TerritoryType.ToString());
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-282533646));
|
|
_206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)TerritoryName);
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1894371280));
|
|
_206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(builder, (object)PlaceName);
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1350395082));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, TotalItems.ToString());
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1518544200));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, CompletedItems.ToString());
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1873552259));
|
|
_200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(builder, IsComplete.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(DefaultGatheringPoint? other)
|
|
{
|
|
int num = (((object)this == other) ? (-1315173192) : (-1315173194));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1315173199;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 11:
|
|
num = ((!EqualityComparer<List<ushort>>.Default.Equals(GatheringItemIds, other.GatheringItemIds)) ? (-1315173198) : (-1315173187));
|
|
break;
|
|
case 7:
|
|
num = (((object)other == null) ? (-1315173198) : (-1315173191));
|
|
break;
|
|
case 13:
|
|
num = ((!EqualityComparer<EClassJob>.Default.Equals(ClassJob, other.ClassJob)) ? (-1315173198) : (-1315173186));
|
|
break;
|
|
case 8:
|
|
num = ((!_202B_206F_200C_206C_200F_206C_202B_206B_202D_200E_200D_206C_206F_206A_206B_202E_206B_202D_206D_200C_202B_200B_200F_206D_206B_206B_206A_206B_202C_200C_206C_206F_202D_202B_202D_202C_202C_202E_206F_202E(EqualityContract, other.EqualityContract)) ? (-1315173198) : (-1315173200));
|
|
break;
|
|
case 9:
|
|
return true;
|
|
case 0:
|
|
num = -1315173194;
|
|
break;
|
|
case 10:
|
|
num = ((!EqualityComparer<string>.Default.Equals(PlaceName, other.PlaceName)) ? (-1315173198) : (-1315173196));
|
|
break;
|
|
case 5:
|
|
num = ((!EqualityComparer<int>.Default.Equals(TotalItems, other.TotalItems)) ? (-1315173198) : (-1315173185));
|
|
break;
|
|
case 6:
|
|
num = ((!EqualityComparer<string>.Default.Equals(TerritoryName, other.TerritoryName)) ? (-1315173198) : (-1315173189));
|
|
break;
|
|
case 3:
|
|
return false;
|
|
case 4:
|
|
return EqualityComparer<bool>.Default.Equals(IsComplete, other.IsComplete);
|
|
case 2:
|
|
num = ((!EqualityComparer<ushort>.Default.Equals(TerritoryType, other.TerritoryType)) ? (-1315173198) : (-1315173193));
|
|
break;
|
|
case 15:
|
|
num = ((!EqualityComparer<byte>.Default.Equals(Level, other.Level)) ? (-1315173198) : (-1315173190));
|
|
break;
|
|
case 14:
|
|
num = ((!EqualityComparer<int>.Default.Equals(CompletedItems, other.CompletedItems)) ? (-1315173198) : (-1315173195));
|
|
break;
|
|
case 12:
|
|
num = ((!EqualityComparer<EExpansionVersion>.Default.Equals(Expansion, other.Expansion)) ? (-1315173198) : (-1315173197));
|
|
break;
|
|
case 1:
|
|
num = ((!EqualityComparer<GatheringPointId>.Default.Equals(Id, other.Id)) ? (-1315173198) : (-1315173188));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<DefaultGatheringPoint>.Equals(DefaultGatheringPoint? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _202E_200D_206E_202C_206F_200F_200E_200D_206F_206F_202C_202A_206E_202D_200D_206F_206D_200C_206C_202C_206F_206B_200F_206E_202D_206A_200B_202A_200C_200D_202C_206B_200B_202A_206C_202E_206C_200D_200E_202B_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _200F_200C_200D_206A_200D_202A_200D_202A_206E_202D_206D_200B_202E_206A_206D_202B_202B_200D_202B_200C_202B_202E_200D_206A_200C_202C_200E_202D_206E_206E_206C_206B_202A_202B_206F_200C_202B_206A_202B_200C_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _200D_202B_206C_202A_206C_206C_202A_200B_200F_206A_200D_200D_200B_202C_206A_206B_206B_206A_202B_200B_206D_202C_200E_206A_200F_202D_206B_206F_200B_202A_200B_206E_206D_202D_206D_206A_202E_200D_206B_202D_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _200D_200C_202D_200C_206F_206F_202B_202E_206D_200F_206D_200D_206F_206E_202D_202D_200D_202E_206D_202E_206B_200C_206B_206B_206A_202B_202C_206B_202B_202D_206B_202C_206B_200F_206F_200E_206A_200E_206F_200D_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _200C_206F_206B_206B_206F_200B_202B_206A_200F_202E_202E_206B_206B_200E_206A_206F_206D_200F_200D_202D_202C_202A_200F_200C_206C_200D_206F_202B_206C_202D_200D_200F_200B_206D_200C_200C_206A_206A_206E_200C_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _202A_200E_202E_206F_206F_206C_206A_206D_202D_200F_200C_200C_200C_202D_206A_202E_200E_206C_200F_200B_206F_206B_206B_206C_206E_200D_200F_206D_200D_200B_206B_202B_206B_200D_200D_200C_206E_200F_202E_202A_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _206E_200B_206C_200D_202E_206E_200D_202D_200F_202C_202E_200D_202A_200C_200D_200D_206F_200F_200F_206B_202C_202E_200E_206D_200C_202B_202D_202D_200D_206D_200E_206F_200E_206E_206F_200D_202A_200F_202A_206B_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _202B_206F_200C_206C_200F_206C_202B_206B_202D_200E_200D_206C_206F_206A_206B_202E_206B_202D_206D_200C_202B_200B_200F_206D_206B_206B_206A_206B_202C_200C_206C_206F_202D_202B_202D_202C_202C_202E_206F_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
private sealed record FilteredExpansion(ExpansionPoints Expansion, List<FilteredTerritory> Territories)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _206D_200F_200F_202E_202B_200E_200D_202E_202C_206B_200F_200D_206B_202B_200B_200C_200D_202A_200D_200E_206F_202D_200C_200B_202A_200C_202B_202D_202A_206E_202D_202C_202C_200D_202C_206F_200F_200B_200E_206B_202E(typeof(FilteredExpansion).TypeHandle);
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _202D_200B_200E_202D_202D_200C_200B_206D_206D_206F_200C_200D_202E_206C_202B_206E_200D_202C_206A_200B_200D_200F_200D_206A_200C_202B_202E_200D_200B_206D_206B_202C_206C_206B_206E_206F_200C_202C_202C_200F_202E();
|
|
_200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(stringBuilder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1411755612));
|
|
_200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(stringBuilder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1344697862));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-655734955) : (-655734956));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -655734955;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
num = -655734956;
|
|
break;
|
|
case 0:
|
|
_206F_200F_200B_200D_202C_206A_202C_206A_206C_202E_202B_200C_202C_202C_206E_202B_202A_206F_206F_202A_202B_206D_200E_206B_206E_206C_206B_202B_202C_200F_202B_206C_206F_200F_200F_200E_206E_206F_202D_202E(stringBuilder, '}');
|
|
return _200E_200B_200B_200F_206B_200E_202C_200C_200E_200B_202D_202C_206C_202D_202E_202B_202E_202E_200B_202C_206D_202D_200E_206A_202D_202D_206E_202E_206C_206B_206A_200F_200E_202C_200E_200F_202B_200B_206A_200F_202E((object)stringBuilder);
|
|
case 1:
|
|
_206F_200F_200B_200D_202C_206A_202C_206A_206C_202E_202B_200C_202C_202C_206E_202B_202A_206F_206F_202A_202B_206D_200E_206B_206E_206C_206B_202B_202C_200F_202B_206C_206F_200F_200F_200E_206E_206F_202D_202E(stringBuilder, ' ');
|
|
num = -655734955;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_200F_206F_206B_202E_202E_202E_206B_206D_206D_200D_200F_200F_200D_200D_200B_206E_206A_200E_202D_202D_200E_206D_202D_206E_200C_206F_206F_206F_200C_200D_200D_200D_200E_206C_202C_202A_200B_200B_200B_200F_202E();
|
|
_200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-243680172));
|
|
_200D_206A_202B_200D_200D_206F_206F_200B_206A_206D_206C_206C_200D_206F_202A_200E_202C_206C_202A_206C_200B_200C_206C_202E_200D_206F_202C_200B_206F_206F_200C_206C_202E_206D_202A_200F_202D_200E_200C_206F_202E(builder, (object)Expansion);
|
|
_200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-1921737749));
|
|
_200D_206A_202B_200D_200D_206F_206F_200B_206A_206D_206C_206C_200D_206F_202A_200E_202C_206C_202A_206C_200B_200C_206C_202E_200D_206F_202C_200B_206F_206F_200C_206C_202E_206D_202A_200F_202D_200E_200C_206F_202E(builder, (object)Territories);
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(FilteredExpansion? other)
|
|
{
|
|
int num = (((object)this == other) ? (-801738585) : (-801738586));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -801738585;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
return false;
|
|
case 0:
|
|
return true;
|
|
case 1:
|
|
num = (((object)other == null) ? (-801738587) : (-801738591));
|
|
break;
|
|
case 4:
|
|
num = ((!EqualityComparer<ExpansionPoints>.Default.Equals(Expansion, other.Expansion)) ? (-801738587) : (-801738590));
|
|
break;
|
|
case 3:
|
|
num = -801738586;
|
|
break;
|
|
case 5:
|
|
return EqualityComparer<List<FilteredTerritory>>.Default.Equals(Territories, other.Territories);
|
|
case 6:
|
|
num = ((!_200B_200B_206B_200C_202A_206F_202B_202E_206D_202A_200C_206F_206C_202C_202B_200D_202D_202B_206B_202D_206B_202C_200F_200E_200C_202E_206F_206B_200B_200E_200F_202B_206B_206C_206B_200E_200F_206D_200C_200D_202E(EqualityContract, other.EqualityContract)) ? (-801738587) : (-801738589));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<FilteredExpansion>.Equals(FilteredExpansion? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _206D_200F_200F_202E_202B_200E_200D_202E_202C_206B_200F_200D_206B_202B_200B_200C_200D_202A_200D_200E_206F_202D_200C_200B_202A_200C_202B_202D_202A_206E_202D_202C_202C_200D_202C_206F_200F_200B_200E_206B_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _202D_200B_200E_202D_202D_200C_200B_206D_206D_206F_200C_200D_202E_206C_202B_206E_200D_202C_206A_200B_200D_200F_200D_206A_200C_202B_202E_200D_200B_206D_206B_202C_206C_206B_206E_206F_200C_202C_202C_200F_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _200E_206D_202D_200E_206A_200E_206F_206C_206C_200E_202B_202E_200E_206C_202E_200C_202C_206A_200B_206D_202E_202A_206F_206D_202C_202B_206C_200E_202C_202E_202C_206C_200C_202A_200F_200E_206B_202B_200C_202B_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _206F_200F_200B_200D_202C_206A_202C_206A_206C_202E_202B_200C_202C_202C_206E_202B_202A_206F_206F_202A_202B_206D_200E_206B_206E_206C_206B_202B_202C_200F_202B_206C_206F_200F_200F_200E_206E_206F_202D_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _200E_200B_200B_200F_206B_200E_202C_200C_200E_200B_202D_202C_206C_202D_202E_202B_202E_202E_200B_202C_206D_202D_200E_206A_202D_202D_206E_202E_206C_206B_206A_200F_200E_202C_200E_200F_202B_200B_206A_200F_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _200F_206F_206B_202E_202E_202E_206B_206D_206D_200D_200F_200F_200D_200D_200B_206E_206A_200E_202D_202D_200E_206D_202D_206E_200C_206F_206F_206F_200C_200D_200D_200D_200E_206C_202C_202A_200B_200B_200B_200F_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _200D_206A_202B_200D_200D_206F_206F_200B_206A_206D_206C_206C_200D_206F_202A_200E_202C_206C_202A_206C_200B_200C_206C_202E_200D_206F_202C_200B_206F_206F_200C_206C_202E_206D_202A_200F_202D_200E_200C_206F_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _200B_200B_206B_200C_202A_206F_202B_202E_206D_202A_200C_206F_206C_202C_202B_200D_202D_202B_206B_202D_206B_202C_200F_200E_200C_202E_206F_206B_200B_200E_200F_202B_206B_206C_206B_200E_200F_206D_200C_200D_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
private sealed record FilteredTerritory(TerritoryPoints Territory, List<FilteredGatheringPoint> GatheringPoints)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _202A_202C_202B_202D_200F_202A_206B_202E_202B_200F_200C_206F_200F_206E_206B_200B_200B_202E_202C_200F_206B_200B_200E_206D_206F_200B_200C_202C_206C_206C_206C_202C_202A_206C_206C_206E_206C_206E_200C_202E_202E(typeof(FilteredTerritory).TypeHandle);
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _206E_206D_200F_206D_200C_206E_202B_206A_200F_206B_206E_206A_202C_206A_202B_200C_206E_202B_202B_200B_202C_200C_202C_202E_206B_202B_206B_202D_200F_200C_202A_206A_202B_206D_200E_206D_200C_202B_200C_200C_202E();
|
|
_206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(stringBuilder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-2065026974));
|
|
_206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(stringBuilder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(117284107));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-747900744) : (-747900741));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -747900742;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
_206F_206B_202E_202A_200E_206E_202A_200D_202B_202E_202A_206A_206B_206D_202D_202D_200C_206C_206F_200D_200C_202C_206F_200F_202A_206C_202C_206F_202A_206D_202B_206A_206B_206A_200F_202C_202A_206B_206C_202E_202E(stringBuilder, '}');
|
|
return _202D_202E_200C_200E_202C_206D_200D_200F_202E_206E_206D_206A_200B_200E_200D_202E_202B_206E_206B_206B_200C_206D_206F_202A_200C_206E_206A_202D_202B_206C_206D_202A_200F_202B_200E_200F_202D_200B_206C_202E((object)stringBuilder);
|
|
case 1:
|
|
_206F_206B_202E_202A_200E_206E_202A_200D_202B_202E_202A_206A_206B_206D_202D_202D_200C_206C_206F_200D_200C_202C_206F_200F_202A_206C_202C_206F_202A_206D_202B_206A_206B_206A_200F_202C_202A_206B_206C_202E_202E(stringBuilder, ' ');
|
|
num = -747900744;
|
|
break;
|
|
case 0:
|
|
num = -747900741;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_202B_206E_200B_200D_202A_206F_202A_200E_202C_206B_206D_206D_200E_202A_206A_202C_206A_202C_202D_202B_206C_200C_206A_202A_206A_200F_202A_202A_200B_206D_200C_202B_200B_200B_202B_200F_206A_206A_206B_202A_202E();
|
|
_206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-20142916));
|
|
_206A_206D_206C_202D_200B_200C_200E_202E_202B_206D_202C_206F_202B_202D_200B_200E_202C_200B_206C_206E_202A_206C_206C_200D_202A_200D_206C_202E_202B_202C_200B_200E_200B_200D_206E_206E_206C_200D_206A_206D_202E(builder, (object)Territory);
|
|
_206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(2098415863));
|
|
_206A_206D_206C_202D_200B_200C_200E_202E_202B_206D_202C_206F_202B_202D_200B_200E_202C_200B_206C_206E_202A_206C_206C_200D_202A_200D_206C_202E_202B_202C_200B_200E_200B_200D_206E_206E_206C_200D_206A_206D_202E(builder, (object)GatheringPoints);
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(FilteredTerritory? other)
|
|
{
|
|
int num = (((object)this == other) ? 295431495 : 295431493);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 295431492;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 3:
|
|
return true;
|
|
case 0:
|
|
return false;
|
|
case 2:
|
|
num = 295431493;
|
|
break;
|
|
case 6:
|
|
num = ((!EqualityComparer<TerritoryPoints>.Default.Equals(Territory, other.Territory)) ? 295431492 : 295431488);
|
|
break;
|
|
case 4:
|
|
return EqualityComparer<List<FilteredGatheringPoint>>.Default.Equals(GatheringPoints, other.GatheringPoints);
|
|
case 1:
|
|
num = (((object)other == null) ? 295431492 : 295431489);
|
|
break;
|
|
case 5:
|
|
num = ((!_200D_206C_200B_200C_206D_202A_200B_202E_200B_200B_200E_202B_200D_200D_206B_200B_206D_202B_206D_200D_202E_200E_202B_202C_206F_206C_206B_206C_202A_206A_202D_202A_202B_202A_202D_200D_200B_200F_206E_206E_202E(EqualityContract, other.EqualityContract)) ? 295431492 : 295431490);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<FilteredTerritory>.Equals(FilteredTerritory? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _202A_202C_202B_202D_200F_202A_206B_202E_202B_200F_200C_206F_200F_206E_206B_200B_200B_202E_202C_200F_206B_200B_200E_206D_206F_200B_200C_202C_206C_206C_206C_202C_202A_206C_206C_206E_206C_206E_200C_202E_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _206E_206D_200F_206D_200C_206E_202B_206A_200F_206B_206E_206A_202C_206A_202B_200C_206E_202B_202B_200B_202C_200C_202C_202E_206B_202B_206B_202D_200F_200C_202A_206A_202B_206D_200E_206D_200C_202B_200C_200C_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _206A_202A_200D_202C_206E_200B_200B_206A_200C_200E_200B_202C_206C_200F_200D_202B_202C_202D_206F_206C_200F_206B_206C_200C_206F_200F_200C_202B_200D_202A_202B_206A_202D_202C_206A_206B_200F_202B_200D_200E_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _206F_206B_202E_202A_200E_206E_202A_200D_202B_202E_202A_206A_206B_206D_202D_202D_200C_206C_206F_200D_200C_202C_206F_200F_202A_206C_202C_206F_202A_206D_202B_206A_206B_206A_200F_202C_202A_206B_206C_202E_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _202D_202E_200C_200E_202C_206D_200D_200F_202E_206E_206D_206A_200B_200E_200D_202E_202B_206E_206B_206B_200C_206D_206F_202A_200C_206E_206A_202D_202B_206C_206D_202A_200F_202B_200E_200F_202D_200B_206C_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _202B_206E_200B_200D_202A_206F_202A_200E_202C_206B_206D_206D_200E_202A_206A_202C_206A_202C_202D_202B_206C_200C_206A_202A_206A_200F_202A_202A_200B_206D_200C_202B_200B_200B_202B_200F_206A_206A_206B_202A_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _206A_206D_206C_202D_200B_200C_200E_202E_202B_206D_202C_206F_202B_202D_200B_200E_202C_200B_206C_206E_202A_206C_206C_200D_202A_200D_206C_202E_202B_202C_200B_200E_200B_200D_206E_206E_206C_200D_206A_206D_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _200D_206C_200B_200C_206D_202A_200B_202E_200B_200B_200E_202B_200D_200D_206B_200B_206D_202B_206D_200D_202E_200E_202B_202C_206F_206C_206B_206C_202A_206A_202D_202A_202B_202A_202D_200D_200B_200F_206E_206E_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
private sealed record FilteredGatheringPoint(DefaultGatheringPoint Point, List<ushort> GatheringItemIds)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _206E_206F_200C_200E_200E_200E_206D_206B_200D_206A_202D_200E_202D_200F_200C_202A_200D_202B_206D_202D_206A_206F_200D_202A_200B_202D_202D_206E_200B_206E_206F_200E_202B_200B_206D_206E_206A_200F_206E_202E(typeof(FilteredGatheringPoint).TypeHandle);
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _200C_200D_200E_206C_206F_206C_202E_200B_202B_200D_206A_202A_202E_202E_206D_206A_202D_202E_206A_200B_206A_200F_202C_202A_206C_202B_206B_200B_202C_206A_206F_200B_206D_202B_200E_202B_202C_202A_200B_202E_202E();
|
|
_202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(stringBuilder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(974624529));
|
|
_202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(stringBuilder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(556540328));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-1211955640) : (-1211955637));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1211955638;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
_202E_206D_200B_206E_206D_200D_202E_206E_200F_200B_202E_206B_200C_206C_206A_206E_202E_202D_202E_200B_206C_206A_200E_206F_202B_200D_202E_200D_202C_200E_206D_202A_206E_202B_200B_206B_202E_202C_202D_200E_202E(stringBuilder, '}');
|
|
return _206E_206F_202C_202A_202E_206D_202E_202C_202A_206B_200B_202E_202B_206F_202E_200C_206A_206F_202E_206D_206A_202A_206B_200B_202E_200F_202A_200E_206B_206A_202A_206D_202C_200E_206D_200E_206B_200E_202D_200C_202E((object)stringBuilder);
|
|
case 1:
|
|
_202E_206D_200B_206E_206D_200D_202E_206E_200F_200B_202E_206B_200C_206C_206A_206E_202E_202D_202E_200B_206C_206A_200E_206F_202B_200D_202E_200D_202C_200E_206D_202A_206E_202B_200B_206B_202E_202C_202D_200E_202E(stringBuilder, ' ');
|
|
num = -1211955640;
|
|
break;
|
|
case 0:
|
|
num = -1211955637;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_206B_200C_206C_200D_206F_206C_202E_206C_200F_202E_200B_206C_202E_202C_200B_200C_202B_206F_202C_202D_200F_200F_206C_206E_206C_202C_200B_202C_202A_202E_200C_202D_200D_206A_206C_200D_202D_206C_200E_206A_202E();
|
|
_202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1934952826));
|
|
_200B_202B_202E_200F_200F_206D_202C_206B_206A_200B_200F_200C_206C_202C_206A_206B_202A_200F_200D_202E_202A_200F_206D_200B_200B_200D_206F_202D_202E_206C_200B_200C_206C_200D_200F_202D_202E_206A_202E_206E_202E(builder, (object)Point);
|
|
_202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1694264994));
|
|
_200B_202B_202E_200F_200F_206D_202C_206B_206A_200B_200F_200C_206C_202C_206A_206B_202A_200F_200D_202E_202A_200F_206D_200B_200B_200D_206F_202D_202E_206C_200B_200C_206C_200D_200F_202D_202E_206A_202E_206E_202E(builder, (object)GatheringItemIds);
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(FilteredGatheringPoint? other)
|
|
{
|
|
int num = (((object)this == other) ? 971204107 : 971204106);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 971204105;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
num = ((!_206D_200F_200D_202A_206A_202B_202A_200F_206F_206C_200C_202D_200B_200E_202A_202C_202E_206A_200E_206F_200E_202D_202C_206F_202A_206B_202A_200C_206E_202A_200D_200F_202C_200F_206E_200C_206E_200D_200D_206C_202E(EqualityContract, other.EqualityContract)) ? 971204105 : 971204109);
|
|
break;
|
|
case 6:
|
|
return EqualityComparer<List<ushort>>.Default.Equals(GatheringItemIds, other.GatheringItemIds);
|
|
case 4:
|
|
num = ((!EqualityComparer<DefaultGatheringPoint>.Default.Equals(Point, other.Point)) ? 971204105 : 971204111);
|
|
break;
|
|
case 2:
|
|
return true;
|
|
case 3:
|
|
num = (((object)other == null) ? 971204105 : 971204104);
|
|
break;
|
|
case 0:
|
|
return false;
|
|
case 5:
|
|
num = 971204106;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<FilteredGatheringPoint>.Equals(FilteredGatheringPoint? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _206E_206F_200C_200E_200E_200E_206D_206B_200D_206A_202D_200E_202D_200F_200C_202A_200D_202B_206D_202D_206A_206F_200D_202A_200B_202D_202D_206E_200B_206E_206F_200E_202B_200B_206D_206E_206A_200F_206E_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _200C_200D_200E_206C_206F_206C_202E_200B_202B_200D_206A_202A_202E_202E_206D_206A_202D_202E_206A_200B_206A_200F_202C_202A_206C_202B_206B_200B_202C_206A_206F_200B_206D_202B_200E_202B_202C_202A_200B_202E_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _202B_202B_202E_206D_200D_206D_200C_202B_206F_206B_206D_202E_200E_202A_200B_206D_202A_200D_200B_202A_200E_206A_202C_200F_200C_206C_206B_206F_206C_206A_206D_200C_202D_206E_206B_206A_200B_202C_200E_202D_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _202E_206D_200B_206E_206D_200D_202E_206E_200F_200B_202E_206B_200C_206C_206A_206E_202E_202D_202E_200B_206C_206A_200E_206F_202B_200D_202E_200D_202C_200E_206D_202A_206E_202B_200B_206B_202E_202C_202D_200E_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _206E_206F_202C_202A_202E_206D_202E_202C_202A_206B_200B_202E_202B_206F_202E_200C_206A_206F_202E_206D_206A_202A_206B_200B_202E_200F_202A_200E_206B_206A_202A_206D_202C_200E_206D_200E_206B_200E_202D_200C_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _206B_200C_206C_200D_206F_206C_202E_206C_200F_202E_200B_206C_202E_202C_200B_200C_202B_206F_202C_202D_200F_200F_206C_206E_206C_202C_200B_202C_202A_202E_200C_202D_200D_206A_206C_200D_202D_206C_200E_206A_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _200B_202B_202E_200F_200F_206D_202C_206B_206A_200B_200F_200C_206C_202C_206A_206B_202A_200F_200D_202E_202A_200F_206D_200B_200B_200D_206F_202D_202E_206C_200B_200C_206C_200D_200F_202D_202E_206A_202E_206E_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _206D_200F_200D_202A_206A_202B_202A_200F_206F_206C_200C_202D_200B_200E_202A_202C_202E_206A_200E_206F_200E_202D_202C_206F_202A_206B_202A_200C_206E_202A_200D_200F_202C_200F_206E_200C_206E_200D_200D_206C_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
[Serializable]
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec
|
|
{
|
|
public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec();
|
|
|
|
public static Func<GatheringLeveRoute, bool> _003C_003E9__15_0;
|
|
|
|
public static Func<RowRef<GatheringPoint>, bool> _003C_003E9__15_29;
|
|
|
|
public static Func<GatheringLeveRoute, IEnumerable<_003C_003Ef__AnonymousType4<uint, uint>>> _003C_003E9__15_1;
|
|
|
|
public static Func<_003C_003Ef__AnonymousType4<uint, uint>, uint> _003C_003E9__15_2;
|
|
|
|
public static Func<IGrouping<uint, _003C_003Ef__AnonymousType4<uint, uint>>, uint> _003C_003E9__15_3;
|
|
|
|
public static Func<_003C_003Ef__AnonymousType4<uint, uint>, uint> _003C_003E9__15_31;
|
|
|
|
public static Func<IGrouping<uint, _003C_003Ef__AnonymousType4<uint, uint>>, List<uint>> _003C_003E9__15_4;
|
|
|
|
public static Func<Leve, bool> _003C_003E9__15_5;
|
|
|
|
public static Func<GatheringLeve?, bool> _003C_003E9__15_7;
|
|
|
|
public static Func<GatheringLeve, IEnumerable<RowRef<GatheringLeveRoute>>> _003C_003E9__15_8;
|
|
|
|
public static Func<RowRef<GatheringLeveRoute>, bool> _003C_003E9__15_9;
|
|
|
|
public static Func<GatheringItem, bool> _003C_003E9__15_11;
|
|
|
|
public static Func<_003C_003Ef__AnonymousType5<int, string>, bool> _003C_003E9__15_13;
|
|
|
|
public static Func<_003C_003Ef__AnonymousType5<int, string>, int> _003C_003E9__15_14;
|
|
|
|
public static Func<_003C_003Ef__AnonymousType5<int, string>, string> _003C_003E9__15_15;
|
|
|
|
public static Func<GatheringPoint, bool> _003C_003E9__15_16;
|
|
|
|
public static Func<GatheringPoint, bool> _003C_003E9__15_17;
|
|
|
|
public static Func<GatheringPoint, uint> _003C_003E9__15_18;
|
|
|
|
public static Func<RowRef, bool> _003C_003E9__15_32;
|
|
|
|
public static Func<RowRef, ushort> _003C_003E9__15_33;
|
|
|
|
public static Func<GatheringPoint, _003C_003Ef__AnonymousType6<uint, DefaultGatheringPoint>> _003C_003E9__15_19;
|
|
|
|
public static Func<_003C_003Ef__AnonymousType6<uint, DefaultGatheringPoint>, bool> _003C_003E9__15_20;
|
|
|
|
public static Func<DefaultGatheringPoint, bool> _003C_003E9__15_22;
|
|
|
|
public static Func<DefaultGatheringPoint, bool> _003C_003E9__15_23;
|
|
|
|
public static Func<DefaultGatheringPoint, bool> _003C_003E9__15_24;
|
|
|
|
public static Func<DefaultGatheringPoint, bool> _003C_003E9__15_25;
|
|
|
|
public static Func<DefaultGatheringPoint, EExpansionVersion> _003C_003E9__15_26;
|
|
|
|
public static Func<DefaultGatheringPoint, _003C_003Ef__AnonymousType7<ushort, string>> _003C_003E9__15_34;
|
|
|
|
public static Func<IGrouping<_003C_003Ef__AnonymousType7<ushort, string>, DefaultGatheringPoint>, TerritoryPoints> _003C_003E9__15_35;
|
|
|
|
public static Func<TerritoryPoints, bool> _003C_003E9__15_36;
|
|
|
|
public static Func<IGrouping<EExpansionVersion, DefaultGatheringPoint>, ExpansionPoints> _003C_003E9__15_27;
|
|
|
|
public static Func<ExpansionPoints, EExpansionVersion> _003C_003E9__15_28;
|
|
|
|
public static Predicate<string> _003C_003E9__19_0;
|
|
|
|
public static Func<FilteredExpansion, bool> _003C_003E9__19_3;
|
|
|
|
public static Func<FilteredTerritory, bool> _003C_003E9__20_1;
|
|
|
|
public static Func<FilteredTerritory, FilteredTerritory> _003C_003E9__20_2;
|
|
|
|
public static Predicate<string> _003C_003E9__21_1;
|
|
|
|
public static Func<FilteredGatheringPoint, bool> _003C_003E9__21_3;
|
|
|
|
public static Func<FilteredGatheringPoint, FilteredGatheringPoint> _003C_003E9__21_4;
|
|
|
|
public static Func<ushort, bool> _003C_003E9__23_7;
|
|
|
|
public static Func<DefaultGatheringPoint, int> _003C_003E9__23_4;
|
|
|
|
public static Func<DefaultGatheringPoint, int> _003C_003E9__23_5;
|
|
|
|
public static Func<DefaultGatheringPoint, bool> _003C_003E9__23_6;
|
|
|
|
public static Func<TerritoryPoints, int> _003C_003E9__23_0;
|
|
|
|
public static Func<TerritoryPoints, int> _003C_003E9__23_1;
|
|
|
|
public static Func<TerritoryPoints, int> _003C_003E9__23_2;
|
|
|
|
public static Func<TerritoryPoints, int> _003C_003E9__23_3;
|
|
|
|
internal bool _003C_002Ector_003Eb__15_0(GatheringLeveRoute x)
|
|
{
|
|
return x.GatheringPoint[0].RowId != 0;
|
|
}
|
|
|
|
internal IEnumerable<_003C_003Ef__AnonymousType4<uint, uint>> _003C_002Ector_003Eb__15_1(GatheringLeveRoute x)
|
|
{
|
|
_003C_003Ec__DisplayClass15_1 CS_0024_003C_003E8__locals2 = new _003C_003Ec__DisplayClass15_1
|
|
{
|
|
x = x
|
|
};
|
|
return from y in CS_0024_003C_003E8__locals2.x.GatheringPoint
|
|
where y.RowId != 0
|
|
select new
|
|
{
|
|
RouteId = CS_0024_003C_003E8__locals2.x.RowId,
|
|
GatheringPointId = y.RowId
|
|
};
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_29(RowRef<GatheringPoint> y)
|
|
{
|
|
return y.RowId != 0;
|
|
}
|
|
|
|
internal uint _003C_002Ector_003Eb__15_2(_003C_003Ef__AnonymousType4<uint, uint> x)
|
|
{
|
|
return x.RouteId;
|
|
}
|
|
|
|
internal uint _003C_002Ector_003Eb__15_3(IGrouping<uint, _003C_003Ef__AnonymousType4<uint, uint>> x)
|
|
{
|
|
return x.Key;
|
|
}
|
|
|
|
internal List<uint> _003C_002Ector_003Eb__15_4(IGrouping<uint, _003C_003Ef__AnonymousType4<uint, uint>> x)
|
|
{
|
|
return x.Select(y => y.GatheringPointId).ToList();
|
|
}
|
|
|
|
internal uint _003C_002Ector_003Eb__15_31(_003C_003Ef__AnonymousType4<uint, uint> y)
|
|
{
|
|
return y.GatheringPointId;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_5(Leve x)
|
|
{
|
|
return x.RowId != 0;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_7(GatheringLeve? x)
|
|
{
|
|
return x.HasValue;
|
|
}
|
|
|
|
internal IEnumerable<RowRef<GatheringLeveRoute>> _003C_002Ector_003Eb__15_8(GatheringLeve x)
|
|
{
|
|
return x.Route;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_9(RowRef<GatheringLeveRoute> y)
|
|
{
|
|
return y.RowId != 0;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_11(GatheringItem x)
|
|
{
|
|
int num = ((x.RowId == 0) ? (-1719090108) : (-1719090105));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1719090107;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
goto IL_0049;
|
|
case 2:
|
|
return x.GatheringItemLevel.RowId != 0;
|
|
case 1:
|
|
return false;
|
|
}
|
|
continue;
|
|
IL_0049:
|
|
num = -1719090105;
|
|
}
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_13(_003C_003Ef__AnonymousType5<int, string> x)
|
|
{
|
|
return !_206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(x.Name);
|
|
}
|
|
|
|
internal int _003C_002Ector_003Eb__15_14(_003C_003Ef__AnonymousType5<int, string> x)
|
|
{
|
|
return x.GatheringItemId;
|
|
}
|
|
|
|
internal string _003C_002Ector_003Eb__15_15(_003C_003Ef__AnonymousType5<int, string> x)
|
|
{
|
|
return x.Name;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_16(GatheringPoint x)
|
|
{
|
|
return x.GatheringPointBase.RowId != 0;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_17(GatheringPoint x)
|
|
{
|
|
uint rowId = x.GatheringPointBase.RowId;
|
|
int num = ((rowId < 653) ? (-647467167) : (-647467166));
|
|
bool result = default(bool);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -647467168;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 3:
|
|
num = -647467166;
|
|
break;
|
|
case 4:
|
|
return result;
|
|
case 0:
|
|
result = false;
|
|
num = -647467164;
|
|
break;
|
|
case 1:
|
|
result = true;
|
|
num = -647467164;
|
|
break;
|
|
case 2:
|
|
num = ((rowId <= 680) ? (-647467168) : (-647467167));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal uint _003C_002Ector_003Eb__15_18(GatheringPoint x)
|
|
{
|
|
return x.GatheringPointBase.RowId;
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
internal _003C_003Ef__AnonymousType6<uint, DefaultGatheringPoint> _003C_002Ector_003Eb__15_19(GatheringPoint x)
|
|
{
|
|
uint rowId = x.RowId;
|
|
GatheringPointId id = _202B_206E_202C_202E_206B_200B_206F_206E_206B_202A_206B_202E_206D_202E_200E_206F_206F_206F_206A_206C_200C_206C_206A_202D_200F_206A_200F_206D_206F_206D_202C_202E_206D_202C_200C_200E_206C_202B_202C_206E_202E((ushort)x.GatheringPointBase.RowId);
|
|
uint rowId2 = x.GatheringPointBase.Value.GatheringType.RowId;
|
|
int num = ((rowId2 <= 1) ? (-232485595) : (-232485593));
|
|
EClassJob eClassJob = default(EClassJob);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -232485595;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 4:
|
|
{
|
|
EClassJob classJob = eClassJob;
|
|
byte gatheringLevel = x.GatheringPointBase.Value.GatheringLevel;
|
|
List<ushort> gatheringItemIds = (from y in x.GatheringPointBase.Value.Item
|
|
where y.RowId != 0
|
|
select (ushort)y.RowId).ToList();
|
|
byte expansion = ((byte?)x.TerritoryType.ValueNullable?.ExVersion.RowId) ?? byte.MaxValue;
|
|
ushort territoryType = (ushort)x.TerritoryType.RowId;
|
|
string territoryName = x.TerritoryType.ValueNullable?.PlaceName.ValueNullable?.Name.ToString();
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2);
|
|
defaultInterpolatedStringHandler.AppendFormatted(x.GatheringPointBase.RowId);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1687715325));
|
|
defaultInterpolatedStringHandler.AppendFormatted(x.PlaceName.ValueNullable?.Name);
|
|
return new
|
|
{
|
|
GatheringPointId = rowId,
|
|
Point = new DefaultGatheringPoint(id, classJob, gatheringLevel, gatheringItemIds, (EExpansionVersion)expansion, territoryType, territoryName, defaultInterpolatedStringHandler.ToStringAndClear())
|
|
};
|
|
}
|
|
case 1:
|
|
eClassJob = EClassJob.Botanist;
|
|
num = -232485599;
|
|
break;
|
|
case 3:
|
|
num = -232485593;
|
|
break;
|
|
case 2:
|
|
num3 = 2;
|
|
num4 = (int)rowId2;
|
|
num = (((uint)(~(~num4 + num3)) <= 1u) ? (-232485596) : (-232485597));
|
|
break;
|
|
case 0:
|
|
eClassJob = EClassJob.Miner;
|
|
num = -232485599;
|
|
break;
|
|
case 6:
|
|
num = -232485600;
|
|
break;
|
|
case 5:
|
|
eClassJob = EClassJob.Fisher;
|
|
num = -232485599;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_32(RowRef y)
|
|
{
|
|
return y.RowId != 0;
|
|
}
|
|
|
|
internal ushort _003C_002Ector_003Eb__15_33(RowRef y)
|
|
{
|
|
return (ushort)y.RowId;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_20(_003C_003Ef__AnonymousType6<uint, DefaultGatheringPoint> x)
|
|
{
|
|
return x.Point.ClassJob != EClassJob.Fisher;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_22(DefaultGatheringPoint x)
|
|
{
|
|
return x != null;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_23(DefaultGatheringPoint x)
|
|
{
|
|
return x.Expansion != (EExpansionVersion)255;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_24(DefaultGatheringPoint x)
|
|
{
|
|
return x.GatheringItemIds.Count > 0;
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_25(DefaultGatheringPoint x)
|
|
{
|
|
ushort territoryType = x.TerritoryType;
|
|
int num = ((territoryType == 901) ? (-1510043061) : (-1510043064));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1510043062;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
goto IL_004f;
|
|
case 2:
|
|
return territoryType != 929;
|
|
case 1:
|
|
return false;
|
|
}
|
|
continue;
|
|
IL_004f:
|
|
num = -1510043064;
|
|
}
|
|
}
|
|
|
|
internal EExpansionVersion _003C_002Ector_003Eb__15_26(DefaultGatheringPoint x)
|
|
{
|
|
return x.Expansion;
|
|
}
|
|
|
|
internal ExpansionPoints _003C_002Ector_003Eb__15_27(IGrouping<EExpansionVersion, DefaultGatheringPoint> x)
|
|
{
|
|
return new ExpansionPoints(x.Key, (from y in x.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (DefaultGatheringPoint y) =>
|
|
{
|
|
ushort territoryType = y.TerritoryType;
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2);
|
|
defaultInterpolatedStringHandler.AppendFormatted((!_206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(y.TerritoryName)) ? y.TerritoryName : global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1520869652));
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1473546846));
|
|
defaultInterpolatedStringHandler.AppendFormatted(y.TerritoryType);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1618480346));
|
|
return new
|
|
{
|
|
TerritoryType = territoryType,
|
|
TerritoryName = defaultInterpolatedStringHandler.ToStringAndClear()
|
|
};
|
|
})
|
|
select new TerritoryPoints(y.Key.TerritoryType, y.Key.TerritoryName, y.ToList()) into y
|
|
where y.Points.Count > 0
|
|
select y).ToList());
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
internal _003C_003Ef__AnonymousType7<ushort, string> _003C_002Ector_003Eb__15_34(DefaultGatheringPoint y)
|
|
{
|
|
ushort territoryType = y.TerritoryType;
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2);
|
|
defaultInterpolatedStringHandler.AppendFormatted((!_206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(y.TerritoryName)) ? y.TerritoryName : global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1520869652));
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1473546846));
|
|
defaultInterpolatedStringHandler.AppendFormatted(y.TerritoryType);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1618480346));
|
|
return new
|
|
{
|
|
TerritoryType = territoryType,
|
|
TerritoryName = defaultInterpolatedStringHandler.ToStringAndClear()
|
|
};
|
|
}
|
|
|
|
internal TerritoryPoints _003C_002Ector_003Eb__15_35(IGrouping<_003C_003Ef__AnonymousType7<ushort, string>, DefaultGatheringPoint> y)
|
|
{
|
|
return new TerritoryPoints(y.Key.TerritoryType, y.Key.TerritoryName, y.ToList());
|
|
}
|
|
|
|
internal bool _003C_002Ector_003Eb__15_36(TerritoryPoints y)
|
|
{
|
|
return y.Points.Count > 0;
|
|
}
|
|
|
|
internal EExpansionVersion _003C_002Ector_003Eb__15_28(ExpansionPoints x)
|
|
{
|
|
return x.ExpansionVersion;
|
|
}
|
|
|
|
internal bool _003CUpdateFilter_003Eb__19_0(string _)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
internal bool _003CUpdateFilter_003Eb__19_3(FilteredExpansion x)
|
|
{
|
|
return x != null;
|
|
}
|
|
|
|
internal bool _003CFilterExpansion_003Eb__20_1(FilteredTerritory x)
|
|
{
|
|
return x != null;
|
|
}
|
|
|
|
internal FilteredTerritory _003CFilterExpansion_003Eb__20_2(FilteredTerritory x)
|
|
{
|
|
return x;
|
|
}
|
|
|
|
internal bool _003CFilterTerritory_003Eb__21_1(string _)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
internal bool _003CFilterTerritory_003Eb__21_3(FilteredGatheringPoint x)
|
|
{
|
|
return x != null;
|
|
}
|
|
|
|
internal FilteredGatheringPoint _003CFilterTerritory_003Eb__21_4(FilteredGatheringPoint x)
|
|
{
|
|
return x;
|
|
}
|
|
|
|
internal bool _003CRefreshCounts_003Eb__23_7(ushort x)
|
|
{
|
|
return x < 10000;
|
|
}
|
|
|
|
internal int _003CRefreshCounts_003Eb__23_4(DefaultGatheringPoint x)
|
|
{
|
|
return x.TotalItems;
|
|
}
|
|
|
|
internal int _003CRefreshCounts_003Eb__23_5(DefaultGatheringPoint x)
|
|
{
|
|
return x.CompletedItems;
|
|
}
|
|
|
|
internal bool _003CRefreshCounts_003Eb__23_6(DefaultGatheringPoint x)
|
|
{
|
|
return x.IsComplete;
|
|
}
|
|
|
|
internal int _003CRefreshCounts_003Eb__23_0(TerritoryPoints x)
|
|
{
|
|
return x.TotalItems;
|
|
}
|
|
|
|
internal int _003CRefreshCounts_003Eb__23_1(TerritoryPoints x)
|
|
{
|
|
return x.CompletedItems;
|
|
}
|
|
|
|
internal int _003CRefreshCounts_003Eb__23_2(TerritoryPoints x)
|
|
{
|
|
return x.TotalPoints;
|
|
}
|
|
|
|
internal int _003CRefreshCounts_003Eb__23_3(TerritoryPoints x)
|
|
{
|
|
return x.CompletedPoints;
|
|
}
|
|
|
|
static bool _206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(string P_0)
|
|
{
|
|
return string.IsNullOrEmpty(P_0);
|
|
}
|
|
|
|
static GatheringPointId _202B_206E_202C_202E_206B_200B_206F_206E_206B_202A_206B_202E_206D_202E_200E_206F_206F_206F_206A_206C_200C_206C_206A_202D_200F_206A_200F_206D_206F_206D_202C_202E_206D_202C_200C_200E_206C_202B_202C_206E_202E(ushort P_0)
|
|
{
|
|
return new GatheringPointId(P_0);
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec__DisplayClass15_0
|
|
{
|
|
public GatheringJournalComponent _003C_003E4__this;
|
|
|
|
public ExcelSheet<GatheringLeve> gatheringLeveSheet;
|
|
|
|
public Dictionary<uint, List<uint>> routeToGatheringPoint;
|
|
|
|
public ExcelSheet<Item> itemSheet;
|
|
|
|
public HashSet<uint> leveGatheringPoints;
|
|
|
|
public ExcelSheet<TerritoryType> territoryTypeSheet;
|
|
|
|
internal GatheringLeve? _003C_002Ector_003Eb__6(Leve x)
|
|
{
|
|
return gatheringLeveSheet.GetRowOrDefault(x.DataId.RowId);
|
|
}
|
|
|
|
internal IEnumerable<uint> _003C_002Ector_003Eb__10(RowRef<GatheringLeveRoute> y)
|
|
{
|
|
return routeToGatheringPoint[y.RowId];
|
|
}
|
|
|
|
internal _003C_003Ef__AnonymousType5<int, string> _003C_002Ector_003Eb__12(GatheringItem x)
|
|
{
|
|
return new
|
|
{
|
|
GatheringItemId = (int)x.RowId,
|
|
Name = itemSheet.GetRowOrDefault(x.Item.RowId)?.Name.ToString()
|
|
};
|
|
}
|
|
|
|
internal DefaultGatheringPoint _003C_002Ector_003Eb__21(_003C_003Ef__AnonymousType6<uint, DefaultGatheringPoint> x)
|
|
{
|
|
int num = ((!leveGatheringPoints.Contains(x.GatheringPointId)) ? (-1847691260) : (-1847691259));
|
|
GatheringRoot gatheringRoot = default(GatheringRoot);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1847691263;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = -1847691259;
|
|
break;
|
|
case 2:
|
|
{
|
|
TerritoryType row = territoryTypeSheet.GetRow(_206B_200F_202A_206E_206E_200D_200E_206C_200B_200E_206A_202E_202C_200B_202E_200B_206A_206C_206D_202E_202A_200F_202D_200F_200B_206B_206B_202E_200F_202C_200E_200C_200C_200C_202E_206B_200F_200D_206E_206F_202E(_206E_200B_202D_200C_202B_202A_202A_200C_206C_202C_206B_200D_200E_202C_206A_202B_202C_200E_206E_202C_206A_200F_200D_206A_202E_202C_206A_206E_200F_206A_206A_206B_202B_200D_200C_202B_202E_200F_200D_200F_202E(gatheringRoot).Last()));
|
|
return x.Point with
|
|
{
|
|
Expansion = (EExpansionVersion)row.ExVersion.RowId,
|
|
TerritoryType = (ushort)row.RowId,
|
|
TerritoryName = row.PlaceName.ValueNullable?.Name.ToString()
|
|
};
|
|
}
|
|
case 4:
|
|
return null;
|
|
case 5:
|
|
num = ((x.Point.TerritoryType != 1) ? (-1847691264) : (-1847691262));
|
|
break;
|
|
case 1:
|
|
return x.Point;
|
|
case 3:
|
|
num = ((!_003C_003E4__this._gatheringPointRegistry.TryGetGatheringPoint(x.Point.Id, out gatheringRoot)) ? (-1847691264) : (-1847691261));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
static List<QuestStep> _206E_200B_202D_200C_202B_202A_202A_200C_206C_202C_206B_200D_200E_202C_206A_202B_202C_200E_206E_202C_206A_200F_200D_206A_202E_202C_206A_206E_200F_206A_206A_206B_202B_200D_200C_202B_202E_200F_200D_200F_202E(GatheringRoot P_0)
|
|
{
|
|
return P_0.Steps;
|
|
}
|
|
|
|
static ushort _206B_200F_202A_206E_206E_200D_200E_206C_200B_200E_206A_202E_202C_200B_202E_200B_206A_206C_206D_202E_202A_200F_202D_200F_200B_206B_206B_202E_200F_202C_200E_200C_200C_200C_202E_206B_200F_200D_206E_206F_202E(QuestStep P_0)
|
|
{
|
|
return P_0.TerritoryId;
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec__DisplayClass15_1
|
|
{
|
|
public GatheringLeveRoute x;
|
|
|
|
internal _003C_003Ef__AnonymousType4<uint, uint> _003C_002Ector_003Eb__30(RowRef<GatheringPoint> y)
|
|
{
|
|
return new
|
|
{
|
|
RouteId = x.RowId,
|
|
GatheringPointId = y.RowId
|
|
};
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec__DisplayClass19_0
|
|
{
|
|
public GatheringJournalComponent _003C_003E4__this;
|
|
|
|
public Predicate<string> match;
|
|
|
|
internal bool _003CUpdateFilter_003Eb__1(string x)
|
|
{
|
|
return _202D_206D_206E_206D_206E_202A_200F_206A_206C_202A_202D_200F_200C_202D_200E_206A_202E_206D_206D_202D_206B_200C_202A_200F_206B_206C_200F_202A_202C_206A_200F_206D_206C_202B_200F_206D_206C_202A_202B_200C_202E(x, _003C_003E4__this._searchText, StringComparison.CurrentCultureIgnoreCase);
|
|
}
|
|
|
|
internal FilteredExpansion _003CUpdateFilter_003Eb__2(ExpansionPoints section)
|
|
{
|
|
return _003C_003E4__this.FilterExpansion(section, match);
|
|
}
|
|
|
|
static bool _202D_206D_206E_206D_206E_202A_200F_206A_206C_202A_202D_200F_200C_202D_200E_206A_202E_206D_206D_202D_206B_200C_202A_200F_206B_206C_200F_202A_202C_206A_200F_206D_206C_202B_200F_206D_206C_202A_202B_200C_202E(string P_0, string P_1, StringComparison P_2)
|
|
{
|
|
return P_0.Contains(P_1, P_2);
|
|
}
|
|
}
|
|
|
|
private readonly IDalamudPluginInterface _pluginInterface;
|
|
|
|
private readonly UiUtils _uiUtils;
|
|
|
|
private readonly GatheringPointRegistry _gatheringPointRegistry;
|
|
|
|
private readonly Dictionary<int, string> _gatheringItems;
|
|
|
|
private readonly List<ExpansionPoints> _gatheringPointsByExpansion;
|
|
|
|
private readonly List<ushort> _gatheredItems = new List<ushort>();
|
|
|
|
private List<FilteredExpansion> _filteredExpansions = new List<FilteredExpansion>();
|
|
|
|
private List<FlatRow> _flatRows = new List<FlatRow>();
|
|
|
|
private readonly HashSet<(RowType Type, int GroupIndex)> _expandedGroups = new HashSet<(RowType, int)>();
|
|
|
|
private string _searchText = string.Empty;
|
|
|
|
private static bool IsGatheringItemGathered(uint item)
|
|
{
|
|
return QuestManager.IsGatheringItemGathered((ushort)item);
|
|
}
|
|
|
|
public GatheringJournalComponent(IDataManager dataManager, IDalamudPluginInterface pluginInterface, UiUtils uiUtils, IGameInteropProvider gameInteropProvider, GatheringPointRegistry gatheringPointRegistry)
|
|
{
|
|
GatheringJournalComponent gatheringJournalComponent = this;
|
|
_pluginInterface = pluginInterface;
|
|
_uiUtils = uiUtils;
|
|
_gatheringPointRegistry = gatheringPointRegistry;
|
|
Dictionary<uint, List<uint>> routeToGatheringPoint = (from x in (from x in dataManager.GetExcelSheet<GatheringLeveRoute>()
|
|
where x.GatheringPoint[0].RowId != 0
|
|
select x).SelectMany((GatheringLeveRoute x) => from y in x.GatheringPoint
|
|
where y.RowId != 0
|
|
select new
|
|
{
|
|
RouteId = x.RowId,
|
|
GatheringPointId = y.RowId
|
|
})
|
|
group x by x.RouteId).ToDictionary(x => x.Key, x => x.Select(y => y.GatheringPointId).ToList());
|
|
ExcelSheet<GatheringLeve> gatheringLeveSheet = dataManager.GetExcelSheet<GatheringLeve>();
|
|
ExcelSheet<TerritoryType> territoryTypeSheet = dataManager.GetExcelSheet<TerritoryType>();
|
|
HashSet<uint> leveGatheringPoints = (from y in (from x in dataManager.GetExcelSheet<Leve>()
|
|
where x.RowId != 0
|
|
select gatheringLeveSheet.GetRowOrDefault(x.DataId.RowId) into x
|
|
where x.HasValue
|
|
select x).Cast<GatheringLeve>().SelectMany((GatheringLeve x) => x.Route)
|
|
where y.RowId != 0
|
|
select y).SelectMany((RowRef<GatheringLeveRoute> y) => routeToGatheringPoint[y.RowId]).Distinct().ToHashSet();
|
|
ExcelSheet<Item> itemSheet = dataManager.GetExcelSheet<Item>();
|
|
_gatheringItems = (from x in dataManager.GetExcelSheet<GatheringItem>().Where(delegate(GatheringItem x)
|
|
{
|
|
int num = ((x.RowId == 0) ? (-1719090108) : (-1719090105));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1719090107;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
goto IL_0049;
|
|
case 2:
|
|
return x.GatheringItemLevel.RowId != 0;
|
|
case 1:
|
|
return false;
|
|
}
|
|
continue;
|
|
IL_0049:
|
|
num = -1719090105;
|
|
}
|
|
})
|
|
select new
|
|
{
|
|
GatheringItemId = (int)x.RowId,
|
|
Name = itemSheet.GetRowOrDefault(x.Item.RowId)?.Name.ToString()
|
|
} into x
|
|
where !_003C_003Ec._206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(x.Name)
|
|
select x).ToDictionary(x => x.GatheringItemId, x => x.Name);
|
|
_gatheringPointsByExpansion = (from x in (from DefaultGatheringPoint x in from x in (from x in (from x in dataManager.GetExcelSheet<GatheringPoint>()
|
|
where x.GatheringPointBase.RowId != 0
|
|
select x).Where(delegate(GatheringPoint x)
|
|
{
|
|
uint rowId = x.GatheringPointBase.RowId;
|
|
int num = ((rowId < 653) ? (-647467167) : (-647467166));
|
|
bool result = default(bool);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -647467168;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 3:
|
|
num = -647467166;
|
|
break;
|
|
case 4:
|
|
return result;
|
|
case 0:
|
|
result = false;
|
|
num = -647467164;
|
|
break;
|
|
case 1:
|
|
result = true;
|
|
num = -647467164;
|
|
break;
|
|
case 2:
|
|
num = ((rowId <= 680) ? (-647467168) : (-647467167));
|
|
break;
|
|
}
|
|
}
|
|
}).DistinctBy((GatheringPoint x) => x.GatheringPointBase.RowId).Select([MethodImpl(MethodImplOptions.NoInlining)] (GatheringPoint x) =>
|
|
{
|
|
uint rowId = x.RowId;
|
|
GatheringPointId id = _003C_003Ec._202B_206E_202C_202E_206B_200B_206F_206E_206B_202A_206B_202E_206D_202E_200E_206F_206F_206F_206A_206C_200C_206C_206A_202D_200F_206A_200F_206D_206F_206D_202C_202E_206D_202C_200C_200E_206C_202B_202C_206E_202E((ushort)x.GatheringPointBase.RowId);
|
|
uint rowId2 = x.GatheringPointBase.Value.GatheringType.RowId;
|
|
int num = ((rowId2 <= 1) ? (-232485595) : (-232485593));
|
|
EClassJob eClassJob = default(EClassJob);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -232485595;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 4:
|
|
{
|
|
EClassJob classJob = eClassJob;
|
|
byte gatheringLevel = x.GatheringPointBase.Value.GatheringLevel;
|
|
List<ushort> gatheringItemIds = (from y in x.GatheringPointBase.Value.Item
|
|
where y.RowId != 0
|
|
select (ushort)y.RowId).ToList();
|
|
byte expansion = ((byte?)x.TerritoryType.ValueNullable?.ExVersion.RowId) ?? byte.MaxValue;
|
|
ushort territoryType = (ushort)x.TerritoryType.RowId;
|
|
string territoryName = x.TerritoryType.ValueNullable?.PlaceName.ValueNullable?.Name.ToString();
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2);
|
|
defaultInterpolatedStringHandler.AppendFormatted(x.GatheringPointBase.RowId);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1687715325));
|
|
defaultInterpolatedStringHandler.AppendFormatted(x.PlaceName.ValueNullable?.Name);
|
|
return new
|
|
{
|
|
GatheringPointId = rowId,
|
|
Point = new DefaultGatheringPoint(id, classJob, gatheringLevel, gatheringItemIds, (EExpansionVersion)expansion, territoryType, territoryName, defaultInterpolatedStringHandler.ToStringAndClear())
|
|
};
|
|
}
|
|
case 1:
|
|
eClassJob = EClassJob.Botanist;
|
|
num = -232485599;
|
|
break;
|
|
case 3:
|
|
num = -232485593;
|
|
break;
|
|
case 2:
|
|
num3 = 2;
|
|
num4 = (int)rowId2;
|
|
num = (((uint)(~(~num4 + num3)) <= 1u) ? (-232485596) : (-232485597));
|
|
break;
|
|
case 0:
|
|
eClassJob = EClassJob.Miner;
|
|
num = -232485599;
|
|
break;
|
|
case 6:
|
|
num = -232485600;
|
|
break;
|
|
case 5:
|
|
eClassJob = EClassJob.Fisher;
|
|
num = -232485599;
|
|
break;
|
|
}
|
|
}
|
|
})
|
|
where x.Point.ClassJob != EClassJob.Fisher
|
|
select x).Select(x =>
|
|
{
|
|
int num = ((!leveGatheringPoints.Contains(x.GatheringPointId)) ? (-1847691260) : (-1847691259));
|
|
GatheringRoot gatheringRoot = default(GatheringRoot);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1847691263;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = -1847691259;
|
|
break;
|
|
case 2:
|
|
{
|
|
TerritoryType row = territoryTypeSheet.GetRow(_003C_003Ec__DisplayClass15_0._206B_200F_202A_206E_206E_200D_200E_206C_200B_200E_206A_202E_202C_200B_202E_200B_206A_206C_206D_202E_202A_200F_202D_200F_200B_206B_206B_202E_200F_202C_200E_200C_200C_200C_202E_206B_200F_200D_206E_206F_202E(_003C_003Ec__DisplayClass15_0._206E_200B_202D_200C_202B_202A_202A_200C_206C_202C_206B_200D_200E_202C_206A_202B_202C_200E_206E_202C_206A_200F_200D_206A_202E_202C_206A_206E_200F_206A_206A_206B_202B_200D_200C_202B_202E_200F_200D_200F_202E(gatheringRoot).Last()));
|
|
return x.Point with
|
|
{
|
|
Expansion = (EExpansionVersion)row.ExVersion.RowId,
|
|
TerritoryType = (ushort)row.RowId,
|
|
TerritoryName = row.PlaceName.ValueNullable?.Name.ToString()
|
|
};
|
|
}
|
|
case 4:
|
|
return (DefaultGatheringPoint)null;
|
|
case 5:
|
|
num = ((x.Point.TerritoryType != 1) ? (-1847691264) : (-1847691262));
|
|
break;
|
|
case 1:
|
|
return x.Point;
|
|
case 3:
|
|
num = ((!gatheringJournalComponent._gatheringPointRegistry.TryGetGatheringPoint(x.Point.Id, out gatheringRoot)) ? (-1847691264) : (-1847691261));
|
|
break;
|
|
}
|
|
}
|
|
})
|
|
where x != null
|
|
select x
|
|
where x.Expansion != (EExpansionVersion)255
|
|
where x.GatheringItemIds.Count > 0
|
|
select x).Where(delegate(DefaultGatheringPoint x)
|
|
{
|
|
ushort territoryType = x.TerritoryType;
|
|
int num = ((territoryType == 901) ? (-1510043061) : (-1510043064));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1510043062;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
goto IL_004f;
|
|
case 2:
|
|
return territoryType != 929;
|
|
case 1:
|
|
return false;
|
|
}
|
|
continue;
|
|
IL_004f:
|
|
num = -1510043064;
|
|
}
|
|
})
|
|
group x by x.Expansion into x
|
|
select new ExpansionPoints(x.Key, (from y in x.GroupBy([MethodImpl(MethodImplOptions.NoInlining)] (DefaultGatheringPoint y) =>
|
|
{
|
|
ushort territoryType = y.TerritoryType;
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(3, 2);
|
|
defaultInterpolatedStringHandler.AppendFormatted((!_003C_003Ec._206B_206A_202A_206E_202C_200D_200F_206B_206E_206F_202B_202C_202B_206A_202C_200E_200E_206C_200F_202E_206A_206A_202B_202D_200E_202C_206A_206F_202C_206F_200C_200F_202D_206B_200F_202E_200F_206D_202B_206A_202E(y.TerritoryName)) ? y.TerritoryName : global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1520869652));
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1473546846));
|
|
defaultInterpolatedStringHandler.AppendFormatted(y.TerritoryType);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1618480346));
|
|
return new
|
|
{
|
|
TerritoryType = territoryType,
|
|
TerritoryName = defaultInterpolatedStringHandler.ToStringAndClear()
|
|
};
|
|
})
|
|
select new TerritoryPoints(y.Key.TerritoryType, y.Key.TerritoryName, y.ToList()) into y
|
|
where y.Points.Count > 0
|
|
select y).ToList()) into x
|
|
orderby x.ExpansionVersion
|
|
select x).ToList();
|
|
_206B_202E_202E_200F_202B_202E_206B_200D_202E_200F_202C_202A_200F_206A_202C_202A_202D_206A_200F_206F_200D_206D_200D_202E_206C_200B_206C_202D_206C_206C_202D_206E_206B_202B_206C_206E_200B_200F_206E_206C_202E(gameInteropProvider, (object)this);
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public unsafe void DrawGatheringItems()
|
|
{
|
|
int num = ((!UiThemeUtils.SearchInput(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(891194183), ref _searchText, -1E-45f, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1918408530))) ? (-916943759) : (-916943757));
|
|
int num16 = default(int);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -916943758;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 3:
|
|
_206D_200C_206A_202B_202A_202C_200D_206E_200B_200B_206B_206C_200D_202D_206B_200E_206C_202E_202E_200C_200F_200E_200F_206E_200B_202E_200D_200C_206F_206A_206F_206A_202A_200E_206D_200D_206B_200B_200E_206E_202E();
|
|
if (_flatRows.Count > 0)
|
|
{
|
|
num = -916943760;
|
|
break;
|
|
}
|
|
UiThemeUtils.EmptyState(FontAwesomeIcon.Leaf, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(595845560));
|
|
return;
|
|
case 1:
|
|
UpdateFilter();
|
|
num = -916943759;
|
|
break;
|
|
case 0:
|
|
num = -916943757;
|
|
break;
|
|
case 2:
|
|
{
|
|
IDisposable disposable = _206D_202A_200E_200C_202C_200F_206A_200E_202B_206D_202A_200E_202D_206F_200F_206C_202A_200B_206F_200C_206A_206D_206E_202E_206C_202E_206B_200B_206F_202C_200D_202C_202E_200B_206F_200C_202C_200B_200F_202D_202E(_202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(_202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(_pluginInterface)));
|
|
float x;
|
|
try
|
|
{
|
|
x = _206B_202C_200F_206B_200F_202C_202D_206B_206A_206A_206F_202E_206C_206F_200B_200D_206E_206C_206D_206A_202E_206D_202A_202A_200E_206F_200E_206A_206D_200C_206E_202D_200F_206C_206A_206C_206E_206A_200F_202C_202E((ImU8String)_206C_206B_206B_202E_202A_206B_206C_206C_200B_200E_200D_206B_200F_200D_206A_202C_202B_200F_206D_206E_206E_206A_206F_202B_206C_202B_200D_202C_200B_206E_206B_200F_200E_206F_200F_206F_200B_200D_202D_206F_202E(FontAwesomeIcon.Check), false, -1f).X;
|
|
}
|
|
finally
|
|
{
|
|
num = ((disposable == null) ? 1660478905 : 1660478904);
|
|
while (true)
|
|
{
|
|
int num7 = num;
|
|
num3 = 1660478905;
|
|
num4 = num7;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
goto end_IL_010e;
|
|
case 1:
|
|
_200E_200B_206C_200B_202D_206E_200D_200F_202A_206C_206D_206C_206B_200D_206E_206A_200F_202E_200C_206A_206A_206E_206E_200F_200E_206C_206B_202C_206E_206A_200B_202C_202C_200F_202D_206F_206C_206E_202D_200D_202E(disposable);
|
|
num = 1660478905;
|
|
break;
|
|
case 2:
|
|
num = 1660478904;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_010e:
|
|
break;
|
|
}
|
|
}
|
|
float fontGlobalScale = _200B_202C_206F_200C_202E_206D_202B_206B_206D_206F_200D_202C_200C_206D_206E_206E_202B_202A_202D_202B_200B_200D_200B_200C_206D_206C_206E_202E_202A_202B_200B_202D_202D_202B_206B_200E_200E_202E_200D_206D_202E().FontGlobalScale;
|
|
using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(744259125), 3, ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.ScrollY);
|
|
num = ((!(!tableDisposable)) ? 439090384 : 439090385);
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
num3 = 439090384;
|
|
num4 = num8;
|
|
int num9 = num4 + num3;
|
|
int num10 = num4 & num3;
|
|
switch (num9 - (num10 + num10))
|
|
{
|
|
case 2:
|
|
goto IL_01d1;
|
|
case 1:
|
|
return;
|
|
case 0:
|
|
{
|
|
_200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E((ImU8String)global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-267283137), ImGuiTableColumnFlags.NoHide, 0f, 0u);
|
|
_200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E((ImU8String)global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1008226786), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u);
|
|
_200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E((ImU8String)global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1239355882), ImGuiTableColumnFlags.WidthFixed, 120f * fontGlobalScale, 0u);
|
|
_202D_206B_206B_202C_200D_200D_200B_200D_206C_200D_206E_200F_206D_206C_206F_202C_206D_206D_200C_202C_206B_206A_206A_206B_206A_206C_202E_206D_202A_206B_202A_206B_200E_200C_202B_206D_206E_202B_200C_202B_202E();
|
|
float num11 = _206C_206F_206D_200D_200F_202D_202B_202E_200B_202C_202B_206E_200D_206A_200E_202D_202A_206E_206C_200B_202C_206C_202C_206B_202B_206C_202D_200E_202C_206F_202A_206D_202B_200B_200B_206F_206E_202E_202A_202E_202E();
|
|
bool flag = false;
|
|
ImGuiListClipper* intPtr = _202A_202A_200B_206D_206E_206D_202B_200C_206A_202B_202C_202B_200F_200D_200C_202B_202B_206B_202A_206B_206D_206C_200B_206C_206B_206C_202E_202B_200E_206B_202B_200D_200E_202A_200D_200B_202A_200B_200D_206B_202E();
|
|
_200C_202E_206B_206F_200B_200C_206E_206F_200D_202D_200B_200C_202B_200D_206E_202D_206B_206E_202B_206B_206B_206E_200B_200E_206D_200C_202B_200C_202C_206A_206C_200D_200E_200B_202B_206B_202C_200D_202A_206F_202E(intPtr, _flatRows.Count, num11);
|
|
ImGuiListClipperPtr imGuiListClipperPtr = intPtr;
|
|
try
|
|
{
|
|
num = 837427177;
|
|
while (true)
|
|
{
|
|
int num12 = num;
|
|
num3 = 837427176;
|
|
num4 = num12;
|
|
int num13 = num4 + num3;
|
|
int num14 = num4 & num3;
|
|
switch (num13 - (num14 + num14))
|
|
{
|
|
case 0:
|
|
flag = true;
|
|
num = 837427178;
|
|
break;
|
|
case 5:
|
|
num16 = imGuiListClipperPtr.DisplayStart;
|
|
num = 837427180;
|
|
break;
|
|
case 1:
|
|
num = (imGuiListClipperPtr.Step() ? 837427181 : 837427183);
|
|
break;
|
|
case 4:
|
|
num = ((num16 < imGuiListClipperPtr.DisplayEnd) ? 837427182 : 837427177);
|
|
break;
|
|
case 6:
|
|
num = ((!DrawFlatRow(_flatRows[num16], x)) ? 837427178 : 837427176);
|
|
break;
|
|
case 2:
|
|
{
|
|
int num15 = num16;
|
|
num3 = 1;
|
|
num4 = num15;
|
|
num16 = (num4 | num3) + (num4 & num3);
|
|
num = 837427180;
|
|
break;
|
|
}
|
|
case 3:
|
|
num = 837427177;
|
|
break;
|
|
case 7:
|
|
goto end_IL_027c;
|
|
}
|
|
continue;
|
|
end_IL_027c:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
imGuiListClipperPtr.Destroy();
|
|
}
|
|
num = ((!flag) ? (-1673621087) : (-1673621086));
|
|
while (true)
|
|
{
|
|
int num17 = num;
|
|
num3 = -1673621088;
|
|
num4 = num17;
|
|
int num18 = num4 + num3;
|
|
int num19 = num4 & num3;
|
|
switch (num18 - (num19 + num19))
|
|
{
|
|
case 0:
|
|
num = -1673621086;
|
|
break;
|
|
case 2:
|
|
RebuildFlatRows();
|
|
num = -1673621087;
|
|
break;
|
|
case 1:
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
continue;
|
|
IL_01d1:
|
|
num = 439090385;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private bool DrawFlatRow(FlatRow row, float iconSpacing)
|
|
{
|
|
_202E_200E_202D_206D_200E_206A_200C_202E_206A_200C_206B_206B_202C_202B_206C_200B_206D_206F_206D_206E_200F_200D_202B_202D_200E_202B_206F_206A_200E_200E_202D_206C_206C_202B_202B_202C_200E_202D_202B_202E_202E();
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
bool result = false;
|
|
float num = (float)row.Depth * _202B_206B_206E_200C_202B_200B_202D_200F_206E_206A_206B_200C_206B_206F_200E_202A_200D_200B_206C_202C_200F_202D_200D_206B_206E_202C_206E_200F_202A_200D_200E_200C_206D_200B_200F_202C_200F_206D_206F_202D_202E().IndentSpacing;
|
|
int num2 = ((row.Type != RowType.Item) ? 119097280 : 119097288);
|
|
(RowType, int) item2 = default((RowType, int));
|
|
bool flag2 = default(bool);
|
|
bool flag = default(bool);
|
|
(RowType, int) item = default((RowType, int));
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = 119097295;
|
|
int num5 = num3;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 0:
|
|
num2 = 119097288;
|
|
break;
|
|
case 1:
|
|
return result;
|
|
case 16:
|
|
result = true;
|
|
num2 = 119097281;
|
|
break;
|
|
case 13:
|
|
_expandedGroups.Remove(item2);
|
|
num2 = 119097287;
|
|
break;
|
|
case 11:
|
|
{
|
|
item2 = (row.Type, row.GroupIndex);
|
|
flag2 = _expandedGroups.Contains(item2);
|
|
_202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num);
|
|
UiThemeUtils.DrawTrackerGroupCaret(_202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(_202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(_pluginInterface)), flag2);
|
|
_206B_206B_202C_202A_202E_206E_202A_202B_202B_200F_206B_206E_200E_200C_202B_200D_206E_206B_202A_206C_202E_200F_202C_206B_202E_206C_206C_202C_206C_206A_200E_200F_202D_202A_206B_206F_200E_200F_202B_200D_202E();
|
|
ImU8String imU8String2 = new ImU8String(6, 3);
|
|
imU8String2.AppendFormatted(row.Label);
|
|
imU8String2.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-2023271148));
|
|
imU8String2.AppendFormatted(row.Type);
|
|
imU8String2.AppendLiteral(global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-546490491));
|
|
imU8String2.AppendFormatted(row.GroupIndex);
|
|
num2 = ((!_202E_202C_206D_202B_200D_206C_200C_206A_206D_206F_202A_202D_202C_206D_202E_200C_206C_202E_200D_206B_206A_206D_200B_202A_200E_206E_200F_200D_202D_200F_200B_206C_200F_206E_206E_206E_200C_206B_206C_206E_202E(imU8String2, false, ImGuiSelectableFlags.None, default(Vector2))) ? 119097285 : 119097291);
|
|
break;
|
|
}
|
|
case 17:
|
|
num2 = ((!flag) ? 119097283 : 119097290);
|
|
break;
|
|
case 5:
|
|
_expandedGroups.Remove(item);
|
|
num2 = 119097311;
|
|
break;
|
|
case 12:
|
|
_expandedGroups.Add(item);
|
|
num2 = 119097311;
|
|
break;
|
|
case 2:
|
|
_uiUtils.ChecklistItem(string.Empty, row.IsItemGathered);
|
|
num2 = 119097294;
|
|
break;
|
|
case 7:
|
|
{
|
|
_202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num);
|
|
_202D_202B_206F_206F_206F_202D_202D_206C_206C_200C_206D_200E_200F_200E_206E_200B_206A_202E_200B_206E_200D_202A_200B_202D_200F_200C_206E_206F_202B_200F_206A_202E_202E_202C_206B_206E_200C_206F_200C_206F_202E((ImU8String)row.Label, ImGuiTreeNodeFlags.NoTreePushOnOpen | ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.SpanFullWidth, default(ImU8String));
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
float num7 = _206B_202A_200E_206B_206A_206E_200E_200F_202E_202D_200F_206A_202D_202B_206B_206C_202E_200D_206A_202E_200D_202C_202A_200E_202D_206A_206D_200D_202B_202A_206A_206B_206B_202E_206B_202B_206F_206E_202B_202E() / 2f - iconSpacing;
|
|
_202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num7);
|
|
num2 = ((row.ItemId >= 10000) ? 119097286 : 119097293);
|
|
break;
|
|
}
|
|
case 14:
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
UiThemeUtils.DrawTrackerCount(row.Counts.FormattedSupported, row.Counts.IsSupportedComplete, row.Counts.IsSupportedEmpty);
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCollected, row.Counts.IsCollectedComplete, row.Counts.IsCollectedEmpty);
|
|
num2 = 119097294;
|
|
break;
|
|
case 15:
|
|
num2 = ((row.Type != RowType.GatheringPoint) ? 119097292 : 119097284);
|
|
break;
|
|
case 8:
|
|
result = true;
|
|
num2 = 119097285;
|
|
break;
|
|
case 10:
|
|
{
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
float num6 = _206B_202A_200E_206B_206A_206E_200E_200F_202E_202D_200F_206A_202D_202B_206B_206C_202E_200D_206A_202E_200D_202C_202A_200E_202D_206A_206D_200D_202B_202A_206A_206B_206B_202E_206B_202B_206F_206E_202B_202E() / 2f - iconSpacing;
|
|
_202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num6);
|
|
_uiUtils.ChecklistItem(string.Empty, row.IsPointComplete);
|
|
_202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E();
|
|
UiThemeUtils.DrawTrackerCount(row.Counts.FormattedCollected, row.Counts.IsCollectedComplete, row.Counts.IsCollectedEmpty);
|
|
num2 = 119097294;
|
|
break;
|
|
}
|
|
case 4:
|
|
num2 = ((!flag2) ? 119097289 : 119097282);
|
|
break;
|
|
case 9:
|
|
_uiUtils.ChecklistItem(string.Empty, UiThemeUtils.StatusUnobtainable, FontAwesomeIcon.Minus);
|
|
num2 = 119097294;
|
|
break;
|
|
case 6:
|
|
_expandedGroups.Add(item2);
|
|
num2 = 119097287;
|
|
break;
|
|
case 3:
|
|
{
|
|
item = (row.Type, row.GroupIndex);
|
|
flag = _expandedGroups.Contains(item);
|
|
_202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(_206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E() + num);
|
|
UiThemeUtils.DrawTrackerGroupCaret(_202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(_202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(_pluginInterface)), flag);
|
|
_206B_206B_202C_202A_202E_206E_202A_202B_202B_200F_206B_206E_200E_200C_202B_200D_206E_206B_202A_206C_202E_200F_202C_206B_202E_206C_206C_202C_206C_206A_200E_200F_202D_202A_206B_206F_200E_200F_202B_200D_202E();
|
|
ImU8String imU8String = new ImU8String(6, 3);
|
|
imU8String.AppendFormatted(row.Label);
|
|
imU8String.AppendLiteral(global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(111380431));
|
|
imU8String.AppendFormatted(row.Type);
|
|
imU8String.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-294503681));
|
|
imU8String.AppendFormatted(row.GroupIndex);
|
|
num2 = ((!_202E_202C_206D_202B_200D_206C_200C_206A_206D_206F_202A_202D_202C_206D_202E_200C_206C_202E_200D_206B_206A_206D_200B_202A_200E_206E_200F_200D_202D_200F_200B_206C_200F_206E_206E_206E_200C_206B_206C_206E_202E(imU8String, false, ImGuiSelectableFlags.None, default(Vector2))) ? 119097281 : 119097310);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private void RebuildFlatRows()
|
|
{
|
|
List<FlatRow> list = new List<FlatRow>();
|
|
foreach (FilteredExpansion filteredExpansion in _filteredExpansions)
|
|
{
|
|
ExpansionPoints expansion = filteredExpansion.Expansion;
|
|
int expansionVersion = (int)expansion.ExpansionVersion;
|
|
GatheringCounts counts = GatheringCounts.Create(expansion.CompletedPoints, expansion.TotalPoints, expansion.CompletedItems, expansion.TotalItems);
|
|
list.Add(new FlatRow(RowType.Expansion, 0, expansionVersion, _206F_206A_206D_206A_200C_200F_206A_200B_206B_202E_200C_200F_200B_202E_202A_206E_200C_202A_202C_206B_200E_206E_206F_206F_202C_206C_206F_206E_202C_206E_202D_206E_200E_206B_200D_202C_206A_202C_200F_202B_202E(expansion.ExpansionVersion), counts, IsPointComplete: false, 0, IsItemGathered: false));
|
|
if (!_expandedGroups.Contains((RowType.Expansion, expansionVersion)))
|
|
{
|
|
continue;
|
|
}
|
|
foreach (FilteredTerritory territory2 in filteredExpansion.Territories)
|
|
{
|
|
TerritoryPoints territory = territory2.Territory;
|
|
int territoryType = territory.TerritoryType;
|
|
GatheringCounts counts2 = GatheringCounts.Create(territory.CompletedPoints, territory.TotalPoints, territory.CompletedItems, territory.TotalItems);
|
|
list.Add(new FlatRow(RowType.Territory, 1, territoryType, territory.ToFriendlyString(), counts2, IsPointComplete: false, 0, IsItemGathered: false));
|
|
if (!_expandedGroups.Contains((RowType.Territory, territoryType)))
|
|
{
|
|
continue;
|
|
}
|
|
foreach (FilteredGatheringPoint gatheringPoint in territory2.GatheringPoints)
|
|
{
|
|
DefaultGatheringPoint point = gatheringPoint.Point;
|
|
int num = _202A_202B_200C_200D_202A_200E_200C_206E_206B_200F_206E_200D_206B_202B_200B_202E_200D_200B_202D_200E_206A_206A_202E_206B_206B_202E_206A_200C_202E_206C_206C_206F_206D_206F_206C_202D_206A_206B_200B_206D_202E(point.Id);
|
|
GatheringCounts counts3 = GatheringCounts.Create(0, 0, point.CompletedItems, point.TotalItems);
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 3);
|
|
defaultInterpolatedStringHandler.AppendFormatted(point.PlaceName);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(588901087));
|
|
defaultInterpolatedStringHandler.AppendFormatted(point.ClassJob);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(2009216986));
|
|
defaultInterpolatedStringHandler.AppendFormatted(point.Level);
|
|
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1735737295));
|
|
list.Add(new FlatRow(RowType.GatheringPoint, 2, num, defaultInterpolatedStringHandler.ToStringAndClear(), counts3, point.IsComplete, 0, IsItemGathered: false));
|
|
if (!_expandedGroups.Contains((RowType.GatheringPoint, num)))
|
|
{
|
|
continue;
|
|
}
|
|
using List<ushort>.Enumerator enumerator4 = gatheringPoint.GatheringItemIds.GetEnumerator();
|
|
int num2 = 1747781992;
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = 1747781995;
|
|
int num5 = num3;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 0:
|
|
num2 = 1747781992;
|
|
break;
|
|
case 3:
|
|
num2 = (enumerator4.MoveNext() ? 1747781993 : 1747781994);
|
|
break;
|
|
case 2:
|
|
{
|
|
ushort current4 = enumerator4.Current;
|
|
string valueOrDefault = _gatheringItems.GetValueOrDefault(current4, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1347222299));
|
|
bool isItemGathered = _gatheredItems.Contains(current4);
|
|
list.Add(new FlatRow(RowType.Item, 3, 0, valueOrDefault, default(GatheringCounts), IsPointComplete: false, current4, isItemGathered));
|
|
num2 = 1747781992;
|
|
break;
|
|
}
|
|
case 1:
|
|
goto end_IL_020a;
|
|
}
|
|
continue;
|
|
end_IL_020a:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_flatRows = list;
|
|
}
|
|
|
|
public void UpdateFilter()
|
|
{
|
|
int num = ((!_202C_202C_200B_206B_206F_202E_206E_200E_202E_202C_202D_202D_200B_200B_206A_202A_206E_200D_206D_206A_206A_202B_202E_200F_206C_200C_202C_206E_202D_200F_202C_206C_200E_206A_202B_206D_206F_206D_200F_202E(_searchText)) ? 564615307 : 564615305);
|
|
Predicate<string> match = default(Predicate<string>);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 564615306;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
match = (string x) => _003C_003Ec__DisplayClass19_0._202D_206D_206E_206D_206E_202A_200F_206A_206C_202A_202D_200F_200C_202D_200E_206A_202E_206D_206D_202D_206B_200C_202A_200F_206B_206C_200F_202A_202C_206A_200F_206D_206C_202B_200F_206D_206C_202A_202B_200C_202E(x, _searchText, StringComparison.CurrentCultureIgnoreCase);
|
|
num = 564615304;
|
|
break;
|
|
case 3:
|
|
match = (string _) => true;
|
|
num = 564615304;
|
|
break;
|
|
case 0:
|
|
num = 564615305;
|
|
break;
|
|
case 2:
|
|
_filteredExpansions = (from section in _gatheringPointsByExpansion
|
|
select FilterExpansion(section, match) into x
|
|
where x != null
|
|
select x).Cast<FilteredExpansion>().ToList();
|
|
RebuildFlatRows();
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
private FilteredExpansion? FilterExpansion(ExpansionPoints expansion, Predicate<string> match)
|
|
{
|
|
List<FilteredTerritory> list = (from x in expansion.PointsByTerritories
|
|
select FilterTerritory(x, match) into x
|
|
where x != null
|
|
select (x)).ToList();
|
|
int num = ((list.Count <= 0) ? (-1280566856) : (-1280566853));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1280566854;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
goto IL_00cb;
|
|
case 2:
|
|
return null;
|
|
case 1:
|
|
return new FilteredExpansion(expansion, list);
|
|
}
|
|
continue;
|
|
IL_00cb:
|
|
num = -1280566853;
|
|
}
|
|
}
|
|
|
|
private FilteredTerritory? FilterTerritory(TerritoryPoints territory, Predicate<string> match)
|
|
{
|
|
int num = ((!match(territory.TerritoryName)) ? 798766867 : 798766864);
|
|
List<FilteredGatheringPoint> list = default(List<FilteredGatheringPoint>);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 798766866;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
list = (from x in territory.Points
|
|
select FilterGatheringPoint(x, match) into x
|
|
where x != null
|
|
select (x)).ToList();
|
|
num = ((list.Count <= 0) ? 798766870 : 798766866);
|
|
break;
|
|
case 4:
|
|
return null;
|
|
case 3:
|
|
num = 798766864;
|
|
break;
|
|
case 2:
|
|
return new FilteredTerritory(territory, territory.Points.Select((DefaultGatheringPoint x) => FilterGatheringPoint(x, (string _) => true)).ToList());
|
|
case 0:
|
|
return new FilteredTerritory(territory, list);
|
|
}
|
|
}
|
|
}
|
|
|
|
private FilteredGatheringPoint? FilterGatheringPoint(DefaultGatheringPoint gatheringPoint, Predicate<string> match)
|
|
{
|
|
int num = ((!match(gatheringPoint.PlaceName ?? string.Empty)) ? 730370401 : 730370402);
|
|
List<ushort> list = default(List<ushort>);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 730370400;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
return null;
|
|
case 3:
|
|
return new FilteredGatheringPoint(gatheringPoint, list);
|
|
case 1:
|
|
list = gatheringPoint.GatheringItemIds.Where((ushort x) => match(_gatheringItems.GetValueOrDefault(x, string.Empty))).ToList();
|
|
num = ((list.Count <= 0) ? 730370400 : 730370403);
|
|
break;
|
|
case 2:
|
|
return new FilteredGatheringPoint(gatheringPoint, gatheringPoint.GatheringItemIds);
|
|
case 4:
|
|
num = 730370402;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal void RefreshCounts()
|
|
{
|
|
_gatheredItems.Clear();
|
|
using (Dictionary<int, string>.KeyCollection.Enumerator enumerator = _gatheringItems.Keys.GetEnumerator())
|
|
{
|
|
int num = 2008890764;
|
|
ushort item = default(ushort);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 2008890760;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 2008890764;
|
|
break;
|
|
case 1:
|
|
item = (ushort)enumerator.Current;
|
|
num = ((!IsGatheringItemGathered(item)) ? 2008890764 : 2008890762);
|
|
break;
|
|
case 4:
|
|
num = (enumerator.MoveNext() ? 2008890761 : 2008890763);
|
|
break;
|
|
case 2:
|
|
_gatheredItems.Add(item);
|
|
num = 2008890764;
|
|
break;
|
|
case 3:
|
|
goto end_IL_0028;
|
|
}
|
|
continue;
|
|
end_IL_0028:
|
|
break;
|
|
}
|
|
}
|
|
foreach (ExpansionPoints item2 in _gatheringPointsByExpansion)
|
|
{
|
|
foreach (TerritoryPoints pointsByTerritory in item2.PointsByTerritories)
|
|
{
|
|
using (List<DefaultGatheringPoint>.Enumerator enumerator4 = pointsByTerritory.Points.GetEnumerator())
|
|
{
|
|
int num = -305033941;
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
int num3 = -305033942;
|
|
int num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 3:
|
|
num = -305033941;
|
|
break;
|
|
case 1:
|
|
num = (enumerator4.MoveNext() ? (-305033944) : (-305033942));
|
|
break;
|
|
case 2:
|
|
{
|
|
DefaultGatheringPoint current3 = enumerator4.Current;
|
|
current3.TotalItems = current3.GatheringItemIds.Count((ushort x) => x < 10000);
|
|
current3.CompletedItems = current3.GatheringItemIds.Count(_gatheredItems.Contains);
|
|
current3.IsComplete = _gatheringPointRegistry.TryGetGatheringPoint(current3.Id, out GatheringRoot _);
|
|
num = -305033941;
|
|
break;
|
|
}
|
|
case 0:
|
|
goto end_IL_0131;
|
|
}
|
|
continue;
|
|
end_IL_0131:
|
|
break;
|
|
}
|
|
}
|
|
pointsByTerritory.TotalItems = pointsByTerritory.Points.Sum((DefaultGatheringPoint x) => x.TotalItems);
|
|
pointsByTerritory.CompletedItems = pointsByTerritory.Points.Sum((DefaultGatheringPoint x) => x.CompletedItems);
|
|
pointsByTerritory.CompletedPoints = pointsByTerritory.Points.Count((DefaultGatheringPoint x) => x.IsComplete);
|
|
}
|
|
item2.TotalItems = item2.PointsByTerritories.Sum((TerritoryPoints x) => x.TotalItems);
|
|
item2.CompletedItems = item2.PointsByTerritories.Sum((TerritoryPoints x) => x.CompletedItems);
|
|
item2.TotalPoints = item2.PointsByTerritories.Sum((TerritoryPoints x) => x.TotalPoints);
|
|
item2.CompletedPoints = item2.PointsByTerritories.Sum((TerritoryPoints x) => x.CompletedPoints);
|
|
}
|
|
RebuildFlatRows();
|
|
}
|
|
|
|
public void ClearCounts(int type, int code)
|
|
{
|
|
foreach (ExpansionPoints item in _gatheringPointsByExpansion)
|
|
{
|
|
item.CompletedItems = 0;
|
|
item.CompletedPoints = 0;
|
|
foreach (TerritoryPoints pointsByTerritory in item.PointsByTerritories)
|
|
{
|
|
pointsByTerritory.CompletedItems = 0;
|
|
pointsByTerritory.CompletedPoints = 0;
|
|
using List<DefaultGatheringPoint>.Enumerator enumerator3 = pointsByTerritory.Points.GetEnumerator();
|
|
int num = 1467322152;
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1467322153;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 3:
|
|
num = 1467322152;
|
|
break;
|
|
case 2:
|
|
enumerator3.Current.IsComplete = false;
|
|
num = 1467322152;
|
|
break;
|
|
case 1:
|
|
num = (enumerator3.MoveNext() ? 1467322155 : 1467322153);
|
|
break;
|
|
case 0:
|
|
goto end_IL_0061;
|
|
}
|
|
continue;
|
|
end_IL_0061:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
RebuildFlatRows();
|
|
}
|
|
|
|
static void _206B_202E_202E_200F_202B_202E_206B_200D_202E_200F_202C_202A_200F_206A_202C_202A_202D_206A_200F_206F_200D_206D_200D_202E_206C_200B_206C_202D_206C_206C_202D_206E_206B_202B_206C_206E_200B_200F_206E_206C_202E(IGameInteropProvider P_0, object P_1)
|
|
{
|
|
P_0.InitializeFromAttributes(P_1);
|
|
}
|
|
|
|
static void _206D_200C_206A_202B_202A_202C_200D_206E_200B_200B_206B_206C_200D_202D_206B_200E_206C_202E_202E_200C_200F_200E_200F_206E_200B_202E_200D_200C_206F_206A_206F_206A_202A_200E_206D_200D_206B_200B_200E_206E_202E()
|
|
{
|
|
ImGui.Separator();
|
|
}
|
|
|
|
static IUiBuilder _202D_202A_206B_202C_202E_206A_202E_206E_206C_200C_202E_202D_200D_206E_202C_206F_200E_202E_206F_202A_202D_206C_200C_206C_200F_200D_202A_200C_206B_206E_200E_202B_206F_202A_200B_200F_202E_206B_202D_202D_202E(IDalamudPluginInterface P_0)
|
|
{
|
|
return P_0.UiBuilder;
|
|
}
|
|
|
|
static IFontHandle _202C_202D_200F_202D_202D_206F_206F_200F_206A_206C_202D_206E_202E_200B_200F_202C_206A_200F_206A_202C_202D_200C_200D_200F_200D_206B_200D_206F_200E_206C_202E_200C_206E_206C_206F_200B_200B_200C_202C_200F_202E(IUiBuilder P_0)
|
|
{
|
|
return P_0.IconFontFixedWidthHandle;
|
|
}
|
|
|
|
static IDisposable _206D_202A_200E_200C_202C_200F_206A_200E_202B_206D_202A_200E_202D_206F_200F_206C_202A_200B_206F_200C_206A_206D_206E_202E_206C_202E_206B_200B_206F_202C_200D_202C_202E_200B_206F_200C_202C_200B_200F_202D_202E(IFontHandle P_0)
|
|
{
|
|
return P_0.Push();
|
|
}
|
|
|
|
static string _206C_206B_206B_202E_202A_206B_206C_206C_200B_200E_200D_206B_200F_200D_206A_202C_202B_200F_206D_206E_206E_206A_206F_202B_206C_202B_200D_202C_200B_206E_206B_200F_200E_206F_200F_206F_200B_200D_202D_206F_202E(FontAwesomeIcon P_0)
|
|
{
|
|
return P_0.ToIconString();
|
|
}
|
|
|
|
static Vector2 _206B_202C_200F_206B_200F_202C_202D_206B_206A_206A_206F_202E_206C_206F_200B_200D_206E_206C_206D_206A_202E_206D_202A_202A_200E_206F_200E_206A_206D_200C_206E_202D_200F_206C_206A_206C_206E_206A_200F_202C_202E(ImU8String P_0, bool P_1, float P_2)
|
|
{
|
|
return ImGui.CalcTextSize(P_0, P_1, P_2);
|
|
}
|
|
|
|
static void _200E_200B_206C_200B_202D_206E_200D_200F_202A_206C_206D_206C_206B_200D_206E_206A_200F_202E_200C_206A_206A_206E_206E_200F_200E_206C_206B_202C_206E_206A_200B_202C_202C_200F_202D_206F_206C_206E_202D_200D_202E(IDisposable P_0)
|
|
{
|
|
P_0.Dispose();
|
|
}
|
|
|
|
static ImGuiIOPtr _200B_202C_206F_200C_202E_206D_202B_206B_206D_206F_200D_202C_200C_206D_206E_206E_202B_202A_202D_202B_200B_200D_200B_200C_206D_206C_206E_202E_202A_202B_200B_202D_202D_202B_206B_200E_200E_202E_200D_206D_202E()
|
|
{
|
|
return ImGui.GetIO();
|
|
}
|
|
|
|
static void _200D_200F_202C_200B_202C_200E_200D_202D_206F_200F_206A_206C_206E_206B_202E_202C_200E_206E_206C_206E_200C_206B_200C_206C_200D_202B_206F_202B_206F_206E_202B_202C_200E_202D_202A_200C_202A_200B_202A_200C_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3)
|
|
{
|
|
ImGui.TableSetupColumn(P_0, P_1, P_2, P_3);
|
|
}
|
|
|
|
static void _202D_206B_206B_202C_200D_200D_200B_200D_206C_200D_206E_200F_206D_206C_206F_202C_206D_206D_200C_202C_206B_206A_206A_206B_206A_206C_202E_206D_202A_206B_202A_206B_200E_200C_202B_206D_206E_202B_200C_202B_202E()
|
|
{
|
|
ImGui.TableHeadersRow();
|
|
}
|
|
|
|
static float _206C_206F_206D_200D_200F_202D_202B_202E_200B_202C_202B_206E_200D_206A_200E_202D_202A_206E_206C_200B_202C_206C_202C_206B_202B_206C_202D_200E_202C_206F_202A_206D_202B_200B_200B_206F_206E_202E_202A_202E_202E()
|
|
{
|
|
return ImGui.GetTextLineHeightWithSpacing();
|
|
}
|
|
|
|
unsafe static ImGuiListClipper* _202A_202A_200B_206D_206E_206D_202B_200C_206A_202B_202C_202B_200F_200D_200C_202B_202B_206B_202A_206B_206D_206C_200B_206C_206B_206C_202E_202B_200E_206B_202B_200D_200E_202A_200D_200B_202A_200B_200D_206B_202E()
|
|
{
|
|
return ImGuiNative.ImGuiListClipper();
|
|
}
|
|
|
|
unsafe static void _200C_202E_206B_206F_200B_200C_206E_206F_200D_202D_200B_200C_202B_200D_206E_202D_206B_206E_202B_206B_206B_206E_200B_200E_206D_200C_202B_200C_202C_206A_206C_200D_200E_200B_202B_206B_202C_200D_202A_206F_202E(ImGuiListClipper* P_0, int P_1, float P_2)
|
|
{
|
|
ImGuiNative.Begin(P_0, P_1, P_2);
|
|
}
|
|
|
|
static void _202E_200E_202D_206D_200E_206A_200C_202E_206A_200C_206B_206B_202C_202B_206C_200B_206D_206F_206D_206E_200F_200D_202B_202D_200E_202B_206F_206A_200E_200E_202D_206C_206C_202B_202B_202C_200E_202D_202B_202E_202E()
|
|
{
|
|
ImGui.TableNextRow();
|
|
}
|
|
|
|
static bool _202D_206F_202C_202E_206E_200B_206F_200B_200D_200D_206D_200F_200D_200B_206C_200D_200D_200D_200E_206E_202A_206D_206A_206D_200B_202B_200E_202E_200E_202A_206A_202A_202D_206E_206D_200E_202C_200B_206C_206C_202E()
|
|
{
|
|
return ImGui.TableNextColumn();
|
|
}
|
|
|
|
static ImGuiStylePtr _202B_206B_206E_200C_202B_200B_202D_200F_206E_206A_206B_200C_206B_206F_200E_202A_200D_200B_206C_202C_200F_202D_200D_206B_206E_202C_206E_200F_202A_200D_200E_200C_206D_200B_200F_202C_200F_206D_206F_202D_202E()
|
|
{
|
|
return ImGui.GetStyle();
|
|
}
|
|
|
|
static float _206B_202D_206B_206B_202E_200D_202E_202E_200F_206E_202D_206C_200D_206A_202C_206E_200D_202D_200E_200F_202E_206D_202E_206E_202E_206F_202C_206C_206D_200F_206A_206D_200F_202A_206A_200E_206A_200E_200E_206E_202E()
|
|
{
|
|
return ImGui.GetCursorPosX();
|
|
}
|
|
|
|
static void _202E_206A_206F_206D_206C_206B_200E_202A_200B_206B_200D_200B_202A_206B_206B_206E_202E_200C_202C_206E_202C_202B_200E_206A_206C_206E_200F_206A_206C_202E_200C_206F_206A_202C_206F_200C_206D_202E_202B_206C_202E(float P_0)
|
|
{
|
|
ImGui.SetCursorPosX(P_0);
|
|
}
|
|
|
|
static bool _202D_202B_206F_206F_206F_202D_202D_206C_206C_200C_206D_200E_200F_200E_206E_200B_206A_202E_200B_206E_200D_202A_200B_202D_200F_200C_206E_206F_202B_200F_206A_202E_202E_202C_206B_206E_200C_206F_200C_206F_202E(ImU8String P_0, ImGuiTreeNodeFlags P_1, ImU8String P_2)
|
|
{
|
|
return ImGui.TreeNodeEx(P_0, P_1, P_2);
|
|
}
|
|
|
|
static float _206B_202A_200E_206B_206A_206E_200E_200F_202E_202D_200F_206A_202D_202B_206B_206C_202E_200D_206A_202E_200D_202C_202A_200E_202D_206A_206D_200D_202B_202A_206A_206B_206B_202E_206B_202B_206F_206E_202B_202E()
|
|
{
|
|
return ImGui.GetColumnWidth();
|
|
}
|
|
|
|
static void _206B_206B_202C_202A_202E_206E_202A_202B_202B_200F_206B_206E_200E_200C_202B_200D_206E_206B_202A_206C_202E_200F_202C_206B_202E_206C_206C_202C_206C_206A_200E_200F_202D_202A_206B_206F_200E_200F_202B_200D_202E()
|
|
{
|
|
ImGui.SameLine();
|
|
}
|
|
|
|
static bool _202E_202C_206D_202B_200D_206C_200C_206A_206D_206F_202A_202D_202C_206D_202E_200C_206C_202E_200D_206B_206A_206D_200B_202A_200E_206E_200F_200D_202D_200F_200B_206C_200F_206E_206E_206E_200C_206B_206C_206E_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3)
|
|
{
|
|
return ImGui.Selectable(P_0, P_1, P_2, P_3);
|
|
}
|
|
|
|
static string _206F_206A_206D_206A_200C_200F_206A_200B_206B_202E_200C_200F_200B_202E_202A_206E_200C_202A_202C_206B_200E_206E_206F_206F_202C_206C_206F_206E_202C_206E_202D_206E_200E_206B_200D_202C_206A_202C_200F_202B_202E(EExpansionVersion P_0)
|
|
{
|
|
return P_0.ToFriendlyString();
|
|
}
|
|
|
|
static ushort _202A_202B_200C_200D_202A_200E_200C_206E_206B_200F_206E_200D_206B_202B_200B_202E_200D_200B_202D_200E_206A_206A_202E_206B_206B_202E_206A_200C_202E_206C_206C_206F_206D_206F_206C_202D_206A_206B_200B_206D_202E(GatheringPointId P_0)
|
|
{
|
|
return P_0.Value;
|
|
}
|
|
|
|
static bool _202C_202C_200B_206B_206F_202E_206E_200E_202E_202C_202D_202D_200B_200B_206A_202A_206E_200D_206D_206A_206A_202B_202E_200F_206C_200C_202C_206E_202D_200F_202C_206C_200E_206A_202B_206D_206F_206D_200F_202E(string P_0)
|
|
{
|
|
return string.IsNullOrWhiteSpace(P_0);
|
|
}
|
|
}
|