cull(engine-cleanup): pass-8 phase-2 cascade round 2 after GachaUI stub

This commit is contained in:
gamer147
2026-07-03 22:26:45 -04:00
parent e3b8b8dc0c
commit 78971adc46
26 changed files with 2 additions and 370 deletions

View File

@@ -18,20 +18,6 @@ public class PackConfig
public int OverrideUIEffectPackId { get; set; }
public int TsExchangePosterId { get; set; }
public bool IsSpecialLayout
{
get
{
if (!IsSpecialCardPack && !IsLegendCardPack && Category != PackCategory.FreePackLeaderSkin && Category != PackCategory.RotationStarterCardPack)
{
return Category == PackCategory.LegendAndLeaderSkinSinglePack;
}
return true;
}
}
public bool IsSpecialCardPack
{
get
@@ -45,28 +31,4 @@ public class PackConfig
}
public bool IsLegendCardPack => Category == PackCategory.LegendCardPack;
public bool IsPrerelease { get; set; }
public List<PurchaseRewardInfo> SpecialPackRewardsList { get; private set; }
public int GetGachaIdForUIResource()
{
if (!IsSpecialCardPack)
{
return PackId;
}
return OverrideUIEffectPackId;
}
public int GetTicketId()
{
int result = PackId;
PackChildGachaInfo packChildGachaInfo = ChildGachaInfoList.Find((PackChildGachaInfo x) => x.PackType == GachaUI.CardPackType.TICKET_MULTI);
if (packChildGachaInfo != null)
{
result = (int)packChildGachaInfo.UserGoodsId;
}
return result;
}
}