using Assets.MyGame.Scripts.Net.APIResponses.Enum;
using System.Collections.Generic;
namespace Model.Entity.BaseModel
{
///
/// 鱼种配置表模型类
///
public class FishTypeConfig
{
///
/// 鱼种编号
///
public string FishNumber { get; set; } = string.Empty;
///
/// 鱼名字
///
public string FishName { get; set; } = string.Empty;
///
/// 鱼类型
///
public FishTypeEnum FishType { get; set; }
///
/// 基础分数
///
public int FishScore { get; set; } = 0;
///
/// 击杀权重
///
public int KillWeight { get; set; } = 0;
///
/// 路径编号集合
///
public List PathList { get; set; } = new List();
}
///
/// 房间配置
///
public class RoomConfig
{
///
/// 房间编号
///
public string RoomNumber { get; set; }=string.Empty;
///
/// 房间名称
///
public string RoomName { get; set; } = string.Empty;
///
/// 游戏类型
///
public GameTypeEnum GameType { get; set; }
///
/// 房间等级
///
public int RoomLevel { get; set; } = 0;
///
/// 房间分区数量
///
public int RoomPartitionNum { get; set; } = 0;
///
/// 房间数量
///
public int RoomCount{ get; set; } = 0;
///
/// 进房金币限制
///
public int RoomGoldLimit { get; set; } = 0;
///
/// 炮倍列表
///
public List CannonMultipleList { get; set; } = new List();
}
///
/// 出鱼配置
///
public class RoomFishConfig
{
///
/// 游戏类型
///
public GameTypeEnum GameType { get; set; }
///
/// 普通鱼配置列表
///
public List NormalFishList { get; set; } = new List();
///
/// 按照房间等级出鱼配置
///
public List RoomFishLevelList { get; set; } = new List();
}
///
/// 按照房间等级出鱼配置
///
public class RoomFishLevelConfig : RoomFishDetailConfig
{
public int RoomLevel { get; set; } = 0;
}
///
/// 出鱼配置
///
public class RoomFishDetailConfig
{
///
/// 类型 1 鱼 2 鱼阵
///
public int Type { get; set; } = 0;
///
/// 鱼种编号或鱼阵编号
///
public string FishNumber { get; set; } = string.Empty;
///
/// 出鱼权重
///
public int FishWeight { get; set; } = 0;
///
/// 出鱼频率 秒
///
public int FishFrequency { get; set; } = 0;
///
/// 场内最大数量
///
public int MaxCount { get; set; } = 0;
}
///
/// 鱼阵配置
///
public class FishArrayConfig
{
///
/// 鱼阵编号
///
public string FishArrayNumber { get; set; } = string.Empty;
///
/// 名字
///
public string Name { get; set; } = string.Empty;
///
/// Boss鱼编号
///
public string BossFishNumber { get; set; } = string.Empty;
///
/// Boss数量
///
public int BoosCount { get; set; } = 0;
///
/// 普通鱼
///
public string FishNumber { get; set; } = string.Empty;
///
/// 普通鱼数量
///
public int FishCount { get; set; } = 0;
///
/// 阵型编号
///
public string ArrayNumber { get; set; } = string.Empty;
///
/// 路径集合
///
public List PathList { get; set; } = new List();
///
/// 阈值
///
public List ThresholdList { get; set; } = new List();
}
///
/// 用户等级配置
///
public class UserLevelConfig
{
///
/// 等级
///
public int Level { get; set; } = 0;
///
/// 经验值下限
///
public int ExpMin { get; set; } = 0;
///
/// 经验值上限
///
public int ExpMax { get; set; } = 0;
///
/// 金币
///
public int Gold { get; set; } = 0;
///
/// 钻石
///
public int Diamond { get; set; } = 0;
///
/// 道具列表
///
public List ProductList { get; set; } = new List();
}
///
/// 道具信息
///
public class PropInfConfig: BasePropInfo
{
///
/// 关联游戏 空为未设置 关联所有
///
public List GameNumber { get; set; } = new List();
///
/// 有效期 单位天 0为不限制天数
///
public int Day { get; set; } = 0;
}
///
/// 道具碎片信息
///
public class PropFragmentConfig : BasePropInfo
{
///
/// 碎片合成数量
///
public int FragmentCount { get; set; } = 0;
///
/// 碎片合成后道具编号
///
public string ProductNumber { get; set; } = string.Empty;
}
///
/// 道具基础信息
///
public class BasePropInfo:BaseProduct
{
///
/// 售卖方式
///
public SaleTypeEnum SaleType { get; set; } = SaleTypeEnum.金币;
///
/// 售卖价格
///
public int Price { get; set; } = 0;
///
/// 售卖数量
///
public int SaleCount { get; set; } = 1;
///
/// 会员价格
///
public int VIPPrice { get; set; } = 0;
///
/// 经销商价格
///
public int DealerPrice { get; set; } = 0;
///
/// 是否启用
///
public bool IsEnable { get; set; } = true;
///
/// 是否销售
///
public bool IsSale { get; set; } = true;
}
///
/// Vip等级配置
///
public class VipLevelConfig
{
///
/// Vip等级
///
public int Level { get; set; } = 0;
///
/// 经验值上限
///
public int ExpMax { get; set; } = 0;
///
/// 经验值下线
///
public int ExpMin { get; set; } = 0;
///
/// 签到加成
///
public double SignInAdd { get; set; } = 0;
///
/// Vip等级礼包列表
///
public List GiftList { get; set; } = new List();
///
/// 每日礼包
///
public List DailyGift { get; set; } = new List();
}
///
///礼包配置
///
public class GiftConfig
{
///
/// 类型 1 金币 2 钻石 3 道具
///
public int Type { get; set; } = 0;
///
/// 是否随机值
///
public bool IsRandom { get; set; } = false;
///
/// 奖励数量
///
public int Count { get; set; } = 0;
///
/// 道具数量随机最小值
///
public int MinCount { get; set; } = 0;
///
/// 道具数量随机最大值
///
public int MaxCount { get; set; } = 0;
///
/// 道具信息
///
public BaseProduct Product { get; set; }
}
///
/// 签到奖励配置
///
public class SignConfig
{
///
/// 排序
///
public int Order { get; set; } = 0;
///
/// 金币
///
public int Gold { get; set; } = 0;
///
/// 名称
///
public string Name { get; set; } = string.Empty;
///
/// 图标地址
///
public string Icon { get; set; } = string.Empty;
///
/// 概率
///
public double Probability { get; set; } = 0;
}
///
/// 月卡配置
///
public class MonthCardConfig
{
///
/// 类型 1 周卡 2 月卡 3 年卡
///
public int Type { get; set; } = 0;
///
/// 名称
///
public string Name { get; set; } = string.Empty;
///
/// 签到加成
///
public double SignInAdd { get; set; } = 0;
///
/// 价格 金币
///
public int Gold { get; set; } = 0;
///
/// 现金价格
///
public double Money { get; set; } = 0;
///
/// 权益礼包
///
public List GiftList { get; set; } = new List();
///
/// 每日礼包
///
public List DailyGift { get; set; } = new List();
}
///
/// 救济配置
///
public class ReliefConfig
{
///
/// 是否开启
///
public bool IsOpen { get; set; } = true;
///
/// 金币数量
///
public int Gold { get; set; } = 10000;
///
/// 每天可以领取的次数
///
public int Count { get; set; } = 3;
///
/// 领取金币的限制
///
public int Limit { get; set; } = 10000;
}
///
/// 金币商城配置
///
public class GoldShopConfig
{
///
/// 商品编号
///
public string Number { get; set; } = string.Empty;
///
/// 商品名称
///
public string Name { get; set; } = string.Empty;
///
/// 图标地址
///
public string Icon { get; set; } = string.Empty;
///
/// 金币数量
///
public int Gold { get; set; } = 0;
///
/// 钻石数量
///
public int Diamond { get; set; } = 0;
}
///
/// 钻石商城配置
///
public class DiamondShopConfig
{
///
/// 商品编号
///
public string Number { get; set; } = string.Empty;
///
/// 商品名称
///
public string Name { get; set; } = string.Empty;
///
/// 图标地址
///
public string Icon { get; set; } = string.Empty;
///
/// 钻石数量
///
public int Diamond { get; set; } = 0;
///
/// 现金价格
///
public double Money { get; set; } = 0;
}
}