12345678910111213141516171819202122232425262728293031323334353637 |
- // 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; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- LevelUpCost = reader.ReadEnumerable<int[]>();
- Prob = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(LevelUpCost);
- writer.Write(Prob);
- }
- }
- }
|