55 lines
1.4 KiB
C#
55 lines
1.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 Luban;
|
|
using SimpleJSON;
|
|
|
|
|
|
namespace cfg
|
|
{
|
|
public sealed partial class EffectFXResources : Luban.BeanBase
|
|
{
|
|
public EffectFXResources(JSONNode _buf)
|
|
{
|
|
{ if(!_buf["FXNumber"].IsNumber) { throw new SerializationException(); } FXNumber = _buf["FXNumber"]; }
|
|
{ if(!_buf["prefabFXResourcesPath"].IsString) { throw new SerializationException(); } PrefabFXResourcesPath = _buf["prefabFXResourcesPath"]; }
|
|
}
|
|
|
|
public static EffectFXResources DeserializeEffectFXResources(JSONNode _buf)
|
|
{
|
|
return new EffectFXResources(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 特效id
|
|
/// </summary>
|
|
public readonly int FXNumber;
|
|
/// <summary>
|
|
/// 预制体名字
|
|
/// </summary>
|
|
public readonly string PrefabFXResourcesPath;
|
|
|
|
public const int __ID__ = -234540254;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "FXNumber:" + FXNumber + ","
|
|
+ "prefabFXResourcesPath:" + PrefabFXResourcesPath + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
}
|
|
|