1
This commit is contained in:
+17
-2
@@ -27,10 +27,25 @@ namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
[Serializable]
|
||||
public class LotteryPrize
|
||||
{
|
||||
public string type;
|
||||
public long count;
|
||||
/// <summary>奖项唯一标识ID(如"A001"、"B002",用于唯一性控制:同一用户不能重复抽中)</summary>
|
||||
public string prizeId;
|
||||
/// <summary>奖项名称(用于前端展示)</summary>
|
||||
public string name;
|
||||
/// <summary>奖项图标地址</summary>
|
||||
public string icon;
|
||||
/// <summary>奖励类型 1=金币,2=钻石,3=道具,4=道具碎片</summary>
|
||||
public int type;
|
||||
/// <summary>奖励数量</summary>
|
||||
public long count;
|
||||
/// <summary>道具/碎片编号(type=3或4时使用)</summary>
|
||||
public string otherId;
|
||||
/// <summary>道具详情</summary>
|
||||
public BaseProduct product;
|
||||
/// <summary>在该等级内的抽中奖权重</summary>
|
||||
public int weight;
|
||||
/// <summary>该奖项总库存数量(全局,0=无限库存)</summary>
|
||||
public int totalCount;
|
||||
/// <summary>已抽中数量(运行时统计,用于判断库存是否充足)</summary>
|
||||
public int drawnCount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user