36 lines
997 B
C#
36 lines
997 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
|
{
|
|
/// <summary>
|
|
/// 鱼雷道具配置(GameConfig.torpedoConfigs,本轮新增)
|
|
/// </summary>
|
|
[Serializable]
|
|
public class TorpedoItemConfig
|
|
{
|
|
/// <summary>鱼雷编号</summary>
|
|
public string number;
|
|
/// <summary>鱼雷名称</summary>
|
|
public string name;
|
|
/// <summary>鱼雷颜色</summary>
|
|
public string color;
|
|
/// <summary>奖励范围列表(按权重随机取金币区间)</summary>
|
|
public List<TorpedoRewardConfig> rewardRanges;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 鱼雷奖励范围配置
|
|
/// </summary>
|
|
[Serializable]
|
|
public class TorpedoRewardConfig
|
|
{
|
|
/// <summary>最小金币</summary>
|
|
public int minGold;
|
|
/// <summary>最大金币</summary>
|
|
public int maxGold;
|
|
/// <summary>权重</summary>
|
|
public int weight;
|
|
}
|
|
}
|