// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// zuoqiBuweiProb public sealed class zuoqiBuweiProbTable : ITable { long ITable.Key => Id; /// 总等级 public int Id { get; private set; } /// 升级所消耗资源道具id+数量 public int[] LevelUpCost { get; private set; } /// 强化成功概率 public int Prob { get; private set; } /// 祝福值 public int Success { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); LevelUpCost = reader.ReadEnumerable(); Prob = reader.ReadInt(); Success = reader.ReadInt(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(LevelUpCost); writer.Write(Prob); writer.Write(Success); } } }