123456789101112131415161718192021222324252627282930 |
-
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
-
-
-
- public sealed class EpsProb : ISerializable
- {
- public string Eps { get; private set; }
- public int Count { get; private set; }
- public int Prob { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Eps = reader.ReadString();
- Count = reader.ReadInt();
- Prob = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Eps);
- writer.Write(Count);
- writer.Write(Prob);
- }
- }
- }
|