- 引入 UnityGameFramework
- 使用 Luban 替代原来的 UGF 的数据表
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user