muffin v7.5.11

This commit is contained in:
alydev 2026-08-17 20:29:32 +10:00
parent addf2d530f
commit 3102923ce2
522 changed files with 41082 additions and 211592 deletions

View file

@ -18,50 +18,19 @@ public sealed class ItemForSale : IEquatable<ItemForSale>
public bool Equals(ItemForSale? other)
{
int num = ((other != null) ? (-673406129) : (-673406143));
while (true)
if (other == null)
{
int num2 = num;
int num3 = -673406136;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 8:
num = ((Price != other.Price) ? (-673406130) : (-673406133));
break;
case 9:
return false;
case 2:
return OwnedItems == other.OwnedItems;
case 0:
num = -673406143;
break;
case 6:
return false;
case 7:
num = ((this != other) ? (-673406135) : (-673406132));
break;
case 3:
num = ((CurrencyItemId != other.CurrencyItemId) ? (-673406130) : (-673406134));
break;
case 4:
return true;
case 5:
num = ((ItemId != other.ItemId) ? (-673406130) : (-673406144));
break;
case 1:
num = ((Position != other.Position) ? (-673406130) : (-673406131));
break;
}
return false;
}
}
bool IEquatable<ItemForSale>.Equals(ItemForSale? other)
{
//ILSpy generated this explicit interface implementation from .override directive in Equals
return this.Equals(other);
if (this == other)
{
return true;
}
if (Position == other.Position && ItemId == other.ItemId && Price == other.Price && CurrencyItemId == other.CurrencyItemId)
{
return OwnedItems == other.OwnedItems;
}
return false;
}
public override bool Equals(object? obj)

View file

@ -10,7 +10,7 @@ public sealed class PurchaseState
public int InitialOwnedItems { get; }
public int ItemsLeftToBuy => _206E_206B_202A_202D_202E_206B_206B_206B_206A_206C_200D_200D_200B_202E_200B_200D_200B_202D_200C_206F_202E_202D_202C_206B_200E_206D_206E_202C_206D_206C_202C_200E_206C_200B_206B_202D_202E_200E_206E_200D_202E(0, DesiredItems - OwnedItems);
public int ItemsLeftToBuy => Math.Max(0, DesiredItems - OwnedItems);
public bool IsComplete => ItemsLeftToBuy == 0;
@ -24,9 +24,4 @@ public sealed class PurchaseState
OwnedItems = ownedItems;
InitialOwnedItems = ownedItems;
}
static int _206E_206B_202A_202D_202E_206B_206B_206B_206A_206C_200D_200D_200B_202E_200B_200D_200B_202D_200C_206F_202E_202D_202C_206B_200E_206D_206E_202C_206D_206C_202C_200E_206C_200B_206B_202D_202E_200E_206E_200D_202E(int P_0, int P_1)
{
return Math.Max(P_0, P_1);
}
}

View file

@ -1,169 +1,5 @@
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
namespace LLib.Shop.Model;
public sealed record ShopSearchResult(uint ShopId, uint NpcId, ushort TerritoryId, Vector3 NpcPosition, EShopType ShopType, uint Price, uint CurrencyItemId, int DialogOptionIndex = 0)
{
[CompilerGenerated]
private Type EqualityContract
{
[CompilerGenerated]
get
{
return _200F_202B_206E_202C_206C_206B_202A_200F_206C_206C_206C_206C_200C_202C_200E_200E_206B_200C_206E_200F_200F_206C_206F_206F_206C_206C_206C_202B_200F_200C_206D_202D_206D_200C_200B_206B_200C_206F_200E_202A_202E(typeof(ShopSearchResult).TypeHandle);
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
[CompilerGenerated]
public override string ToString()
{
StringBuilder stringBuilder = _200D_206C_206E_206C_200F_200F_206F_200D_200F_202C_202A_202B_200C_200F_206A_206B_200E_206E_206F_200E_206F_202E_202C_202A_200F_206D_200F_200C_202A_202E_206E_202E_200D_200D_206D_202C_200F_202D_206A_202E_202E();
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(stringBuilder, global::_003CModule_003E._206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<string>(-172046224));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(stringBuilder, global::_003CModule_003E._202E_202C_206D_206B_202B_202D_206D_202E_206F_202E_202A_206A_206A_202B_206A_202D_202C_206C_206B_202C_206E_202B_200E_206E_206A_206C_200D_200D_200F_200B_202C_200B_200E_206F_202C_200F_202D_202A_206E_202B_202E<string>(1148273145));
int num = ((!PrintMembers(stringBuilder)) ? 861671392 : 861671393);
while (true)
{
int num2 = num;
int num3 = 861671392;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 0:
_202C_202B_206F_206B_206B_202A_200D_202D_206A_200B_200E_202E_206A_202A_200C_200F_202D_206F_202C_206B_206A_202A_206E_206C_206D_202C_202C_202B_206B_206F_202C_202C_206A_200C_200F_206D_200B_202A_202A_200D_202E(stringBuilder, '}');
return _202A_200C_202E_202E_206D_206B_200D_206F_200C_206E_202D_200D_202A_206D_200E_202C_202A_200F_206E_202B_200E_202C_206A_202B_206B_206B_206D_206B_206D_206F_200E_200D_202C_202E_202C_200B_206C_200D_206D_206F_202E((object)stringBuilder);
case 1:
_202C_202B_206F_206B_206B_202A_200D_202D_206A_200B_200E_202E_206A_202A_200C_200F_202D_206F_202C_206B_206A_202A_206E_206C_206D_202C_202C_202B_206B_206F_202C_202C_206A_200C_200F_206D_200B_202A_202A_200D_202E(stringBuilder, ' ');
num = 861671392;
break;
case 2:
num = 861671393;
break;
}
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
[CompilerGenerated]
private bool PrintMembers(StringBuilder builder)
{
_200F_206A_206D_202B_206C_206F_200C_202E_200D_206D_202E_206B_206F_200B_200B_200D_206B_206E_200E_202A_202E_202E_200B_206A_202C_206D_202C_206A_200F_200C_202A_206A_202C_202C_206D_206B_206A_200B_202B_200C_202E();
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<string>(1462184987));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, ShopId.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._206A_202C_200C_206F_202A_200C_200F_206F_202B_202B_200D_206F_206D_200E_206A_206B_202A_200F_200B_206C_202B_202A_202B_206C_200F_206C_202C_202C_200C_206C_206F_200C_200B_202D_200E_202A_202A_206B_206B_200F_202E<string>(402538369));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, NpcId.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<string>(1525167587));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, TerritoryId.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._202E_202C_206D_206B_202B_202D_206D_202E_206F_202E_202A_206A_206A_202B_206A_202D_202C_206C_206B_202C_206E_202B_200E_206E_206A_206C_200D_200D_200F_200B_202C_200B_200E_206F_202C_200F_202D_202A_206E_202B_202E<string>(77058786));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, NpcPosition.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._200E_206F_206C_206C_200E_202A_206D_206B_200B_202D_202B_200F_200F_206B_206C_206F_202D_206F_206A_202D_206A_200B_200B_202B_202D_202C_200F_200D_202E_200E_200D_202A_202B_206F_202E_200E_200B_206B_200E_202E_202E<string>(47056198));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, ShopType.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<string>(180433324));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, Price.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._202E_202C_206D_206B_202B_202D_206D_202E_206F_202E_202A_206A_206A_202B_206A_202D_202C_206C_206B_202C_206E_202B_200E_206E_206A_206C_200D_200D_200F_200B_202C_200B_200E_206F_202C_200F_202D_202A_206E_202B_202E<string>(2138166188));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, CurrencyItemId.ToString());
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, global::_003CModule_003E._206A_206D_202C_206E_206D_206E_202A_200F_200D_206A_200F_206C_202C_202D_206D_206A_200D_200F_206A_206C_202C_206D_206E_200F_200F_200C_206B_200B_206B_206E_202B_206B_200E_200E_200B_206F_200F_202E_200C_200C_202E<string>(-846071550));
_200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(builder, DialogOptionIndex.ToString());
return true;
}
[CompilerGenerated]
public bool Equals(ShopSearchResult? other)
{
int num = (((object)this == other) ? (-1154151868) : (-1154151871));
while (true)
{
int num2 = num;
int num3 = -1154151865;
int num4 = num2;
int num5 = num4 + num3;
int num6 = num4 & num3;
switch (num5 - (num6 + num6))
{
case 0:
num = -1154151871;
break;
case 7:
num = ((!EqualityComparer<ushort>.Default.Equals(TerritoryId, other.TerritoryId)) ? (-1154151867) : (-1154151866));
break;
case 6:
num = (((object)other == null) ? (-1154151867) : (-1154151860));
break;
case 9:
num = ((!EqualityComparer<uint>.Default.Equals(CurrencyItemId, other.CurrencyItemId)) ? (-1154151867) : (-1154151869));
break;
case 10:
num = ((!EqualityComparer<uint>.Default.Equals(Price, other.Price)) ? (-1154151867) : (-1154151858));
break;
case 12:
num = ((!EqualityComparer<uint>.Default.Equals(NpcId, other.NpcId)) ? (-1154151867) : (-1154151872));
break;
case 8:
num = ((!EqualityComparer<EShopType>.Default.Equals(ShopType, other.ShopType)) ? (-1154151867) : (-1154151859));
break;
case 3:
return true;
case 11:
num = ((!_200D_206D_202D_200B_200E_200B_202C_206C_200E_200F_206E_202B_202C_202D_206F_206E_206D_202D_202D_202A_202A_206A_206B_202C_206B_206B_200D_202D_202D_202D_202D_200D_200C_200D_206C_200B_206D_206B_206F_202B_202E(EqualityContract, other.EqualityContract)) ? (-1154151867) : (-1154151870));
break;
case 1:
num = ((!EqualityComparer<Vector3>.Default.Equals(NpcPosition, other.NpcPosition)) ? (-1154151867) : (-1154151857));
break;
case 5:
num = ((!EqualityComparer<uint>.Default.Equals(ShopId, other.ShopId)) ? (-1154151867) : (-1154151861));
break;
case 2:
return false;
case 4:
return EqualityComparer<int>.Default.Equals(DialogOptionIndex, other.DialogOptionIndex);
}
}
}
bool IEquatable<ShopSearchResult>.Equals(ShopSearchResult? other)
{
//ILSpy generated this explicit interface implementation from .override directive in Equals
return this.Equals(other);
}
static Type _200F_202B_206E_202C_206C_206B_202A_200F_206C_206C_206C_206C_200C_202C_200E_200E_206B_200C_206E_200F_200F_206C_206F_206F_206C_206C_206C_202B_200F_200C_206D_202D_206D_200C_200B_206B_200C_206F_200E_202A_202E(RuntimeTypeHandle P_0)
{
return Type.GetTypeFromHandle(P_0);
}
static StringBuilder _200D_206C_206E_206C_200F_200F_206F_200D_200F_202C_202A_202B_200C_200F_206A_206B_200E_206E_206F_200E_206F_202E_202C_202A_200F_206D_200F_200C_202A_202E_206E_202E_200D_200D_206D_202C_200F_202D_206A_202E_202E()
{
return new StringBuilder();
}
static StringBuilder _200C_206F_200F_202B_206B_202E_206B_206D_206B_206E_202E_200D_206E_202E_206E_200C_206D_202D_202A_202E_202A_202D_206A_206C_202B_202B_200D_202B_202D_206A_200B_202A_206C_206C_206F_206C_202A_206B_206A_202B_202E(StringBuilder P_0, string P_1)
{
return P_0.Append(P_1);
}
static StringBuilder _202C_202B_206F_206B_206B_202A_200D_202D_206A_200B_200E_202E_206A_202A_200C_200F_202D_206F_202C_206B_206A_202A_206E_206C_206D_202C_202C_202B_206B_206F_202C_202C_206A_200C_200F_206D_200B_202A_202A_200D_202E(StringBuilder P_0, char P_1)
{
return P_0.Append(P_1);
}
static string _202A_200C_202E_202E_206D_206B_200D_206F_200C_206E_202D_200D_202A_206D_200E_202C_202A_200F_206E_202B_200E_202C_206A_202B_206B_206B_206D_206B_206D_206F_200E_200D_202C_202E_202C_200B_206C_200D_206D_206F_202E(object P_0)
{
return P_0.ToString();
}
static void _200F_206A_206D_202B_206C_206F_200C_202E_200D_206D_202E_206B_206F_200B_200B_200D_206B_206E_200E_202A_202E_202E_200B_206A_202C_206D_202C_206A_200F_200C_202A_206A_202C_202C_206D_206B_206A_200B_202B_200C_202E()
{
RuntimeHelpers.EnsureSufficientExecutionStack();
}
static bool _200D_206D_202D_200B_200E_200B_202C_206C_200E_200F_206E_202B_202C_202D_206F_206E_206D_202D_202D_202A_202A_206A_206B_202C_206B_206B_200D_202D_202D_202D_202D_200D_200C_200D_206C_200B_206D_206B_206F_202B_202E(Type P_0, Type P_1)
{
return P_0 == P_1;
}
}
public sealed record ShopSearchResult(uint ShopId, uint NpcId, ushort TerritoryId, Vector3 NpcPosition, EShopType ShopType, uint Price, uint CurrencyItemId, int DialogOptionIndex = 0);