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