Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
83 lines
1.6 KiB
C#
83 lines
1.6 KiB
C#
namespace Wizard;
|
|
|
|
public class PackChildGachaInfo
|
|
{
|
|
private const int CAMPAIGN_EVERYDAY_10_FREE_PACKS_ID = 15;
|
|
|
|
private const int CAMPAIGN_LEGEND_AND_SKIN_ID = 16;
|
|
|
|
private const int CAMPAIGN_8TH_10_FREE_PACKS_ID = 24;
|
|
|
|
private const int CAMPAIGN_8TH_LEGEND_AND_SKIN_ID = 25;
|
|
|
|
private const int CAMPAIGN_2024_WINTER_FREE_PACKS_ID = 50;
|
|
|
|
public int GachaId { get; set; }
|
|
|
|
public GachaUI.CardPackType PackType { get; set; }
|
|
|
|
public int Cost { get; set; }
|
|
|
|
public long UserGoodsId { get; set; }
|
|
|
|
public int CostGoodsCount => PlayerStaticData.GetItemNum((int)UserGoodsId);
|
|
|
|
public bool IsDailySingle { get; set; }
|
|
|
|
public int AvailableCount { get; set; }
|
|
|
|
public int PackCountBuyPer { get; set; }
|
|
|
|
public string CampaignName { get; set; }
|
|
|
|
public int OverrideIncreaseGachaPoint { get; set; }
|
|
|
|
public int? FreeGachaCampaignId { get; set; }
|
|
|
|
public bool IsShowAnniversaryIcon
|
|
{
|
|
get
|
|
{
|
|
if (FreeGachaCampaignId != 15 && FreeGachaCampaignId != 16 && FreeGachaCampaignId != 24)
|
|
{
|
|
return FreeGachaCampaignId == 25;
|
|
}
|
|
return true;
|
|
}
|
|
}
|
|
|
|
public string AnniversaryIconSpriteName
|
|
{
|
|
get
|
|
{
|
|
switch (FreeGachaCampaignId)
|
|
{
|
|
case 15:
|
|
case 16:
|
|
return "icon_7th";
|
|
case 24:
|
|
case 25:
|
|
return "icon_8th";
|
|
default:
|
|
return string.Empty;
|
|
}
|
|
}
|
|
}
|
|
|
|
public bool IsShowPinkRibbon
|
|
{
|
|
get
|
|
{
|
|
if (FreeGachaCampaignId != 16)
|
|
{
|
|
return FreeGachaCampaignId == 25;
|
|
}
|
|
return true;
|
|
}
|
|
}
|
|
|
|
public bool IsShowWinterUI => FreeGachaCampaignId == 50;
|
|
|
|
public bool IsFreePack => PackType == GachaUI.CardPackType.FREE_PACKS;
|
|
}
|