//------------------------------------------------------------------------------ // // 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 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); } /// /// 稀有度 /// public readonly Rarity Rarity; /// /// 单件物品搜索耗时,毫秒 /// 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 + "," + "}"; } } }