PinzhiProb.cs 634 B

123456789101112131415161718192021222324252627
  1. // Generate By EToy
  2. // Don't Edit It!!
  3. using XGame.Framework.Serialization;
  4. namespace XGame.Database
  5. {
  6. /// <summary>
  7. /// 抽取品质
  8. /// </summary>
  9. public sealed class PinzhiProb : ISerializable
  10. {
  11. public int Eps { get; private set; }
  12. public int Prob { get; private set; }
  13. void ISerializable.Deserialize(IReader reader)
  14. {
  15. Eps = reader.ReadInt();
  16. Prob = reader.ReadInt();
  17. }
  18. void ISerializable.Serialize(IWriter writer)
  19. {
  20. writer.Write(Eps);
  21. writer.Write(Prob);
  22. }
  23. }
  24. }