备份CatanBuilding瘦身独立工程
This commit is contained in:
70
Assets/Scripts/Tables/DiggingDisplayInit.cs
Normal file
70
Assets/Scripts/Tables/DiggingDisplayInit.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 DiggingDisplayInit : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public DiggingDisplayInit(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Height"].IsNumber) { throw new SerializationException(); } Height = _json["Height"]; }
|
||||
{ if(!_json["PropContainerY"].IsNumber) { throw new SerializationException(); } PropContainerY = _json["PropContainerY"]; }
|
||||
{ if(!_json["VirtualCameraY"].IsNumber) { throw new SerializationException(); } VirtualCameraY = _json["VirtualCameraY"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public DiggingDisplayInit(int Height, float PropContainerY, float VirtualCameraY )
|
||||
{
|
||||
this.Height = Height;
|
||||
this.PropContainerY = PropContainerY;
|
||||
this.VirtualCameraY = VirtualCameraY;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static DiggingDisplayInit DeserializeDiggingDisplayInit(JSONNode _json)
|
||||
{
|
||||
return new DiggingDisplayInit(_json);
|
||||
}
|
||||
|
||||
public int Height { get; private set; }
|
||||
public float PropContainerY { get; private set; }
|
||||
public float VirtualCameraY { get; private set; }
|
||||
|
||||
public const int __ID__ = 934646581;
|
||||
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 + ","
|
||||
+ "PropContainerY:" + PropContainerY + ","
|
||||
+ "VirtualCameraY:" + VirtualCameraY + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user