using System; namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass { /// /// 礼包配置 /// [Serializable] public class GiftConfig { /// /// 类型 1 金币 2 钻石 3 道具 /// public int type; /// /// 是否随机 /// public bool isRandom; /// /// 数量 /// public int count; /// /// 随机最小数量 /// public int minCount; /// /// 随机最大数量 /// public int maxCount; /// /// 道具信息(可能为空,此时用 otherId 查道具表) /// public BaseProduct product; /// /// 关联道具ID(当 product 为空时,用此ID在 propConfig 中查找道具详情) /// public string otherId; } }