备份CatanBuilding瘦身独立工程
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user