cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub
This commit is contained in:
@@ -18,22 +18,10 @@ public class PrereleasePurchaseInfo
|
||||
|
||||
public int TicketRupyCountLimit { get; private set; }
|
||||
|
||||
public int TicketRupyCountRemain
|
||||
{
|
||||
get
|
||||
{
|
||||
int a = LimitCount - CurrentCount;
|
||||
int b = TicketRupyCountLimit - TicketRupyCountCurrent;
|
||||
return Mathf.Min(a, b);
|
||||
}
|
||||
}
|
||||
|
||||
public RemainTime RemainTime { get; private set; }
|
||||
|
||||
public List<PurchaseRewardInfo> RewardsList { get; private set; }
|
||||
|
||||
public bool IsCountLimitedPrerelease => LimitCount != 0;
|
||||
|
||||
public PrereleasePurchaseInfo(JsonData json, double serverTime)
|
||||
{
|
||||
CurrentCount = json["purchase_count"].ToInt();
|
||||
@@ -66,9 +54,4 @@ public class PrereleasePurchaseInfo
|
||||
RewardsList.Add(purchaseRewardInfo);
|
||||
}
|
||||
}
|
||||
|
||||
public int GetAbleBuyPackNum()
|
||||
{
|
||||
return LimitCount - CurrentCount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user