1558 lines
77 KiB
C#
1558 lines
77 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Numerics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using Dalamud.Bindings.ImGui;
|
|
using Dalamud.Game.Text.SeStringHandling;
|
|
using Dalamud.Interface;
|
|
using Dalamud.Interface.Utility.Raii;
|
|
using Dalamud.Plugin;
|
|
using Dalamud.Plugin.Services;
|
|
using Dalamud.Utility;
|
|
using Lumina.Excel;
|
|
using Lumina.Excel.Sheets;
|
|
using Lumina.Text.ReadOnly;
|
|
using Questionable.Data;
|
|
using Questionable.External;
|
|
using Questionable.Model;
|
|
using Questionable.Model.Questing;
|
|
|
|
namespace Questionable.Windows.ConfigComponents;
|
|
|
|
internal sealed class DutyConfigComponent : ConfigComponent
|
|
{
|
|
private sealed record DutyInfo(uint CfcId, uint TerritoryId, string Name, int Level)
|
|
{
|
|
[CompilerGenerated]
|
|
private Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _206E_202A_202D_206F_202E_200F_206E_202E_202E_202C_200C_206B_202C_200F_206E_206D_202D_206E_206E_202B_200B_206E_200E_206E_206F_202B_200F_202A_206C_206C_206A_206B_206B_202C_202C_206A_200B_202B_206B_206A_202E(typeof(DutyInfo).TypeHandle);
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _202E_206D_206E_202B_200F_202D_202C_202A_206B_206B_200F_206F_206D_206A_206E_202C_206B_200C_206B_200B_202C_206A_206E_206C_206A_206E_206A_202C_200C_200C_202E_202B_206B_200C_200F_206D_200B_206F_202D_206F_202E();
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_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>(1146569186));
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_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)) ? 293488302 : 293488301);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 293488300;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 293488301;
|
|
break;
|
|
case 2:
|
|
_202C_206B_200E_202E_202A_206E_200B_206A_206F_200D_206D_202E_202B_206B_202A_200D_202E_206E_200B_202A_206A_206F_202D_206D_206C_206B_202B_206F_202A_202D_202D_200B_202A_202D_202A_202C_200F_202C_206C_206E_202E(stringBuilder, '}');
|
|
return _202B_200D_202C_202A_206C_206F_202D_202B_206B_202E_202A_206A_202A_200B_206C_206C_206B_202C_202D_206E_206C_202D_206C_206A_202D_202A_200F_206C_200D_200D_206B_206D_206B_206C_206E_202A_200B_206F_206F_200C_202E((object)stringBuilder);
|
|
case 1:
|
|
_202C_206B_200E_202E_202A_206E_200B_206A_206F_200D_206D_202E_202B_206B_202A_200D_202E_206E_200B_202A_206A_206F_202D_206D_206C_206B_202B_206F_202A_202D_202D_200B_202A_202D_202A_202C_200F_202C_206C_206E_202E(stringBuilder, ' ');
|
|
num = 293488302;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_200C_202E_206F_200F_206B_206E_202A_202E_202A_202C_202B_200E_200B_200E_202D_200C_200E_206A_200C_206C_202C_202B_200B_202E_200E_206E_206E_202A_202D_200E_206D_202A_200D_206D_206A_206D_202C_202E_202C_206F_202E();
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_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>(1846737607));
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, CfcId.ToString());
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_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>(647715754));
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, TerritoryId.ToString());
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_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>(-2011877509));
|
|
_200D_202C_202C_200F_202E_206F_202D_206E_202D_206C_206C_202A_206C_206D_206D_206C_202E_200B_206B_200C_206C_200C_202C_206E_206E_202C_206A_202B_200C_202B_206C_202B_202D_202D_202D_200C_200B_202B_206F_206D_202E(builder, (object)Name);
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_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>(-26801213));
|
|
_206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(builder, Level.ToString());
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(DutyInfo? other)
|
|
{
|
|
int num = (((object)this == other) ? 942730558 : 942730556);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 942730559;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
return true;
|
|
case 4:
|
|
return EqualityComparer<int>.Default.Equals(Level, other.Level);
|
|
case 8:
|
|
num = ((!EqualityComparer<string>.Default.Equals(Name, other.Name)) ? 942730554 : 942730555);
|
|
break;
|
|
case 5:
|
|
return false;
|
|
case 0:
|
|
num = 942730556;
|
|
break;
|
|
case 6:
|
|
num = ((!EqualityComparer<uint>.Default.Equals(TerritoryId, other.TerritoryId)) ? 942730554 : 942730551);
|
|
break;
|
|
case 3:
|
|
num = (((object)other == null) ? 942730554 : 942730552);
|
|
break;
|
|
case 7:
|
|
num = ((!_206D_202A_200F_200F_202C_200D_200B_200B_206E_200B_206B_206E_206A_206E_206D_200D_206E_206C_202B_206D_206B_206C_200C_202D_200F_202D_206A_200B_206C_200F_202A_206F_202B_202A_200B_206A_202C_202E_200E_206C_202E(EqualityContract, other.EqualityContract)) ? 942730554 : 942730557);
|
|
break;
|
|
case 2:
|
|
num = ((!EqualityComparer<uint>.Default.Equals(CfcId, other.CfcId)) ? 942730554 : 942730553);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<DutyInfo>.Equals(DutyInfo? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static Type _206E_202A_202D_206F_202E_200F_206E_202E_202E_202C_200C_206B_202C_200F_206E_206D_202D_206E_206E_202B_200B_206E_200E_206E_206F_202B_200F_202A_206C_206C_206A_206B_206B_202C_202C_206A_200B_202B_206B_206A_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static StringBuilder _202E_206D_206E_202B_200F_202D_202C_202A_206B_206B_200F_206F_206D_206A_206E_202C_206B_200C_206B_200B_202C_206A_206E_206C_206A_206E_206A_202C_200C_200C_202E_202B_206B_200C_200F_206D_200B_206F_202D_206F_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _206B_200D_200B_202E_206C_200E_206D_206E_200F_200D_206C_200C_202A_200B_202A_200E_200E_200D_202C_206D_202A_202E_202C_206D_200E_200C_200F_206D_202A_202B_202C_202D_202A_200F_206F_206B_202D_200F_200B_202E_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _202C_206B_200E_202E_202A_206E_200B_206A_206F_200D_206D_202E_202B_206B_202A_200D_202E_206E_200B_202A_206A_206F_202D_206D_206C_206B_202B_206F_202A_202D_202D_200B_202A_202D_202A_202C_200F_202C_206C_206E_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _202B_200D_202C_202A_206C_206F_202D_202B_206B_202E_202A_206A_202A_200B_206C_206C_206B_202C_202D_206E_206C_202D_206C_206A_202D_202A_200F_206C_200D_200D_206B_206D_206B_206C_206E_202A_200B_206F_206F_200C_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static void _200C_202E_206F_200F_206B_206E_202A_202E_202A_202C_202B_200E_200B_200E_202D_200C_200E_206A_200C_206C_202C_202B_200B_202E_200E_206E_206E_202A_202D_200E_206D_202A_200D_206D_206A_206D_202C_202E_202C_206F_202E()
|
|
{
|
|
RuntimeHelpers.EnsureSufficientExecutionStack();
|
|
}
|
|
|
|
static StringBuilder _200D_202C_202C_200F_202E_206F_202D_206E_202D_206C_206C_202A_206C_206D_206D_206C_202E_200B_206B_200C_206C_200C_202C_206E_206E_202C_206A_202B_200C_202B_206C_202B_202D_202D_202D_200C_200B_202B_206F_206D_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static bool _206D_202A_200F_200F_202C_200D_200B_200B_206E_200B_206B_206E_206A_206E_206D_200D_206E_206C_202B_206D_206B_206C_200C_202D_200F_202D_206A_200B_206C_200F_202A_206F_202B_202A_200B_206A_202C_202E_200E_206C_202E(Type P_0, Type P_1)
|
|
{
|
|
return P_0 == P_1;
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
private sealed class _003C_003Ec__DisplayClass15_0
|
|
{
|
|
public uint contentTypeId;
|
|
|
|
public uint? contentMemberTypeId;
|
|
|
|
public TerritoryData territoryData;
|
|
|
|
internal bool _003CLoadContentByType_003Eb__0(ContentFinderCondition x)
|
|
{
|
|
int num = ((x.RowId == 0) ? 400458494 : 400458492);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 400458495;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
num = 400458492;
|
|
break;
|
|
case 1:
|
|
return false;
|
|
case 0:
|
|
return x.ContentType.RowId == contentTypeId;
|
|
case 3:
|
|
num = ((x.Content.RowId == 0) ? 400458494 : 400458495);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
internal bool _003CLoadContentByType_003Eb__1(ContentFinderCondition x)
|
|
{
|
|
return x.ContentMemberType.RowId == contentMemberTypeId.Value;
|
|
}
|
|
|
|
internal _003C_003Ef__AnonymousType3<EExpansionVersion, uint, string, uint, byte, ushort> _003CLoadContentByType_003Eb__2(ContentFinderCondition x)
|
|
{
|
|
return new
|
|
{
|
|
Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId,
|
|
CfcId = x.RowId,
|
|
Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? _200F_206A_202D_200E_200C_206D_200C_200F_202E_202E_200E_200C_206E_202A_200E_200C_200D_202D_200D_206E_206A_206B_202A_200C_206B_206E_206F_206C_202A_202C_200B_206A_202C_206E_200D_202A_202D_206B_200C_202A_202E((object)_200C_200C_206E_202D_200C_202E_202B_206D_202A_206A_206E_202A_202E_202A_206B_202E_206E_200F_202D_206C_206E_200F_206A_200D_206E_200F_206C_200D_206E_206F_202B_206F_206C_206F_202C_202C_206F_200D_206B_200E_202E(x.Name))),
|
|
TerritoryId = x.TerritoryType.RowId,
|
|
Level = x.ClassJobLevelRequired,
|
|
SortKey = x.SortKey
|
|
};
|
|
}
|
|
|
|
static SeString _200C_200C_206E_202D_200C_202E_202B_206D_202A_206A_206E_202A_202E_202A_206B_202E_206E_200F_202D_206C_206E_200F_206A_200D_206E_200F_206C_200D_206E_206F_202B_206F_206C_206F_202C_202C_206F_200D_206B_200E_202E(ReadOnlySeString P_0)
|
|
{
|
|
return P_0.ToDalamudString();
|
|
}
|
|
|
|
static string _200F_206A_202D_200E_200C_206D_200C_200F_202E_202E_200E_200C_206E_202A_200E_200C_200D_202D_200D_206E_206A_206B_202A_200C_206B_206E_206F_206C_202A_202C_200B_206A_202C_206E_200D_202A_202D_206B_200C_202A_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
}
|
|
|
|
private const string DutyClipboardPrefix = "qst:duty:";
|
|
|
|
private const uint ContentTypeDungeons = 2u;
|
|
|
|
private const uint ContentTypeTrials = 4u;
|
|
|
|
private const uint ContentTypeRaids = 5u;
|
|
|
|
private const uint MemberTypeNormalRaid = 3u;
|
|
|
|
private const uint MemberTypeAllianceRaid = 4u;
|
|
|
|
private static readonly string[] DutyModeLabels = new string[3]
|
|
{
|
|
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>(1157663531),
|
|
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>(50543630),
|
|
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>(434039918)
|
|
};
|
|
|
|
private static readonly string[] DutyTabLabels = new string[4]
|
|
{
|
|
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>(1287674180),
|
|
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>(865548791),
|
|
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>(-649399310),
|
|
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>(1881943890)
|
|
};
|
|
|
|
private readonly AutoDutyIpc _autoDutyIpc;
|
|
|
|
private readonly Dictionary<EExpansionVersion, List<DutyInfo>> _contentFinderConditionNames;
|
|
|
|
private readonly Dictionary<EExpansionVersion, List<DutyInfo>> _allTrialNames;
|
|
|
|
private readonly Dictionary<EExpansionVersion, List<DutyInfo>> _allNormalRaidNames;
|
|
|
|
private readonly Dictionary<EExpansionVersion, List<DutyInfo>> _allAllianceRaidNames;
|
|
|
|
private int _selectedDutyTab;
|
|
|
|
public DutyConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager, AutoDutyIpc autoDutyIpc, TerritoryData territoryData)
|
|
: base(pluginInterface, configuration)
|
|
{
|
|
_autoDutyIpc = autoDutyIpc;
|
|
ExcelSheet<ContentFinderCondition> excelSheet = dataManager.GetExcelSheet<ContentFinderCondition>();
|
|
_contentFinderConditionNames = LoadContentByType(excelSheet, territoryData, 2u);
|
|
_allTrialNames = LoadContentByType(excelSheet, territoryData, 4u);
|
|
_allNormalRaidNames = LoadContentByType(excelSheet, territoryData, 5u, 3u);
|
|
_allAllianceRaidNames = LoadContentByType(excelSheet, territoryData, 5u, 4u);
|
|
}
|
|
|
|
private static Dictionary<EExpansionVersion, List<DutyInfo>> LoadContentByType(ExcelSheet<ContentFinderCondition> sheet, TerritoryData territoryData, uint contentTypeId, uint? contentMemberTypeId = null)
|
|
{
|
|
IEnumerable<ContentFinderCondition> source = sheet.Where(delegate(ContentFinderCondition x)
|
|
{
|
|
int num5 = ((x.RowId == 0) ? 400458494 : 400458492);
|
|
while (true)
|
|
{
|
|
int num6 = num5;
|
|
int num7 = 400458495;
|
|
int num8 = num6;
|
|
switch ((num8 | num7) - (num8 & num7))
|
|
{
|
|
case 2:
|
|
num5 = 400458492;
|
|
break;
|
|
case 1:
|
|
return false;
|
|
case 0:
|
|
return x.ContentType.RowId == contentTypeId;
|
|
case 3:
|
|
num5 = ((x.Content.RowId == 0) ? 400458494 : 400458495);
|
|
break;
|
|
}
|
|
}
|
|
});
|
|
int num = ((!contentMemberTypeId.HasValue) ? (-2060936807) : (-2060936808));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -2060936807;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
return (from x in source
|
|
select new
|
|
{
|
|
Expansion = (EExpansionVersion)x.TerritoryType.Value.ExVersion.RowId,
|
|
CfcId = x.RowId,
|
|
Name = (territoryData.GetContentFinderCondition(x.RowId)?.Name ?? _003C_003Ec__DisplayClass15_0._200F_206A_202D_200E_200C_206D_200C_200F_202E_202E_200E_200C_206E_202A_200E_200C_200D_202D_200D_206E_206A_206B_202A_200C_206B_206E_206F_206C_202A_202C_200B_206A_202C_206E_200D_202A_202D_206B_200C_202A_202E((object)_003C_003Ec__DisplayClass15_0._200C_200C_206E_202D_200C_202E_202B_206D_202A_206A_206E_202A_202E_202A_206B_202E_206E_200F_202D_206C_206E_200F_206A_200D_206E_200F_206C_200D_206E_206F_202B_206F_206C_206F_202C_202C_206F_200D_206B_200E_202E(x.Name))),
|
|
TerritoryId = x.TerritoryType.RowId,
|
|
Level = x.ClassJobLevelRequired,
|
|
SortKey = x.SortKey
|
|
} into x
|
|
orderby x.SortKey
|
|
group x by x.Expansion).ToDictionary(x => x.Key, x => x.Select(y => new DutyInfo(y.CfcId, y.TerritoryId, y.Name, y.Level)).ToList());
|
|
case 1:
|
|
source = source.Where((ContentFinderCondition x) => x.ContentMemberType.RowId == contentMemberTypeId.Value);
|
|
num = -2060936807;
|
|
break;
|
|
case 2:
|
|
num = -2060936808;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public void DrawAutoDutySettings()
|
|
{
|
|
bool value = base.Configuration.Duties.RunInstancedContentWithAutoDuty;
|
|
int num = ((!UiThemeUtils.WrappedCheckbox(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>(-2060290040), ref value, 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>(1676853483))) ? 318863839 : 318863836);
|
|
bool value4 = default(bool);
|
|
int currentItem = default(int);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 318863838;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 318863836;
|
|
break;
|
|
case 2:
|
|
base.Configuration.Duties.RunInstancedContentWithAutoDuty = value;
|
|
Save();
|
|
num = 318863839;
|
|
break;
|
|
case 1:
|
|
{
|
|
ImRaii.DisabledDisposable disabledDisposable = _200F_206A_206C_200C_200F_206C_206E_200D_206A_200D_200E_200B_200D_206D_200C_200C_206D_206E_202B_200F_206C_200B_206E_206D_202C_200F_206F_202D_200C_202B_206B_202E_206D_202D_206E_206D_200F_206E_206D_206B_202E(!value);
|
|
try
|
|
{
|
|
bool value2 = base.Configuration.Duties.RunLevelingModeWhenUnderleveled;
|
|
num = ((!UiThemeUtils.WrappedCheckbox(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>(1812413781), ref value2, 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>(-1998973478))) ? (-278783301) : (-278783298));
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
num3 = -278783297;
|
|
num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 6:
|
|
num = -278783298;
|
|
break;
|
|
case 4:
|
|
value4 = base.Configuration.Duties.AutoUnsyncOverleveled;
|
|
num = ((!UiThemeUtils.WrappedCheckbox(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>(-587123705), ref value4, 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>(-1027843476))) ? (-278783302) : (-278783297));
|
|
break;
|
|
case 1:
|
|
base.Configuration.Duties.RunLevelingModeWhenUnderleveled = value2;
|
|
Save();
|
|
num = -278783301;
|
|
break;
|
|
case 5:
|
|
_202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E();
|
|
_206A_200C_206F_202B_202E_202C_206F_202D_206B_206C_200F_206B_206A_206D_202A_200F_202D_206D_202B_200D_202E_202B_200B_200F_200E_206E_200F_206E_206E_202B_202C_202B_206C_200D_202B_202B_202E_202E_200B_206E_202E((ImU8String)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>(1289186878));
|
|
_200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E();
|
|
currentItem = (int)base.Configuration.Duties.DefaultDutyMode;
|
|
_206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(_200B_200C_202D_202D_202D_206A_200F_200F_206B_206B_200E_202C_206F_202A_206F_200B_202C_200B_206B_206E_202C_200F_200C_206E_202B_200C_200B_200B_202A_206D_202A_200B_202C_202B_206C_206B_200D_200C_200F_202E_202E(_206C_202B_200C_206C_206D_200C_202D_206C_206B_202B_200C_202B_206C_200E_200E_200B_202B_200B_206A_200F_200E_202A_200F_202C_206E_206C_206E_202D_200F_206D_202D_206E_206E_206C_206A_206C_206D_206E_200E_200F_202E().X * 0.6f, 260f));
|
|
num = ((!UiThemeUtils.ThemedCombo(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>(532662937), ref currentItem, DutyModeLabels, DutyModeLabels.Length)) ? (-278783300) : (-278783299));
|
|
break;
|
|
case 0:
|
|
base.Configuration.Duties.AutoUnsyncOverleveled = value4;
|
|
Save();
|
|
num = -278783302;
|
|
break;
|
|
case 2:
|
|
base.Configuration.Duties.DefaultDutyMode = (EDutyMode)currentItem;
|
|
Save();
|
|
num = -278783300;
|
|
break;
|
|
case 3:
|
|
{
|
|
_200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E();
|
|
UiThemeUtils.InfoIcon(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>(-1150864325));
|
|
_202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E();
|
|
UiThemeUtils.SubSectionHeader(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>(928732696));
|
|
ImRaii.IndentDisposable indentDisposable = _200C_200F_202D_200C_202E_200B_206E_206E_206F_206F_206F_202D_200E_200D_200E_202A_206D_202C_202C_202C_206F_202C_206A_200C_200C_206B_200C_206A_200D_200F_206F_206A_206F_206D_200D_200C_200D_200F_202E_202C_202E(1, true);
|
|
try
|
|
{
|
|
bool value3 = base.Configuration.Advanced.DisableAutoDutyBareMode;
|
|
num = ((!UiThemeUtils.WrappedCheckbox(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>(544332955), ref value3, 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>(1104098155))) ? 1613386781 : 1613386782);
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
num3 = 1613386780;
|
|
num4 = num8;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 1613386782;
|
|
break;
|
|
case 2:
|
|
base.Configuration.Advanced.DisableAutoDutyBareMode = value3;
|
|
Save();
|
|
num = 1613386781;
|
|
break;
|
|
case 1:
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((indentDisposable == null) ? (-1890100848) : (-1890100845));
|
|
while (true)
|
|
{
|
|
int num9 = num;
|
|
num3 = -1890100846;
|
|
num4 = num9;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -1890100845;
|
|
break;
|
|
case 1:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)indentDisposable);
|
|
num = -1890100848;
|
|
break;
|
|
case 2:
|
|
goto end_IL_0378;
|
|
}
|
|
continue;
|
|
end_IL_0378:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((disabledDisposable == null) ? 1022367676 : 1022367677);
|
|
while (true)
|
|
{
|
|
int num10 = num;
|
|
num3 = 1022367676;
|
|
num4 = num10;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
num = 1022367677;
|
|
break;
|
|
case 1:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)disabledDisposable);
|
|
num = 1022367676;
|
|
break;
|
|
case 0:
|
|
goto end_IL_03e2;
|
|
}
|
|
continue;
|
|
end_IL_03e2:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public override void DrawTab()
|
|
{
|
|
UiThemeUtils.SectionHeader(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>(-313400600));
|
|
_202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E();
|
|
var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard();
|
|
DrawAutoDutySettings();
|
|
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
|
UiThemeUtils.SectionSpacing();
|
|
bool runInstancedContentWithAutoDuty = base.Configuration.Duties.RunInstancedContentWithAutoDuty;
|
|
ImRaii.DisabledDisposable disabledDisposable = _200F_206A_206C_200C_200F_206C_206E_200D_206A_200D_200E_200B_200D_206D_200C_200C_206D_206E_202B_200F_206C_200B_206E_206D_202C_200F_206F_202D_200C_202B_206B_202E_206D_202D_206E_206D_200F_206E_206D_206B_202E(!runInstancedContentWithAutoDuty);
|
|
try
|
|
{
|
|
UiThemeUtils.SectionHeader(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>(-179062299));
|
|
_202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E();
|
|
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard();
|
|
Vector2 item = tuple2.ContentStartPos;
|
|
float item2 = tuple2.AvailableWidth;
|
|
ImDrawListPtr item3 = tuple2.DrawList;
|
|
int selectedDutyTab = _selectedDutyTab;
|
|
int num = 1;
|
|
int num2 = selectedDutyTab;
|
|
int num3;
|
|
Dictionary<EExpansionVersion, List<DutyInfo>> dictionary = default(Dictionary<EExpansionVersion, List<DutyInfo>>);
|
|
switch (~(~num2 + num))
|
|
{
|
|
default:
|
|
num3 = 1928784944;
|
|
goto IL_00bf;
|
|
case 1:
|
|
dictionary = _allNormalRaidNames;
|
|
num3 = 1928784949;
|
|
goto IL_00bf;
|
|
case 0:
|
|
goto IL_0263;
|
|
case 2:
|
|
goto IL_0277;
|
|
IL_00bf:
|
|
while (true)
|
|
{
|
|
int num4 = num3;
|
|
num = 1928784947;
|
|
num2 = num4;
|
|
int num5 = num2 + num;
|
|
int num6 = num2 & num;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 6:
|
|
goto IL_0105;
|
|
case 3:
|
|
num3 = 1928784955;
|
|
break;
|
|
case 5:
|
|
base.Configuration.Duties.WhitelistedDutyCfcIds.Clear();
|
|
base.Configuration.Duties.BlacklistedDutyCfcIds.Clear();
|
|
base.Configuration.Duties.DutyModeOverrides.Clear();
|
|
base.Configuration.Duties.DefaultDutyMode = EDutyMode.Support;
|
|
Save();
|
|
num3 = 1928784947;
|
|
break;
|
|
case 8:
|
|
dictionary = _contentFinderConditionNames;
|
|
num3 = 1928784949;
|
|
break;
|
|
case 1:
|
|
goto end_IL_00bf;
|
|
case 7:
|
|
goto IL_0263;
|
|
case 4:
|
|
goto IL_0277;
|
|
case 2:
|
|
num3 = 1928784944;
|
|
break;
|
|
case 0:
|
|
UiThemeUtils.EndCard(item, item2, item3);
|
|
return;
|
|
}
|
|
continue;
|
|
IL_0105:
|
|
Dictionary<EExpansionVersion, List<DutyInfo>> contentByExpansion = dictionary;
|
|
_selectedDutyTab = UiThemeUtils.DrawTabBar(DutyTabLabels, _selectedDutyTab);
|
|
_202C_206B_202D_202C_206D_202D_206A_200D_200F_200D_202A_200E_206E_200E_200F_206D_206F_200B_202D_206D_206C_206F_200C_200E_206E_202B_200E_202C_200E_202E_206B_200E_206B_200F_200B_202C_200B_206C_206D_206F_202E(_206E_200D_206C_202C_206F_206D_206F_200E_200B_206A_200F_202B_202A_200B_202C_206C_202B_206A_206A_202B_206C_206E_206E_200D_200D_200D_206C_206F_202B_200D_206E_200C_206E_202C_206D_200E_202C_206D_206A_200F_202E() - _206A_200E_202B_202A_202C_200B_202C_206A_200B_202A_200F_206C_206D_206A_200B_202C_200E_206E_200D_206D_202B_206E_206C_200B_200F_202B_206C_200D_200B_202A_200E_200F_206A_206D_202E_200B_202D_202B_202D_202C_202E().ItemSpacing.Y);
|
|
DrawConfigTable(runInstancedContentWithAutoDuty, contentByExpansion);
|
|
DrawEnableAllButton();
|
|
_200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E();
|
|
DrawClipboardButtons(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>(-21348437), base.Configuration.Duties.WhitelistedDutyCfcIds, base.Configuration.Duties.BlacklistedDutyCfcIds, base.Configuration.Duties.DutyModeOverrides);
|
|
_200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E();
|
|
num3 = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, 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>(-2054737015))) ? 1928784947 : 1928784950);
|
|
continue;
|
|
end_IL_00bf:
|
|
break;
|
|
}
|
|
goto case 1;
|
|
IL_0277:
|
|
dictionary = _allAllianceRaidNames;
|
|
num3 = 1928784949;
|
|
goto IL_00bf;
|
|
IL_0263:
|
|
dictionary = _allTrialNames;
|
|
num3 = 1928784949;
|
|
goto IL_00bf;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
int num3 = ((disabledDisposable == null) ? 900259007 : 900259004);
|
|
while (true)
|
|
{
|
|
int num7 = num3;
|
|
int num = 900259006;
|
|
int num2 = num7;
|
|
int num8 = num2 + num;
|
|
int num9 = num2 & num;
|
|
switch (num8 - (num9 + num9))
|
|
{
|
|
case 0:
|
|
num3 = 900259004;
|
|
break;
|
|
case 1:
|
|
goto end_IL_02c6;
|
|
case 2:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)disabledDisposable);
|
|
num3 = 900259007;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_02c6:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private void DrawConfigTable(bool runInstancedContentWithAutoDuty, Dictionary<EExpansionVersion, List<DutyInfo>> contentByExpansion)
|
|
{
|
|
Vector2 vector = _206C_202B_200C_206C_206D_200C_202D_206C_206B_202B_200C_202B_206C_200E_200E_200B_202B_200B_206A_200F_200E_202A_200F_202C_206E_206C_206E_202D_200F_206D_202D_206E_206E_206C_206A_206C_206D_206E_200E_200F_202E();
|
|
using ImRaii.ChildDisposable childDisposable = _202C_202B_200E_206C_202B_206A_206A_206D_206C_202C_202B_206D_206A_206B_206E_200F_206A_206B_202C_206A_200D_206D_200F_200B_206D_200D_206F_200C_200B_202B_200B_202B_206C_202E_202A_200D_200F_200C_206B_200F_202E((ImU8String)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>(-842817394), new Vector2(vector.X, _206E_202A_206C_202C_206F_200E_200C_206F_206F_202C_206E_206B_202D_206B_206B_202A_206F_206C_200C_206F_200C_202B_200F_206F_202A_206C_206B_200F_206A_200F_206F_206A_206E_206A_206B_202A_200B_206B_202E_206B_202E(vector.Y - 30f - 12f, 200f)), true);
|
|
int num = ((!(!childDisposable)) ? 397429394 : 397429395);
|
|
string text = default(string);
|
|
bool open = default(bool);
|
|
List<DutyInfo> value = default(List<DutyInfo>);
|
|
EDutyMode eDutyMode = default(EDutyMode);
|
|
int currentItem2 = default(int);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 397429394;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
goto IL_0094;
|
|
case 1:
|
|
return;
|
|
case 0:
|
|
{
|
|
Dictionary<string, bool> expansionHeaderStates = base.Configuration.Duties.ExpansionHeaderStates;
|
|
EExpansionVersion[] values = Enum.GetValues<EExpansionVersion>();
|
|
int num7 = 0;
|
|
while (true)
|
|
{
|
|
if (num7 < values.Length)
|
|
{
|
|
EExpansionVersion eExpansionVersion = values[num7];
|
|
(int enabledCount, int totalCount) dutyCountsForExpansion = GetDutyCountsForExpansion(eExpansionVersion, contentByExpansion);
|
|
int item = dutyCountsForExpansion.enabledCount;
|
|
int item2 = dutyCountsForExpansion.totalCount;
|
|
text = eExpansionVersion.ToString();
|
|
open = expansionHeaderStates.GetValueOrDefault(text, defaultValue: false);
|
|
string id = text;
|
|
string label = _200B_206E_206D_200F_202A_202C_202C_202D_206E_202A_206D_200C_202B_206A_200B_200B_202B_206A_202E_200C_202C_200B_200E_200B_202B_206B_200C_202A_202D_200E_206D_200B_206C_206C_202A_200B_202E_206B_200F_206D_202E(eExpansionVersion);
|
|
object rightText;
|
|
if (item2 <= 0)
|
|
{
|
|
rightText = null;
|
|
}
|
|
else
|
|
{
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 2);
|
|
defaultInterpolatedStringHandler.AppendFormatted(item);
|
|
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>(-1605560946));
|
|
defaultInterpolatedStringHandler.AppendFormatted(item2);
|
|
rightText = defaultInterpolatedStringHandler.ToStringAndClear();
|
|
}
|
|
if (UiThemeUtils.ThemedAccordion(id, label, (string?)rightText, ref open))
|
|
{
|
|
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(6, 1);
|
|
defaultInterpolatedStringHandler2.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>(2007815205));
|
|
defaultInterpolatedStringHandler2.AppendFormatted(eExpansionVersion);
|
|
using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(defaultInterpolatedStringHandler2.ToStringAndClear(), 4, ImGuiTableFlags.SizingFixedFit);
|
|
if ((bool)tableDisposable)
|
|
{
|
|
num = -122867559;
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
num3 = -122867557;
|
|
num4 = num8;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -122867559;
|
|
break;
|
|
case 2:
|
|
_200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_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>(-219663971), ImGuiTableColumnFlags.WidthFixed, 40f, 0u);
|
|
_200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_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.WidthStretch, 0f, 0u);
|
|
_200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_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>(380812930), ImGuiTableColumnFlags.WidthFixed, 180f, 0u);
|
|
_200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_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>(-1921859384), ImGuiTableColumnFlags.WidthFixed, 140f, 0u);
|
|
if (contentByExpansion.TryGetValue(eExpansionVersion, out value))
|
|
{
|
|
num = -122867558;
|
|
break;
|
|
}
|
|
goto end_IL_01ae;
|
|
case 1:
|
|
foreach (DutyInfo item3 in value)
|
|
{
|
|
DutyEntry value2;
|
|
bool flag = DutyRegistry.Duties.TryGetValue(item3.CfcId, out value2);
|
|
_206E_206C_202A_202C_200E_206A_206D_206F_206B_206C_206C_202E_202B_200F_200D_200F_206A_206C_200C_206E_202A_200D_206D_202A_206D_202D_200D_202D_200B_200F_206B_200E_200D_206A_200C_200D_206A_202E_200D_202D_202E();
|
|
string[] array;
|
|
int currentItem;
|
|
if (flag)
|
|
{
|
|
array = (value2.Enabled ? SupportedCfcOptions : UnsupportedCfcOptions);
|
|
currentItem = 0;
|
|
if (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item3.CfcId))
|
|
{
|
|
currentItem = 1;
|
|
}
|
|
if (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(item3.CfcId))
|
|
{
|
|
currentItem = 2;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
array = new string[2]
|
|
{
|
|
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>(2101114993),
|
|
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>(380812930)
|
|
};
|
|
currentItem = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(item3.CfcId) ? 1 : 0);
|
|
}
|
|
if (_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E())
|
|
{
|
|
_206B_200C_200C_202D_206B_202B_200B_206C_200B_200C_206F_202D_200B_206D_202C_200B_202C_200C_200E_202A_202A_200B_206A_202B_206B_206B_202A_200F_200E_206C_206A_202D_206C_206F_202C_200E_200D_206A_206B_202E_202E();
|
|
if (item3.Level > 0)
|
|
{
|
|
ImU8String imU8String = new ImU8String(2, 1);
|
|
imU8String.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>(-1503539278));
|
|
imU8String.AppendFormatted(item3.Level);
|
|
_202C_206F_202A_206B_202E_202B_202D_206C_200E_202E_200D_206D_200B_200B_206D_206A_200B_202E_200B_200E_200B_202A_202D_200C_206D_206B_202B_200E_200B_202E_200B_206C_206C_206C_202E_206E_202E_202E_202E_206B_202E(ref UiThemeUtils.AccentColor, imU8String);
|
|
}
|
|
}
|
|
if (_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E())
|
|
{
|
|
_206B_200C_200C_202D_206B_202B_200B_206C_200B_200C_206F_202D_200B_206D_202C_200B_202C_200C_200E_202A_202A_200B_206A_202B_206B_206B_202A_200F_200E_206C_206A_202D_206C_206F_202C_200E_200D_206A_206B_202E_202E();
|
|
ImRaii.FontDisposable fontDisposable = _202C_202D_206A_202D_202A_200F_202D_200E_206B_202E_200F_206A_202C_202A_200F_202B_202E_206E_202C_206B_200D_206C_202B_206A_206F_206A_202B_202C_200F_202B_200C_206D_202B_206B_202E_200E_202C_200F_206C_200D_202E(_206E_202D_200E_200F_202C_202B_200E_200E_200F_202E_200E_202A_206D_202A_200B_206B_206C_202C_202A_206C_206D_200B_200B_200D_206F_200E_200F_206A_202A_200D_200C_200C_202A_200B_202B_206B_206E_202E_206B_206D_202E(), true);
|
|
float x;
|
|
try
|
|
{
|
|
x = _206A_206D_202D_206D_206A_200B_206E_206A_200F_200B_200C_200E_206A_206D_206B_206C_206D_206C_200F_202C_202C_200F_206A_200B_202D_202B_206E_200E_206B_202A_202A_202C_206F_206B_206D_206F_200B_200F_202E_206A_202E((ImU8String)_202E_206A_202D_206F_202E_202E_206F_202E_200F_200D_202D_202E_200C_200D_200B_206E_200C_206B_206C_206A_202B_202A_202C_200D_202B_200E_200B_200C_206C_206F_206D_200E_200E_202C_202E_206B_206D_200D_202D_202D_202E(FontAwesomeIcon.InfoCircle), false, -1f).X;
|
|
}
|
|
finally
|
|
{
|
|
num = ((fontDisposable == null) ? (-794763030) : (-794763029));
|
|
while (true)
|
|
{
|
|
int num9 = num;
|
|
num3 = -794763030;
|
|
num4 = num9;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
num = -794763029;
|
|
break;
|
|
case 0:
|
|
goto end_IL_0408;
|
|
case 1:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)fontDisposable);
|
|
num = -794763030;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0408:
|
|
break;
|
|
}
|
|
}
|
|
UiThemeUtils.RowLabel(item3.Name, x + _206A_200E_202B_202A_202C_200B_202C_206A_200B_202A_200F_206C_206D_206A_200B_202C_200E_206E_200D_206D_202B_206E_206C_200B_200F_202B_206C_200D_200B_202A_200E_200F_206A_206D_202E_200B_202D_202B_202D_202C_202E().ItemSpacing.X);
|
|
if (!runInstancedContentWithAutoDuty)
|
|
{
|
|
goto IL_05c3;
|
|
}
|
|
num = -660637057;
|
|
while (true)
|
|
{
|
|
int num10 = num;
|
|
num3 = -660637058;
|
|
num4 = num10;
|
|
int num11 = num4 + num3;
|
|
int num12 = num4 & num3;
|
|
switch (num11 - (num12 + num12))
|
|
{
|
|
case 2:
|
|
num = -660637057;
|
|
break;
|
|
case 1:
|
|
goto IL_04c2;
|
|
case 0:
|
|
goto end_IL_0488;
|
|
}
|
|
continue;
|
|
IL_04c2:
|
|
if (!_autoDutyIpc.HasPath(item3.CfcId))
|
|
{
|
|
num = -660637058;
|
|
continue;
|
|
}
|
|
goto IL_05c3;
|
|
continue;
|
|
end_IL_0488:
|
|
break;
|
|
}
|
|
_200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E();
|
|
fontDisposable = _202C_202D_206A_202D_202A_200F_202D_200E_206B_202E_200F_206A_202C_202A_200F_202B_202E_206E_202C_206B_200D_206C_202B_206A_206F_206A_202B_202C_200F_202B_200C_206D_202B_206B_202E_200E_202C_200F_206C_200D_202E(_206E_202D_200E_200F_202C_202B_200E_200E_200F_202E_200E_202A_206D_202A_200B_206B_206C_202C_202A_206C_206D_200B_200B_200D_206F_200E_200F_206A_202A_200D_200C_200C_202A_200B_202B_206B_206E_202E_206B_206D_202E(), true);
|
|
try
|
|
{
|
|
_202C_206F_202A_206B_202E_202B_202D_206C_200E_202E_200D_206D_200B_200B_206D_206A_200B_202E_200B_200E_200B_202A_202D_200C_206D_206B_202B_200E_200B_202E_200B_206C_206C_206C_202E_206E_202E_202E_202E_206B_202E(ref UiThemeUtils.StatusLocked, (ImU8String)_202E_206A_202D_206F_202E_202E_206F_202E_200F_200D_202D_202E_200C_200D_200B_206E_200C_206B_206C_206A_202B_202A_202C_200D_202B_200E_200B_200C_206C_206F_206D_200E_200E_202C_202E_206B_206D_200D_202D_202D_202E(FontAwesomeIcon.Times));
|
|
}
|
|
finally
|
|
{
|
|
num = ((fontDisposable == null) ? 83435608 : 83435611);
|
|
while (true)
|
|
{
|
|
int num13 = num;
|
|
num3 = 83435609;
|
|
num4 = num13;
|
|
int num14 = num4 + num3;
|
|
int num15 = num4 & num3;
|
|
switch (num14 - (num15 + num15))
|
|
{
|
|
case 0:
|
|
num = 83435611;
|
|
break;
|
|
case 2:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)fontDisposable);
|
|
num = 83435608;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0534;
|
|
}
|
|
continue;
|
|
end_IL_0534:
|
|
break;
|
|
}
|
|
}
|
|
if (_200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E())
|
|
{
|
|
using (_200C_206F_200E_206D_206C_200F_202B_200D_200F_206C_202C_200D_206E_202B_206F_206E_206A_206D_200B_206A_206F_202D_206F_206B_206F_200E_200E_202B_200E_206F_200F_206B_200F_202E_206F_202B_206F_202E_206E_202D_202E())
|
|
{
|
|
_200E_206B_202A_202C_200D_202B_200E_206A_200B_200D_202A_200B_206C_202D_200B_200E_202E_200C_202A_202D_206B_202A_206A_206A_206B_206B_206B_200D_200E_206C_200B_202C_200C_202B_200D_202C_206F_200B_202E_200E_202E(400f);
|
|
_206A_200C_206F_202B_202E_202C_206F_202D_206B_206C_200F_206B_206A_206D_202A_200F_202D_206D_202B_200D_202E_202B_200B_200F_200E_206E_200F_206E_206E_202B_202C_202B_206C_200D_202B_202B_202E_202E_200B_206E_202E((ImU8String)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>(292811051));
|
|
_202D_200F_200F_206F_200F_202C_206E_200C_200C_202C_202A_206B_200D_202B_202B_206E_206B_206F_200C_206D_206A_200F_200B_200D_200E_206A_206B_200D_206C_206D_206E_202D_200C_202A_206A_200C_206B_200C_202D_202A_202E();
|
|
}
|
|
}
|
|
}
|
|
goto IL_0666;
|
|
IL_0666:
|
|
if (_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E())
|
|
{
|
|
num = 1001003675;
|
|
goto IL_05e2;
|
|
}
|
|
goto IL_08f4;
|
|
IL_08f4:
|
|
if (!_206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E())
|
|
{
|
|
continue;
|
|
}
|
|
ImU8String imU8String2 = new ImU8String(13, 1);
|
|
imU8String2.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>(1518573778));
|
|
imU8String2.AppendFormatted(item3.CfcId);
|
|
ImRaii.IdDisposable idDisposable = _200B_206F_206A_202E_202B_202E_206C_200B_200D_206C_206E_206C_200F_206A_206F_200E_200D_200D_202B_200F_202A_202C_200B_206F_202E_200C_200F_200F_202D_200D_200C_202B_202A_206D_200C_202A_206E_206C_206A_206B_202E(imU8String2, true);
|
|
try
|
|
{
|
|
EDutyMode value3;
|
|
bool flag2 = base.Configuration.Duties.DutyModeOverrides.TryGetValue(item3.CfcId, out value3);
|
|
num = (flag2 ? 1328430031 : 1328430017);
|
|
while (true)
|
|
{
|
|
int num16 = num;
|
|
num3 = 1328430027;
|
|
num4 = num16;
|
|
int num18;
|
|
string text2;
|
|
EDutyMode num17;
|
|
string text3;
|
|
string[] dutyModeLabels;
|
|
string[] array2;
|
|
int num20;
|
|
ReadOnlySpan<string> readOnlySpan;
|
|
int num19;
|
|
string[] array3;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
default:
|
|
continue;
|
|
case 4:
|
|
num18 = (int)value3;
|
|
goto IL_09ca;
|
|
case 6:
|
|
text2 = _202D_200F_202A_200B_202A_202C_202D_200D_202E_206B_202D_206D_200E_202B_206A_200F_200B_206D_206E_202D_202E_200E_200B_202E_200B_206F_206D_206A_206F_202D_206A_206A_206C_206B_206D_200B_200F_202D_206F_206A_202E(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1030730934), DutyModeLabels[(int)eDutyMode]);
|
|
break;
|
|
case 9:
|
|
num = 1328430017;
|
|
continue;
|
|
case 10:
|
|
num18 = -1;
|
|
goto IL_09ca;
|
|
case 0:
|
|
Save();
|
|
num = 1328430022;
|
|
continue;
|
|
case 5:
|
|
num = ((currentItem2 != 0) ? 1328430028 : 1328430016);
|
|
continue;
|
|
case 11:
|
|
base.Configuration.Duties.DutyModeOverrides.Remove(item3.CfcId);
|
|
num = 1328430027;
|
|
continue;
|
|
case 2:
|
|
num = (flag2 ? 1328430026 : 1328430023);
|
|
continue;
|
|
case 13:
|
|
num = ((!_200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E()) ? 1328430024 : 1328430025);
|
|
continue;
|
|
case 7:
|
|
{
|
|
Dictionary<uint, EDutyMode> dutyModeOverrides = base.Configuration.Duties.DutyModeOverrides;
|
|
uint cfcId = item3.CfcId;
|
|
int num21 = currentItem2;
|
|
num3 = 1;
|
|
num4 = num21;
|
|
dutyModeOverrides[cfcId] = (EDutyMode)(~(~num4 + num3));
|
|
num = 1328430027;
|
|
continue;
|
|
}
|
|
case 12:
|
|
num17 = base.Configuration.Duties.DefaultDutyMode;
|
|
goto IL_0bc6;
|
|
case 1:
|
|
num17 = value3;
|
|
goto IL_0bc6;
|
|
case 8:
|
|
text2 = _202D_200F_202A_200B_202A_202C_202D_200D_202E_206B_202D_206D_200E_202B_206A_200F_200B_206D_206E_202D_202E_200E_200B_202E_200B_206F_206D_206A_206F_202D_206A_206A_206C_206B_206D_200B_200F_202D_206F_206A_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>(-619455763), DutyModeLabels[(int)eDutyMode]);
|
|
break;
|
|
case 3:
|
|
goto end_IL_0970;
|
|
IL_0bc6:
|
|
eDutyMode = num17;
|
|
num = (flag2 ? 1328430019 : 1328430029);
|
|
continue;
|
|
IL_09ca:
|
|
text3 = 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>(-1673841824);
|
|
dutyModeLabels = DutyModeLabels;
|
|
num19 = 0;
|
|
num3 = dutyModeLabels.Length;
|
|
num4 = 1;
|
|
array2 = new string[(num4 | num3) + (num4 & num3)];
|
|
array2[num19] = text3;
|
|
num20 = num19;
|
|
num3 = 1;
|
|
num4 = num20;
|
|
num19 = (num4 | num3) + (num4 & num3);
|
|
readOnlySpan = new ReadOnlySpan<string>(dutyModeLabels);
|
|
readOnlySpan.CopyTo(new Span<string>(array2).Slice(num19, readOnlySpan.Length));
|
|
num19 += readOnlySpan.Length;
|
|
array3 = array2;
|
|
currentItem2 = num18 + 1;
|
|
_206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(-1f);
|
|
num = ((!UiThemeUtils.ThemedCombo(string.Empty, ref currentItem2, array3, array3.Length)) ? 1328430022 : 1328430030);
|
|
continue;
|
|
}
|
|
_202A_206D_206A_202E_200E_202E_202A_202D_202D_206F_206E_206C_202B_200E_202C_202A_200E_206A_202C_202C_200E_202B_200D_200F_200B_200B_200E_206B_200E_206A_202E_200D_202D_202E_206C_202A_202C_200E_206C_202E_202E((ImU8String)text2);
|
|
num = 1328430024;
|
|
continue;
|
|
end_IL_0970:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((idDisposable == null) ? 318767164 : 318767167);
|
|
while (true)
|
|
{
|
|
int num22 = num;
|
|
num3 = 318767166;
|
|
num4 = num22;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 318767167;
|
|
break;
|
|
case 2:
|
|
goto end_IL_0c38;
|
|
case 1:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)idDisposable);
|
|
num = 318767164;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0c38:
|
|
break;
|
|
}
|
|
}
|
|
continue;
|
|
IL_05e2:
|
|
while (true)
|
|
{
|
|
int num23 = num;
|
|
num3 = 1001003673;
|
|
num4 = num23;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
ConfigComponent.DrawNotes(value2.Enabled, value2.Notes);
|
|
num = 1001003672;
|
|
break;
|
|
case 3:
|
|
goto IL_0635;
|
|
case 4:
|
|
num = 1001003674;
|
|
break;
|
|
case 1:
|
|
goto end_IL_05e2;
|
|
case 2:
|
|
goto IL_067c;
|
|
}
|
|
continue;
|
|
IL_0635:
|
|
num = ((value2.Notes.Length == 0) ? 1001003672 : 1001003673);
|
|
continue;
|
|
end_IL_05e2:
|
|
break;
|
|
}
|
|
goto IL_0666;
|
|
IL_067c:
|
|
ImU8String imU8String3 = new ImU8String(16, 1);
|
|
imU8String3.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>(-2087649454));
|
|
imU8String3.AppendFormatted(item3.CfcId);
|
|
ImRaii.IdDisposable idDisposable2 = _200B_206F_206A_202E_202B_202E_206C_200B_200D_206C_206E_206C_200F_206A_206F_200E_200D_200D_202B_200F_202A_202C_200B_206F_202E_200C_200F_200F_202D_200D_200C_202B_202A_206D_200C_202A_206E_206C_206A_206B_202E(imU8String3, true);
|
|
try
|
|
{
|
|
_206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(-1f);
|
|
num = ((!UiThemeUtils.ThemedCombo(string.Empty, ref currentItem, array, array.Length)) ? (-730773088) : (-730773077));
|
|
while (true)
|
|
{
|
|
int num24 = num;
|
|
num3 = -730773080;
|
|
num4 = num24;
|
|
int num25 = num4 + num3;
|
|
int num26 = num4 & num3;
|
|
switch (num25 - (num26 + num26))
|
|
{
|
|
case 1:
|
|
Save();
|
|
num = -730773088;
|
|
break;
|
|
case 3:
|
|
base.Configuration.Duties.WhitelistedDutyCfcIds.Remove(item3.CfcId);
|
|
base.Configuration.Duties.BlacklistedDutyCfcIds.Remove(item3.CfcId);
|
|
num = ((!flag) ? (-730773076) : (-730773073));
|
|
break;
|
|
case 0:
|
|
num = ((currentItem != 2) ? (-730773079) : (-730773074));
|
|
break;
|
|
case 4:
|
|
num = ((currentItem != 1) ? (-730773079) : (-730773087));
|
|
break;
|
|
case 6:
|
|
base.Configuration.Duties.BlacklistedDutyCfcIds.Add(item3.CfcId);
|
|
num = -730773079;
|
|
break;
|
|
case 5:
|
|
num = -730773077;
|
|
break;
|
|
case 9:
|
|
base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item3.CfcId);
|
|
num = -730773079;
|
|
break;
|
|
case 7:
|
|
num = ((currentItem != 1) ? (-730773080) : (-730773078));
|
|
break;
|
|
case 2:
|
|
base.Configuration.Duties.WhitelistedDutyCfcIds.Add(item3.CfcId);
|
|
num = -730773079;
|
|
break;
|
|
case 8:
|
|
goto end_IL_06e8;
|
|
}
|
|
continue;
|
|
end_IL_06e8:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((idDisposable2 == null) ? (-810065188) : (-810065187));
|
|
while (true)
|
|
{
|
|
int num27 = num;
|
|
num3 = -810065188;
|
|
num4 = num27;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
goto end_IL_08a8;
|
|
case 1:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)idDisposable2);
|
|
num = -810065188;
|
|
break;
|
|
case 2:
|
|
num = -810065187;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_08a8:
|
|
break;
|
|
}
|
|
}
|
|
goto IL_08f4;
|
|
IL_05c3:
|
|
num = ((!flag) ? 1001003672 : 1001003674);
|
|
goto IL_05e2;
|
|
}
|
|
goto end_IL_01ae;
|
|
}
|
|
continue;
|
|
end_IL_01ae:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
num = ((open == expansionHeaderStates.GetValueOrDefault(text, defaultValue: false)) ? 690590899 : 690590897);
|
|
}
|
|
else
|
|
{
|
|
num = 690590896;
|
|
}
|
|
while (true)
|
|
{
|
|
int num28 = num;
|
|
num3 = 690590896;
|
|
num4 = num28;
|
|
int num29 = num4 + num3;
|
|
int num30 = num4 & num3;
|
|
switch (num29 - (num30 + num30))
|
|
{
|
|
case 3:
|
|
goto end_IL_0cd8;
|
|
case 1:
|
|
expansionHeaderStates[text] = open;
|
|
Save();
|
|
num = 690590899;
|
|
break;
|
|
case 2:
|
|
num = 690590897;
|
|
break;
|
|
case 0:
|
|
return;
|
|
}
|
|
continue;
|
|
end_IL_0cd8:
|
|
break;
|
|
}
|
|
int num31 = num7;
|
|
num3 = 1;
|
|
num4 = num31;
|
|
int num32 = num4 ^ num3;
|
|
int num33 = num4 & num3;
|
|
num7 = num32 + (num33 + num33);
|
|
}
|
|
}
|
|
}
|
|
continue;
|
|
IL_0094:
|
|
num = 397429395;
|
|
}
|
|
}
|
|
|
|
private (int enabledCount, int totalCount) GetDutyCountsForExpansion(EExpansionVersion expansion, Dictionary<EExpansionVersion, List<DutyInfo>> contentByExpansion)
|
|
{
|
|
int num = (contentByExpansion.TryGetValue(expansion, out List<DutyInfo> value) ? (-2145746292) : (-2145746291));
|
|
DutyInfo current = default(DutyInfo);
|
|
DutyEntry value2 = default(DutyEntry);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -2145746292;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
goto IL_0052;
|
|
case 1:
|
|
return (enabledCount: 0, totalCount: 0);
|
|
case 0:
|
|
{
|
|
int num5 = 0;
|
|
int num6 = 0;
|
|
using (List<DutyInfo>.Enumerator enumerator = value.GetEnumerator())
|
|
{
|
|
num = -357532631;
|
|
while (true)
|
|
{
|
|
int num7 = num;
|
|
num3 = -357532638;
|
|
num4 = num7;
|
|
int num8 = num4 + num3;
|
|
int num9 = num4 & num3;
|
|
switch (num8 - (num9 + num9))
|
|
{
|
|
case 11:
|
|
num = (enumerator.MoveNext() ? (-357532637) : (-357532640));
|
|
break;
|
|
case 3:
|
|
{
|
|
int num15 = num5;
|
|
num3 = 1;
|
|
num4 = num15;
|
|
int num16 = num4 ^ num3;
|
|
int num17 = num4 & num3;
|
|
num5 = num16 + (num17 + num17);
|
|
num = -357532631;
|
|
break;
|
|
}
|
|
case 1:
|
|
current = enumerator.Current;
|
|
num = ((!DutyRegistry.Duties.TryGetValue(current.CfcId, out value2)) ? (-357532634) : (-357532629));
|
|
break;
|
|
case 7:
|
|
if (value2.Enabled)
|
|
{
|
|
goto case 0;
|
|
}
|
|
goto case 5;
|
|
case 4:
|
|
{
|
|
int num14 = num6;
|
|
num3 = 1;
|
|
num4 = num14;
|
|
num6 = (num4 | num3) + (num4 & num3);
|
|
num = ((!base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(current.CfcId)) ? (-357532631) : (-357532639));
|
|
break;
|
|
}
|
|
case 9:
|
|
{
|
|
int num11 = num6;
|
|
num3 = 1;
|
|
num4 = num11;
|
|
int num12 = num4 ^ num3;
|
|
int num13 = num4 & num3;
|
|
num6 = num12 + (num13 + num13);
|
|
num = (base.Configuration.Duties.WhitelistedDutyCfcIds.Contains(current.CfcId) ? (-357532638) : (-357532636));
|
|
break;
|
|
}
|
|
case 8:
|
|
{
|
|
int num10 = num5;
|
|
num3 = 1;
|
|
num4 = num10;
|
|
num5 = (num4 | num3) + (num4 & num3);
|
|
num = -357532631;
|
|
break;
|
|
}
|
|
case 0:
|
|
num = -357532630;
|
|
break;
|
|
case 5:
|
|
num = -357532631;
|
|
break;
|
|
case 10:
|
|
num = -357532631;
|
|
break;
|
|
case 6:
|
|
num = (base.Configuration.Duties.BlacklistedDutyCfcIds.Contains(current.CfcId) ? (-357532633) : (-357532635));
|
|
break;
|
|
case 2:
|
|
goto end_IL_007d;
|
|
}
|
|
continue;
|
|
end_IL_007d:
|
|
break;
|
|
}
|
|
}
|
|
return (enabledCount: num5, totalCount: num6);
|
|
}
|
|
}
|
|
continue;
|
|
IL_0052:
|
|
num = -2145746291;
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
private void DrawEnableAllButton()
|
|
{
|
|
int num;
|
|
if (UiThemeUtils.IconTextButton(FontAwesomeIcon.CheckCircle, 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>(-252153672)))
|
|
{
|
|
base.Configuration.Duties.BlacklistedDutyCfcIds.Clear();
|
|
base.Configuration.Duties.WhitelistedDutyCfcIds.Clear();
|
|
IEnumerator<List<DutyInfo>> enumerator = _contentFinderConditionNames.Values.Concat<List<DutyInfo>>(_allTrialNames.Values).Concat<List<DutyInfo>>(_allNormalRaidNames.Values).Concat<List<DutyInfo>>(_allAllianceRaidNames.Values)
|
|
.GetEnumerator();
|
|
try
|
|
{
|
|
while (_200E_206E_202C_200E_206F_202D_200B_206B_206C_206A_202D_202B_206E_206D_202B_202B_206F_200E_200D_202E_200E_200E_200E_200B_202C_202B_206B_202A_202C_206B_202E_200D_200F_202C_200D_200C_202A_206F_200E_202B_202E((IEnumerator)enumerator))
|
|
{
|
|
using List<DutyInfo>.Enumerator enumerator2 = enumerator.Current.GetEnumerator();
|
|
num = 659952751;
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 659952750;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = 659952751;
|
|
break;
|
|
case 1:
|
|
num = (enumerator2.MoveNext() ? 659952749 : 659952748);
|
|
break;
|
|
case 3:
|
|
{
|
|
DutyInfo current = enumerator2.Current;
|
|
base.Configuration.Duties.WhitelistedDutyCfcIds.Add(current.CfcId);
|
|
num = 659952751;
|
|
break;
|
|
}
|
|
case 2:
|
|
goto end_IL_00a0;
|
|
}
|
|
continue;
|
|
end_IL_00a0:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((enumerator == null) ? 495906108 : 495906111);
|
|
while (true)
|
|
{
|
|
int num7 = num;
|
|
int num3 = 495906109;
|
|
int num4 = num7;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 495906111;
|
|
break;
|
|
case 2:
|
|
_200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E((IDisposable)enumerator);
|
|
num = 495906108;
|
|
break;
|
|
case 1:
|
|
goto end_IL_016c;
|
|
}
|
|
continue;
|
|
end_IL_016c:
|
|
break;
|
|
}
|
|
}
|
|
Save();
|
|
}
|
|
num = ((!_200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E()) ? (-968009708) : (-968009705));
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
int num3 = -968009706;
|
|
int num4 = num8;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -968009705;
|
|
break;
|
|
case 2:
|
|
return;
|
|
case 1:
|
|
_202A_206D_206A_202E_200E_202E_202A_202D_202D_206F_206E_206C_202B_200E_202C_202A_200E_206A_202C_202C_200E_202B_200D_200F_200B_200B_200E_206B_200E_206A_202E_200D_202D_202E_206C_202A_202C_200E_206C_202E_202E((ImU8String)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>(1505234353));
|
|
num = -968009708;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
static ImRaii.DisabledDisposable _200F_206A_206C_200C_200F_206C_206E_200D_206A_200D_200E_200B_200D_206D_200C_200C_206D_206E_202B_200F_206C_200B_206E_206D_202C_200F_206F_202D_200C_202B_206B_202E_206D_202D_206E_206D_200F_206E_206D_206B_202E(bool P_0)
|
|
{
|
|
return ImRaii.Disabled(P_0);
|
|
}
|
|
|
|
static void _202C_200D_200C_206B_206A_200F_202A_200F_206D_202A_202B_200D_200C_206A_200B_200D_206F_200D_202D_206C_206C_202E_206A_200F_200E_206A_206B_200E_202C_206A_202D_200E_200E_200F_206D_206A_206C_200F_206D_202D_202E()
|
|
{
|
|
ImGui.Spacing();
|
|
}
|
|
|
|
static void _206A_200C_206F_202B_202E_202C_206F_202D_206B_206C_200F_206B_206A_206D_202A_200F_202D_206D_202B_200D_202E_202B_200B_200F_200E_206E_200F_206E_206E_202B_202C_202B_206C_200D_202B_202B_202E_202E_200B_206E_202E(ImU8String P_0)
|
|
{
|
|
ImGui.Text(P_0);
|
|
}
|
|
|
|
static void _200D_200F_200F_206E_206A_200F_202D_200C_202B_200B_200D_206A_206F_206E_202D_200D_202E_200F_200C_206D_206A_202D_200F_206B_202D_206F_202E_206B_206E_202A_200F_202B_202D_202A_202A_200C_206C_200F_200F_200F_202E()
|
|
{
|
|
ImGui.SameLine();
|
|
}
|
|
|
|
static Vector2 _206C_202B_200C_206C_206D_200C_202D_206C_206B_202B_200C_202B_206C_200E_200E_200B_202B_200B_206A_200F_200E_202A_200F_202C_206E_206C_206E_202D_200F_206D_202D_206E_206E_206C_206A_206C_206D_206E_200E_200F_202E()
|
|
{
|
|
return ImGui.GetContentRegionAvail();
|
|
}
|
|
|
|
static float _200B_200C_202D_202D_202D_206A_200F_200F_206B_206B_200E_202C_206F_202A_206F_200B_202C_200B_206B_206E_202C_200F_200C_206E_202B_200C_200B_200B_202A_206D_202A_200B_202C_202B_206C_206B_200D_200C_200F_202E_202E(float P_0, float P_1)
|
|
{
|
|
return MathF.Min(P_0, P_1);
|
|
}
|
|
|
|
static void _206C_200F_206A_200C_200D_206F_200E_200C_202D_200F_206D_202C_202A_202D_206E_206E_200E_206B_200B_202E_206F_200C_200C_206E_200E_206C_202E_206C_202C_202E_200E_206A_200C_202C_206A_202B_200E_202C_206B_202D_202E(float P_0)
|
|
{
|
|
ImGui.SetNextItemWidth(P_0);
|
|
}
|
|
|
|
static ImRaii.IndentDisposable _200C_200F_202D_200C_202E_200B_206E_206E_206F_206F_206F_202D_200E_200D_200E_202A_206D_202C_202C_202C_206F_202C_206A_200C_200C_206B_200C_206A_200D_200F_206F_206A_206F_206D_200D_200C_200D_200F_202E_202C_202E(int P_0, bool P_1)
|
|
{
|
|
return ImRaii.PushIndent(P_0, P_1);
|
|
}
|
|
|
|
static void _200F_200B_202A_206D_206F_200C_202A_202A_202B_200E_202B_206C_200E_200C_206D_206A_202E_200E_202B_200F_202B_200E_206F_202C_206D_202E_200D_206F_200C_200E_202E_200F_200C_200F_200E_202D_200D_206F_202E(IDisposable P_0)
|
|
{
|
|
P_0.Dispose();
|
|
}
|
|
|
|
static float _206E_200D_206C_202C_206F_206D_206F_200E_200B_206A_200F_202B_202A_200B_202C_206C_202B_206A_206A_202B_206C_206E_206E_200D_200D_200D_206C_206F_202B_200D_206E_200C_206E_202C_206D_200E_202C_206D_206A_200F_202E()
|
|
{
|
|
return ImGui.GetCursorPosY();
|
|
}
|
|
|
|
static ImGuiStylePtr _206A_200E_202B_202A_202C_200B_202C_206A_200B_202A_200F_206C_206D_206A_200B_202C_200E_206E_200D_206D_202B_206E_206C_200B_200F_202B_206C_200D_200B_202A_200E_200F_206A_206D_202E_200B_202D_202B_202D_202C_202E()
|
|
{
|
|
return ImGui.GetStyle();
|
|
}
|
|
|
|
static void _202C_206B_202D_202C_206D_202D_206A_200D_200F_200D_202A_200E_206E_200E_200F_206D_206F_200B_202D_206D_206C_206F_200C_200E_206E_202B_200E_202C_200E_202E_206B_200E_206B_200F_200B_202C_200B_206C_206D_206F_202E(float P_0)
|
|
{
|
|
ImGui.SetCursorPosY(P_0);
|
|
}
|
|
|
|
static float _206E_202A_206C_202C_206F_200E_200C_206F_206F_202C_206E_206B_202D_206B_206B_202A_206F_206C_200C_206F_200C_202B_200F_206F_202A_206C_206B_200F_206A_200F_206F_206A_206E_206A_206B_202A_200B_206B_202E_206B_202E(float P_0, float P_1)
|
|
{
|
|
return MathF.Max(P_0, P_1);
|
|
}
|
|
|
|
static ImRaii.ChildDisposable _202C_202B_200E_206C_202B_206A_206A_206D_206C_202C_202B_206D_206A_206B_206E_200F_206A_206B_202C_206A_200D_206D_200F_200B_206D_200D_206F_200C_200B_202B_200B_202B_206C_202E_202A_200D_200F_200C_206B_200F_202E(ImU8String P_0, Vector2 P_1, bool P_2)
|
|
{
|
|
return ImRaii.Child(P_0, P_1, P_2);
|
|
}
|
|
|
|
static string _200B_206E_206D_200F_202A_202C_202C_202D_206E_202A_206D_200C_202B_206A_200B_200B_202B_206A_202E_200C_202C_200B_200E_200B_202B_206B_200C_202A_202D_200E_206D_200B_206C_206C_202A_200B_202E_206B_200F_206D_202E(EExpansionVersion P_0)
|
|
{
|
|
return P_0.ToFriendlyString();
|
|
}
|
|
|
|
static void _200D_206E_200C_202E_206C_206D_202D_206C_202E_206E_206C_200C_206E_206D_206F_200E_206B_202E_206E_202C_206D_200C_200B_200C_200B_206D_200E_200C_202B_206C_202A_202E_202D_206C_206A_200C_202E_206C_206F_206E_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 _206E_206C_202A_202C_200E_206A_206D_206F_206B_206C_206C_202E_202B_200F_200D_200F_206A_206C_200C_206E_202A_200D_206D_202A_206D_202D_200D_202D_200B_200F_206B_200E_200D_206A_200C_200D_206A_202E_200D_202D_202E()
|
|
{
|
|
ImGui.TableNextRow();
|
|
}
|
|
|
|
static bool _206E_202E_206F_202C_202B_206F_206E_206D_200D_200B_202D_206F_206C_206A_200B_200D_200F_200F_202C_200C_202E_202C_206C_206A_202E_200C_200D_202B_206B_202D_202B_206F_206A_206A_202E_202A_206E_200C_200E_206C_202E()
|
|
{
|
|
return ImGui.TableNextColumn();
|
|
}
|
|
|
|
static void _206B_200C_200C_202D_206B_202B_200B_206C_200B_200C_206F_202D_200B_206D_202C_200B_202C_200C_200E_202A_202A_200B_206A_202B_206B_206B_202A_200F_200E_206C_206A_202D_206C_206F_202C_200E_200D_206A_206B_202E_202E()
|
|
{
|
|
ImGui.AlignTextToFramePadding();
|
|
}
|
|
|
|
static void _202C_206F_202A_206B_202E_202B_202D_206C_200E_202E_200D_206D_200B_200B_206D_206A_200B_202E_200B_200E_200B_202A_202D_200C_206D_206B_202B_200E_200B_202E_200B_206C_206C_206C_202E_206E_202E_202E_202E_206B_202E(ref Vector4 P_0, ImU8String P_1)
|
|
{
|
|
ImGui.TextColored(in P_0, P_1);
|
|
}
|
|
|
|
static ImFontPtr _206E_202D_200E_200F_202C_202B_200E_200E_200F_202E_200E_202A_206D_202A_200B_206B_206C_202C_202A_206C_206D_200B_200B_200D_206F_200E_200F_206A_202A_200D_200C_200C_202A_200B_202B_206B_206E_202E_206B_206D_202E()
|
|
{
|
|
return UiBuilder.IconFont;
|
|
}
|
|
|
|
static ImRaii.FontDisposable _202C_202D_206A_202D_202A_200F_202D_200E_206B_202E_200F_206A_202C_202A_200F_202B_202E_206E_202C_206B_200D_206C_202B_206A_206F_206A_202B_202C_200F_202B_200C_206D_202B_206B_202E_200E_202C_200F_206C_200D_202E(ImFontPtr P_0, bool P_1)
|
|
{
|
|
return ImRaii.PushFont(P_0, P_1);
|
|
}
|
|
|
|
static string _202E_206A_202D_206F_202E_202E_206F_202E_200F_200D_202D_202E_200C_200D_200B_206E_200C_206B_206C_206A_202B_202A_202C_200D_202B_200E_200B_200C_206C_206F_206D_200E_200E_202C_202E_206B_206D_200D_202D_202D_202E(FontAwesomeIcon P_0)
|
|
{
|
|
return P_0.ToIconString();
|
|
}
|
|
|
|
static Vector2 _206A_206D_202D_206D_206A_200B_206E_206A_200F_200B_200C_200E_206A_206D_206B_206C_206D_206C_200F_202C_202C_200F_206A_200B_202D_202B_206E_200E_206B_202A_202A_202C_206F_206B_206D_206F_200B_200F_202E_206A_202E(ImU8String P_0, bool P_1, float P_2)
|
|
{
|
|
return ImGui.CalcTextSize(P_0, P_1, P_2);
|
|
}
|
|
|
|
static bool _200C_200C_202C_206A_206A_206C_202D_200F_200B_206D_202A_200E_200C_202A_202C_200F_206E_202E_200C_206F_206E_200C_200E_200F_202B_202A_200F_200F_200D_200C_200C_200C_200F_202D_202C_206C_206F_202C_202C_206F_202E()
|
|
{
|
|
return ImGui.IsItemHovered();
|
|
}
|
|
|
|
static ImRaii.TooltipDisposable _200C_206F_200E_206D_206C_200F_202B_200D_200F_206C_202C_200D_206E_202B_206F_206E_206A_206D_200B_206A_206F_202D_206F_206B_206F_200E_200E_202B_200E_206F_200F_206B_200F_202E_206F_202B_206F_202E_206E_202D_202E()
|
|
{
|
|
return ImRaii.Tooltip();
|
|
}
|
|
|
|
static void _200E_206B_202A_202C_200D_202B_200E_206A_200B_200D_202A_200B_206C_202D_200B_200E_202E_200C_202A_202D_206B_202A_206A_206A_206B_206B_206B_200D_200E_206C_200B_202C_200C_202B_200D_202C_206F_200B_202E_200E_202E(float P_0)
|
|
{
|
|
ImGui.PushTextWrapPos(P_0);
|
|
}
|
|
|
|
static void _202D_200F_200F_206F_200F_202C_206E_200C_200C_202C_202A_206B_200D_202B_202B_206E_206B_206F_200C_206D_206A_200F_200B_200D_200E_206A_206B_200D_206C_206D_206E_202D_200C_202A_206A_200C_206B_200C_202D_202A_202E()
|
|
{
|
|
ImGui.PopTextWrapPos();
|
|
}
|
|
|
|
static ImRaii.IdDisposable _200B_206F_206A_202E_202B_202E_206C_200B_200D_206C_206E_206C_200F_206A_206F_200E_200D_200D_202B_200F_202A_202C_200B_206F_202E_200C_200F_200F_202D_200D_200C_202B_202A_206D_200C_202A_206E_206C_206A_206B_202E(ImU8String P_0, bool P_1)
|
|
{
|
|
return ImRaii.PushId(P_0, P_1);
|
|
}
|
|
|
|
static string _202D_200F_202A_200B_202A_202C_202D_200D_202E_206B_202D_206D_200E_202B_206A_200F_200B_206D_206E_202D_202E_200E_200B_202E_200B_206F_206D_206A_206F_202D_206A_206A_206C_206B_206D_200B_200F_202D_206F_206A_202E(string P_0, string P_1)
|
|
{
|
|
return P_0 + P_1;
|
|
}
|
|
|
|
static void _202A_206D_206A_202E_200E_202E_202A_202D_202D_206F_206E_206C_202B_200E_202C_202A_200E_206A_202C_202C_200E_202B_200D_200F_200B_200B_200E_206B_200E_206A_202E_200D_202D_202E_206C_202A_202C_200E_206C_202E_202E(ImU8String P_0)
|
|
{
|
|
ImGui.SetTooltip(P_0);
|
|
}
|
|
|
|
static bool _200E_206E_202C_200E_206F_202D_200B_206B_206C_206A_202D_202B_206E_206D_202B_202B_206F_200E_200D_202E_200E_200E_200E_200B_202C_202B_206B_202A_202C_206B_202E_200D_200F_202C_200D_200C_202A_206F_200E_202B_202E(IEnumerator P_0)
|
|
{
|
|
return P_0.MoveNext();
|
|
}
|
|
}
|