// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// Energy public sealed class EnergyTable : ITable { long ITable.Key => Id; /// 能量等级 public int Id { get; private set; } // sc /// 升级所需的费用每段[],内容[金币,具体数量],…… public int[] Expend { get; private set; } // sc /// 获取装备品质的概率-10万分比 [品质,概率]…… public int[] Pro_quality { get; private set; } // sc /// 升级时间 public int Time { get; private set; } // sc void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Expend = reader.ReadEnumerable(); Pro_quality = reader.ReadEnumerable(); Time = reader.ReadInt(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Expend); writer.Write(Pro_quality); writer.Write(Time); } } }