EpsProb.cs 758 B

123456789101112131415161718192021222324252627282930
  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 EpsProb : ISerializable
  10. {
  11. public string Eps { get; private set; }
  12. public int Count { get; private set; }
  13. public int Prob { get; private set; }
  14. void ISerializable.Deserialize(IReader reader)
  15. {
  16. Eps = reader.ReadString();
  17. Count = reader.ReadInt();
  18. Prob = reader.ReadInt();
  19. }
  20. void ISerializable.Serialize(IWriter writer)
  21. {
  22. writer.Write(Eps);
  23. writer.Write(Count);
  24. writer.Write(Prob);
  25. }
  26. }
  27. }