1
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
{
|
||||
/// <summary>
|
||||
/// 战令配置
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BattleOrderConfig
|
||||
{
|
||||
public bool isOpen;
|
||||
public long endTime;
|
||||
public string ruleDesc;
|
||||
public string buyDesc;
|
||||
public string advanceGiftDesc;
|
||||
public List<BattleOrderLevelConfig> levelConfig;
|
||||
public List<AdvanceGiftConfig> advanceGift;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 战令等级配置
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class BattleOrderLevelConfig
|
||||
{
|
||||
public int level;
|
||||
public int exp;
|
||||
public GiftConfig normalGift;
|
||||
public GiftConfig luxuryGift;
|
||||
public GiftConfig supremeGift;
|
||||
public int payType;
|
||||
public int payCount;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 进阶奖励配置
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class AdvanceGiftConfig
|
||||
{
|
||||
public int type;
|
||||
public string name;
|
||||
public int count;
|
||||
public string imageUrl;
|
||||
public int payType;
|
||||
public int payCount;
|
||||
public List<GiftConfig> giftList;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dce793a3439f7564ebdca4d510156939
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
@@ -34,8 +34,15 @@ namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
/// 现金价格
|
||||
/// </summary>
|
||||
public double money;
|
||||
|
||||
/// <summary>
|
||||
/// 经销商价格
|
||||
/// </summary>
|
||||
public double dealerMoney;
|
||||
|
||||
/// <summary>
|
||||
/// 是否首充限制
|
||||
/// </summary>
|
||||
public bool isFirst;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
{
|
||||
/// <summary>
|
||||
/// 捕鱼返金币活动配置
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class FishingReturnConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否开启活动
|
||||
/// </summary>
|
||||
public bool isEnabled;
|
||||
|
||||
/// <summary>
|
||||
/// 返利比例(千分之一 = 0.001)
|
||||
/// </summary>
|
||||
public double returnRate;
|
||||
|
||||
/// <summary>
|
||||
/// 每日返利上限(0=无上限)
|
||||
/// </summary>
|
||||
public long dailyMaxReturn;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a7dc1e056fdffd49943877ede5cfa7d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
@@ -31,10 +31,18 @@ namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
public long gold;
|
||||
|
||||
/// <summary>
|
||||
/// 钻石数量
|
||||
/// 钻石数量(购买所需钻石)
|
||||
/// </summary>
|
||||
public int diamond;
|
||||
|
||||
/// <summary>
|
||||
/// 经销商价格(钻石)
|
||||
/// </summary>
|
||||
public int dealerDiamond;
|
||||
|
||||
/// <summary>
|
||||
/// 是否首充限制
|
||||
/// </summary>
|
||||
public bool isFirst;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
{
|
||||
[Serializable]
|
||||
public class LotteryActivityConfig
|
||||
{
|
||||
public string activityName;
|
||||
public bool isOpen;
|
||||
public long startTime;
|
||||
public long endTime;
|
||||
public List<LotteryPoolLevel> pools;
|
||||
public List<long> costs;
|
||||
public int userMaxDraw;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LotteryPoolLevel
|
||||
{
|
||||
public string level;
|
||||
public int count;
|
||||
public int weight;
|
||||
public List<LotteryPrize> prizeList;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LotteryPrize
|
||||
{
|
||||
public string type;
|
||||
public long count;
|
||||
public string name;
|
||||
public string icon;
|
||||
public int weight;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0eb06d724025e75439446a16126c5a78
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Assets.MyGame.Scripts.Net.API.UserData_SubClass;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
||||
{
|
||||
/// <summary>
|
||||
/// 注册配置
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class RegisterConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 注册初始金币
|
||||
/// </summary>
|
||||
public int initGold;
|
||||
|
||||
/// <summary>
|
||||
/// 注册初始钻石
|
||||
/// </summary>
|
||||
public int initDiamond;
|
||||
|
||||
/// <summary>
|
||||
/// 注册初始道具列表
|
||||
/// </summary>
|
||||
public List<BaseProductCount> initProductList;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4eec481164da9f74592228e1f000d967
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user