arena_jqrTable.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Generate By EToy
  2. // Don't Edit It!!
  3. using XGame.Framework.Database;
  4. using XGame.Framework.Serialization;
  5. namespace XGame.Database
  6. {
  7. /// <summary> arena_jqr </summary>
  8. public sealed class arena_jqrTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 功能ID </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 1=新手机器人2=排行机器人 </summary>
  14. public int Type { get; private set; }
  15. /// <summary> 机器人等级 </summary>
  16. public int Level { get; private set; }
  17. /// <summary> 机器人装备(装备id+装备等级) </summary>
  18. public int[] Equip { get; private set; }
  19. /// <summary> 机器人圣兵(圣兵id+等级) </summary>
  20. public int[] Equip_2 { get; private set; }
  21. /// <summary> 机器人铭文(铭文id+等级) </summary>
  22. public int[] Skill { get; private set; }
  23. /// <summary> 机器人战力 </summary>
  24. public int Power { get; private set; }
  25. /// <summary> 机器人积分积分数量 </summary>
  26. public int Integral { get; private set; }
  27. void ISerializable.Deserialize(IReader reader)
  28. {
  29. Id = reader.ReadInt();
  30. Type = reader.ReadInt();
  31. Level = reader.ReadInt();
  32. Equip = reader.ReadEnumerable<int[]>();
  33. Equip_2 = reader.ReadEnumerable<int[]>();
  34. Skill = reader.ReadEnumerable<int[]>();
  35. Power = reader.ReadInt();
  36. Integral = reader.ReadInt();
  37. }
  38. void ISerializable.Serialize(IWriter writer)
  39. {
  40. writer.Write(Id);
  41. writer.Write(Type);
  42. writer.Write(Level);
  43. writer.Write(Equip);
  44. writer.Write(Equip_2);
  45. writer.Write(Skill);
  46. writer.Write(Power);
  47. writer.Write(Integral);
  48. }
  49. }
  50. }