55 lines
1.5 KiB
C#
55 lines
1.5 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 MediaResources : Luban.BeanBase
|
|
{
|
|
public MediaResources(JSONNode _buf)
|
|
{
|
|
{ if(!_buf["fishNumber"].IsNumber) { throw new SerializationException(); } FishNumber = _buf["fishNumber"]; }
|
|
{ if(!_buf["prefabFishResourcesPath"].IsString) { throw new SerializationException(); } PrefabFishResourcesPath = _buf["prefabFishResourcesPath"]; }
|
|
}
|
|
|
|
public static MediaResources DeserializeMediaResources(JSONNode _buf)
|
|
{
|
|
return new MediaResources(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 媒体编号
|
|
/// </summary>
|
|
public readonly int FishNumber;
|
|
/// <summary>
|
|
/// 预制体名字
|
|
/// </summary>
|
|
public readonly string PrefabFishResourcesPath;
|
|
|
|
public const int __ID__ = -1381246271;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "fishNumber:" + FishNumber + ","
|
|
+ "prefabFishResourcesPath:" + PrefabFishResourcesPath + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
}
|
|
|