35 lines
708 B
C#
35 lines
708 B
C#
using System.Collections.Generic;
|
|
using Cute;
|
|
using LitJson;
|
|
|
|
namespace Wizard;
|
|
|
|
public class PackConfig
|
|
{
|
|
public List<PackChildGachaInfo> ChildGachaInfoList { get; } = new List<PackChildGachaInfo>();
|
|
|
|
public int PackId { get; set; }
|
|
|
|
public int SleeveId { get; set; }
|
|
|
|
public int SpecialSleeveId { get; set; }
|
|
|
|
public PackCategory Category { get; set; }
|
|
|
|
public int OverrideUIEffectPackId { get; set; }
|
|
|
|
public bool IsSpecialCardPack
|
|
{
|
|
get
|
|
{
|
|
if (Category != PackCategory.SpecialCardPack)
|
|
{
|
|
return Category == PackCategory.LimitedSpecialCardPack;
|
|
}
|
|
return true;
|
|
}
|
|
}
|
|
|
|
public bool IsLegendCardPack => Category == PackCategory.LegendCardPack;
|
|
}
|