//------------------------------------------------------------------------------ // // 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 PrizeWheelConfig : Luban.BeanBase { public PrizeWheelConfig(ByteBuf _buf) { Id = _buf.ReadInt(); Reward = ResData.DeserializeResData(_buf); Weight = _buf.ReadInt(); } public static PrizeWheelConfig DeserializePrizeWheelConfig(ByteBuf _buf) { return new PrizeWheelConfig(_buf); } /// /// 资源ID(大于100000一定是道具) /// public readonly int Id; /// /// 资源名称 /// public readonly ResData Reward; /// /// 权重 /// public readonly int Weight; public const int __ID__ = -185314517; public override int GetTypeId() => __ID__; public override string ToString() { return "{ " + "id:" + Id + "," + "reward:" + Reward + "," + "weight:" + Weight + "," + "}"; } } }