备份CatanBuilding瘦身独立工程
This commit is contained in:
131
Assets/Scripts/Tables/Account.cs
Normal file
131
Assets/Scripts/Tables/Account.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class Account : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public Account(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Rewards"].IsNumber) { throw new SerializationException(); } Rewards = _json["Rewards"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ if(!_json["Img"].IsString) { throw new SerializationException(); } Img = _json["Img"]; }
|
||||
{ if(!_json["Title"]["key"].IsString) { throw new SerializationException(); } Title_l10n_key = _json["Title"]["key"]; if(!_json["Title"]["text"].IsString) { throw new SerializationException(); } Title = _json["Title"]["text"]; }
|
||||
{ var __json0 = _json["DisplaySwitch"]; if(!__json0.IsArray) { throw new SerializationException(); } DisplaySwitch = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DisplaySwitch.Add(__v0); } }
|
||||
{ if(!_json["CashMag"].IsNumber) { throw new SerializationException(); } CashMag = _json["CashMag"]; }
|
||||
{ if(!_json["CashMagLimited"].IsNumber) { throw new SerializationException(); } CashMagLimited = _json["CashMagLimited"]; }
|
||||
{ if(!_json["EnergyLimit"].IsNumber) { throw new SerializationException(); } EnergyLimit = _json["EnergyLimit"]; }
|
||||
{ if(!_json["EnergyRecover"].IsNumber) { throw new SerializationException(); } EnergyRecover = _json["EnergyRecover"]; }
|
||||
{ if(!_json["EventFishCashMag"].IsNumber) { throw new SerializationException(); } EventFishCashMag = _json["EventFishCashMag"]; }
|
||||
{ if(!_json["EventFishDamage"].IsNumber) { throw new SerializationException(); } EventFishDamage = _json["EventFishDamage"]; }
|
||||
{ if(!_json["AquariumLimit"].IsNumber) { throw new SerializationException(); } AquariumLimit = _json["AquariumLimit"]; }
|
||||
{ if(!_json["AquariumCashMag"].IsNumber) { throw new SerializationException(); } AquariumCashMag = _json["AquariumCashMag"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Account(int ID, int Rewards, string Icon, string Img, string Title, System.Collections.Generic.List<int> DisplaySwitch, int CashMag, int CashMagLimited, int EnergyLimit, int EnergyRecover, int EventFishCashMag, int EventFishDamage, int AquariumLimit, int AquariumCashMag )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Rewards = Rewards;
|
||||
this.Icon = Icon;
|
||||
this.Img = Img;
|
||||
this.Title = Title;
|
||||
this.DisplaySwitch = DisplaySwitch;
|
||||
this.CashMag = CashMag;
|
||||
this.CashMagLimited = CashMagLimited;
|
||||
this.EnergyLimit = EnergyLimit;
|
||||
this.EnergyRecover = EnergyRecover;
|
||||
this.EventFishCashMag = EventFishCashMag;
|
||||
this.EventFishDamage = EventFishDamage;
|
||||
this.AquariumLimit = AquariumLimit;
|
||||
this.AquariumCashMag = AquariumCashMag;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Account DeserializeAccount(JSONNode _json)
|
||||
{
|
||||
return new Account(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int Rewards { get; private set; }
|
||||
/// <summary>
|
||||
/// 图标名称<br/>Type=1的时候生效
|
||||
/// </summary>
|
||||
public string Icon { get; private set; }
|
||||
/// <summary>
|
||||
/// 大图
|
||||
/// </summary>
|
||||
public string Img { get; private set; }
|
||||
public string Title { get; private set; }
|
||||
public string Title_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 若本级有权益投放,对应权益显示为1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> DisplaySwitch { get; private set; }
|
||||
/// <summary>
|
||||
/// 填等级,具体数值读benefits
|
||||
/// </summary>
|
||||
public int CashMag { get; private set; }
|
||||
public int CashMagLimited { get; private set; }
|
||||
public int EnergyLimit { get; private set; }
|
||||
public int EnergyRecover { get; private set; }
|
||||
public int EventFishCashMag { get; private set; }
|
||||
public int EventFishDamage { get; private set; }
|
||||
public int AquariumLimit { get; private set; }
|
||||
public int AquariumCashMag { get; private set; }
|
||||
|
||||
public const int __ID__ = 487334413;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Title = translator(Title_l10n_key, Title);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Rewards:" + Rewards + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "Img:" + Img + ","
|
||||
+ "Title:" + Title + ","
|
||||
+ "DisplaySwitch:" + Bright.Common.StringUtil.CollectionToString(DisplaySwitch) + ","
|
||||
+ "CashMag:" + CashMag + ","
|
||||
+ "CashMagLimited:" + CashMagLimited + ","
|
||||
+ "EnergyLimit:" + EnergyLimit + ","
|
||||
+ "EnergyRecover:" + EnergyRecover + ","
|
||||
+ "EventFishCashMag:" + EventFishCashMag + ","
|
||||
+ "EventFishDamage:" + EventFishDamage + ","
|
||||
+ "AquariumLimit:" + AquariumLimit + ","
|
||||
+ "AquariumCashMag:" + AquariumCashMag + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Account.cs.meta
Normal file
11
Assets/Scripts/Tables/Account.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8b3de76ba0585c84780717edc6fd2654
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
131
Assets/Scripts/Tables/AccountMmt.cs
Normal file
131
Assets/Scripts/Tables/AccountMmt.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AccountMmt : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AccountMmt(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Rewards"].IsNumber) { throw new SerializationException(); } Rewards = _json["Rewards"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ if(!_json["Img"].IsString) { throw new SerializationException(); } Img = _json["Img"]; }
|
||||
{ if(!_json["Title"]["key"].IsString) { throw new SerializationException(); } Title_l10n_key = _json["Title"]["key"]; if(!_json["Title"]["text"].IsString) { throw new SerializationException(); } Title = _json["Title"]["text"]; }
|
||||
{ var __json0 = _json["DisplaySwitch"]; if(!__json0.IsArray) { throw new SerializationException(); } DisplaySwitch = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DisplaySwitch.Add(__v0); } }
|
||||
{ if(!_json["CashMag"].IsNumber) { throw new SerializationException(); } CashMag = _json["CashMag"]; }
|
||||
{ if(!_json["CashMagLimited"].IsNumber) { throw new SerializationException(); } CashMagLimited = _json["CashMagLimited"]; }
|
||||
{ if(!_json["EnergyLimit"].IsNumber) { throw new SerializationException(); } EnergyLimit = _json["EnergyLimit"]; }
|
||||
{ if(!_json["EnergyRecover"].IsNumber) { throw new SerializationException(); } EnergyRecover = _json["EnergyRecover"]; }
|
||||
{ if(!_json["EventFishCashMag"].IsNumber) { throw new SerializationException(); } EventFishCashMag = _json["EventFishCashMag"]; }
|
||||
{ if(!_json["EventFishDamage"].IsNumber) { throw new SerializationException(); } EventFishDamage = _json["EventFishDamage"]; }
|
||||
{ if(!_json["AquariumLimit"].IsNumber) { throw new SerializationException(); } AquariumLimit = _json["AquariumLimit"]; }
|
||||
{ if(!_json["AquariumCashMag"].IsNumber) { throw new SerializationException(); } AquariumCashMag = _json["AquariumCashMag"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AccountMmt(int ID, int Rewards, string Icon, string Img, string Title, System.Collections.Generic.List<int> DisplaySwitch, int CashMag, int CashMagLimited, int EnergyLimit, int EnergyRecover, int EventFishCashMag, int EventFishDamage, int AquariumLimit, int AquariumCashMag )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Rewards = Rewards;
|
||||
this.Icon = Icon;
|
||||
this.Img = Img;
|
||||
this.Title = Title;
|
||||
this.DisplaySwitch = DisplaySwitch;
|
||||
this.CashMag = CashMag;
|
||||
this.CashMagLimited = CashMagLimited;
|
||||
this.EnergyLimit = EnergyLimit;
|
||||
this.EnergyRecover = EnergyRecover;
|
||||
this.EventFishCashMag = EventFishCashMag;
|
||||
this.EventFishDamage = EventFishDamage;
|
||||
this.AquariumLimit = AquariumLimit;
|
||||
this.AquariumCashMag = AquariumCashMag;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AccountMmt DeserializeAccountMmt(JSONNode _json)
|
||||
{
|
||||
return new AccountMmt(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int Rewards { get; private set; }
|
||||
/// <summary>
|
||||
/// 图标名称<br/>Type=1的时候生效
|
||||
/// </summary>
|
||||
public string Icon { get; private set; }
|
||||
/// <summary>
|
||||
/// 大图
|
||||
/// </summary>
|
||||
public string Img { get; private set; }
|
||||
public string Title { get; private set; }
|
||||
public string Title_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 若本级有权益投放,对应权益显示为1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> DisplaySwitch { get; private set; }
|
||||
/// <summary>
|
||||
/// 填等级,具体数值读benefits
|
||||
/// </summary>
|
||||
public int CashMag { get; private set; }
|
||||
public int CashMagLimited { get; private set; }
|
||||
public int EnergyLimit { get; private set; }
|
||||
public int EnergyRecover { get; private set; }
|
||||
public int EventFishCashMag { get; private set; }
|
||||
public int EventFishDamage { get; private set; }
|
||||
public int AquariumLimit { get; private set; }
|
||||
public int AquariumCashMag { get; private set; }
|
||||
|
||||
public const int __ID__ = 1190114695;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Title = translator(Title_l10n_key, Title);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Rewards:" + Rewards + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "Img:" + Img + ","
|
||||
+ "Title:" + Title + ","
|
||||
+ "DisplaySwitch:" + Bright.Common.StringUtil.CollectionToString(DisplaySwitch) + ","
|
||||
+ "CashMag:" + CashMag + ","
|
||||
+ "CashMagLimited:" + CashMagLimited + ","
|
||||
+ "EnergyLimit:" + EnergyLimit + ","
|
||||
+ "EnergyRecover:" + EnergyRecover + ","
|
||||
+ "EventFishCashMag:" + EventFishCashMag + ","
|
||||
+ "EventFishDamage:" + EventFishDamage + ","
|
||||
+ "AquariumLimit:" + AquariumLimit + ","
|
||||
+ "AquariumCashMag:" + AquariumCashMag + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AccountMmt.cs.meta
Normal file
11
Assets/Scripts/Tables/AccountMmt.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 528a4c497188fef4c8b321cba478cd62
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
83
Assets/Scripts/Tables/AdConfig.cs
Normal file
83
Assets/Scripts/Tables/AdConfig.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AdConfig : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AdConfig(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Interval"].IsNumber) { throw new SerializationException(); } Interval = _json["Interval"]; }
|
||||
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
|
||||
{ if(!_json["VipFree"].IsNumber) { throw new SerializationException(); } VipFree = _json["VipFree"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AdConfig(int ID, int Interval, int Reward, int VipFree )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Interval = Interval;
|
||||
this.Reward = Reward;
|
||||
this.VipFree = VipFree;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AdConfig DeserializeAdConfig(JSONNode _json)
|
||||
{
|
||||
return new AdConfig(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 单位秒
|
||||
/// </summary>
|
||||
public int Interval { get; private set; }
|
||||
/// <summary>
|
||||
/// 读Drop和ItemDropPackage表
|
||||
/// </summary>
|
||||
public int Reward { get; private set; }
|
||||
/// <summary>
|
||||
/// VIP大于等于这个数字,可以免费领奖
|
||||
/// </summary>
|
||||
public int VipFree { get; private set; }
|
||||
|
||||
public const int __ID__ = -2101347995;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Interval:" + Interval + ","
|
||||
+ "Reward:" + Reward + ","
|
||||
+ "VipFree:" + VipFree + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AdConfig.cs.meta
Normal file
11
Assets/Scripts/Tables/AdConfig.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 225c74d37fafb864996528a060331264
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
99
Assets/Scripts/Tables/Album.cs
Normal file
99
Assets/Scripts/Tables/Album.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class Album : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public Album(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Quality"].IsNumber) { throw new SerializationException(); } Quality = _json["Quality"]; }
|
||||
{ if(!_json["Image"].IsString) { throw new SerializationException(); } Image = _json["Image"]; }
|
||||
{ if(!_json["Title"]["key"].IsString) { throw new SerializationException(); } Title_l10n_key = _json["Title"]["key"]; if(!_json["Title"]["text"].IsString) { throw new SerializationException(); } Title = _json["Title"]["text"]; }
|
||||
{ var __json0 = _json["PictureList"]; if(!__json0.IsArray) { throw new SerializationException(); } PictureList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PictureList.Add(__v0); } }
|
||||
{ if(!_json["CollectionReward"].IsNumber) { throw new SerializationException(); } CollectionReward = _json["CollectionReward"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Album(int ID, int Quality, string Image, string Title, System.Collections.Generic.List<int> PictureList, int CollectionReward )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Quality = Quality;
|
||||
this.Image = Image;
|
||||
this.Title = Title;
|
||||
this.PictureList = PictureList;
|
||||
this.CollectionReward = CollectionReward;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Album DeserializeAlbum(JSONNode _json)
|
||||
{
|
||||
return new Album(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 1:白色<br/>2:蓝色<br/>3:紫色<br/>4:橙色
|
||||
/// </summary>
|
||||
public int Quality { get; private set; }
|
||||
/// <summary>
|
||||
/// 图片名称
|
||||
/// </summary>
|
||||
public string Image { get; private set; }
|
||||
/// <summary>
|
||||
/// 多语言key + 中文
|
||||
/// </summary>
|
||||
public string Title { get; private set; }
|
||||
public string Title_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// picture表主键
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> PictureList { get; private set; }
|
||||
/// <summary>
|
||||
/// 相册中所有照片收集齐后,提供的奖励
|
||||
/// </summary>
|
||||
public int CollectionReward { get; private set; }
|
||||
|
||||
public const int __ID__ = 63344207;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Title = translator(Title_l10n_key, Title);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Quality:" + Quality + ","
|
||||
+ "Image:" + Image + ","
|
||||
+ "Title:" + Title + ","
|
||||
+ "PictureList:" + Bright.Common.StringUtil.CollectionToString(PictureList) + ","
|
||||
+ "CollectionReward:" + CollectionReward + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Album.cs.meta
Normal file
11
Assets/Scripts/Tables/Album.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e33924d22744d84fbdc1f4a56fe62c7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
83
Assets/Scripts/Tables/AlbumExchange.cs
Normal file
83
Assets/Scripts/Tables/AlbumExchange.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AlbumExchange : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AlbumExchange(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Quality"].IsNumber) { throw new SerializationException(); } Quality = _json["Quality"]; }
|
||||
{ if(!_json["PictureRequired"].IsNumber) { throw new SerializationException(); } PictureRequired = _json["PictureRequired"]; }
|
||||
{ if(!_json["ItemID"].IsNumber) { throw new SerializationException(); } ItemID = _json["ItemID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AlbumExchange(int ID, int Quality, int PictureRequired, int ItemID )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Quality = Quality;
|
||||
this.PictureRequired = PictureRequired;
|
||||
this.ItemID = ItemID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AlbumExchange DeserializeAlbumExchange(JSONNode _json)
|
||||
{
|
||||
return new AlbumExchange(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 1:白色<br/>2:蓝色<br/>3:紫色<br/>4:橙色
|
||||
/// </summary>
|
||||
public int Quality { get; private set; }
|
||||
/// <summary>
|
||||
/// 消耗这么多数量的卡触发兑换
|
||||
/// </summary>
|
||||
public int PictureRequired { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Item表主键,3个手提包
|
||||
/// </summary>
|
||||
public int ItemID { get; private set; }
|
||||
|
||||
public const int __ID__ = 250266002;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Quality:" + Quality + ","
|
||||
+ "PictureRequired:" + PictureRequired + ","
|
||||
+ "ItemID:" + ItemID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AlbumExchange.cs.meta
Normal file
11
Assets/Scripts/Tables/AlbumExchange.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 08938156c8164c844a1990e96ccc7bcc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
117
Assets/Scripts/Tables/AquariumConfig.cs
Normal file
117
Assets/Scripts/Tables/AquariumConfig.cs
Normal file
@@ -0,0 +1,117 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 鱼缸参数
|
||||
/// </summary>
|
||||
public sealed partial class AquariumConfig : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AquariumConfig(JSONNode _json)
|
||||
{
|
||||
{ var __json0 = _json["AquariumSpFishList"]; if(!__json0.IsArray) { throw new SerializationException(); } AquariumSpFishList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AquariumSpFishList.Add(__v0); } }
|
||||
{ if(!_json["AdAccelerate"].IsNumber) { throw new SerializationException(); } AdAccelerate = _json["AdAccelerate"]; }
|
||||
{ if(!_json["AdAccelerateFirst"].IsNumber) { throw new SerializationException(); } AdAccelerateFirst = _json["AdAccelerateFirst"]; }
|
||||
{ if(!_json["AdAccelerateDiamondCost"].IsNumber) { throw new SerializationException(); } AdAccelerateDiamondCost = _json["AdAccelerateDiamondCost"]; }
|
||||
{ if(!_json["AdMaxTime"].IsNumber) { throw new SerializationException(); } AdMaxTime = _json["AdMaxTime"]; }
|
||||
{ if(!_json["RefreshTime"].IsNumber) { throw new SerializationException(); } RefreshTime = _json["RefreshTime"]; }
|
||||
{ if(!_json["MutantMaterial"].IsString) { throw new SerializationException(); } MutantMaterial = _json["MutantMaterial"]; }
|
||||
{ if(!_json["RaidChangeTimes"].IsNumber) { throw new SerializationException(); } RaidChangeTimes = _json["RaidChangeTimes"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AquariumConfig(System.Collections.Generic.List<int> AquariumSpFishList, float AdAccelerate, float AdAccelerateFirst, int AdAccelerateDiamondCost, int AdMaxTime, int RefreshTime, string MutantMaterial, int RaidChangeTimes )
|
||||
{
|
||||
this.AquariumSpFishList = AquariumSpFishList;
|
||||
this.AdAccelerate = AdAccelerate;
|
||||
this.AdAccelerateFirst = AdAccelerateFirst;
|
||||
this.AdAccelerateDiamondCost = AdAccelerateDiamondCost;
|
||||
this.AdMaxTime = AdMaxTime;
|
||||
this.RefreshTime = RefreshTime;
|
||||
this.MutantMaterial = MutantMaterial;
|
||||
this.RaidChangeTimes = RaidChangeTimes;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AquariumConfig DeserializeAquariumConfig(JSONNode _json)
|
||||
{
|
||||
return new AquariumConfig(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 特殊鱼列表,对应Item表主键
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> AquariumSpFishList { get; private set; }
|
||||
/// <summary>
|
||||
/// 每次广告降低的时间
|
||||
/// </summary>
|
||||
public float AdAccelerate { get; private set; }
|
||||
/// <summary>
|
||||
/// 第一次广告降低的时间
|
||||
/// </summary>
|
||||
public float AdAccelerateFirst { get; private set; }
|
||||
/// <summary>
|
||||
/// 每次广告消耗的钻石
|
||||
/// </summary>
|
||||
public int AdAccelerateDiamondCost { get; private set; }
|
||||
/// <summary>
|
||||
/// 每次刷新周期可以看的广告最大次数
|
||||
/// </summary>
|
||||
public int AdMaxTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 每天最多能刷多少次
|
||||
/// </summary>
|
||||
public int RefreshTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 变异的材质
|
||||
/// </summary>
|
||||
public string MutantMaterial { get; private set; }
|
||||
/// <summary>
|
||||
/// 刺鱼时,可以选择随机玩家的次数
|
||||
/// </summary>
|
||||
public int RaidChangeTimes { get; private set; }
|
||||
|
||||
public const int __ID__ = -1587973363;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "AquariumSpFishList:" + Bright.Common.StringUtil.CollectionToString(AquariumSpFishList) + ","
|
||||
+ "AdAccelerate:" + AdAccelerate + ","
|
||||
+ "AdAccelerateFirst:" + AdAccelerateFirst + ","
|
||||
+ "AdAccelerateDiamondCost:" + AdAccelerateDiamondCost + ","
|
||||
+ "AdMaxTime:" + AdMaxTime + ","
|
||||
+ "RefreshTime:" + RefreshTime + ","
|
||||
+ "MutantMaterial:" + MutantMaterial + ","
|
||||
+ "RaidChangeTimes:" + RaidChangeTimes + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AquariumConfig.cs.meta
Normal file
11
Assets/Scripts/Tables/AquariumConfig.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fcfd7f4803f0b14459fb5e92cd5a3a01
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
132
Assets/Scripts/Tables/AquariumEgg.cs
Normal file
132
Assets/Scripts/Tables/AquariumEgg.cs
Normal file
@@ -0,0 +1,132 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AquariumEgg : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AquariumEgg(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Name"]["key"].IsString) { throw new SerializationException(); } Name_l10n_key = _json["Name"]["key"]; if(!_json["Name"]["text"].IsString) { throw new SerializationException(); } Name = _json["Name"]["text"]; }
|
||||
{ if(!_json["Quality"].IsNumber) { throw new SerializationException(); } Quality = _json["Quality"]; }
|
||||
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
|
||||
{ if(!_json["Prefab"].IsString) { throw new SerializationException(); } Prefab = _json["Prefab"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ var __json0 = _json["HatchTime"]; if(!__json0.IsArray) { throw new SerializationException(); } HatchTime = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } HatchTime.Add(__v0); } }
|
||||
{ if(!_json["BreakReward"].IsNumber) { throw new SerializationException(); } BreakReward = _json["BreakReward"]; }
|
||||
{ var __json0 = _json["HatchFishQuality"]; if(!__json0.IsArray) { throw new SerializationException(); } HatchFishQuality = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } HatchFishQuality.Add(__v0); } }
|
||||
{ var __json0 = _json["HatchFishQualityProb"]; if(!__json0.IsArray) { throw new SerializationException(); } HatchFishQualityProb = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } HatchFishQualityProb.Add(__v0); } }
|
||||
{ var __json0 = _json["HatchFishQuantity"]; if(!__json0.IsArray) { throw new SerializationException(); } HatchFishQuantity = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } HatchFishQuantity.Add(__v0); } }
|
||||
{ var __json0 = _json["HatchFishQuantityProb"]; if(!__json0.IsArray) { throw new SerializationException(); } HatchFishQuantityProb = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } HatchFishQuantityProb.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AquariumEgg(int ID, string Name, int Quality, float Weight, string Prefab, string Icon, System.Collections.Generic.List<float> HatchTime, int BreakReward, System.Collections.Generic.List<int> HatchFishQuality, System.Collections.Generic.List<int> HatchFishQualityProb, System.Collections.Generic.List<int> HatchFishQuantity, System.Collections.Generic.List<int> HatchFishQuantityProb )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Name = Name;
|
||||
this.Quality = Quality;
|
||||
this.Weight = Weight;
|
||||
this.Prefab = Prefab;
|
||||
this.Icon = Icon;
|
||||
this.HatchTime = HatchTime;
|
||||
this.BreakReward = BreakReward;
|
||||
this.HatchFishQuality = HatchFishQuality;
|
||||
this.HatchFishQualityProb = HatchFishQualityProb;
|
||||
this.HatchFishQuantity = HatchFishQuantity;
|
||||
this.HatchFishQuantityProb = HatchFishQuantityProb;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AquariumEgg DeserializeAquariumEgg(JSONNode _json)
|
||||
{
|
||||
return new AquariumEgg(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 蛋的名称
|
||||
/// </summary>
|
||||
public string Name { get; private set; }
|
||||
public string Name_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 品质
|
||||
/// </summary>
|
||||
public int Quality { get; private set; }
|
||||
/// <summary>
|
||||
/// 摇蛋权重
|
||||
/// </summary>
|
||||
public float Weight { get; private set; }
|
||||
/// <summary>
|
||||
/// 蛋的资源
|
||||
/// </summary>
|
||||
public string Prefab { get; private set; }
|
||||
/// <summary>
|
||||
/// 蛋的图标
|
||||
/// </summary>
|
||||
public string Icon { get; private set; }
|
||||
/// <summary>
|
||||
/// 孵化时间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> HatchTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 击碎奖励
|
||||
/// </summary>
|
||||
public int BreakReward { get; private set; }
|
||||
public System.Collections.Generic.List<int> HatchFishQuality { get; private set; }
|
||||
public System.Collections.Generic.List<int> HatchFishQualityProb { get; private set; }
|
||||
public System.Collections.Generic.List<int> HatchFishQuantity { get; private set; }
|
||||
public System.Collections.Generic.List<int> HatchFishQuantityProb { get; private set; }
|
||||
|
||||
public const int __ID__ = 174826522;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Name = translator(Name_l10n_key, Name);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Name:" + Name + ","
|
||||
+ "Quality:" + Quality + ","
|
||||
+ "Weight:" + Weight + ","
|
||||
+ "Prefab:" + Prefab + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "HatchTime:" + Bright.Common.StringUtil.CollectionToString(HatchTime) + ","
|
||||
+ "BreakReward:" + BreakReward + ","
|
||||
+ "HatchFishQuality:" + Bright.Common.StringUtil.CollectionToString(HatchFishQuality) + ","
|
||||
+ "HatchFishQualityProb:" + Bright.Common.StringUtil.CollectionToString(HatchFishQualityProb) + ","
|
||||
+ "HatchFishQuantity:" + Bright.Common.StringUtil.CollectionToString(HatchFishQuantity) + ","
|
||||
+ "HatchFishQuantityProb:" + Bright.Common.StringUtil.CollectionToString(HatchFishQuantityProb) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AquariumEgg.cs.meta
Normal file
11
Assets/Scripts/Tables/AquariumEgg.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a726b457896d9c47883962ab57144b2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
177
Assets/Scripts/Tables/AquariumFish.cs
Normal file
177
Assets/Scripts/Tables/AquariumFish.cs
Normal file
@@ -0,0 +1,177 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AquariumFish : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AquariumFish(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ var __json0 = _json["GrowthTime"]; if(!__json0.IsArray) { throw new SerializationException(); } GrowthTime = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } GrowthTime.Add(__v0); } }
|
||||
{ if(!_json["SoldReward"].IsNumber) { throw new SerializationException(); } SoldReward = _json["SoldReward"]; }
|
||||
{ if(!_json["SoldRewardRand"].IsNumber) { throw new SerializationException(); } SoldRewardRand = _json["SoldRewardRand"]; }
|
||||
{ if(!_json["GrowthExtraSoldReward"].IsNumber) { throw new SerializationException(); } GrowthExtraSoldReward = _json["GrowthExtraSoldReward"]; }
|
||||
{ if(!_json["MutantProb"].IsNumber) { throw new SerializationException(); } MutantProb = _json["MutantProb"]; }
|
||||
{ if(!_json["MutantExtraSoldReward"].IsNumber) { throw new SerializationException(); } MutantExtraSoldReward = _json["MutantExtraSoldReward"]; }
|
||||
{ if(!_json["MutantGrowthExtraSoldReward"].IsNumber) { throw new SerializationException(); } MutantGrowthExtraSoldReward = _json["MutantGrowthExtraSoldReward"]; }
|
||||
{ if(!_json["AttackReward"].IsNumber) { throw new SerializationException(); } AttackReward = _json["AttackReward"]; }
|
||||
{ if(!_json["StealProb"].IsNumber) { throw new SerializationException(); } StealProb = _json["StealProb"]; }
|
||||
{ if(!_json["StealExtraReward"].IsNumber) { throw new SerializationException(); } StealExtraReward = _json["StealExtraReward"]; }
|
||||
{ if(!_json["AttackMutantExtraReward"].IsNumber) { throw new SerializationException(); } AttackMutantExtraReward = _json["AttackMutantExtraReward"]; }
|
||||
{ if(!_json["StealMutantProb"].IsNumber) { throw new SerializationException(); } StealMutantProb = _json["StealMutantProb"]; }
|
||||
{ if(!_json["StealMutantExtraReward"].IsNumber) { throw new SerializationException(); } StealMutantExtraReward = _json["StealMutantExtraReward"]; }
|
||||
{ if(!_json["StealRewardRand"].IsNumber) { throw new SerializationException(); } StealRewardRand = _json["StealRewardRand"]; }
|
||||
{ var __json0 = _json["RecoveryTime"]; if(!__json0.IsArray) { throw new SerializationException(); } RecoveryTime = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } RecoveryTime.Add(__v0); } }
|
||||
{ if(!_json["RealStealProb"].IsNumber) { throw new SerializationException(); } RealStealProb = _json["RealStealProb"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AquariumFish(int ID, System.Collections.Generic.List<float> GrowthTime, int SoldReward, float SoldRewardRand, float GrowthExtraSoldReward, float MutantProb, float MutantExtraSoldReward, float MutantGrowthExtraSoldReward, int AttackReward, float StealProb, float StealExtraReward, float AttackMutantExtraReward, float StealMutantProb, float StealMutantExtraReward, float StealRewardRand, System.Collections.Generic.List<float> RecoveryTime, float RealStealProb )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.GrowthTime = GrowthTime;
|
||||
this.SoldReward = SoldReward;
|
||||
this.SoldRewardRand = SoldRewardRand;
|
||||
this.GrowthExtraSoldReward = GrowthExtraSoldReward;
|
||||
this.MutantProb = MutantProb;
|
||||
this.MutantExtraSoldReward = MutantExtraSoldReward;
|
||||
this.MutantGrowthExtraSoldReward = MutantGrowthExtraSoldReward;
|
||||
this.AttackReward = AttackReward;
|
||||
this.StealProb = StealProb;
|
||||
this.StealExtraReward = StealExtraReward;
|
||||
this.AttackMutantExtraReward = AttackMutantExtraReward;
|
||||
this.StealMutantProb = StealMutantProb;
|
||||
this.StealMutantExtraReward = StealMutantExtraReward;
|
||||
this.StealRewardRand = StealRewardRand;
|
||||
this.RecoveryTime = RecoveryTime;
|
||||
this.RealStealProb = RealStealProb;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AquariumFish DeserializeAquariumFish(JSONNode _json)
|
||||
{
|
||||
return new AquariumFish(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 成长时间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> GrowthTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 售卖奖励
|
||||
/// </summary>
|
||||
public int SoldReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 售卖奖励浮动
|
||||
/// </summary>
|
||||
public float SoldRewardRand { get; private set; }
|
||||
/// <summary>
|
||||
/// 成熟额外奖励
|
||||
/// </summary>
|
||||
public float GrowthExtraSoldReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 变异概率
|
||||
/// </summary>
|
||||
public float MutantProb { get; private set; }
|
||||
/// <summary>
|
||||
/// 变异后额外奖励
|
||||
/// </summary>
|
||||
public float MutantExtraSoldReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 变异后成熟额外奖励
|
||||
/// </summary>
|
||||
public float MutantGrowthExtraSoldReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 偷鱼基础刺伤奖励
|
||||
/// </summary>
|
||||
public int AttackReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 偷鱼基础抢走概率
|
||||
/// </summary>
|
||||
public float StealProb { get; private set; }
|
||||
/// <summary>
|
||||
/// 偷鱼抢走额外收益
|
||||
/// </summary>
|
||||
public float StealExtraReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 刺伤变异鱼奖励
|
||||
/// </summary>
|
||||
public float AttackMutantExtraReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 偷鱼变异鱼抢走概率
|
||||
/// </summary>
|
||||
public float StealMutantProb { get; private set; }
|
||||
/// <summary>
|
||||
/// 偷鱼变异鱼抢走额外收益
|
||||
/// </summary>
|
||||
public float StealMutantExtraReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 偷鱼奖励浮动
|
||||
/// </summary>
|
||||
public float StealRewardRand { get; private set; }
|
||||
/// <summary>
|
||||
/// 恢复时间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> RecoveryTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼塘主的鱼被抢走的概率
|
||||
/// </summary>
|
||||
public float RealStealProb { get; private set; }
|
||||
|
||||
public const int __ID__ = 1124687075;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "GrowthTime:" + Bright.Common.StringUtil.CollectionToString(GrowthTime) + ","
|
||||
+ "SoldReward:" + SoldReward + ","
|
||||
+ "SoldRewardRand:" + SoldRewardRand + ","
|
||||
+ "GrowthExtraSoldReward:" + GrowthExtraSoldReward + ","
|
||||
+ "MutantProb:" + MutantProb + ","
|
||||
+ "MutantExtraSoldReward:" + MutantExtraSoldReward + ","
|
||||
+ "MutantGrowthExtraSoldReward:" + MutantGrowthExtraSoldReward + ","
|
||||
+ "AttackReward:" + AttackReward + ","
|
||||
+ "StealProb:" + StealProb + ","
|
||||
+ "StealExtraReward:" + StealExtraReward + ","
|
||||
+ "AttackMutantExtraReward:" + AttackMutantExtraReward + ","
|
||||
+ "StealMutantProb:" + StealMutantProb + ","
|
||||
+ "StealMutantExtraReward:" + StealMutantExtraReward + ","
|
||||
+ "StealRewardRand:" + StealRewardRand + ","
|
||||
+ "RecoveryTime:" + Bright.Common.StringUtil.CollectionToString(RecoveryTime) + ","
|
||||
+ "RealStealProb:" + RealStealProb + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AquariumFish.cs.meta
Normal file
11
Assets/Scripts/Tables/AquariumFish.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5af23c4be8d620d41bf343f619ae4f8d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
107
Assets/Scripts/Tables/AquariumInit.cs
Normal file
107
Assets/Scripts/Tables/AquariumInit.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AquariumInit : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AquariumInit(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Count"].IsNumber) { throw new SerializationException(); } Count = _json["Count"]; }
|
||||
{ if(!_json["MapID"].IsNumber) { throw new SerializationException(); } MapID = _json["MapID"]; }
|
||||
{ var __json0 = _json["Egglist"]; if(!__json0.IsArray) { throw new SerializationException(); } Egglist = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } Egglist.Add(__v0); } }
|
||||
{ var __json0 = _json["Fishlist"]; if(!__json0.IsArray) { throw new SerializationException(); } Fishlist = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } Fishlist.Add(__v0); } }
|
||||
{ var __json0 = _json["FishQualitylist"]; if(!__json0.IsArray) { throw new SerializationException(); } FishQualitylist = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FishQualitylist.Add(__v0); } }
|
||||
{ var __json0 = _json["FishQuatitylist"]; if(!__json0.IsArray) { throw new SerializationException(); } FishQuatitylist = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FishQuatitylist.Add(__v0); } }
|
||||
{ var __json0 = _json["FishMutantlist"]; if(!__json0.IsArray) { throw new SerializationException(); } FishMutantlist = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FishMutantlist.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AquariumInit(int Count, int MapID, System.Collections.Generic.List<int> Egglist, System.Collections.Generic.List<int> Fishlist, System.Collections.Generic.List<int> FishQualitylist, System.Collections.Generic.List<int> FishQuatitylist, System.Collections.Generic.List<int> FishMutantlist )
|
||||
{
|
||||
this.Count = Count;
|
||||
this.MapID = MapID;
|
||||
this.Egglist = Egglist;
|
||||
this.Fishlist = Fishlist;
|
||||
this.FishQualitylist = FishQualitylist;
|
||||
this.FishQuatitylist = FishQuatitylist;
|
||||
this.FishMutantlist = FishMutantlist;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AquariumInit DeserializeAquariumInit(JSONNode _json)
|
||||
{
|
||||
return new AquariumInit(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 次数
|
||||
/// </summary>
|
||||
public int Count { get; private set; }
|
||||
/// <summary>
|
||||
/// 地图编号
|
||||
/// </summary>
|
||||
public int MapID { get; private set; }
|
||||
/// <summary>
|
||||
/// 蛋编号1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> Egglist { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼编号1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> Fishlist { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼品质1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> FishQualitylist { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼数量1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> FishQuatitylist { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼变异情况1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> FishMutantlist { get; private set; }
|
||||
|
||||
public const int __ID__ = 1124780955;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Count:" + Count + ","
|
||||
+ "MapID:" + MapID + ","
|
||||
+ "Egglist:" + Bright.Common.StringUtil.CollectionToString(Egglist) + ","
|
||||
+ "Fishlist:" + Bright.Common.StringUtil.CollectionToString(Fishlist) + ","
|
||||
+ "FishQualitylist:" + Bright.Common.StringUtil.CollectionToString(FishQualitylist) + ","
|
||||
+ "FishQuatitylist:" + Bright.Common.StringUtil.CollectionToString(FishQuatitylist) + ","
|
||||
+ "FishMutantlist:" + Bright.Common.StringUtil.CollectionToString(FishMutantlist) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AquariumInit.cs.meta
Normal file
11
Assets/Scripts/Tables/AquariumInit.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bcb95962c92a40d4aade0bd4c861a952
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
138
Assets/Scripts/Tables/AreaMmt.cs
Normal file
138
Assets/Scripts/Tables/AreaMmt.cs
Normal file
@@ -0,0 +1,138 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AreaMmt : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AreaMmt(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["TimelineID"].IsNumber) { throw new SerializationException(); } TimelineID = _json["TimelineID"]; }
|
||||
{ if(!_json["StepCount"].IsNumber) { throw new SerializationException(); } StepCount = _json["StepCount"]; }
|
||||
{ if(!_json["BuildingPrefeb"].IsString) { throw new SerializationException(); } BuildingPrefeb = _json["BuildingPrefeb"]; }
|
||||
{ if(!_json["TimelinePlaytime"].IsNumber) { throw new SerializationException(); } TimelinePlaytime = _json["TimelinePlaytime"]; }
|
||||
{ if(!_json["Name"]["key"].IsString) { throw new SerializationException(); } Name_l10n_key = _json["Name"]["key"]; if(!_json["Name"]["text"].IsString) { throw new SerializationException(); } Name = _json["Name"]["text"]; }
|
||||
{ if(!_json["NameIndex"]["key"].IsString) { throw new SerializationException(); } NameIndex_l10n_key = _json["NameIndex"]["key"]; if(!_json["NameIndex"]["text"].IsString) { throw new SerializationException(); } NameIndex = _json["NameIndex"]["text"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
|
||||
{ var __json0 = _json["StepList"]; if(!__json0.IsArray) { throw new SerializationException(); } StepList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StepList.Add(__v0); } }
|
||||
{ if(!_json["PhotoSwitch"].IsString) { throw new SerializationException(); } PhotoSwitch = _json["PhotoSwitch"]; }
|
||||
{ if(!_json["TurnOffFreeLook"].IsNumber) { throw new SerializationException(); } TurnOffFreeLook = _json["TurnOffFreeLook"]; }
|
||||
{ if(!_json["TurnOffTimeScale"].IsNumber) { throw new SerializationException(); } TurnOffTimeScale = _json["TurnOffTimeScale"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AreaMmt(int ID, int TimelineID, int StepCount, string BuildingPrefeb, float TimelinePlaytime, string Name, string NameIndex, string Icon, int Reward, System.Collections.Generic.List<int> StepList, string PhotoSwitch, int TurnOffFreeLook, int TurnOffTimeScale )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.TimelineID = TimelineID;
|
||||
this.StepCount = StepCount;
|
||||
this.BuildingPrefeb = BuildingPrefeb;
|
||||
this.TimelinePlaytime = TimelinePlaytime;
|
||||
this.Name = Name;
|
||||
this.NameIndex = NameIndex;
|
||||
this.Icon = Icon;
|
||||
this.Reward = Reward;
|
||||
this.StepList = StepList;
|
||||
this.PhotoSwitch = PhotoSwitch;
|
||||
this.TurnOffFreeLook = TurnOffFreeLook;
|
||||
this.TurnOffTimeScale = TurnOffTimeScale;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AreaMmt DeserializeAreaMmt(JSONNode _json)
|
||||
{
|
||||
return new AreaMmt(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// Building脚本中的序号,从0开始
|
||||
/// </summary>
|
||||
public int TimelineID { get; private set; }
|
||||
public int StepCount { get; private set; }
|
||||
public string BuildingPrefeb { get; private set; }
|
||||
/// <summary>
|
||||
/// 不同prefeb转换的时候,上一个timeline播放时间
|
||||
/// </summary>
|
||||
public float TimelinePlaytime { get; private set; }
|
||||
/// <summary>
|
||||
/// 多语言key + 中文
|
||||
/// </summary>
|
||||
public string Name { get; private set; }
|
||||
public string Name_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 多语言key + 中文
|
||||
/// </summary>
|
||||
public string NameIndex { get; private set; }
|
||||
public string NameIndex_l10n_key { get; }
|
||||
public string Icon { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int Reward { get; private set; }
|
||||
public System.Collections.Generic.List<int> StepList { get; private set; }
|
||||
/// <summary>
|
||||
/// 在下一个prefeb填上一个多语言的key
|
||||
/// </summary>
|
||||
public string PhotoSwitch { get; private set; }
|
||||
/// <summary>
|
||||
/// 用于室内关闭lookfar和looknear功能<br/>1 关闭
|
||||
/// </summary>
|
||||
public int TurnOffFreeLook { get; private set; }
|
||||
/// <summary>
|
||||
/// 用于室内关闭加速功能<br/>1 关闭
|
||||
/// </summary>
|
||||
public int TurnOffTimeScale { get; private set; }
|
||||
|
||||
public const int __ID__ = 918163175;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Name = translator(Name_l10n_key, Name);
|
||||
NameIndex = translator(NameIndex_l10n_key, NameIndex);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "TimelineID:" + TimelineID + ","
|
||||
+ "StepCount:" + StepCount + ","
|
||||
+ "BuildingPrefeb:" + BuildingPrefeb + ","
|
||||
+ "TimelinePlaytime:" + TimelinePlaytime + ","
|
||||
+ "Name:" + Name + ","
|
||||
+ "NameIndex:" + NameIndex + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "Reward:" + Reward + ","
|
||||
+ "StepList:" + Bright.Common.StringUtil.CollectionToString(StepList) + ","
|
||||
+ "PhotoSwitch:" + PhotoSwitch + ","
|
||||
+ "TurnOffFreeLook:" + TurnOffFreeLook + ","
|
||||
+ "TurnOffTimeScale:" + TurnOffTimeScale + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AreaMmt.cs.meta
Normal file
11
Assets/Scripts/Tables/AreaMmt.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e0b5e8a856fec8459c15e4212692293
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
127
Assets/Scripts/Tables/AutoDeliveryMail.cs
Normal file
127
Assets/Scripts/Tables/AutoDeliveryMail.cs
Normal file
@@ -0,0 +1,127 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class AutoDeliveryMail : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public AutoDeliveryMail(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["MailID"].IsNumber) { throw new SerializationException(); } MailID = _json["MailID"]; }
|
||||
{ var __json0 = _json["AccountLevelRange"]; if(!__json0.IsArray) { throw new SerializationException(); } AccountLevelRange = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AccountLevelRange.Add(__v0); } }
|
||||
{ if(!_json["AccountCreateTimestamp"].IsString) { throw new SerializationException(); } AccountCreateTimestamp = _json["AccountCreateTimestamp"]; }
|
||||
{ var __json0 = _json["LoginTimestampRange"]; if(!__json0.IsArray) { throw new SerializationException(); } LoginTimestampRange = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } LoginTimestampRange.Add(__v0); } }
|
||||
{ if(!_json["ExpireDay"].IsNumber) { throw new SerializationException(); } ExpireDay = _json["ExpireDay"]; }
|
||||
{ if(!_json["Title"]["key"].IsString) { throw new SerializationException(); } Title_l10n_key = _json["Title"]["key"]; if(!_json["Title"]["text"].IsString) { throw new SerializationException(); } Title = _json["Title"]["text"]; }
|
||||
{ if(!_json["Content"]["key"].IsString) { throw new SerializationException(); } Content_l10n_key = _json["Content"]["key"]; if(!_json["Content"]["text"].IsString) { throw new SerializationException(); } Content = _json["Content"]["text"]; }
|
||||
{ if(!_json["Inscribe"]["key"].IsString) { throw new SerializationException(); } Inscribe_l10n_key = _json["Inscribe"]["key"]; if(!_json["Inscribe"]["text"].IsString) { throw new SerializationException(); } Inscribe = _json["Inscribe"]["text"]; }
|
||||
{ if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public AutoDeliveryMail(int MailID, System.Collections.Generic.List<int> AccountLevelRange, string AccountCreateTimestamp, System.Collections.Generic.List<string> LoginTimestampRange, int ExpireDay, string Title, string Content, string Inscribe, int DropID )
|
||||
{
|
||||
this.MailID = MailID;
|
||||
this.AccountLevelRange = AccountLevelRange;
|
||||
this.AccountCreateTimestamp = AccountCreateTimestamp;
|
||||
this.LoginTimestampRange = LoginTimestampRange;
|
||||
this.ExpireDay = ExpireDay;
|
||||
this.Title = Title;
|
||||
this.Content = Content;
|
||||
this.Inscribe = Inscribe;
|
||||
this.DropID = DropID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static AutoDeliveryMail DeserializeAutoDeliveryMail(JSONNode _json)
|
||||
{
|
||||
return new AutoDeliveryMail(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 对应邮件表主键,这部分会自动发放
|
||||
/// </summary>
|
||||
public int MailID { get; private set; }
|
||||
/// <summary>
|
||||
/// 在这个等级区间的玩家能触发邮件,填-1则没上限
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> AccountLevelRange { get; private set; }
|
||||
/// <summary>
|
||||
/// 时间戳格式,账号创建时间早于这个时间的玩家才会触发邮件
|
||||
/// </summary>
|
||||
public string AccountCreateTimestamp { get; private set; }
|
||||
/// <summary>
|
||||
/// 在这个时间段内登录的玩家,才能触发这个邮件
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<string> LoginTimestampRange { get; private set; }
|
||||
/// <summary>
|
||||
/// 收到邮件后这多天后过期
|
||||
/// </summary>
|
||||
public int ExpireDay { get; private set; }
|
||||
/// <summary>
|
||||
/// key
|
||||
/// </summary>
|
||||
public string Title { get; private set; }
|
||||
public string Title_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// key
|
||||
/// </summary>
|
||||
public string Content { get; private set; }
|
||||
public string Content_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// key
|
||||
/// </summary>
|
||||
public string Inscribe { get; private set; }
|
||||
public string Inscribe_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int DropID { get; private set; }
|
||||
|
||||
public const int __ID__ = 1292755770;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Title = translator(Title_l10n_key, Title);
|
||||
Content = translator(Content_l10n_key, Content);
|
||||
Inscribe = translator(Inscribe_l10n_key, Inscribe);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "MailID:" + MailID + ","
|
||||
+ "AccountLevelRange:" + Bright.Common.StringUtil.CollectionToString(AccountLevelRange) + ","
|
||||
+ "AccountCreateTimestamp:" + AccountCreateTimestamp + ","
|
||||
+ "LoginTimestampRange:" + Bright.Common.StringUtil.CollectionToString(LoginTimestampRange) + ","
|
||||
+ "ExpireDay:" + ExpireDay + ","
|
||||
+ "Title:" + Title + ","
|
||||
+ "Content:" + Content + ","
|
||||
+ "Inscribe:" + Inscribe + ","
|
||||
+ "DropID:" + DropID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/AutoDeliveryMail.cs.meta
Normal file
11
Assets/Scripts/Tables/AutoDeliveryMail.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8c844c70612a89d428bc38ff5f3e5b21
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
69
Assets/Scripts/Tables/BattlePassLevel.cs
Normal file
69
Assets/Scripts/Tables/BattlePassLevel.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BattlePassLevel : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BattlePassLevel(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Id"].IsNumber) { throw new SerializationException(); } Id = _json["Id"]; }
|
||||
{ if(!_json["Exp"].IsNumber) { throw new SerializationException(); } Exp = _json["Exp"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BattlePassLevel(int Id, int Exp )
|
||||
{
|
||||
this.Id = Id;
|
||||
this.Exp = Exp;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BattlePassLevel DeserializeBattlePassLevel(JSONNode _json)
|
||||
{
|
||||
return new BattlePassLevel(_json);
|
||||
}
|
||||
|
||||
public int Id { get; private set; }
|
||||
/// <summary>
|
||||
/// 1后面配1000代表1级升2级需要1000经验
|
||||
/// </summary>
|
||||
public int Exp { get; private set; }
|
||||
|
||||
public const int __ID__ = -1096089605;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Id:" + Id + ","
|
||||
+ "Exp:" + Exp + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BattlePassLevel.cs.meta
Normal file
11
Assets/Scripts/Tables/BattlePassLevel.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5377929b0f5a0ec4382d903b095bdf03
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
158
Assets/Scripts/Tables/BattlePassMain.cs
Normal file
158
Assets/Scripts/Tables/BattlePassMain.cs
Normal file
@@ -0,0 +1,158 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BattlePassMain : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BattlePassMain(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Id"].IsNumber) { throw new SerializationException(); } Id = _json["Id"]; }
|
||||
{ if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; }
|
||||
{ if(!_json["ExpItem"].IsNumber) { throw new SerializationException(); } ExpItem = _json["ExpItem"]; }
|
||||
{ var __json0 = _json["LevelList"]; if(!__json0.IsArray) { throw new SerializationException(); } LevelList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } LevelList.Add(__v0); } }
|
||||
{ var __json0 = _json["RemindLevel"]; if(!__json0.IsArray) { throw new SerializationException(); } RemindLevel = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } RemindLevel.Add(__v0); } }
|
||||
{ if(!_json["PrimeIAPID"].IsNumber) { throw new SerializationException(); } PrimeIAPID = _json["PrimeIAPID"]; }
|
||||
{ if(!_json["PrimeReward"].IsNumber) { throw new SerializationException(); } PrimeReward = _json["PrimeReward"]; }
|
||||
{ if(!_json["DeluxeIAPID"].IsNumber) { throw new SerializationException(); } DeluxeIAPID = _json["DeluxeIAPID"]; }
|
||||
{ if(!_json["DeluxeReward"].IsNumber) { throw new SerializationException(); } DeluxeReward = _json["DeluxeReward"]; }
|
||||
{ var __json0 = _json["FreeRewardList"]; if(!__json0.IsArray) { throw new SerializationException(); } FreeRewardList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FreeRewardList.Add(__v0); } }
|
||||
{ var __json0 = _json["PrimeRewardList"]; if(!__json0.IsArray) { throw new SerializationException(); } PrimeRewardList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PrimeRewardList.Add(__v0); } }
|
||||
{ var __json0 = _json["DailyTaskList"]; if(!__json0.IsArray) { throw new SerializationException(); } DailyTaskList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DailyTaskList.Add(__v0); } }
|
||||
{ var __json0 = _json["WeeklyTaskList"]; if(!__json0.IsArray) { throw new SerializationException(); } WeeklyTaskList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } WeeklyTaskList.Add(__v0); } }
|
||||
{ if(!_json["ExpPrice"].IsNumber) { throw new SerializationException(); } ExpPrice = _json["ExpPrice"]; }
|
||||
{ if(!_json["BuyLevel"].IsNumber) { throw new SerializationException(); } BuyLevel = _json["BuyLevel"]; }
|
||||
{ if(!_json["ExpToCash"].IsNumber) { throw new SerializationException(); } ExpToCash = _json["ExpToCash"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BattlePassMain(int Id, int Type, int ExpItem, System.Collections.Generic.List<int> LevelList, System.Collections.Generic.List<int> RemindLevel, int PrimeIAPID, int PrimeReward, int DeluxeIAPID, int DeluxeReward, System.Collections.Generic.List<int> FreeRewardList, System.Collections.Generic.List<int> PrimeRewardList, System.Collections.Generic.List<int> DailyTaskList, System.Collections.Generic.List<int> WeeklyTaskList, int ExpPrice, int BuyLevel, int ExpToCash )
|
||||
{
|
||||
this.Id = Id;
|
||||
this.Type = Type;
|
||||
this.ExpItem = ExpItem;
|
||||
this.LevelList = LevelList;
|
||||
this.RemindLevel = RemindLevel;
|
||||
this.PrimeIAPID = PrimeIAPID;
|
||||
this.PrimeReward = PrimeReward;
|
||||
this.DeluxeIAPID = DeluxeIAPID;
|
||||
this.DeluxeReward = DeluxeReward;
|
||||
this.FreeRewardList = FreeRewardList;
|
||||
this.PrimeRewardList = PrimeRewardList;
|
||||
this.DailyTaskList = DailyTaskList;
|
||||
this.WeeklyTaskList = WeeklyTaskList;
|
||||
this.ExpPrice = ExpPrice;
|
||||
this.BuyLevel = BuyLevel;
|
||||
this.ExpToCash = ExpToCash;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BattlePassMain DeserializeBattlePassMain(JSONNode _json)
|
||||
{
|
||||
return new BattlePassMain(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public int Id { get; private set; }
|
||||
/// <summary>
|
||||
/// 1=普通战令
|
||||
/// </summary>
|
||||
public int Type { get; private set; }
|
||||
/// <summary>
|
||||
/// ItemID
|
||||
/// </summary>
|
||||
public int ExpItem { get; private set; }
|
||||
public System.Collections.Generic.List<int> LevelList { get; private set; }
|
||||
/// <summary>
|
||||
/// 达到X级还没激活
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> RemindLevel { get; private set; }
|
||||
public int PrimeIAPID { get; private set; }
|
||||
/// <summary>
|
||||
/// DropID
|
||||
/// </summary>
|
||||
public int PrimeReward { get; private set; }
|
||||
public int DeluxeIAPID { get; private set; }
|
||||
/// <summary>
|
||||
/// DropID
|
||||
/// </summary>
|
||||
public int DeluxeReward { get; private set; }
|
||||
/// <summary>
|
||||
/// DropID
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> FreeRewardList { get; private set; }
|
||||
/// <summary>
|
||||
/// DropID
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> PrimeRewardList { get; private set; }
|
||||
/// <summary>
|
||||
/// BattlePassTask
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> DailyTaskList { get; private set; }
|
||||
/// <summary>
|
||||
/// BattlePassTask
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> WeeklyTaskList { get; private set; }
|
||||
/// <summary>
|
||||
/// 100经验=X钻
|
||||
/// </summary>
|
||||
public int ExpPrice { get; private set; }
|
||||
public int BuyLevel { get; private set; }
|
||||
/// <summary>
|
||||
/// 100经验=Y钞票
|
||||
/// </summary>
|
||||
public int ExpToCash { get; private set; }
|
||||
|
||||
public const int __ID__ = 1765783138;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Id:" + Id + ","
|
||||
+ "Type:" + Type + ","
|
||||
+ "ExpItem:" + ExpItem + ","
|
||||
+ "LevelList:" + Bright.Common.StringUtil.CollectionToString(LevelList) + ","
|
||||
+ "RemindLevel:" + Bright.Common.StringUtil.CollectionToString(RemindLevel) + ","
|
||||
+ "PrimeIAPID:" + PrimeIAPID + ","
|
||||
+ "PrimeReward:" + PrimeReward + ","
|
||||
+ "DeluxeIAPID:" + DeluxeIAPID + ","
|
||||
+ "DeluxeReward:" + DeluxeReward + ","
|
||||
+ "FreeRewardList:" + Bright.Common.StringUtil.CollectionToString(FreeRewardList) + ","
|
||||
+ "PrimeRewardList:" + Bright.Common.StringUtil.CollectionToString(PrimeRewardList) + ","
|
||||
+ "DailyTaskList:" + Bright.Common.StringUtil.CollectionToString(DailyTaskList) + ","
|
||||
+ "WeeklyTaskList:" + Bright.Common.StringUtil.CollectionToString(WeeklyTaskList) + ","
|
||||
+ "ExpPrice:" + ExpPrice + ","
|
||||
+ "BuyLevel:" + BuyLevel + ","
|
||||
+ "ExpToCash:" + ExpToCash + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BattlePassMain.cs.meta
Normal file
11
Assets/Scripts/Tables/BattlePassMain.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 34b6dd61940c91a4fa31c75d597ad572
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
89
Assets/Scripts/Tables/BattlePassTask.cs
Normal file
89
Assets/Scripts/Tables/BattlePassTask.cs
Normal file
@@ -0,0 +1,89 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BattlePassTask : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BattlePassTask(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["TaskID"].IsNumber) { throw new SerializationException(); } TaskID = _json["TaskID"]; }
|
||||
{ if(!_json["Desc"]["key"].IsString) { throw new SerializationException(); } Desc_l10n_key = _json["Desc"]["key"]; if(!_json["Desc"]["text"].IsString) { throw new SerializationException(); } Desc = _json["Desc"]["text"]; }
|
||||
{ if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = (ConditionType)_json["Type"].AsInt; }
|
||||
{ var __json0 = _json["Param"]; if(!__json0.IsArray) { throw new SerializationException(); } Param = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } Param.Add(__v0); } }
|
||||
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BattlePassTask(int TaskID, string Desc, ConditionType Type, System.Collections.Generic.List<string> Param, int Reward )
|
||||
{
|
||||
this.TaskID = TaskID;
|
||||
this.Desc = Desc;
|
||||
this.Type = Type;
|
||||
this.Param = Param;
|
||||
this.Reward = Reward;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BattlePassTask DeserializeBattlePassTask(JSONNode _json)
|
||||
{
|
||||
return new BattlePassTask(_json);
|
||||
}
|
||||
|
||||
public int TaskID { get; private set; }
|
||||
/// <summary>
|
||||
/// key
|
||||
/// </summary>
|
||||
public string Desc { get; private set; }
|
||||
public string Desc_l10n_key { get; }
|
||||
public ConditionType Type { get; private set; }
|
||||
/// <summary>
|
||||
/// 逗号隔开
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<string> Param { get; private set; }
|
||||
/// <summary>
|
||||
/// DropID,第一位是战令经验,第二位是道具
|
||||
/// </summary>
|
||||
public int Reward { get; private set; }
|
||||
|
||||
public const int __ID__ = 1765991982;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Desc = translator(Desc_l10n_key, Desc);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "TaskID:" + TaskID + ","
|
||||
+ "Desc:" + Desc + ","
|
||||
+ "Type:" + Type + ","
|
||||
+ "Param:" + Bright.Common.StringUtil.CollectionToString(Param) + ","
|
||||
+ "Reward:" + Reward + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BattlePassTask.cs.meta
Normal file
11
Assets/Scripts/Tables/BattlePassTask.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d05f0bf0d87a42f45920648fb019b46c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
73
Assets/Scripts/Tables/Benefits.cs
Normal file
73
Assets/Scripts/Tables/Benefits.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class Benefits : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public Benefits(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["id"].IsNumber) { throw new SerializationException(); } Id = _json["id"]; }
|
||||
{ var __json0 = _json["AccountLevel"]; if(!__json0.IsArray) { throw new SerializationException(); } AccountLevel = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AccountLevel.Add(__v0); } }
|
||||
{ var __json0 = _json["BenefitsValue"]; if(!__json0.IsArray) { throw new SerializationException(); } BenefitsValue = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BenefitsValue.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Benefits(int id, System.Collections.Generic.List<int> AccountLevel, System.Collections.Generic.List<float> BenefitsValue )
|
||||
{
|
||||
this.Id = id;
|
||||
this.AccountLevel = AccountLevel;
|
||||
this.BenefitsValue = BenefitsValue;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Benefits DeserializeBenefits(JSONNode _json)
|
||||
{
|
||||
return new Benefits(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id与item表中的类型对应
|
||||
/// </summary>
|
||||
public int Id { get; private set; }
|
||||
public System.Collections.Generic.List<int> AccountLevel { get; private set; }
|
||||
public System.Collections.Generic.List<float> BenefitsValue { get; private set; }
|
||||
|
||||
public const int __ID__ = 1750549212;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Id:" + Id + ","
|
||||
+ "AccountLevel:" + Bright.Common.StringUtil.CollectionToString(AccountLevel) + ","
|
||||
+ "BenefitsValue:" + Bright.Common.StringUtil.CollectionToString(BenefitsValue) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Benefits.cs.meta
Normal file
11
Assets/Scripts/Tables/Benefits.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d771d656fe59b284cbafed7f1ed59c7b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
73
Assets/Scripts/Tables/BenefitsMmt.cs
Normal file
73
Assets/Scripts/Tables/BenefitsMmt.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BenefitsMmt : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BenefitsMmt(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["id"].IsNumber) { throw new SerializationException(); } Id = _json["id"]; }
|
||||
{ var __json0 = _json["AccountLevel"]; if(!__json0.IsArray) { throw new SerializationException(); } AccountLevel = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AccountLevel.Add(__v0); } }
|
||||
{ var __json0 = _json["BenefitsValue"]; if(!__json0.IsArray) { throw new SerializationException(); } BenefitsValue = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BenefitsValue.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BenefitsMmt(int id, System.Collections.Generic.List<int> AccountLevel, System.Collections.Generic.List<float> BenefitsValue )
|
||||
{
|
||||
this.Id = id;
|
||||
this.AccountLevel = AccountLevel;
|
||||
this.BenefitsValue = BenefitsValue;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BenefitsMmt DeserializeBenefitsMmt(JSONNode _json)
|
||||
{
|
||||
return new BenefitsMmt(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id与item表中的类型对应
|
||||
/// </summary>
|
||||
public int Id { get; private set; }
|
||||
public System.Collections.Generic.List<int> AccountLevel { get; private set; }
|
||||
public System.Collections.Generic.List<float> BenefitsValue { get; private set; }
|
||||
|
||||
public const int __ID__ = 1118744152;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Id:" + Id + ","
|
||||
+ "AccountLevel:" + Bright.Common.StringUtil.CollectionToString(AccountLevel) + ","
|
||||
+ "BenefitsValue:" + Bright.Common.StringUtil.CollectionToString(BenefitsValue) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BenefitsMmt.cs.meta
Normal file
11
Assets/Scripts/Tables/BenefitsMmt.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b7c12c073f7ca347b6383eae6f044d0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
82
Assets/Scripts/Tables/BombClear.cs
Normal file
82
Assets/Scripts/Tables/BombClear.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 消除圈
|
||||
/// </summary>
|
||||
public sealed partial class BombClear : DiggingItemProp
|
||||
{
|
||||
public BombClear(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; }
|
||||
{ if(!_json["AppearAnim"].IsString) { throw new SerializationException(); } AppearAnim = _json["AppearAnim"]; }
|
||||
{ if(!_json["AppearFx"].IsString) { throw new SerializationException(); } AppearFx = _json["AppearFx"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BombClear(int Param, string AppearAnim, string AppearFx ) : base()
|
||||
{
|
||||
this.Param = Param;
|
||||
this.AppearAnim = AppearAnim;
|
||||
this.AppearFx = AppearFx;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BombClear DeserializeBombClear(JSONNode _json)
|
||||
{
|
||||
return new BombClear(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 以目标点为圆心的圈数
|
||||
/// </summary>
|
||||
public int Param { get; private set; }
|
||||
/// <summary>
|
||||
/// 出现时的动画
|
||||
/// </summary>
|
||||
public string AppearAnim { get; private set; }
|
||||
/// <summary>
|
||||
/// 出现时的特效,在目标点处播放
|
||||
/// </summary>
|
||||
public string AppearFx { get; private set; }
|
||||
|
||||
public const int __ID__ = 1970012331;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Param:" + Param + ","
|
||||
+ "AppearAnim:" + AppearAnim + ","
|
||||
+ "AppearFx:" + AppearFx + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BombClear.cs.meta
Normal file
11
Assets/Scripts/Tables/BombClear.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c5c0f0ff59fb6042ad84e95b841a793
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
80
Assets/Scripts/Tables/BombGamePlay.cs
Normal file
80
Assets/Scripts/Tables/BombGamePlay.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BombGamePlay : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BombGamePlay(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; }
|
||||
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
|
||||
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BombGamePlay(int ID, int Type, int Weight, int Reward )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Type = Type;
|
||||
this.Weight = Weight;
|
||||
this.Reward = Reward;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BombGamePlay DeserializeBombGamePlay(JSONNode _json)
|
||||
{
|
||||
return new BombGamePlay(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 1:大成功<br/>2:成功<br/>3:小成功
|
||||
/// </summary>
|
||||
public int Type { get; private set; }
|
||||
public int Weight { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int Reward { get; private set; }
|
||||
|
||||
public const int __ID__ = -355257560;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Type:" + Type + ","
|
||||
+ "Weight:" + Weight + ","
|
||||
+ "Reward:" + Reward + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BombGamePlay.cs.meta
Normal file
11
Assets/Scripts/Tables/BombGamePlay.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9eea4bd863b04064785ae09b281082eb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
72
Assets/Scripts/Tables/BombInit.cs
Normal file
72
Assets/Scripts/Tables/BombInit.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BombInit : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BombInit(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BombInit(int ID, int Type )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Type = Type;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BombInit DeserializeBombInit(JSONNode _json)
|
||||
{
|
||||
return new BombInit(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 固化编号,前几次固定序列
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 1:额外道具<br/>2:全部档位奖励<br/>3:特奖奖励
|
||||
/// </summary>
|
||||
public int Type { get; private set; }
|
||||
|
||||
public const int __ID__ = 2003392242;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Type:" + Type + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BombInit.cs.meta
Normal file
11
Assets/Scripts/Tables/BombInit.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 49b450505d0d7c74ea5044f039989d1a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
69
Assets/Scripts/Tables/Box.cs
Normal file
69
Assets/Scripts/Tables/Box.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class Box : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public Box(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["PointsGain"].IsNumber) { throw new SerializationException(); } PointsGain = _json["PointsGain"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Box(int ID, int PointsGain )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.PointsGain = PointsGain;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Box DeserializeBox(JSONNode _json)
|
||||
{
|
||||
return new Box(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Item编号
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
public int PointsGain { get; private set; }
|
||||
|
||||
public const int __ID__ = 66987;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "PointsGain:" + PointsGain + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Box.cs.meta
Normal file
11
Assets/Scripts/Tables/Box.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50a17309814e76e49b5ccd5060d3008b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
69
Assets/Scripts/Tables/BoxInit.cs
Normal file
69
Assets/Scripts/Tables/BoxInit.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BoxInit : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BoxInit(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["BoxID"].IsNumber) { throw new SerializationException(); } BoxID = _json["BoxID"]; }
|
||||
{ var __json0 = _json["DropChange"]; if(!__json0.IsArray) { throw new SerializationException(); } DropChange = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DropChange.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BoxInit(int BoxID, System.Collections.Generic.List<int> DropChange )
|
||||
{
|
||||
this.BoxID = BoxID;
|
||||
this.DropChange = DropChange;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BoxInit DeserializeBoxInit(JSONNode _json)
|
||||
{
|
||||
return new BoxInit(_json);
|
||||
}
|
||||
|
||||
public int BoxID { get; private set; }
|
||||
/// <summary>
|
||||
/// 1
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> DropChange { get; private set; }
|
||||
|
||||
public const int __ID__ = 1736642907;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "BoxID:" + BoxID + ","
|
||||
+ "DropChange:" + Bright.Common.StringUtil.CollectionToString(DropChange) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BoxInit.cs.meta
Normal file
11
Assets/Scripts/Tables/BoxInit.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cdeb97ba553086345b39aa5409da81ec
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
76
Assets/Scripts/Tables/BoxLevel.cs
Normal file
76
Assets/Scripts/Tables/BoxLevel.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class BoxLevel : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public BoxLevel(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Level"].IsNumber) { throw new SerializationException(); } Level = _json["Level"]; }
|
||||
{ if(!_json["PointsRequired"].IsNumber) { throw new SerializationException(); } PointsRequired = _json["PointsRequired"]; }
|
||||
{ if(!_json["BoxID"].IsNumber) { throw new SerializationException(); } BoxID = _json["BoxID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public BoxLevel(int Level, int PointsRequired, int BoxID )
|
||||
{
|
||||
this.Level = Level;
|
||||
this.PointsRequired = PointsRequired;
|
||||
this.BoxID = BoxID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static BoxLevel DeserializeBoxLevel(JSONNode _json)
|
||||
{
|
||||
return new BoxLevel(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表,循环
|
||||
/// </summary>
|
||||
public int Level { get; private set; }
|
||||
public int PointsRequired { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应box表主键
|
||||
/// </summary>
|
||||
public int BoxID { get; private set; }
|
||||
|
||||
public const int __ID__ = -1996130151;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Level:" + Level + ","
|
||||
+ "PointsRequired:" + PointsRequired + ","
|
||||
+ "BoxID:" + BoxID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/BoxLevel.cs.meta
Normal file
11
Assets/Scripts/Tables/BoxLevel.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ff163f086c0a5564abcc737b8eba863f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
94
Assets/Scripts/Tables/CDKey.cs
Normal file
94
Assets/Scripts/Tables/CDKey.cs
Normal file
@@ -0,0 +1,94 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class CDKey : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public CDKey(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["GroupID"].IsNumber) { throw new SerializationException(); } GroupID = _json["GroupID"]; }
|
||||
{ if(!_json["StartTime"].IsString) { throw new SerializationException(); } StartTime = _json["StartTime"]; }
|
||||
{ if(!_json["EndTime"].IsString) { throw new SerializationException(); } EndTime = _json["EndTime"]; }
|
||||
{ if(!_json["UserLifeTime"].IsNumber) { throw new SerializationException(); } UserLifeTime = _json["UserLifeTime"]; }
|
||||
{ var __json0 = _json["ChannelList"]; if(!__json0.IsArray) { throw new SerializationException(); } ChannelList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ChannelList.Add(__v0); } }
|
||||
{ if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CDKey(int GroupID, string StartTime, string EndTime, int UserLifeTime, System.Collections.Generic.List<int> ChannelList, int DropID )
|
||||
{
|
||||
this.GroupID = GroupID;
|
||||
this.StartTime = StartTime;
|
||||
this.EndTime = EndTime;
|
||||
this.UserLifeTime = UserLifeTime;
|
||||
this.ChannelList = ChannelList;
|
||||
this.DropID = DropID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CDKey DeserializeCDKey(JSONNode _json)
|
||||
{
|
||||
return new CDKey(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 组别
|
||||
/// </summary>
|
||||
public int GroupID { get; private set; }
|
||||
public string StartTime { get; private set; }
|
||||
public string EndTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 单位:天<br/>-1则为没有生命周期限制
|
||||
/// </summary>
|
||||
public int UserLifeTime { get; private set; }
|
||||
/// <summary>
|
||||
/// -1:所有
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> ChannelList { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int DropID { get; private set; }
|
||||
|
||||
public const int __ID__ = 63977022;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "GroupID:" + GroupID + ","
|
||||
+ "StartTime:" + StartTime + ","
|
||||
+ "EndTime:" + EndTime + ","
|
||||
+ "UserLifeTime:" + UserLifeTime + ","
|
||||
+ "ChannelList:" + Bright.Common.StringUtil.CollectionToString(ChannelList) + ","
|
||||
+ "DropID:" + DropID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CDKey.cs.meta
Normal file
11
Assets/Scripts/Tables/CDKey.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b6e1d72fa9ca3f4991840175f64a4d9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
147
Assets/Scripts/Tables/CategoriesType.cs
Normal file
147
Assets/Scripts/Tables/CategoriesType.cs
Normal file
@@ -0,0 +1,147 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
/// <summary>
|
||||
/// 鱼的标签分类枚举
|
||||
/// </summary>
|
||||
public enum CategoriesType
|
||||
{
|
||||
/// <summary>
|
||||
/// 杂项
|
||||
/// </summary>
|
||||
Miscellaneous = 1,
|
||||
/// <summary>
|
||||
/// 非洲的鱼类
|
||||
/// </summary>
|
||||
AfricanFish = 2,
|
||||
/// <summary>
|
||||
/// 亚洲鱼类
|
||||
/// </summary>
|
||||
AsianFish = 3,
|
||||
/// <summary>
|
||||
/// 鲈鱼类
|
||||
/// </summary>
|
||||
Bass = 4,
|
||||
/// <summary>
|
||||
/// 旗鱼,马林类
|
||||
/// </summary>
|
||||
BillFishes = 5,
|
||||
/// <summary>
|
||||
/// 箱鲀
|
||||
/// </summary>
|
||||
Boxfish = 6,
|
||||
/// <summary>
|
||||
/// 鲤
|
||||
/// </summary>
|
||||
Carp = 7,
|
||||
/// <summary>
|
||||
/// 鲇鱼
|
||||
/// </summary>
|
||||
Catfish = 8,
|
||||
/// <summary>
|
||||
/// 鳕形目
|
||||
/// </summary>
|
||||
Gadiformes = 9,
|
||||
/// <summary>
|
||||
/// 雀鳝
|
||||
/// </summary>
|
||||
Gar = 10,
|
||||
/// <summary>
|
||||
/// grouper
|
||||
/// </summary>
|
||||
Grouper = 11,
|
||||
/// <summary>
|
||||
/// 鲹科
|
||||
/// </summary>
|
||||
Jack = 12,
|
||||
/// <summary>
|
||||
/// 鼓鱼类
|
||||
/// </summary>
|
||||
Drum = 13,
|
||||
/// <summary>
|
||||
/// 鳗类
|
||||
/// </summary>
|
||||
Eel = 14,
|
||||
/// <summary>
|
||||
/// 扁鲀
|
||||
/// </summary>
|
||||
Filefish = 15,
|
||||
/// <summary>
|
||||
/// 比目鱼类
|
||||
/// </summary>
|
||||
Flatfish = 16,
|
||||
/// <summary>
|
||||
/// 颌针鱼
|
||||
/// </summary>
|
||||
Needlefish = 17,
|
||||
/// <summary>
|
||||
/// 骨舌鱼目
|
||||
/// </summary>
|
||||
Osteoglossiformes = 18,
|
||||
/// <summary>
|
||||
/// 鲷鱼
|
||||
/// </summary>
|
||||
Snapper = 19,
|
||||
/// <summary>
|
||||
/// 魟鱼
|
||||
/// </summary>
|
||||
Ray = 20,
|
||||
/// <summary>
|
||||
/// 金枪鱼
|
||||
/// </summary>
|
||||
Tuna = 21,
|
||||
/// <summary>
|
||||
/// 鲨鱼
|
||||
/// </summary>
|
||||
Shark = 22,
|
||||
/// <summary>
|
||||
/// 鲑鱼
|
||||
/// </summary>
|
||||
Salmon = 23,
|
||||
/// <summary>
|
||||
/// 鳟鱼
|
||||
/// </summary>
|
||||
Trout = 24,
|
||||
/// <summary>
|
||||
/// 狗鱼
|
||||
/// </summary>
|
||||
Pike = 25,
|
||||
/// <summary>
|
||||
/// 隆头鱼
|
||||
/// </summary>
|
||||
Wrasse = 26,
|
||||
/// <summary>
|
||||
/// 海鲂
|
||||
/// </summary>
|
||||
Porgy = 27,
|
||||
/// <summary>
|
||||
/// 太阳鱼科
|
||||
/// </summary>
|
||||
Sunfish = 28,
|
||||
/// <summary>
|
||||
/// 鱿鱼类
|
||||
/// </summary>
|
||||
Squid = 29,
|
||||
/// <summary>
|
||||
/// 鲈鱼类
|
||||
/// </summary>
|
||||
Perch = 30,
|
||||
/// <summary>
|
||||
/// 鲟鱼类
|
||||
/// </summary>
|
||||
Sturgeon = 31,
|
||||
/// <summary>
|
||||
/// 海鲷
|
||||
/// </summary>
|
||||
Seabream = 32,
|
||||
}
|
||||
|
||||
}
|
||||
11
Assets/Scripts/Tables/CategoriesType.cs.meta
Normal file
11
Assets/Scripts/Tables/CategoriesType.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90c45de4a3cc45f45ad1e9eb20686bb4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
72
Assets/Scripts/Tables/ClubAvatar.cs
Normal file
72
Assets/Scripts/Tables/ClubAvatar.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ClubAvatar : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ClubAvatar(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Avatar"].IsString) { throw new SerializationException(); } Avatar = _json["Avatar"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ClubAvatar(int ID, string Avatar )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Avatar = Avatar;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ClubAvatar DeserializeClubAvatar(JSONNode _json)
|
||||
{
|
||||
return new ClubAvatar(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 头像图标
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 头像名称
|
||||
/// </summary>
|
||||
public string Avatar { get; private set; }
|
||||
|
||||
public const int __ID__ = -1413788209;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Avatar:" + Avatar + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ClubAvatar.cs.meta
Normal file
11
Assets/Scripts/Tables/ClubAvatar.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79eaa5f169b23e74db7916036aa6fb5b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
72
Assets/Scripts/Tables/ClubEmoji.cs
Normal file
72
Assets/Scripts/Tables/ClubEmoji.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ClubEmoji : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ClubEmoji(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Frame"].IsString) { throw new SerializationException(); } Frame = _json["Frame"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ClubEmoji(int ID, string Frame )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Frame = Frame;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ClubEmoji DeserializeClubEmoji(JSONNode _json)
|
||||
{
|
||||
return new ClubEmoji(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 头像框
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 头像名称
|
||||
/// </summary>
|
||||
public string Frame { get; private set; }
|
||||
|
||||
public const int __ID__ = 2036043024;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Frame:" + Frame + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ClubEmoji.cs.meta
Normal file
11
Assets/Scripts/Tables/ClubEmoji.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 24638feee89914f48b2afdcf8a18244a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
72
Assets/Scripts/Tables/ClubFrame.cs
Normal file
72
Assets/Scripts/Tables/ClubFrame.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ClubFrame : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ClubFrame(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Frame"].IsString) { throw new SerializationException(); } Frame = _json["Frame"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ClubFrame(int ID, string Frame )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Frame = Frame;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ClubFrame DeserializeClubFrame(JSONNode _json)
|
||||
{
|
||||
return new ClubFrame(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 头像框
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 头像名称
|
||||
/// </summary>
|
||||
public string Frame { get; private set; }
|
||||
|
||||
public const int __ID__ = 2037102135;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Frame:" + Frame + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ClubFrame.cs.meta
Normal file
11
Assets/Scripts/Tables/ClubFrame.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 555a061738570af43a2e66143df180ef
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
69
Assets/Scripts/Tables/CollectingPropScale.cs
Normal file
69
Assets/Scripts/Tables/CollectingPropScale.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class CollectingPropScale : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public CollectingPropScale(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Quality"].IsNumber) { throw new SerializationException(); } Quality = _json["Quality"]; }
|
||||
{ if(!_json["Scale"].IsNumber) { throw new SerializationException(); } Scale = _json["Scale"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CollectingPropScale(int Quality, float Scale )
|
||||
{
|
||||
this.Quality = Quality;
|
||||
this.Scale = Scale;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CollectingPropScale DeserializeCollectingPropScale(JSONNode _json)
|
||||
{
|
||||
return new CollectingPropScale(_json);
|
||||
}
|
||||
|
||||
public int Quality { get; private set; }
|
||||
/// <summary>
|
||||
/// 类型中带有Mode的进行缩放
|
||||
/// </summary>
|
||||
public float Scale { get; private set; }
|
||||
|
||||
public const int __ID__ = -691397649;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Quality:" + Quality + ","
|
||||
+ "Scale:" + Scale + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CollectingPropScale.cs.meta
Normal file
11
Assets/Scripts/Tables/CollectingPropScale.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4bb1acd5a6725ca4381637ca3aabe9e2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
142
Assets/Scripts/Tables/CollectingTargetInit.cs
Normal file
142
Assets/Scripts/Tables/CollectingTargetInit.cs
Normal file
@@ -0,0 +1,142 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class CollectingTargetInit : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public CollectingTargetInit(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["TaskID"].IsNumber) { throw new SerializationException(); } TaskID = _json["TaskID"]; }
|
||||
{ if(!_json["Title"]["key"].IsString) { throw new SerializationException(); } Title_l10n_key = _json["Title"]["key"]; if(!_json["Title"]["text"].IsString) { throw new SerializationException(); } Title = _json["Title"]["text"]; }
|
||||
{ if(!_json["TokenID"].IsNumber) { throw new SerializationException(); } TokenID = _json["TokenID"]; }
|
||||
{ if(!_json["TriggerPackID"].IsNumber) { throw new SerializationException(); } TriggerPackID = _json["TriggerPackID"]; }
|
||||
{ if(!_json["BasicProb"].IsNumber) { throw new SerializationException(); } BasicProb = _json["BasicProb"]; }
|
||||
{ if(!_json["DownloadPkg"].IsString) { throw new SerializationException(); } DownloadPkg = _json["DownloadPkg"]; }
|
||||
{ if(!_json["FishingExtraDrop"].IsObject) { throw new SerializationException(); } FishingExtraDrop = EventTargetExtraDrop.DeserializeEventTargetExtraDrop(_json["FishingExtraDrop"]); }
|
||||
{ var __json0 = _json["TargetList"]; if(!__json0.IsArray) { throw new SerializationException(); } TargetList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } TargetList.Add(__v0); } }
|
||||
{ if(!_json["BgRewardAdd"].IsString) { throw new SerializationException(); } BgRewardAdd = _json["BgRewardAdd"]; }
|
||||
{ if(!_json["BuffIcon"].IsString) { throw new SerializationException(); } BuffIcon = _json["BuffIcon"]; }
|
||||
{ if(!_json["BgTitle"].IsString) { throw new SerializationException(); } BgTitle = _json["BgTitle"]; }
|
||||
{ if(!_json["BgDescPrefab"].IsString) { throw new SerializationException(); } BgDescPrefab = _json["BgDescPrefab"]; }
|
||||
{ if(!_json["GiftIcon"].IsString) { throw new SerializationException(); } GiftIcon = _json["GiftIcon"]; }
|
||||
{ if(!_json["GiftPrefab"].IsString) { throw new SerializationException(); } GiftPrefab = _json["GiftPrefab"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CollectingTargetInit(int TaskID, string Title, int TokenID, int TriggerPackID, float BasicProb, string DownloadPkg, EventTargetExtraDrop FishingExtraDrop, System.Collections.Generic.List<int> TargetList, string BgRewardAdd, string BuffIcon, string BgTitle, string BgDescPrefab, string GiftIcon, string GiftPrefab )
|
||||
{
|
||||
this.TaskID = TaskID;
|
||||
this.Title = Title;
|
||||
this.TokenID = TokenID;
|
||||
this.TriggerPackID = TriggerPackID;
|
||||
this.BasicProb = BasicProb;
|
||||
this.DownloadPkg = DownloadPkg;
|
||||
this.FishingExtraDrop = FishingExtraDrop;
|
||||
this.TargetList = TargetList;
|
||||
this.BgRewardAdd = BgRewardAdd;
|
||||
this.BuffIcon = BuffIcon;
|
||||
this.BgTitle = BgTitle;
|
||||
this.BgDescPrefab = BgDescPrefab;
|
||||
this.GiftIcon = GiftIcon;
|
||||
this.GiftPrefab = GiftPrefab;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CollectingTargetInit DeserializeCollectingTargetInit(JSONNode _json)
|
||||
{
|
||||
return new CollectingTargetInit(_json);
|
||||
}
|
||||
|
||||
public int TaskID { get; private set; }
|
||||
/// <summary>
|
||||
/// key
|
||||
/// </summary>
|
||||
public string Title { get; private set; }
|
||||
public string Title_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 对应Item表主键
|
||||
/// </summary>
|
||||
public int TokenID { get; private set; }
|
||||
/// <summary>
|
||||
/// 读Pack
|
||||
/// </summary>
|
||||
public int TriggerPackID { get; private set; }
|
||||
/// <summary>
|
||||
/// 每次钓鱼时优先计算
|
||||
/// </summary>
|
||||
public float BasicProb { get; private set; }
|
||||
/// <summary>
|
||||
/// pkgDownloads/EventTarget/下的对应名字<br/>会加载对应文件夹内的内容
|
||||
/// </summary>
|
||||
public string DownloadPkg { get; private set; }
|
||||
/// <summary>
|
||||
/// 具体参数详见beans表
|
||||
/// </summary>
|
||||
public EventTargetExtraDrop FishingExtraDrop { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Target主键
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> TargetList { get; private set; }
|
||||
public string BgRewardAdd { get; private set; }
|
||||
public string BuffIcon { get; private set; }
|
||||
/// <summary>
|
||||
/// 主界面的banner
|
||||
/// </summary>
|
||||
public string BgTitle { get; private set; }
|
||||
public string BgDescPrefab { get; private set; }
|
||||
public string GiftIcon { get; private set; }
|
||||
public string GiftPrefab { get; private set; }
|
||||
|
||||
public const int __ID__ = 1983587065;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
FishingExtraDrop?.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Title = translator(Title_l10n_key, Title);
|
||||
FishingExtraDrop?.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "TaskID:" + TaskID + ","
|
||||
+ "Title:" + Title + ","
|
||||
+ "TokenID:" + TokenID + ","
|
||||
+ "TriggerPackID:" + TriggerPackID + ","
|
||||
+ "BasicProb:" + BasicProb + ","
|
||||
+ "DownloadPkg:" + DownloadPkg + ","
|
||||
+ "FishingExtraDrop:" + FishingExtraDrop + ","
|
||||
+ "TargetList:" + Bright.Common.StringUtil.CollectionToString(TargetList) + ","
|
||||
+ "BgRewardAdd:" + BgRewardAdd + ","
|
||||
+ "BuffIcon:" + BuffIcon + ","
|
||||
+ "BgTitle:" + BgTitle + ","
|
||||
+ "BgDescPrefab:" + BgDescPrefab + ","
|
||||
+ "GiftIcon:" + GiftIcon + ","
|
||||
+ "GiftPrefab:" + GiftPrefab + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CollectingTargetInit.cs.meta
Normal file
11
Assets/Scripts/Tables/CollectingTargetInit.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a19dab6bc2852ee4f8af0cde1ee6329f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
84
Assets/Scripts/Tables/CollectingTargetReward.cs
Normal file
84
Assets/Scripts/Tables/CollectingTargetReward.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class CollectingTargetReward : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public CollectingTargetReward(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["TaskID"].IsNumber) { throw new SerializationException(); } TaskID = _json["TaskID"]; }
|
||||
{ if(!_json["Milestone"].IsNumber) { throw new SerializationException(); } Milestone = _json["Milestone"]; }
|
||||
{ if(!_json["TokenRequired"].IsNumber) { throw new SerializationException(); } TokenRequired = _json["TokenRequired"]; }
|
||||
{ if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; }
|
||||
{ if(!_json["NextTarget"].IsNumber) { throw new SerializationException(); } NextTarget = _json["NextTarget"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CollectingTargetReward(int TaskID, int Milestone, int TokenRequired, int DropID, int NextTarget )
|
||||
{
|
||||
this.TaskID = TaskID;
|
||||
this.Milestone = Milestone;
|
||||
this.TokenRequired = TokenRequired;
|
||||
this.DropID = DropID;
|
||||
this.NextTarget = NextTarget;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CollectingTargetReward DeserializeCollectingTargetReward(JSONNode _json)
|
||||
{
|
||||
return new CollectingTargetReward(_json);
|
||||
}
|
||||
|
||||
public int TaskID { get; private set; }
|
||||
/// <summary>
|
||||
/// 普通奖励不填<br/>阶段奖填1<br/>终极大奖填2
|
||||
/// </summary>
|
||||
public int Milestone { get; private set; }
|
||||
public int TokenRequired { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int DropID { get; private set; }
|
||||
public int NextTarget { get; private set; }
|
||||
|
||||
public const int __ID__ = -488556840;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "TaskID:" + TaskID + ","
|
||||
+ "Milestone:" + Milestone + ","
|
||||
+ "TokenRequired:" + TokenRequired + ","
|
||||
+ "DropID:" + DropID + ","
|
||||
+ "NextTarget:" + NextTarget + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CollectingTargetReward.cs.meta
Normal file
11
Assets/Scripts/Tables/CollectingTargetReward.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f2caeab9bc58b942b0699e2943622d5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
68
Assets/Scripts/Tables/CollectionTargetExtraPoint.cs
Normal file
68
Assets/Scripts/Tables/CollectionTargetExtraPoint.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 目标奖励活动额外积分
|
||||
/// </summary>
|
||||
public sealed partial class CollectionTargetExtraPoint : FishBuffType
|
||||
{
|
||||
public CollectionTargetExtraPoint(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CollectionTargetExtraPoint(float Param ) : base()
|
||||
{
|
||||
this.Param = Param;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CollectionTargetExtraPoint DeserializeCollectionTargetExtraPoint(JSONNode _json)
|
||||
{
|
||||
return new CollectionTargetExtraPoint(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 目标奖励活动所有鱼的积分加成倍率
|
||||
/// </summary>
|
||||
public float Param { get; private set; }
|
||||
|
||||
public const int __ID__ = 1334360751;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Param:" + Param + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CollectionTargetExtraPoint.cs.meta
Normal file
11
Assets/Scripts/Tables/CollectionTargetExtraPoint.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e92f8d9192cd0a45bb389eeff3a2741
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
82
Assets/Scripts/Tables/CollectionTargetWeight.cs
Normal file
82
Assets/Scripts/Tables/CollectionTargetWeight.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 目标奖励活动鱼权重
|
||||
/// </summary>
|
||||
public sealed partial class CollectionTargetWeight : FishBuffType
|
||||
{
|
||||
public CollectionTargetWeight(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ var __json0 = _json["NewWeightList"]; if(!__json0.IsArray) { throw new SerializationException(); } NewWeightList = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } NewWeightList.Add(__v0); } }
|
||||
{ if(!_json["TargetFishIndex"].IsNumber) { throw new SerializationException(); } TargetFishIndex = _json["TargetFishIndex"]; }
|
||||
{ if(!_json["NewTargetFishProb"].IsNumber) { throw new SerializationException(); } NewTargetFishProb = _json["NewTargetFishProb"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CollectionTargetWeight(System.Collections.Generic.List<float> NewWeightList, int TargetFishIndex, float NewTargetFishProb ) : base()
|
||||
{
|
||||
this.NewWeightList = NewWeightList;
|
||||
this.TargetFishIndex = TargetFishIndex;
|
||||
this.NewTargetFishProb = NewTargetFishProb;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CollectionTargetWeight DeserializeCollectionTargetWeight(JSONNode _json)
|
||||
{
|
||||
return new CollectionTargetWeight(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 目标奖励活动新的所有鱼的权重
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> NewWeightList { get; private set; }
|
||||
/// <summary>
|
||||
/// 钓到第几条鱼则buff消失
|
||||
/// </summary>
|
||||
public int TargetFishIndex { get; private set; }
|
||||
/// <summary>
|
||||
/// 修改目标奖励活动鱼的权重
|
||||
/// </summary>
|
||||
public float NewTargetFishProb { get; private set; }
|
||||
|
||||
public const int __ID__ = 1389764935;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "NewWeightList:" + Bright.Common.StringUtil.CollectionToString(NewWeightList) + ","
|
||||
+ "TargetFishIndex:" + TargetFishIndex + ","
|
||||
+ "NewTargetFishProb:" + NewTargetFishProb + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CollectionTargetWeight.cs.meta
Normal file
11
Assets/Scripts/Tables/CollectionTargetWeight.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 82a81b1de3522a748ad4d867c8f794ed
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
82
Assets/Scripts/Tables/ColumnClear.cs
Normal file
82
Assets/Scripts/Tables/ColumnClear.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 消除列
|
||||
/// </summary>
|
||||
public sealed partial class ColumnClear : DiggingItemProp
|
||||
{
|
||||
public ColumnClear(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; }
|
||||
{ if(!_json["AppearAnim"].IsString) { throw new SerializationException(); } AppearAnim = _json["AppearAnim"]; }
|
||||
{ if(!_json["AppearFx"].IsString) { throw new SerializationException(); } AppearFx = _json["AppearFx"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ColumnClear(int Param, string AppearAnim, string AppearFx ) : base()
|
||||
{
|
||||
this.Param = Param;
|
||||
this.AppearAnim = AppearAnim;
|
||||
this.AppearFx = AppearFx;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ColumnClear DeserializeColumnClear(JSONNode _json)
|
||||
{
|
||||
return new ColumnClear(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 以目标点为中心,上下各多少格
|
||||
/// </summary>
|
||||
public int Param { get; private set; }
|
||||
/// <summary>
|
||||
/// 出现时的动画
|
||||
/// </summary>
|
||||
public string AppearAnim { get; private set; }
|
||||
/// <summary>
|
||||
/// 出现时的特效,在目标点处播放
|
||||
/// </summary>
|
||||
public string AppearFx { get; private set; }
|
||||
|
||||
public const int __ID__ = 807026807;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Param:" + Param + ","
|
||||
+ "AppearAnim:" + AppearAnim + ","
|
||||
+ "AppearFx:" + AppearFx + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ColumnClear.cs.meta
Normal file
11
Assets/Scripts/Tables/ColumnClear.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d24ad934768f5e54792661dac1726e67
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
89
Assets/Scripts/Tables/CommonTask.cs
Normal file
89
Assets/Scripts/Tables/CommonTask.cs
Normal file
@@ -0,0 +1,89 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class CommonTask : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public CommonTask(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Id"].IsNumber) { throw new SerializationException(); } Id = _json["Id"]; }
|
||||
{ if(!_json["TaskType"].IsNumber) { throw new SerializationException(); } TaskType = (ConditionType)_json["TaskType"].AsInt; }
|
||||
{ if(!_json["TaskDesc"]["key"].IsString) { throw new SerializationException(); } TaskDesc_l10n_key = _json["TaskDesc"]["key"]; if(!_json["TaskDesc"]["text"].IsString) { throw new SerializationException(); } TaskDesc = _json["TaskDesc"]["text"]; }
|
||||
{ if(!_json["TaskReward"].IsNumber) { throw new SerializationException(); } TaskReward = _json["TaskReward"]; }
|
||||
{ var __json0 = _json["TaskParam"]; if(!__json0.IsArray) { throw new SerializationException(); } TaskParam = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } TaskParam.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CommonTask(int Id, ConditionType TaskType, string TaskDesc, int TaskReward, System.Collections.Generic.List<int> TaskParam )
|
||||
{
|
||||
this.Id = Id;
|
||||
this.TaskType = TaskType;
|
||||
this.TaskDesc = TaskDesc;
|
||||
this.TaskReward = TaskReward;
|
||||
this.TaskParam = TaskParam;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CommonTask DeserializeCommonTask(JSONNode _json)
|
||||
{
|
||||
return new CommonTask(_json);
|
||||
}
|
||||
|
||||
public int Id { get; private set; }
|
||||
public ConditionType TaskType { get; private set; }
|
||||
/// <summary>
|
||||
/// key
|
||||
/// </summary>
|
||||
public string TaskDesc { get; private set; }
|
||||
public string TaskDesc_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 读Drop表
|
||||
/// </summary>
|
||||
public int TaskReward { get; private set; }
|
||||
/// <summary>
|
||||
/// 0
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> TaskParam { get; private set; }
|
||||
|
||||
public const int __ID__ = -1117011408;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
TaskDesc = translator(TaskDesc_l10n_key, TaskDesc);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Id:" + Id + ","
|
||||
+ "TaskType:" + TaskType + ","
|
||||
+ "TaskDesc:" + TaskDesc + ","
|
||||
+ "TaskReward:" + TaskReward + ","
|
||||
+ "TaskParam:" + Bright.Common.StringUtil.CollectionToString(TaskParam) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CommonTask.cs.meta
Normal file
11
Assets/Scripts/Tables/CommonTask.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2255eee8713a61c4da39552b9239e246
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
207
Assets/Scripts/Tables/ConditionType.cs
Normal file
207
Assets/Scripts/Tables/ConditionType.cs
Normal file
@@ -0,0 +1,207 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
/// <summary>
|
||||
/// 条件枚举类型
|
||||
/// </summary>
|
||||
public enum ConditionType
|
||||
{
|
||||
/// <summary>
|
||||
/// 无条件
|
||||
/// </summary>
|
||||
None = 0,
|
||||
/// <summary>
|
||||
/// 钓到n条指定鱼种
|
||||
/// </summary>
|
||||
GetFishID = 1,
|
||||
/// <summary>
|
||||
/// 完成n次建造
|
||||
/// </summary>
|
||||
ConstructionCount = 2,
|
||||
/// <summary>
|
||||
/// 消耗n点体力
|
||||
/// </summary>
|
||||
ConsumeEnergy = 3,
|
||||
/// <summary>
|
||||
/// 钓到n条boos鱼
|
||||
/// </summary>
|
||||
GetBoosFish = 4,
|
||||
/// <summary>
|
||||
/// 进行n次抢劫
|
||||
/// </summary>
|
||||
DoRobbery = 5,
|
||||
/// <summary>
|
||||
/// 分享游戏n次
|
||||
/// </summary>
|
||||
ShareGame = 6,
|
||||
/// <summary>
|
||||
/// 一周累计完成n个每日任务
|
||||
/// </summary>
|
||||
DailyTaskCompleted = 7,
|
||||
/// <summary>
|
||||
/// 钓到鱼的数量
|
||||
/// </summary>
|
||||
GetFishCount = 8,
|
||||
/// <summary>
|
||||
/// 账号等级
|
||||
/// </summary>
|
||||
AccountLevel = 9,
|
||||
/// <summary>
|
||||
/// 熟练度总等级
|
||||
/// </summary>
|
||||
MasteryLevel = 10,
|
||||
/// <summary>
|
||||
/// 进行n次抢银行
|
||||
/// </summary>
|
||||
DoHeist = 11,
|
||||
/// <summary>
|
||||
/// 进行n次轰炸
|
||||
/// </summary>
|
||||
DoBomb = 12,
|
||||
/// <summary>
|
||||
/// 完成某个引导
|
||||
/// </summary>
|
||||
CompleteGuide = 13,
|
||||
/// <summary>
|
||||
/// 购买特定礼包
|
||||
/// </summary>
|
||||
BuyPack = 14,
|
||||
/// <summary>
|
||||
/// 转盘券小于一定数量
|
||||
/// </summary>
|
||||
WheelTicketLessThan = 15,
|
||||
/// <summary>
|
||||
/// 地图编号
|
||||
/// </summary>
|
||||
MapUnlocked = 17,
|
||||
/// <summary>
|
||||
/// 体力不足
|
||||
/// </summary>
|
||||
OutOfEnergy = 18,
|
||||
/// <summary>
|
||||
/// 登录游戏n天
|
||||
/// </summary>
|
||||
LoginDays = 19,
|
||||
/// <summary>
|
||||
/// 打开n个钓箱
|
||||
/// </summary>
|
||||
OpenFishBoxCount = 20,
|
||||
/// <summary>
|
||||
/// 收集n张鱼卡
|
||||
/// </summary>
|
||||
CollectFishCardCount = 21,
|
||||
/// <summary>
|
||||
/// 消耗n张转盘券
|
||||
/// </summary>
|
||||
ConusumeTicketCount = 22,
|
||||
/// <summary>
|
||||
/// 消耗n个钻石
|
||||
/// </summary>
|
||||
ConsumeDiamondCount = 24,
|
||||
/// <summary>
|
||||
/// 完成n次钓鱼挑战赛(结算了才视为完成)
|
||||
/// </summary>
|
||||
CompleteChallengeCount = 25,
|
||||
/// <summary>
|
||||
/// 升级n次鱼竿
|
||||
/// </summary>
|
||||
UpgradeRodTimes = 26,
|
||||
/// <summary>
|
||||
/// 钓到n条巨型鱼/鱼王
|
||||
/// </summary>
|
||||
GetBiggerThanHugeFishCount = 27,
|
||||
/// <summary>
|
||||
/// 创角时间≥(单位:小时)
|
||||
/// </summary>
|
||||
RoleCreateTime = 28,
|
||||
/// <summary>
|
||||
/// 捕获鱼的重量
|
||||
/// </summary>
|
||||
GetFishWeight = 29,
|
||||
/// <summary>
|
||||
/// 完美刺鱼的次数
|
||||
/// </summary>
|
||||
PerfectStrikeCount = 30,
|
||||
/// <summary>
|
||||
/// 钓鱼获得的钞票(受体力倍率影响)
|
||||
/// </summary>
|
||||
CashFromFishing = 31,
|
||||
/// <summary>
|
||||
/// 轰炸获得钞票(受体力倍率影响)
|
||||
/// </summary>
|
||||
CashFromBomb = 32,
|
||||
/// <summary>
|
||||
/// 抢银行钞票(受体力倍率影响)
|
||||
/// </summary>
|
||||
CashFromHeist = 33,
|
||||
/// <summary>
|
||||
/// 钓鱼获得的钞票
|
||||
/// </summary>
|
||||
MaxCashFromFishing = 34,
|
||||
/// <summary>
|
||||
/// 轰炸获得钞票
|
||||
/// </summary>
|
||||
MaxCashFromBomb = 35,
|
||||
/// <summary>
|
||||
/// 抢银行钞票
|
||||
/// </summary>
|
||||
MaxCashFromHeist = 36,
|
||||
/// <summary>
|
||||
/// 鱼竿总等级
|
||||
/// </summary>
|
||||
AllRodLevel = 37,
|
||||
/// <summary>
|
||||
/// 鱼卡总等级
|
||||
/// </summary>
|
||||
AllFishCardLevel = 38,
|
||||
/// <summary>
|
||||
/// 创角时间<(单位:小时)
|
||||
/// </summary>
|
||||
RoleCreateTimeLessThan = 39,
|
||||
/// <summary>
|
||||
/// 当前最大建造等级
|
||||
/// </summary>
|
||||
BuildingComplete = 40,
|
||||
/// <summary>
|
||||
/// 没有体力且当前等级大于等于该等级
|
||||
/// </summary>
|
||||
AccountLevelAfterNoEnergy = 41,
|
||||
/// <summary>
|
||||
/// 完成n次1v1对决
|
||||
/// </summary>
|
||||
Complete1v1Count = 42,
|
||||
/// <summary>
|
||||
/// Vip等级
|
||||
/// </summary>
|
||||
VipLevel = 43,
|
||||
/// <summary>
|
||||
/// 价格等级
|
||||
/// </summary>
|
||||
PriceLevel = 44,
|
||||
/// <summary>
|
||||
/// 水族馆探索
|
||||
/// </summary>
|
||||
FishAquariumExplore = 45,
|
||||
/// <summary>
|
||||
/// 升级1级鱼卡
|
||||
/// </summary>
|
||||
FishCardLevelUp = 46,
|
||||
/// <summary>
|
||||
/// 完成任{0}笔付费
|
||||
/// </summary>
|
||||
MakeInAppPurchase = 47,
|
||||
/// <summary>
|
||||
/// 充值{0}额度
|
||||
/// </summary>
|
||||
RechargeAmount = 48,
|
||||
}
|
||||
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConditionType.cs.meta
Normal file
11
Assets/Scripts/Tables/ConditionType.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8783606e63e80b14ca140adfb952c834
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
118
Assets/Scripts/Tables/Construction.cs
Normal file
118
Assets/Scripts/Tables/Construction.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class Construction : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public Construction(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["IsABTest"].IsBoolean) { throw new SerializationException(); } IsABTest = _json["IsABTest"]; }
|
||||
{ if(!_json["Name"]["key"].IsString) { throw new SerializationException(); } Name_l10n_key = _json["Name"]["key"]; if(!_json["Name"]["text"].IsString) { throw new SerializationException(); } Name = _json["Name"]["text"]; }
|
||||
{ if(!_json["InitialLevel"].IsNumber) { throw new SerializationException(); } InitialLevel = _json["InitialLevel"]; }
|
||||
{ if(!_json["NextID"].IsNumber) { throw new SerializationException(); } NextID = _json["NextID"]; }
|
||||
{ if(!_json["Prefab"].IsString) { throw new SerializationException(); } Prefab = _json["Prefab"]; }
|
||||
{ if(!_json["BombPrefab"].IsString) { throw new SerializationException(); } BombPrefab = _json["BombPrefab"]; }
|
||||
{ if(!_json["BGM"].IsString) { throw new SerializationException(); } BGM = _json["BGM"]; }
|
||||
{ var __json0 = _json["AreaList"]; if(!__json0.IsArray) { throw new SerializationException(); } AreaList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AreaList.Add(__v0); } }
|
||||
{ var __json0 = _json["MmtAreaList"]; if(!__json0.IsArray) { throw new SerializationException(); } MmtAreaList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MmtAreaList.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Construction(int ID, bool IsABTest, string Name, int InitialLevel, int NextID, string Prefab, string BombPrefab, string BGM, System.Collections.Generic.List<int> AreaList, System.Collections.Generic.List<int> MmtAreaList )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.IsABTest = IsABTest;
|
||||
this.Name = Name;
|
||||
this.InitialLevel = InitialLevel;
|
||||
this.NextID = NextID;
|
||||
this.Prefab = Prefab;
|
||||
this.BombPrefab = BombPrefab;
|
||||
this.BGM = BGM;
|
||||
this.AreaList = AreaList;
|
||||
this.MmtAreaList = MmtAreaList;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Construction DeserializeConstruction(JSONNode _json)
|
||||
{
|
||||
return new Construction(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 主键,唯一标识
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 0:否<br/>1:是<br/>是AB Test的场景不会展示
|
||||
/// </summary>
|
||||
public bool IsABTest { get; private set; }
|
||||
/// <summary>
|
||||
/// 多语言key + 中文
|
||||
/// </summary>
|
||||
public string Name { get; private set; }
|
||||
public string Name_l10n_key { get; }
|
||||
public int InitialLevel { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应本表主键<br/>-1则为结束
|
||||
/// </summary>
|
||||
public int NextID { get; private set; }
|
||||
/// <summary>
|
||||
/// 此列已作废
|
||||
/// </summary>
|
||||
public string Prefab { get; private set; }
|
||||
public string BombPrefab { get; private set; }
|
||||
/// <summary>
|
||||
/// 音频资源
|
||||
/// </summary>
|
||||
public string BGM { get; private set; }
|
||||
public System.Collections.Generic.List<int> AreaList { get; private set; }
|
||||
public System.Collections.Generic.List<int> MmtAreaList { get; private set; }
|
||||
|
||||
public const int __ID__ = -1831639823;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Name = translator(Name_l10n_key, Name);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "IsABTest:" + IsABTest + ","
|
||||
+ "Name:" + Name + ","
|
||||
+ "InitialLevel:" + InitialLevel + ","
|
||||
+ "NextID:" + NextID + ","
|
||||
+ "Prefab:" + Prefab + ","
|
||||
+ "BombPrefab:" + BombPrefab + ","
|
||||
+ "BGM:" + BGM + ","
|
||||
+ "AreaList:" + Bright.Common.StringUtil.CollectionToString(AreaList) + ","
|
||||
+ "MmtAreaList:" + Bright.Common.StringUtil.CollectionToString(MmtAreaList) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Construction.cs.meta
Normal file
11
Assets/Scripts/Tables/Construction.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71874de1ad5b9824f9d21c90ce512851
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
131
Assets/Scripts/Tables/ConstructionArea.cs
Normal file
131
Assets/Scripts/Tables/ConstructionArea.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionArea : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionArea(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["TimelineID"].IsNumber) { throw new SerializationException(); } TimelineID = _json["TimelineID"]; }
|
||||
{ if(!_json["StepCount"].IsNumber) { throw new SerializationException(); } StepCount = _json["StepCount"]; }
|
||||
{ if(!_json["BuildingPrefeb"].IsString) { throw new SerializationException(); } BuildingPrefeb = _json["BuildingPrefeb"]; }
|
||||
{ if(!_json["TimelinePlaytime"].IsNumber) { throw new SerializationException(); } TimelinePlaytime = _json["TimelinePlaytime"]; }
|
||||
{ if(!_json["Name"]["key"].IsString) { throw new SerializationException(); } Name_l10n_key = _json["Name"]["key"]; if(!_json["Name"]["text"].IsString) { throw new SerializationException(); } Name = _json["Name"]["text"]; }
|
||||
{ if(!_json["NameIndex"]["key"].IsString) { throw new SerializationException(); } NameIndex_l10n_key = _json["NameIndex"]["key"]; if(!_json["NameIndex"]["text"].IsString) { throw new SerializationException(); } NameIndex = _json["NameIndex"]["text"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
|
||||
{ var __json0 = _json["StepList"]; if(!__json0.IsArray) { throw new SerializationException(); } StepList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StepList.Add(__v0); } }
|
||||
{ if(!_json["TurnOffFreeLook"].IsNumber) { throw new SerializationException(); } TurnOffFreeLook = _json["TurnOffFreeLook"]; }
|
||||
{ if(!_json["TurnOffTimeScale"].IsNumber) { throw new SerializationException(); } TurnOffTimeScale = _json["TurnOffTimeScale"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionArea(int ID, int TimelineID, int StepCount, string BuildingPrefeb, float TimelinePlaytime, string Name, string NameIndex, string Icon, int Reward, System.Collections.Generic.List<int> StepList, int TurnOffFreeLook, int TurnOffTimeScale )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.TimelineID = TimelineID;
|
||||
this.StepCount = StepCount;
|
||||
this.BuildingPrefeb = BuildingPrefeb;
|
||||
this.TimelinePlaytime = TimelinePlaytime;
|
||||
this.Name = Name;
|
||||
this.NameIndex = NameIndex;
|
||||
this.Icon = Icon;
|
||||
this.Reward = Reward;
|
||||
this.StepList = StepList;
|
||||
this.TurnOffFreeLook = TurnOffFreeLook;
|
||||
this.TurnOffTimeScale = TurnOffTimeScale;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionArea DeserializeConstructionArea(JSONNode _json)
|
||||
{
|
||||
return new ConstructionArea(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// Building脚本中的序号,从0开始
|
||||
/// </summary>
|
||||
public int TimelineID { get; private set; }
|
||||
public int StepCount { get; private set; }
|
||||
public string BuildingPrefeb { get; private set; }
|
||||
/// <summary>
|
||||
/// 不同prefeb转换的时候,上一个timeline播放时间
|
||||
/// </summary>
|
||||
public float TimelinePlaytime { get; private set; }
|
||||
/// <summary>
|
||||
/// 多语言key + 中文
|
||||
/// </summary>
|
||||
public string Name { get; private set; }
|
||||
public string Name_l10n_key { get; }
|
||||
/// <summary>
|
||||
/// 多语言key + 中文
|
||||
/// </summary>
|
||||
public string NameIndex { get; private set; }
|
||||
public string NameIndex_l10n_key { get; }
|
||||
public string Icon { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应Drop表主键
|
||||
/// </summary>
|
||||
public int Reward { get; private set; }
|
||||
public System.Collections.Generic.List<int> StepList { get; private set; }
|
||||
/// <summary>
|
||||
/// 用于室内关闭lookfar和looknear功能<br/>1 关闭
|
||||
/// </summary>
|
||||
public int TurnOffFreeLook { get; private set; }
|
||||
/// <summary>
|
||||
/// 用于室内关闭加速功能<br/>1 关闭
|
||||
/// </summary>
|
||||
public int TurnOffTimeScale { get; private set; }
|
||||
|
||||
public const int __ID__ = 2145700126;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
Name = translator(Name_l10n_key, Name);
|
||||
NameIndex = translator(NameIndex_l10n_key, NameIndex);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "TimelineID:" + TimelineID + ","
|
||||
+ "StepCount:" + StepCount + ","
|
||||
+ "BuildingPrefeb:" + BuildingPrefeb + ","
|
||||
+ "TimelinePlaytime:" + TimelinePlaytime + ","
|
||||
+ "Name:" + Name + ","
|
||||
+ "NameIndex:" + NameIndex + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "Reward:" + Reward + ","
|
||||
+ "StepList:" + Bright.Common.StringUtil.CollectionToString(StepList) + ","
|
||||
+ "TurnOffFreeLook:" + TurnOffFreeLook + ","
|
||||
+ "TurnOffTimeScale:" + TurnOffTimeScale + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionArea.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionArea.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9b5a524a6638044998c7ad7237f9022
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
76
Assets/Scripts/Tables/ConstructionBasicUnits.cs
Normal file
76
Assets/Scripts/Tables/ConstructionBasicUnits.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionBasicUnits : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionBasicUnits(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
|
||||
{ var __json0 = _json["UnitList"]; if(!__json0.IsArray) { throw new SerializationException(); } UnitList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } UnitList.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionBasicUnits(int ID, float Weight, System.Collections.Generic.List<int> UnitList )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Weight = Weight;
|
||||
this.UnitList = UnitList;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionBasicUnits DeserializeConstructionBasicUnits(JSONNode _json)
|
||||
{
|
||||
return new ConstructionBasicUnits(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 基本单元的名称
|
||||
/// </summary>
|
||||
public float Weight { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应ConstructionUnits主键
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> UnitList { get; private set; }
|
||||
|
||||
public const int __ID__ = 460752818;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Weight:" + Weight + ","
|
||||
+ "UnitList:" + Bright.Common.StringUtil.CollectionToString(UnitList) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionBasicUnits.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionBasicUnits.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a506ea3c0a46a3844a22dce7b5b197db
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
68
Assets/Scripts/Tables/ConstructionCost.cs
Normal file
68
Assets/Scripts/Tables/ConstructionCost.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 建造的时候,消耗的钞票会变少<br/>注意建造界面的UI显示
|
||||
/// </summary>
|
||||
public sealed partial class ConstructionCost : FishBuffType
|
||||
{
|
||||
public ConstructionCost(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionCost(float Param ) : base()
|
||||
{
|
||||
this.Param = Param;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionCost DeserializeConstructionCost(JSONNode _json)
|
||||
{
|
||||
return new ConstructionCost(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 钞票消耗降低百分比
|
||||
/// </summary>
|
||||
public float Param { get; private set; }
|
||||
|
||||
public const int __ID__ = 2145757278;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Param:" + Param + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionCost.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionCost.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 72989623fa0fb75499694be40d248ed6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
125
Assets/Scripts/Tables/ConstructionHeightEvent.cs
Normal file
125
Assets/Scripts/Tables/ConstructionHeightEvent.cs
Normal file
@@ -0,0 +1,125 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionHeightEvent : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionHeightEvent(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Height"].IsNumber) { throw new SerializationException(); } Height = _json["Height"]; }
|
||||
{ if(!_json["CraneHeightToFocus"].IsNumber) { throw new SerializationException(); } CraneHeightToFocus = _json["CraneHeightToFocus"]; }
|
||||
{ if(!_json["CraneCycleTime"].IsNumber) { throw new SerializationException(); } CraneCycleTime = _json["CraneCycleTime"]; }
|
||||
{ if(!_json["CraneHeightRise"].IsNumber) { throw new SerializationException(); } CraneHeightRise = _json["CraneHeightRise"]; }
|
||||
{ if(!_json["CraneRiseTime"].IsNumber) { throw new SerializationException(); } CraneRiseTime = _json["CraneRiseTime"]; }
|
||||
{ if(!_json["CameraYOffest"].IsNumber) { throw new SerializationException(); } CameraYOffest = _json["CameraYOffest"]; }
|
||||
{ if(!_json["CameraDepth"].IsNumber) { throw new SerializationException(); } CameraDepth = _json["CameraDepth"]; }
|
||||
{ if(!_json["LinearDrag"].IsNumber) { throw new SerializationException(); } LinearDrag = _json["LinearDrag"]; }
|
||||
{ if(!_json["AngularDrag"].IsNumber) { throw new SerializationException(); } AngularDrag = _json["AngularDrag"]; }
|
||||
{ var __json0 = _json["SpEventList"]; if(!__json0.IsArray) { throw new SerializationException(); } SpEventList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SpEventList.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionHeightEvent(int Height, float CraneHeightToFocus, float CraneCycleTime, float CraneHeightRise, float CraneRiseTime, float CameraYOffest, float CameraDepth, float LinearDrag, float AngularDrag, System.Collections.Generic.List<int> SpEventList )
|
||||
{
|
||||
this.Height = Height;
|
||||
this.CraneHeightToFocus = CraneHeightToFocus;
|
||||
this.CraneCycleTime = CraneCycleTime;
|
||||
this.CraneHeightRise = CraneHeightRise;
|
||||
this.CraneRiseTime = CraneRiseTime;
|
||||
this.CameraYOffest = CameraYOffest;
|
||||
this.CameraDepth = CameraDepth;
|
||||
this.LinearDrag = LinearDrag;
|
||||
this.AngularDrag = AngularDrag;
|
||||
this.SpEventList = SpEventList;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionHeightEvent DeserializeConstructionHeightEvent(JSONNode _json)
|
||||
{
|
||||
return new ConstructionHeightEvent(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单位米
|
||||
/// </summary>
|
||||
public int Height { get; private set; }
|
||||
/// <summary>
|
||||
/// 吊车默认距离Focus点的距离
|
||||
/// </summary>
|
||||
public float CraneHeightToFocus { get; private set; }
|
||||
/// <summary>
|
||||
/// 单位秒,走完一周的时间
|
||||
/// </summary>
|
||||
public float CraneCycleTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 释放单元块后,吊车会拉起到屏幕外,然后放下
|
||||
/// </summary>
|
||||
public float CraneHeightRise { get; private set; }
|
||||
/// <summary>
|
||||
/// 吊车从拉起到放下的时间
|
||||
/// </summary>
|
||||
public float CraneRiseTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 距离focus点的y轴偏转
|
||||
/// </summary>
|
||||
public float CameraYOffest { get; private set; }
|
||||
/// <summary>
|
||||
/// 相机默认对准Focus点<br/>这里是配置相机的z轴
|
||||
/// </summary>
|
||||
public float CameraDepth { get; private set; }
|
||||
/// <summary>
|
||||
/// 只在吊车上时生效,落下时失效
|
||||
/// </summary>
|
||||
public float LinearDrag { get; private set; }
|
||||
public float AngularDrag { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应ConstructionSpEvent主键
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> SpEventList { get; private set; }
|
||||
|
||||
public const int __ID__ = 1117193218;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Height:" + Height + ","
|
||||
+ "CraneHeightToFocus:" + CraneHeightToFocus + ","
|
||||
+ "CraneCycleTime:" + CraneCycleTime + ","
|
||||
+ "CraneHeightRise:" + CraneHeightRise + ","
|
||||
+ "CraneRiseTime:" + CraneRiseTime + ","
|
||||
+ "CameraYOffest:" + CameraYOffest + ","
|
||||
+ "CameraDepth:" + CameraDepth + ","
|
||||
+ "LinearDrag:" + LinearDrag + ","
|
||||
+ "AngularDrag:" + AngularDrag + ","
|
||||
+ "SpEventList:" + Bright.Common.StringUtil.CollectionToString(SpEventList) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionHeightEvent.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionHeightEvent.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26279bc9f5a49c545b919dd687401607
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
131
Assets/Scripts/Tables/ConstructionInfiniteConfig.cs
Normal file
131
Assets/Scripts/Tables/ConstructionInfiniteConfig.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 无尽建造参数
|
||||
/// </summary>
|
||||
public sealed partial class ConstructionInfiniteConfig : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionInfiniteConfig(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ResetCost"].IsNumber) { throw new SerializationException(); } ResetCost = _json["ResetCost"]; }
|
||||
{ if(!_json["BasicCost"].IsNumber) { throw new SerializationException(); } BasicCost = _json["BasicCost"]; }
|
||||
{ if(!_json["PerfectReturnPoint"].IsNumber) { throw new SerializationException(); } PerfectReturnPoint = _json["PerfectReturnPoint"]; }
|
||||
{ var __json0 = _json["CashMagList"]; if(!__json0.IsArray) { throw new SerializationException(); } CashMagList = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } CashMagList.Add(__v0); } }
|
||||
{ var __json0 = _json["GoodRankClamp"]; if(!__json0.IsArray) { throw new SerializationException(); } GoodRankClamp = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } GoodRankClamp.Add(__v0); } }
|
||||
{ var __json0 = _json["FantasticRankClamp"]; if(!__json0.IsArray) { throw new SerializationException(); } FantasticRankClamp = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FantasticRankClamp.Add(__v0); } }
|
||||
{ if(!_json["GoodReturnPoint"].IsNumber) { throw new SerializationException(); } GoodReturnPoint = _json["GoodReturnPoint"]; }
|
||||
{ if(!_json["FantasticReturnPoint"].IsNumber) { throw new SerializationException(); } FantasticReturnPoint = _json["FantasticReturnPoint"]; }
|
||||
{ if(!_json["ComboOnceReturnPoint"].IsNumber) { throw new SerializationException(); } ComboOnceReturnPoint = _json["ComboOnceReturnPoint"]; }
|
||||
{ if(!_json["ComboReturnMaxCount"].IsNumber) { throw new SerializationException(); } ComboReturnMaxCount = _json["ComboReturnMaxCount"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionInfiniteConfig(int ResetCost, int BasicCost, float PerfectReturnPoint, System.Collections.Generic.List<float> CashMagList, System.Collections.Generic.List<int> GoodRankClamp, System.Collections.Generic.List<int> FantasticRankClamp, float GoodReturnPoint, float FantasticReturnPoint, float ComboOnceReturnPoint, int ComboReturnMaxCount )
|
||||
{
|
||||
this.ResetCost = ResetCost;
|
||||
this.BasicCost = BasicCost;
|
||||
this.PerfectReturnPoint = PerfectReturnPoint;
|
||||
this.CashMagList = CashMagList;
|
||||
this.GoodRankClamp = GoodRankClamp;
|
||||
this.FantasticRankClamp = FantasticRankClamp;
|
||||
this.GoodReturnPoint = GoodReturnPoint;
|
||||
this.FantasticReturnPoint = FantasticReturnPoint;
|
||||
this.ComboOnceReturnPoint = ComboOnceReturnPoint;
|
||||
this.ComboReturnMaxCount = ComboReturnMaxCount;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionInfiniteConfig DeserializeConstructionInfiniteConfig(JSONNode _json)
|
||||
{
|
||||
return new ConstructionInfiniteConfig(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重置消耗钻石
|
||||
/// </summary>
|
||||
public int ResetCost { get; private set; }
|
||||
/// <summary>
|
||||
/// 基础消耗钞票
|
||||
/// </summary>
|
||||
public int BasicCost { get; private set; }
|
||||
/// <summary>
|
||||
/// perfect的返还钞票百分比
|
||||
/// </summary>
|
||||
public float PerfectReturnPoint { get; private set; }
|
||||
/// <summary>
|
||||
/// 钞票消耗的倍率序列
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> CashMagList { get; private set; }
|
||||
/// <summary>
|
||||
/// 普通积分区间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> GoodRankClamp { get; private set; }
|
||||
/// <summary>
|
||||
/// 优秀积分区间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> FantasticRankClamp { get; private set; }
|
||||
/// <summary>
|
||||
/// 普通返还钞票百分比
|
||||
/// </summary>
|
||||
public float GoodReturnPoint { get; private set; }
|
||||
/// <summary>
|
||||
/// 优秀返还钞票百分比
|
||||
/// </summary>
|
||||
public float FantasticReturnPoint { get; private set; }
|
||||
/// <summary>
|
||||
/// 每次连击返还钞票
|
||||
/// </summary>
|
||||
public float ComboOnceReturnPoint { get; private set; }
|
||||
/// <summary>
|
||||
/// 返还钞票计算的连击上限
|
||||
/// </summary>
|
||||
public int ComboReturnMaxCount { get; private set; }
|
||||
|
||||
public const int __ID__ = 719729095;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ResetCost:" + ResetCost + ","
|
||||
+ "BasicCost:" + BasicCost + ","
|
||||
+ "PerfectReturnPoint:" + PerfectReturnPoint + ","
|
||||
+ "CashMagList:" + Bright.Common.StringUtil.CollectionToString(CashMagList) + ","
|
||||
+ "GoodRankClamp:" + Bright.Common.StringUtil.CollectionToString(GoodRankClamp) + ","
|
||||
+ "FantasticRankClamp:" + Bright.Common.StringUtil.CollectionToString(FantasticRankClamp) + ","
|
||||
+ "GoodReturnPoint:" + GoodReturnPoint + ","
|
||||
+ "FantasticReturnPoint:" + FantasticReturnPoint + ","
|
||||
+ "ComboOnceReturnPoint:" + ComboOnceReturnPoint + ","
|
||||
+ "ComboReturnMaxCount:" + ComboReturnMaxCount + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionInfiniteConfig.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionInfiniteConfig.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 46a52e44d0edea94abd7da02f1e6c648
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
69
Assets/Scripts/Tables/ConstructionInfiniteInit.cs
Normal file
69
Assets/Scripts/Tables/ConstructionInfiniteInit.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionInfiniteInit : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionInfiniteInit(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Step"].IsNumber) { throw new SerializationException(); } Step = _json["Step"]; }
|
||||
{ if(!_json["UnitID"].IsNumber) { throw new SerializationException(); } UnitID = _json["UnitID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionInfiniteInit(int Step, int UnitID )
|
||||
{
|
||||
this.Step = Step;
|
||||
this.UnitID = UnitID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionInfiniteInit DeserializeConstructionInfiniteInit(JSONNode _json)
|
||||
{
|
||||
return new ConstructionInfiniteInit(_json);
|
||||
}
|
||||
|
||||
public int Step { get; private set; }
|
||||
/// <summary>
|
||||
/// 基本单元的名称
|
||||
/// </summary>
|
||||
public int UnitID { get; private set; }
|
||||
|
||||
public const int __ID__ = 407630037;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Step:" + Step + ","
|
||||
+ "UnitID:" + UnitID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionInfiniteInit.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionInfiniteInit.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc7a00dc2656b1c478574621b7ab0858
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
76
Assets/Scripts/Tables/ConstructionInfiniteReward.cs
Normal file
76
Assets/Scripts/Tables/ConstructionInfiniteReward.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionInfiniteReward : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionInfiniteReward(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Step"].IsNumber) { throw new SerializationException(); } Step = _json["Step"]; }
|
||||
{ if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionInfiniteReward(int ID, int Step, int DropID )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Step = Step;
|
||||
this.DropID = DropID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionInfiniteReward DeserializeConstructionInfiniteReward(JSONNode _json)
|
||||
{
|
||||
return new ConstructionInfiniteReward(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在这些步数内循环
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 距离下一个奖励的步长
|
||||
/// </summary>
|
||||
public int Step { get; private set; }
|
||||
public int DropID { get; private set; }
|
||||
|
||||
public const int __ID__ = 1140194740;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Step:" + Step + ","
|
||||
+ "DropID:" + DropID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionInfiniteReward.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionInfiniteReward.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dc1d0c1e00d034c478d37fd9406bfb36
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
73
Assets/Scripts/Tables/ConstructionSpEvent.cs
Normal file
73
Assets/Scripts/Tables/ConstructionSpEvent.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionSpEvent : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionSpEvent(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; }
|
||||
{ if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionSpEvent(int ID, int Type, float Param )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Type = Type;
|
||||
this.Param = Param;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionSpEvent DeserializeConstructionSpEvent(JSONNode _json)
|
||||
{
|
||||
return new ConstructionSpEvent(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 特殊事件编号
|
||||
/// </summary>
|
||||
public int ID { get; private set; }
|
||||
public int Type { get; private set; }
|
||||
public float Param { get; private set; }
|
||||
|
||||
public const int __ID__ = -736700404;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Type:" + Type + ","
|
||||
+ "Param:" + Param + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionSpEvent.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionSpEvent.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d6f1610240911d4386261df0b1b699c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
90
Assets/Scripts/Tables/ConstructionStep.cs
Normal file
90
Assets/Scripts/Tables/ConstructionStep.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionStep : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionStep(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["StartTime"].IsNumber) { throw new SerializationException(); } StartTime = _json["StartTime"]; }
|
||||
{ if(!_json["PlayTime"].IsNumber) { throw new SerializationException(); } PlayTime = _json["PlayTime"]; }
|
||||
{ if(!_json["BuildRequired"].IsNumber) { throw new SerializationException(); } BuildRequired = _json["BuildRequired"]; }
|
||||
{ if(!_json["FixRequired"].IsNumber) { throw new SerializationException(); } FixRequired = _json["FixRequired"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionStep(int ID, float StartTime, float PlayTime, int BuildRequired, int FixRequired )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.StartTime = StartTime;
|
||||
this.PlayTime = PlayTime;
|
||||
this.BuildRequired = BuildRequired;
|
||||
this.FixRequired = FixRequired;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionStep DeserializeConstructionStep(JSONNode _json)
|
||||
{
|
||||
return new ConstructionStep(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// timeline中时间
|
||||
/// </summary>
|
||||
public float StartTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 动画播放时间
|
||||
/// </summary>
|
||||
public float PlayTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 建造所需钞票
|
||||
/// </summary>
|
||||
public int BuildRequired { get; private set; }
|
||||
/// <summary>
|
||||
/// 修复所需钞票
|
||||
/// </summary>
|
||||
public int FixRequired { get; private set; }
|
||||
|
||||
public const int __ID__ = 2146238301;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "StartTime:" + StartTime + ","
|
||||
+ "PlayTime:" + PlayTime + ","
|
||||
+ "BuildRequired:" + BuildRequired + ","
|
||||
+ "FixRequired:" + FixRequired + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionStep.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionStep.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 08057735a1cfaa54ca86856ad3afcb57
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
95
Assets/Scripts/Tables/ConstructionUnits.cs
Normal file
95
Assets/Scripts/Tables/ConstructionUnits.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class ConstructionUnits : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public ConstructionUnits(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Prefab"].IsString) { throw new SerializationException(); } Prefab = _json["Prefab"]; }
|
||||
{ if(!_json["Height"].IsNumber) { throw new SerializationException(); } Height = _json["Height"]; }
|
||||
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
|
||||
{ if(!_json["UnlockedHeight"].IsNumber) { throw new SerializationException(); } UnlockedHeight = _json["UnlockedHeight"]; }
|
||||
{ if(!_json["FallPoint"].IsNumber) { throw new SerializationException(); } FallPoint = _json["FallPoint"]; }
|
||||
{ if(!_json["StackPoint"].IsNumber) { throw new SerializationException(); } StackPoint = _json["StackPoint"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public ConstructionUnits(int ID, string Prefab, float Height, float Weight, float UnlockedHeight, int FallPoint, int StackPoint )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Prefab = Prefab;
|
||||
this.Height = Height;
|
||||
this.Weight = Weight;
|
||||
this.UnlockedHeight = UnlockedHeight;
|
||||
this.FallPoint = FallPoint;
|
||||
this.StackPoint = StackPoint;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static ConstructionUnits DeserializeConstructionUnits(JSONNode _json)
|
||||
{
|
||||
return new ConstructionUnits(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 基本单元的名称
|
||||
/// </summary>
|
||||
public string Prefab { get; private set; }
|
||||
public float Height { get; private set; }
|
||||
public float Weight { get; private set; }
|
||||
/// <summary>
|
||||
/// 到达这个高度才会出现
|
||||
/// </summary>
|
||||
public float UnlockedHeight { get; private set; }
|
||||
/// <summary>
|
||||
/// 总积分 = 下落积分 + 底座难度积分<br/>下落积分:和下落的块面积和高度有关,块越小分越高,块越高分越高<br/>底座难度积分:和最上层的块的面积有关,块越小分越低
|
||||
/// </summary>
|
||||
public int FallPoint { get; private set; }
|
||||
public int StackPoint { get; private set; }
|
||||
|
||||
public const int __ID__ = 2110550270;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "Prefab:" + Prefab + ","
|
||||
+ "Height:" + Height + ","
|
||||
+ "Weight:" + Weight + ","
|
||||
+ "UnlockedHeight:" + UnlockedHeight + ","
|
||||
+ "FallPoint:" + FallPoint + ","
|
||||
+ "StackPoint:" + StackPoint + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/ConstructionUnits.cs.meta
Normal file
11
Assets/Scripts/Tables/ConstructionUnits.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 30bb4a9a488e3574d82981ea7294fea8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
201
Assets/Scripts/Tables/Corrupt.cs
Normal file
201
Assets/Scripts/Tables/Corrupt.cs
Normal file
@@ -0,0 +1,201 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 腐蚀,支持Jump和Struggle,技能结束后结束
|
||||
/// </summary>
|
||||
public sealed partial class Corrupt : FishSpSkillLabel
|
||||
{
|
||||
public Corrupt(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ if(!_json["CorruptSpeed"].IsNumber) { throw new SerializationException(); } CorruptSpeed = _json["CorruptSpeed"]; }
|
||||
{ if(!_json["ClearSpeed"].IsNumber) { throw new SerializationException(); } ClearSpeed = _json["ClearSpeed"]; }
|
||||
{ if(!_json["CorruptMaxPercent"].IsNumber) { throw new SerializationException(); } CorruptMaxPercent = _json["CorruptMaxPercent"]; }
|
||||
{ if(!_json["CorruptBarIncPercent"].IsNumber) { throw new SerializationException(); } CorruptBarIncPercent = _json["CorruptBarIncPercent"]; }
|
||||
{ if(!_json["CorruptBarDecPercent"].IsNumber) { throw new SerializationException(); } CorruptBarDecPercent = _json["CorruptBarDecPercent"]; }
|
||||
{ if(!_json["FxWater"].IsString) { throw new SerializationException(); } FxWater = _json["FxWater"]; }
|
||||
{ if(!_json["FxWaterSplash"].IsString) { throw new SerializationException(); } FxWaterSplash = _json["FxWaterSplash"]; }
|
||||
{ if(!_json["FxFishJump"].IsString) { throw new SerializationException(); } FxFishJump = _json["FxFishJump"]; }
|
||||
{ if(!_json["FxFishJumpWater"].IsString) { throw new SerializationException(); } FxFishJumpWater = _json["FxFishJumpWater"]; }
|
||||
{ if(!_json["FxFishStruggle"].IsString) { throw new SerializationException(); } FxFishStruggle = _json["FxFishStruggle"]; }
|
||||
{ if(!_json["FxFishSkillAppend"].IsString) { throw new SerializationException(); } FxFishSkillAppend = _json["FxFishSkillAppend"]; }
|
||||
{ if(!_json["FxScreen"].IsString) { throw new SerializationException(); } FxScreen = _json["FxScreen"]; }
|
||||
{ if(!_json["FxScreenWarning"].IsString) { throw new SerializationException(); } FxScreenWarning = _json["FxScreenWarning"]; }
|
||||
{ if(!_json["BarBg"].IsString) { throw new SerializationException(); } BarBg = _json["BarBg"]; }
|
||||
{ if(!_json["EdgeBg"].IsString) { throw new SerializationException(); } EdgeBg = _json["EdgeBg"]; }
|
||||
{ if(!_json["FxBar"].IsString) { throw new SerializationException(); } FxBar = _json["FxBar"]; }
|
||||
{ if(!_json["FxProgressInc"].IsString) { throw new SerializationException(); } FxProgressInc = _json["FxProgressInc"]; }
|
||||
{ if(!_json["FxBarBottom"].IsString) { throw new SerializationException(); } FxBarBottom = _json["FxBarBottom"]; }
|
||||
{ if(!_json["AudioScreen"].IsString) { throw new SerializationException(); } AudioScreen = _json["AudioScreen"]; }
|
||||
{ if(!_json["AudioRewardFish"].IsString) { throw new SerializationException(); } AudioRewardFish = _json["AudioRewardFish"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Corrupt(float CorruptSpeed, float ClearSpeed, float CorruptMaxPercent, float CorruptBarIncPercent, float CorruptBarDecPercent, string FxWater, string FxWaterSplash, string FxFishJump, string FxFishJumpWater, string FxFishStruggle, string FxFishSkillAppend, string FxScreen, string FxScreenWarning, string BarBg, string EdgeBg, string FxBar, string FxProgressInc, string FxBarBottom, string AudioScreen, string AudioRewardFish ) : base()
|
||||
{
|
||||
this.CorruptSpeed = CorruptSpeed;
|
||||
this.ClearSpeed = ClearSpeed;
|
||||
this.CorruptMaxPercent = CorruptMaxPercent;
|
||||
this.CorruptBarIncPercent = CorruptBarIncPercent;
|
||||
this.CorruptBarDecPercent = CorruptBarDecPercent;
|
||||
this.FxWater = FxWater;
|
||||
this.FxWaterSplash = FxWaterSplash;
|
||||
this.FxFishJump = FxFishJump;
|
||||
this.FxFishJumpWater = FxFishJumpWater;
|
||||
this.FxFishStruggle = FxFishStruggle;
|
||||
this.FxFishSkillAppend = FxFishSkillAppend;
|
||||
this.FxScreen = FxScreen;
|
||||
this.FxScreenWarning = FxScreenWarning;
|
||||
this.BarBg = BarBg;
|
||||
this.EdgeBg = EdgeBg;
|
||||
this.FxBar = FxBar;
|
||||
this.FxProgressInc = FxProgressInc;
|
||||
this.FxBarBottom = FxBarBottom;
|
||||
this.AudioScreen = AudioScreen;
|
||||
this.AudioRewardFish = AudioRewardFish;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Corrupt DeserializeCorrupt(JSONNode _json)
|
||||
{
|
||||
return new Corrupt(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 技能模式下,进度条腐蚀速度,每秒的百分比
|
||||
/// </summary>
|
||||
public float CorruptSpeed { get; private set; }
|
||||
/// <summary>
|
||||
/// 全力收线模式下,清除腐蚀的速度,每秒的百分比
|
||||
/// </summary>
|
||||
public float ClearSpeed { get; private set; }
|
||||
/// <summary>
|
||||
/// 腐蚀进度的上限,百分比
|
||||
/// </summary>
|
||||
public float CorruptMaxPercent { get; private set; }
|
||||
/// <summary>
|
||||
/// 腐蚀区域时,张力条前进额外乘的系数
|
||||
/// </summary>
|
||||
public float CorruptBarIncPercent { get; private set; }
|
||||
/// <summary>
|
||||
/// 腐蚀区域时,张力条后退额外乘的系数
|
||||
/// </summary>
|
||||
public float CorruptBarDecPercent { get; private set; }
|
||||
/// <summary>
|
||||
/// 技能期间,用来取代出水入水特效
|
||||
/// </summary>
|
||||
public string FxWater { get; private set; }
|
||||
/// <summary>
|
||||
/// 技能期间,用来取代鱼尾的水花特效
|
||||
/// </summary>
|
||||
public string FxWaterSplash { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼起跳的时候,立刻在Head处挂上一个特效
|
||||
/// </summary>
|
||||
public string FxFishJump { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼起跳的时候,立刻在水面处挂上一个特效
|
||||
/// </summary>
|
||||
public string FxFishJumpWater { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼挣扎的时候,立刻在鱼模型下挂上一个特效
|
||||
/// </summary>
|
||||
public string FxFishStruggle { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼在释放技能的时候,在Head处的特效
|
||||
/// </summary>
|
||||
public string FxFishSkillAppend { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼释放技能的时候,默认触发的全屏特效
|
||||
/// </summary>
|
||||
public string FxScreen { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼释放技能的时候,如果进度条小于等于腐蚀进度,则改成该全屏特效
|
||||
/// </summary>
|
||||
public string FxScreenWarning { get; private set; }
|
||||
/// <summary>
|
||||
/// 腐蚀进度条的资源
|
||||
/// </summary>
|
||||
public string BarBg { get; private set; }
|
||||
/// <summary>
|
||||
/// 腐蚀进度条边缘的资源
|
||||
/// </summary>
|
||||
public string EdgeBg { get; private set; }
|
||||
/// <summary>
|
||||
/// 腐蚀存在时,进度条整体的特效
|
||||
/// </summary>
|
||||
public string FxBar { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼释放技能的时候,进度条指针处的腐蚀增长特效
|
||||
/// </summary>
|
||||
public string FxProgressInc { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼释放技能的时候,进度条下方的特效
|
||||
/// </summary>
|
||||
public string FxBarBottom { get; private set; }
|
||||
/// <summary>
|
||||
/// 鱼释放技能的时候,播放全屏音效
|
||||
/// </summary>
|
||||
public string AudioScreen { get; private set; }
|
||||
/// <summary>
|
||||
/// 结算界面出现时,单次播放的声音
|
||||
/// </summary>
|
||||
public string AudioRewardFish { get; private set; }
|
||||
|
||||
public const int __ID__ = -1675133459;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "CorruptSpeed:" + CorruptSpeed + ","
|
||||
+ "ClearSpeed:" + ClearSpeed + ","
|
||||
+ "CorruptMaxPercent:" + CorruptMaxPercent + ","
|
||||
+ "CorruptBarIncPercent:" + CorruptBarIncPercent + ","
|
||||
+ "CorruptBarDecPercent:" + CorruptBarDecPercent + ","
|
||||
+ "FxWater:" + FxWater + ","
|
||||
+ "FxWaterSplash:" + FxWaterSplash + ","
|
||||
+ "FxFishJump:" + FxFishJump + ","
|
||||
+ "FxFishJumpWater:" + FxFishJumpWater + ","
|
||||
+ "FxFishStruggle:" + FxFishStruggle + ","
|
||||
+ "FxFishSkillAppend:" + FxFishSkillAppend + ","
|
||||
+ "FxScreen:" + FxScreen + ","
|
||||
+ "FxScreenWarning:" + FxScreenWarning + ","
|
||||
+ "BarBg:" + BarBg + ","
|
||||
+ "EdgeBg:" + EdgeBg + ","
|
||||
+ "FxBar:" + FxBar + ","
|
||||
+ "FxProgressInc:" + FxProgressInc + ","
|
||||
+ "FxBarBottom:" + FxBarBottom + ","
|
||||
+ "AudioScreen:" + AudioScreen + ","
|
||||
+ "AudioRewardFish:" + AudioRewardFish + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Corrupt.cs.meta
Normal file
11
Assets/Scripts/Tables/Corrupt.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c77d04c4452f90439c4de4ee903e0d4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
79
Assets/Scripts/Tables/CountryPoints.cs
Normal file
79
Assets/Scripts/Tables/CountryPoints.cs
Normal file
@@ -0,0 +1,79 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class CountryPoints : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public CountryPoints(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Country"].IsString) { throw new SerializationException(); } Country = _json["Country"]; }
|
||||
{ if(!_json["IosInitPoints"].IsNumber) { throw new SerializationException(); } IosInitPoints = _json["IosInitPoints"]; }
|
||||
{ if(!_json["AndroidInitPoints"].IsNumber) { throw new SerializationException(); } AndroidInitPoints = _json["AndroidInitPoints"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public CountryPoints(string Country, int IosInitPoints, int AndroidInitPoints )
|
||||
{
|
||||
this.Country = Country;
|
||||
this.IosInitPoints = IosInitPoints;
|
||||
this.AndroidInitPoints = AndroidInitPoints;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static CountryPoints DeserializeCountryPoints(JSONNode _json)
|
||||
{
|
||||
return new CountryPoints(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 国家地区
|
||||
/// </summary>
|
||||
public string Country { get; private set; }
|
||||
/// <summary>
|
||||
/// ios初始vip积分
|
||||
/// </summary>
|
||||
public int IosInitPoints { get; private set; }
|
||||
/// <summary>
|
||||
/// android初始vip积分
|
||||
/// </summary>
|
||||
public int AndroidInitPoints { get; private set; }
|
||||
|
||||
public const int __ID__ = -950974471;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Country:" + Country + ","
|
||||
+ "IosInitPoints:" + IosInitPoints + ","
|
||||
+ "AndroidInitPoints:" + AndroidInitPoints + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/CountryPoints.cs.meta
Normal file
11
Assets/Scripts/Tables/CountryPoints.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a240937ec448aa149a99f3bacee003f8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
118
Assets/Scripts/Tables/Crossbow.cs
Normal file
118
Assets/Scripts/Tables/Crossbow.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
public sealed partial class Crossbow : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public Crossbow(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["FishCrossbowFbx"].IsString) { throw new SerializationException(); } FishCrossbowFbx = _json["FishCrossbowFbx"]; }
|
||||
{ if(!_json["CrossbowFbx"].IsString) { throw new SerializationException(); } CrossbowFbx = _json["CrossbowFbx"]; }
|
||||
{ if(!_json["AimIndex"].IsNumber) { throw new SerializationException(); } AimIndex = _json["AimIndex"]; }
|
||||
{ if(!_json["AimTime"].IsNumber) { throw new SerializationException(); } AimTime = _json["AimTime"]; }
|
||||
{ if(!_json["TimescaleRate"].IsNumber) { throw new SerializationException(); } TimescaleRate = _json["TimescaleRate"]; }
|
||||
{ if(!_json["AimFov"].IsNumber) { throw new SerializationException(); } AimFov = _json["AimFov"]; }
|
||||
{ var __json0 = _json["ShakeSpeed"]; if(!__json0.IsArray) { throw new SerializationException(); } ShakeSpeed = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ShakeSpeed.Add(__v0); } }
|
||||
{ var __json0 = _json["ShakeRandRange"]; if(!__json0.IsArray) { throw new SerializationException(); } ShakeRandRange = new System.Collections.Generic.List<System.Collections.Generic.List<float>>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { System.Collections.Generic.List<float> __v0; { var __json1 = __e0; if(!__json1.IsArray) { throw new SerializationException(); } __v0 = new System.Collections.Generic.List<float>(__json1.Count); foreach(JSONNode __e1 in __json1.Children) { float __v1; { if(!__e1.IsNumber) { throw new SerializationException(); } __v1 = __e1; } __v0.Add(__v1); } } ShakeRandRange.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Crossbow(int ID, string FishCrossbowFbx, string CrossbowFbx, int AimIndex, float AimTime, float TimescaleRate, float AimFov, System.Collections.Generic.List<float> ShakeSpeed, System.Collections.Generic.List<System.Collections.Generic.List<float>> ShakeRandRange )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.FishCrossbowFbx = FishCrossbowFbx;
|
||||
this.CrossbowFbx = CrossbowFbx;
|
||||
this.AimIndex = AimIndex;
|
||||
this.AimTime = AimTime;
|
||||
this.TimescaleRate = TimescaleRate;
|
||||
this.AimFov = AimFov;
|
||||
this.ShakeSpeed = ShakeSpeed;
|
||||
this.ShakeRandRange = ShakeRandRange;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Crossbow DeserializeCrossbow(JSONNode _json)
|
||||
{
|
||||
return new Crossbow(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// F_开头的鱼模型
|
||||
/// </summary>
|
||||
public string FishCrossbowFbx { get; private set; }
|
||||
/// <summary>
|
||||
/// 包括:缩放、弩模型、弩箭、手位置
|
||||
/// </summary>
|
||||
public string CrossbowFbx { get; private set; }
|
||||
/// <summary>
|
||||
/// 从1到4,越来越慢
|
||||
/// </summary>
|
||||
public int AimIndex { get; private set; }
|
||||
/// <summary>
|
||||
/// 2.5-6秒
|
||||
/// </summary>
|
||||
public float AimTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 倍数,在0-1之间
|
||||
/// </summary>
|
||||
public float TimescaleRate { get; private set; }
|
||||
/// <summary>
|
||||
/// 随着镜头推进而进入该FOV
|
||||
/// </summary>
|
||||
public float AimFov { get; private set; }
|
||||
/// <summary>
|
||||
/// 每秒移动这么多unity单位<br/>固定值,上下限会随着时间变化
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> ShakeSpeed { get; private set; }
|
||||
/// <summary>
|
||||
/// unity单位,在第一个数和第二个数之间随机<br/>随机的上下限会随着时间变化
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<System.Collections.Generic.List<float>> ShakeRandRange { get; private set; }
|
||||
|
||||
public const int __ID__ = -2107022934;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "ID:" + ID + ","
|
||||
+ "FishCrossbowFbx:" + FishCrossbowFbx + ","
|
||||
+ "CrossbowFbx:" + CrossbowFbx + ","
|
||||
+ "AimIndex:" + AimIndex + ","
|
||||
+ "AimTime:" + AimTime + ","
|
||||
+ "TimescaleRate:" + TimescaleRate + ","
|
||||
+ "AimFov:" + AimFov + ","
|
||||
+ "ShakeSpeed:" + Bright.Common.StringUtil.CollectionToString(ShakeSpeed) + ","
|
||||
+ "ShakeRandRange:" + Bright.Common.StringUtil.CollectionToString(ShakeRandRange) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Crossbow.cs.meta
Normal file
11
Assets/Scripts/Tables/Crossbow.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8bf9932b22173e64fbb9f5a0cf30c0d2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
82
Assets/Scripts/Tables/Cycle.cs
Normal file
82
Assets/Scripts/Tables/Cycle.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
using Bright.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using SimpleJSON;
|
||||
|
||||
|
||||
|
||||
namespace cfg
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 周期循环活动
|
||||
/// </summary>
|
||||
public sealed partial class Cycle : FishingEventType
|
||||
{
|
||||
public Cycle(JSONNode _json) : base(_json)
|
||||
{
|
||||
{ if(!_json["StartTime"].IsString) { throw new SerializationException(); } StartTime = _json["StartTime"]; }
|
||||
{ if(!_json["EndSec"].IsNumber) { throw new SerializationException(); } EndSec = _json["EndSec"]; }
|
||||
{ if(!_json["CycleSec"].IsNumber) { throw new SerializationException(); } CycleSec = _json["CycleSec"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public Cycle(string StartTime, int EndSec, int CycleSec ) : base()
|
||||
{
|
||||
this.StartTime = StartTime;
|
||||
this.EndSec = EndSec;
|
||||
this.CycleSec = CycleSec;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static Cycle DeserializeCycle(JSONNode _json)
|
||||
{
|
||||
return new Cycle(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 起始时间时间戳
|
||||
/// </summary>
|
||||
public string StartTime { get; private set; }
|
||||
/// <summary>
|
||||
/// 结束时间,单位秒
|
||||
/// </summary>
|
||||
public int EndSec { get; private set; }
|
||||
/// <summary>
|
||||
/// 间隔时间,单位秒
|
||||
/// </summary>
|
||||
public int CycleSec { get; private set; }
|
||||
|
||||
public const int __ID__ = 65579206;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
base.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public override void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
base.TranslateText(translator);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "StartTime:" + StartTime + ","
|
||||
+ "EndSec:" + EndSec + ","
|
||||
+ "CycleSec:" + CycleSec + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Tables/Cycle.cs.meta
Normal file
11
Assets/Scripts/Tables/Cycle.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c9a5adba303e2a0418c6bb962dbeb6ef
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user