56 lines
1.2 KiB
C#
56 lines
1.2 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;
|
|
|
|
|
|
namespace SepCore.Definition
|
|
{
|
|
public sealed partial class RarityConfig : Luban.BeanBase
|
|
{
|
|
public RarityConfig(ByteBuf _buf)
|
|
{
|
|
Rarity = (Rarity)_buf.ReadInt();
|
|
SearchTimeMs = _buf.ReadInt();
|
|
}
|
|
|
|
public static RarityConfig DeserializeRarityConfig(ByteBuf _buf)
|
|
{
|
|
return new RarityConfig(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 稀有度
|
|
/// </summary>
|
|
public readonly Rarity Rarity;
|
|
/// <summary>
|
|
/// 单件物品搜索耗时,毫秒
|
|
/// </summary>
|
|
public readonly int SearchTimeMs;
|
|
|
|
public const int __ID__ = 97738989;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
|
|
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "rarity:" + Rarity + ","
|
|
+ "searchTimeMs:" + SearchTimeMs + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|