//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
using SimpleJSON;
namespace cfg
{
public sealed partial class MediaConfig : Luban.BeanBase
{
public MediaConfig(JSONNode _buf)
{
{ if(!_buf["fishNumber"].IsNumber) { throw new SerializationException(); } FishNumber = _buf["fishNumber"]; }
{ if(!_buf["mediaType"].IsString) { throw new SerializationException(); } MediaType = _buf["mediaType"]; }
}
public static MediaConfig DeserializeMediaConfig(JSONNode _buf)
{
return new MediaConfig(_buf);
}
///
/// 媒体编号
///
public readonly int FishNumber;
///
/// 预制体名字
///
public readonly string MediaType;
public const int __ID__ = 867896358;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "fishNumber:" + FishNumber + ","
+ "mediaType:" + MediaType + ","
+ "}";
}
}
}