Files
huangjun 92bf3e9097 - 引入 UnityGameFramework
- 使用 Luban 替代原来的 UGF 的数据表
2026-08-30 18:08:55 +08:00

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 + ","
+ "}";
}
}
}