先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
117 lines
4.4 KiB
C#
117 lines
4.4 KiB
C#
//------------------------------------------------------------------------------
|
||
// <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 IAPItemList : Bright.Config.BeanBase
|
||
{
|
||
public JSONNode json;
|
||
public IAPItemList(JSONNode _json)
|
||
{
|
||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||
{ if(!_json["Product_Id1"].IsString) { throw new SerializationException(); } ProductId1 = _json["Product_Id1"]; }
|
||
{ if(!_json["Trade_Group"].IsString) { throw new SerializationException(); } TradeGroup = _json["Trade_Group"]; }
|
||
{ if(!_json["Trade_Type"].IsString) { throw new SerializationException(); } TradeType = _json["Trade_Type"]; }
|
||
{ if(!_json["Trade_Name"].IsString) { throw new SerializationException(); } TradeName = _json["Trade_Name"]; }
|
||
{ if(!_json["Payment_Amount"].IsNumber) { throw new SerializationException(); } PaymentAmount = _json["Payment_Amount"]; }
|
||
{ if(!_json["VIPPoint"].IsNumber) { throw new SerializationException(); } VIPPoint = _json["VIPPoint"]; }
|
||
{ if(!_json["Cost_Token"].IsNumber) { throw new SerializationException(); } CostToken = _json["Cost_Token"]; }
|
||
{ if(!_json["LuckAddToCategory"].IsNumber) { throw new SerializationException(); } LuckAddToCategory = _json["LuckAddToCategory"]; }
|
||
{ if(!_json["LuckAddToFish"].IsNumber) { throw new SerializationException(); } LuckAddToFish = _json["LuckAddToFish"]; }
|
||
json = _json;
|
||
PostInit();
|
||
}
|
||
|
||
public IAPItemList(int ID, string Product_Id1, string Trade_Group, string Trade_Type, string Trade_Name, float Payment_Amount, int VIPPoint, int Cost_Token, float LuckAddToCategory, float LuckAddToFish )
|
||
{
|
||
this.ID = ID;
|
||
this.ProductId1 = Product_Id1;
|
||
this.TradeGroup = Trade_Group;
|
||
this.TradeType = Trade_Type;
|
||
this.TradeName = Trade_Name;
|
||
this.PaymentAmount = Payment_Amount;
|
||
this.VIPPoint = VIPPoint;
|
||
this.CostToken = Cost_Token;
|
||
this.LuckAddToCategory = LuckAddToCategory;
|
||
this.LuckAddToFish = LuckAddToFish;
|
||
PostInit();
|
||
}
|
||
|
||
public static IAPItemList DeserializeIAPItemList(JSONNode _json)
|
||
{
|
||
return new IAPItemList(_json);
|
||
}
|
||
|
||
/// <summary>
|
||
/// #IAP的ID与商店(苹果、谷歌)对应。礼包等付费内容调用IAP的ID
|
||
/// </summary>
|
||
public int ID { get; private set; }
|
||
public string ProductId1 { get; private set; }
|
||
/// <summary>
|
||
/// 统计数据使用,不对玩家展示
|
||
/// </summary>
|
||
public string TradeGroup { get; private set; }
|
||
/// <summary>
|
||
/// 统计数据使用,不对玩家展示
|
||
/// </summary>
|
||
public string TradeType { get; private set; }
|
||
/// <summary>
|
||
/// 统计数据使用,不对玩家展示
|
||
/// </summary>
|
||
public string TradeName { get; private set; }
|
||
/// <summary>
|
||
/// (默认美元)
|
||
/// </summary>
|
||
public float PaymentAmount { get; private set; }
|
||
public int VIPPoint { get; private set; }
|
||
public int CostToken { get; private set; }
|
||
/// <summary>
|
||
/// 10美元 = 1条鱼
|
||
/// </summary>
|
||
public float LuckAddToCategory { get; private set; }
|
||
public float LuckAddToFish { get; private set; }
|
||
|
||
public const int __ID__ = 457548969;
|
||
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 + ","
|
||
+ "ProductId1:" + ProductId1 + ","
|
||
+ "TradeGroup:" + TradeGroup + ","
|
||
+ "TradeType:" + TradeType + ","
|
||
+ "TradeName:" + TradeName + ","
|
||
+ "PaymentAmount:" + PaymentAmount + ","
|
||
+ "VIPPoint:" + VIPPoint + ","
|
||
+ "CostToken:" + CostToken + ","
|
||
+ "LuckAddToCategory:" + LuckAddToCategory + ","
|
||
+ "LuckAddToFish:" + LuckAddToFish + ","
|
||
+ "}";
|
||
}
|
||
|
||
partial void PostInit();
|
||
partial void PostResolve();
|
||
}
|
||
}
|