AwardLite.cs 650 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 AwardLite : ISerializable
  10. {
  11. public string GameObjectId { get; private set; }
  12. public long Count { get; private set; }
  13. void ISerializable.Deserialize(IReader reader)
  14. {
  15. GameObjectId = reader.ReadString();
  16. Count = reader.ReadLong();
  17. }
  18. void ISerializable.Serialize(IWriter writer)
  19. {
  20. writer.Write(GameObjectId);
  21. writer.Write(Count);
  22. }
  23. }
  24. }