170 lines
7.9 KiB
C#
170 lines
7.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using LLib.GameData;
|
|
|
|
namespace Questionable.Model;
|
|
|
|
public sealed record OrchestrionRollReward : ItemReward
|
|
{
|
|
[CompilerGenerated]
|
|
protected override Type EqualityContract
|
|
{
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return _202C_206E_202D_206E_206A_206B_200B_206B_202D_202B_206E_200D_200B_200F_200E_206F_202E_202D_200B_202A_200B_202E_200D_206E_200E_200D_202D_200E_200C_202D_206E_202E_206C_202B_200E_202E_206C_202A_200F_202B_202E(typeof(OrchestrionRollReward).TypeHandle);
|
|
}
|
|
}
|
|
|
|
public uint OrchestrionRollId { get; init; }
|
|
|
|
public override EItemRewardType Type => EItemRewardType.OrchestrionRoll;
|
|
|
|
public OrchestrionRollReward(ItemRewardDetails Item, uint OrchestrionRollId)
|
|
{
|
|
this.OrchestrionRollId = OrchestrionRollId;
|
|
base._002Ector(Item);
|
|
}
|
|
|
|
public override bool IsUnlocked()
|
|
{
|
|
return _200D_202D_206B_206A_206E_200F_206C_200C_202D_202C_200F_206F_206B_200C_200F_206E_200C_202C_202D_206D_202B_200C_200B_206C_206D_202E_206F_200D_200F_200B_206D_202C_206B_206E_200D_202E_202E_200C_202E_200E_202E(OrchestrionRollId);
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _202E_206F_206B_200E_202D_200E_202D_202C_206A_200E_200E_200C_202E_206E_202E_200E_202D_202D_202E_206A_200B_206E_202E_206A_206D_206B_206A_202D_200D_202A_200F_202E_202C_206F_206A_200E_206A_206C_202D_202B_202E();
|
|
_202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_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>(117582114));
|
|
_202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_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)) ? (-970373537) : (-970373540));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -970373539;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
_200D_202D_206C_206B_206E_202B_206A_200E_200D_202C_200F_200F_200F_200F_206B_200D_200D_206A_202D_206D_206D_202B_200B_202E_206D_206C_200C_202C_206D_206E_200D_200F_206B_202B_206C_206A_202B_206E_206C_202B_202E(stringBuilder, '}');
|
|
return _206A_206B_206A_200B_206A_202C_206B_200B_206B_206A_206A_206F_202B_200D_200C_206D_200D_206A_200B_200F_202A_200F_206A_206F_206E_206A_200B_206F_202B_200C_202C_202C_202C_206F_200E_202A_200E_200F_200F_202A_202E((object)stringBuilder);
|
|
case 1:
|
|
_200D_202D_206C_206B_206E_202B_206A_200E_200D_202C_200F_200F_200F_200F_206B_200D_200D_206A_202D_206D_206D_202B_200B_202E_206D_206C_200C_202C_206D_206E_200D_200F_206B_202B_206C_206A_202B_206E_206C_202B_202E(stringBuilder, ' ');
|
|
num = -970373537;
|
|
break;
|
|
case 0:
|
|
num = -970373540;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
protected override bool PrintMembers(StringBuilder builder)
|
|
{
|
|
int num = ((!base.PrintMembers(builder)) ? 1843073855 : 1843073852);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1843073853;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
_202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_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>(463107182));
|
|
_202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(builder, OrchestrionRollId.ToString());
|
|
return true;
|
|
case 1:
|
|
_202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_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>(-1095822044));
|
|
num = 1843073855;
|
|
break;
|
|
case 0:
|
|
num = 1843073852;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(OrchestrionRollReward? other)
|
|
{
|
|
int num = (((object)this == other) ? 1522339869 : 1522339870);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1522339868;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 1522339870;
|
|
break;
|
|
case 1:
|
|
return true;
|
|
case 2:
|
|
num = ((!base.Equals(other)) ? 1522339871 : 1522339864);
|
|
break;
|
|
case 3:
|
|
return false;
|
|
case 4:
|
|
return EqualityComparer<uint>.Default.Equals(OrchestrionRollId, other.OrchestrionRollId);
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<OrchestrionRollReward>.Equals(OrchestrionRollReward? other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public void Deconstruct(out ItemRewardDetails Item, out uint OrchestrionRollId)
|
|
{
|
|
Item = base.Item;
|
|
OrchestrionRollId = this.OrchestrionRollId;
|
|
}
|
|
|
|
static Type _202C_206E_202D_206E_206A_206B_200B_206B_202D_202B_206E_200D_200B_200F_200E_206F_202E_202D_200B_202A_200B_202E_200D_206E_200E_200D_202D_200E_200C_202D_206E_202E_206C_202B_200E_202E_206C_202A_200F_202B_202E(RuntimeTypeHandle P_0)
|
|
{
|
|
return System.Type.GetTypeFromHandle(P_0);
|
|
}
|
|
|
|
static bool _200D_202D_206B_206A_206E_200F_206C_200C_202D_202C_200F_206F_206B_200C_200F_206E_200C_202C_202D_206D_202B_200C_200B_206C_206D_202E_206F_200D_200F_200B_206D_202C_206B_206E_200D_202E_202E_200C_202E_200E_202E(uint P_0)
|
|
{
|
|
return PlayerStateHelper.IsOrchestrionRollUnlocked(P_0);
|
|
}
|
|
|
|
static StringBuilder _202E_206F_206B_200E_202D_200E_202D_202C_206A_200E_200E_200C_202E_206E_202E_200E_202D_202D_202E_206A_200B_206E_202E_206A_206D_206B_206A_202D_200D_202A_200F_202E_202C_206F_206A_200E_206A_206C_202D_202B_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _202B_200B_206E_206B_206C_202D_202A_202C_206F_206E_206F_206C_206A_206D_202E_206C_206B_202B_202A_200C_206A_206C_206F_206E_200B_202E_206E_206A_206B_202D_206C_206E_202E_200D_200D_206E_206F_206A_200E_202E_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _200D_202D_206C_206B_206E_202B_206A_200E_200D_202C_200F_200F_200F_200F_206B_200D_200D_206A_202D_206D_206D_202B_200B_202E_206D_206C_200C_202C_206D_206E_200D_200F_206B_202B_206C_206A_202B_206E_206C_202B_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _206A_206B_206A_200B_206A_202C_206B_200B_206B_206A_206A_206F_202B_200D_200C_206D_200D_206A_200B_200F_202A_200F_206A_206F_206E_206A_200B_206F_202B_200C_202C_202C_202C_206F_200E_202A_200E_200F_200F_202A_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static bool _206A_202D_206C_200D_206F_206B_202C_206F_202B_200B_202B_202C_202B_202A_206A_202B_200D_206C_200F_206A_206D_200F_200F_202A_206D_202A_202E_200E_200B_202E_202D_200B_202C_206B_206A_200F_200F_206D_206C_200C_202E(object P_0, object P_1)
|
|
{
|
|
return P_0.Equals(P_1);
|
|
}
|
|
}
|