zuoqiInfoTable.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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> zuoqiInfo </summary>
  8. public sealed class zuoqiInfoTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 序号ID坐骑id*10000+阶级*100+星级 </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 坐骑id </summary>
  14. public int Zqid { get; private set; }
  15. /// <summary> 阶级 </summary>
  16. public int Step { get; private set; }
  17. /// <summary> 星级 </summary>
  18. public int Star { get; private set; }
  19. /// <summary> 升星道具道具id+经验值消耗 </summary>
  20. public int[] StarNeed { get; private set; }
  21. /// <summary> 升级获得属性加成属性id+属性数值 </summary>
  22. public int[] StepOwnAttr { get; private set; }
  23. /// <summary> 坐骑拥有技能[属性id+数值] </summary>
  24. public int[] StarSkill { get; private set; }
  25. /// <summary> 立绘 </summary>
  26. public string Picture { get; private set; } // c
  27. /// <summary> 坐骑头像 </summary>
  28. public string Icon { get; private set; } // c
  29. /// <summary> 坐骑待机 </summary>
  30. public string Spine { get; private set; } // c
  31. void ISerializable.Deserialize(IReader reader)
  32. {
  33. Id = reader.ReadInt();
  34. Zqid = reader.ReadInt();
  35. Step = reader.ReadInt();
  36. Star = reader.ReadInt();
  37. StarNeed = reader.ReadEnumerable<int[]>();
  38. StepOwnAttr = reader.ReadEnumerable<int[]>();
  39. StarSkill = reader.ReadEnumerable<int[]>();
  40. Picture = reader.ReadString();
  41. Icon = reader.ReadString();
  42. Spine = reader.ReadString();
  43. }
  44. void ISerializable.Serialize(IWriter writer)
  45. {
  46. writer.Write(Id);
  47. writer.Write(Zqid);
  48. writer.Write(Step);
  49. writer.Write(Star);
  50. writer.Write(StarNeed);
  51. writer.Write(StepOwnAttr);
  52. writer.Write(StarSkill);
  53. writer.Write(Picture);
  54. writer.Write(Icon);
  55. writer.Write(Spine);
  56. }
  57. }
  58. }