备份CatanBuilding瘦身独立工程
This commit is contained in:
86
Assets/Scripts/Tables/SupplyDropFbx.cs
Normal file
86
Assets/Scripts/Tables/SupplyDropFbx.cs
Normal file
@@ -0,0 +1,86 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 SupplyDropFbx : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public SupplyDropFbx(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ItemID"].IsNumber) { throw new SerializationException(); } ItemID = _json["ItemID"]; }
|
||||
{ if(!_json["Fbx"].IsString) { throw new SerializationException(); } Fbx = _json["Fbx"]; }
|
||||
{ if(!_json["FxShow"].IsString) { throw new SerializationException(); } FxShow = _json["FxShow"]; }
|
||||
{ if(!_json["AudioShow"].IsString) { throw new SerializationException(); } AudioShow = _json["AudioShow"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public SupplyDropFbx(int ItemID, string Fbx, string FxShow, string AudioShow )
|
||||
{
|
||||
this.ItemID = ItemID;
|
||||
this.Fbx = Fbx;
|
||||
this.FxShow = FxShow;
|
||||
this.AudioShow = AudioShow;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static SupplyDropFbx DeserializeSupplyDropFbx(JSONNode _json)
|
||||
{
|
||||
return new SupplyDropFbx(_json);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 对应ItemID
|
||||
/// </summary>
|
||||
public int ItemID { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应prefab名称
|
||||
/// </summary>
|
||||
public string Fbx { get; private set; }
|
||||
/// <summary>
|
||||
/// 展示动画时播放的特效
|
||||
/// </summary>
|
||||
public string FxShow { get; private set; }
|
||||
/// <summary>
|
||||
/// 播放特效时,播放的音效
|
||||
/// </summary>
|
||||
public string AudioShow { get; private set; }
|
||||
|
||||
public const int __ID__ = 1495846334;
|
||||
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 "{ "
|
||||
+ "ItemID:" + ItemID + ","
|
||||
+ "Fbx:" + Fbx + ","
|
||||
+ "FxShow:" + FxShow + ","
|
||||
+ "AudioShow:" + AudioShow + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user