导出配表 商店类型打点
parent
661d25f462
commit
c1decc33c2
|
|
@ -26,6 +26,7 @@ public sealed partial class DataShop : Luban.BeanBase
|
|||
{ if(!_buf["ActivityID"].IsNumber) { throw new SerializationException(); } ActivityID = _buf["ActivityID"]; }
|
||||
{ if(!_buf["ShopType"].IsNumber) { throw new SerializationException(); } ShopType = (ActorCfg.ShopType)_buf["ShopType"].AsInt; }
|
||||
{ if(!_buf["ShopLogicType"].IsNumber) { throw new SerializationException(); } ShopLogicType = (ActorCfg.ShopLogicType)_buf["ShopLogicType"].AsInt; }
|
||||
{ if(!_buf["ShopBIType"].IsNumber) { throw new SerializationException(); } ShopBIType = (ActorCfg.ShopBIType)_buf["ShopBIType"].AsInt; }
|
||||
{ var __json0 = _buf["PriceId"]; if(!__json0.IsArray) { throw new SerializationException(); } PriceId = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PriceId.Add(__v0); } }
|
||||
{ if(!_buf["RefreshType"].IsNumber) { throw new SerializationException(); } RefreshType = (ActorCfg.ShopRefreshType)_buf["RefreshType"].AsInt; }
|
||||
{ if(!_buf["HandRefresh"].IsNumber) { throw new SerializationException(); } HandRefresh = _buf["HandRefresh"]; }
|
||||
|
|
@ -39,7 +40,7 @@ public sealed partial class DataShop : Luban.BeanBase
|
|||
{ if(!_buf["ShopNoChooseIconPath"].IsString) { throw new SerializationException(); } ShopNoChooseIconPath = _buf["ShopNoChooseIconPath"]; }
|
||||
}
|
||||
|
||||
public DataShop(int ID, string Name, string Unlocks, int ActivityID, ActorCfg.ShopType ShopType, ActorCfg.ShopLogicType ShopLogicType, System.Collections.Generic.List<int> PriceId, ActorCfg.ShopRefreshType RefreshType, int HandRefresh, int ShopRefreshItemId, System.Collections.Generic.List<int> ShopRefreshCostList, bool NeedSort, string NameLocal, string PrefabPath, string ShopChooseBgPath, string ShopChooseIconPath, string ShopNoChooseIconPath )
|
||||
public DataShop(int ID, string Name, string Unlocks, int ActivityID, ActorCfg.ShopType ShopType, ActorCfg.ShopLogicType ShopLogicType, ActorCfg.ShopBIType ShopBIType, System.Collections.Generic.List<int> PriceId, ActorCfg.ShopRefreshType RefreshType, int HandRefresh, int ShopRefreshItemId, System.Collections.Generic.List<int> ShopRefreshCostList, bool NeedSort, string NameLocal, string PrefabPath, string ShopChooseBgPath, string ShopChooseIconPath, string ShopNoChooseIconPath )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Name = Name;
|
||||
|
|
@ -47,6 +48,7 @@ public sealed partial class DataShop : Luban.BeanBase
|
|||
this.ActivityID = ActivityID;
|
||||
this.ShopType = ShopType;
|
||||
this.ShopLogicType = ShopLogicType;
|
||||
this.ShopBIType = ShopBIType;
|
||||
this.PriceId = PriceId;
|
||||
this.RefreshType = RefreshType;
|
||||
this.HandRefresh = HandRefresh;
|
||||
|
|
@ -91,6 +93,10 @@ public sealed partial class DataShop : Luban.BeanBase
|
|||
/// </summary>
|
||||
public ActorCfg.ShopLogicType ShopLogicType { get; private set; }
|
||||
/// <summary>
|
||||
/// 打点用商店类型
|
||||
/// </summary>
|
||||
public ActorCfg.ShopBIType ShopBIType { get; private set; }
|
||||
/// <summary>
|
||||
/// 消耗物品ID
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> PriceId { get; private set; }
|
||||
|
|
@ -151,6 +157,7 @@ public sealed partial class DataShop : Luban.BeanBase
|
|||
+ "ActivityID:" + ActivityID + ","
|
||||
+ "ShopType:" + ShopType + ","
|
||||
+ "ShopLogicType:" + ShopLogicType + ","
|
||||
+ "ShopBIType:" + ShopBIType + ","
|
||||
+ "PriceId:" + Luban.StringUtil.CollectionToString(PriceId) + ","
|
||||
+ "RefreshType:" + RefreshType + ","
|
||||
+ "HandRefresh:" + HandRefresh + ","
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 1,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 1,
|
||||
"PriceId": [
|
||||
1
|
||||
],
|
||||
|
|
@ -27,6 +28,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 1,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 2,
|
||||
"PriceId": [
|
||||
1
|
||||
],
|
||||
|
|
@ -48,6 +50,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 2,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 3,
|
||||
"PriceId": [
|
||||
1,
|
||||
2
|
||||
|
|
@ -70,6 +73,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 2,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 4,
|
||||
"PriceId": [
|
||||
9,
|
||||
2
|
||||
|
|
@ -92,6 +96,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 2,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 5,
|
||||
"PriceId": [
|
||||
2
|
||||
],
|
||||
|
|
@ -113,6 +118,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 2,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 6,
|
||||
"PriceId": [
|
||||
118
|
||||
],
|
||||
|
|
@ -134,6 +140,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 1,
|
||||
"ShopLogicType": 2,
|
||||
"ShopBIType": 9,
|
||||
"PriceId": [
|
||||
1
|
||||
],
|
||||
|
|
@ -155,6 +162,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 3,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 15,
|
||||
"PriceId": [
|
||||
9
|
||||
],
|
||||
|
|
@ -176,6 +184,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 3,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 16,
|
||||
"PriceId": [
|
||||
9
|
||||
],
|
||||
|
|
@ -197,6 +206,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 5,
|
||||
"ShopLogicType": 2,
|
||||
"ShopBIType": 17,
|
||||
"PriceId": [
|
||||
11
|
||||
],
|
||||
|
|
@ -218,6 +228,7 @@
|
|||
"ActivityID": 0,
|
||||
"ShopType": 7,
|
||||
"ShopLogicType": 2,
|
||||
"ShopBIType": 18,
|
||||
"PriceId": [
|
||||
11
|
||||
],
|
||||
|
|
@ -239,6 +250,7 @@
|
|||
"ActivityID": 20004,
|
||||
"ShopType": 2,
|
||||
"ShopLogicType": 1,
|
||||
"ShopBIType": 22,
|
||||
"PriceId": [
|
||||
2
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue