//------------------------------------------------------------------------------
//
// 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;
namespace Server.Config
{
public sealed partial class ResConfig : Luban.BeanBase
{
public ResConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
Name = _buf.ReadString();
ResType = _buf.ReadInt();
}
public static ResConfig DeserializeResConfig(ByteBuf _buf)
{
return new ResConfig(_buf);
}
///
/// 资源ID(大于100000一定是道具)
///
public readonly int Id;
///
/// 资源名称
///
public readonly string Name;
///
/// 1 (原始货币, 历史遗留问题)
2 道具
3 活动道具(限时)
///
public readonly int ResType;
public const int __ID__ = -1244442654;
public override int GetTypeId() => __ID__;
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "name:" + Name + ","
+ "resType:" + ResType + ","
+ "}";
}
}
}