备份CatanBuilding瘦身独立工程
This commit is contained in:
97
Assets/Scripts/Tables/EventBingoMiniDrop.cs
Normal file
97
Assets/Scripts/Tables/EventBingoMiniDrop.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 EventBingoMiniDrop : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public EventBingoMiniDrop(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Id"].IsNumber) { throw new SerializationException(); } Id = _json["Id"]; }
|
||||
{ if(!_json["Count"].IsNumber) { throw new SerializationException(); } Count = _json["Count"]; }
|
||||
{ if(!_json["DropCount"].IsNumber) { throw new SerializationException(); } DropCount = _json["DropCount"]; }
|
||||
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
|
||||
{ if(!_json["MiniItem1"].IsNumber) { throw new SerializationException(); } MiniItem1 = _json["MiniItem1"]; }
|
||||
{ if(!_json["MiniDropCount1"].IsNumber) { throw new SerializationException(); } MiniDropCount1 = _json["MiniDropCount1"]; }
|
||||
{ if(!_json["MiniItem2"].IsNumber) { throw new SerializationException(); } MiniItem2 = _json["MiniItem2"]; }
|
||||
{ if(!_json["MiniDropCount2"].IsNumber) { throw new SerializationException(); } MiniDropCount2 = _json["MiniDropCount2"]; }
|
||||
{ if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public EventBingoMiniDrop(int Id, int Count, int DropCount, int Weight, int MiniItem1, int MiniDropCount1, int MiniItem2, int MiniDropCount2, int DropID )
|
||||
{
|
||||
this.Id = Id;
|
||||
this.Count = Count;
|
||||
this.DropCount = DropCount;
|
||||
this.Weight = Weight;
|
||||
this.MiniItem1 = MiniItem1;
|
||||
this.MiniDropCount1 = MiniDropCount1;
|
||||
this.MiniItem2 = MiniItem2;
|
||||
this.MiniDropCount2 = MiniDropCount2;
|
||||
this.DropID = DropID;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static EventBingoMiniDrop DeserializeEventBingoMiniDrop(JSONNode _json)
|
||||
{
|
||||
return new EventBingoMiniDrop(_json);
|
||||
}
|
||||
|
||||
public int Id { get; private set; }
|
||||
public int Count { get; private set; }
|
||||
public int DropCount { get; private set; }
|
||||
public int Weight { get; private set; }
|
||||
public int MiniItem1 { get; private set; }
|
||||
public int MiniDropCount1 { get; private set; }
|
||||
public int MiniItem2 { get; private set; }
|
||||
public int MiniDropCount2 { get; private set; }
|
||||
/// <summary>
|
||||
/// 这列drop填补显示
|
||||
/// </summary>
|
||||
public int DropID { get; private set; }
|
||||
|
||||
public const int __ID__ = 47837403;
|
||||
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 + ","
|
||||
+ "Count:" + Count + ","
|
||||
+ "DropCount:" + DropCount + ","
|
||||
+ "Weight:" + Weight + ","
|
||||
+ "MiniItem1:" + MiniItem1 + ","
|
||||
+ "MiniDropCount1:" + MiniDropCount1 + ","
|
||||
+ "MiniItem2:" + MiniItem2 + ","
|
||||
+ "MiniDropCount2:" + MiniDropCount2 + ","
|
||||
+ "DropID:" + DropID + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user