cull(engine-cleanup): pass-8 phase-2 cascade round 2 after GachaUI stub
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user