IItem.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using XGame.Database;
  2. namespace FL.Data.Items
  3. {
  4. public interface IItem
  5. {
  6. /// <summary>
  7. /// 物品唯一id
  8. /// </summary>
  9. public long Id { get; }
  10. /// <summary>
  11. /// 表id
  12. /// </summary>
  13. public int TableId { get; }
  14. /// <summary>
  15. /// 等级
  16. /// </summary>
  17. public int Level { get; }
  18. /// <summary>
  19. /// 道具类型
  20. /// </summary>
  21. public EItemType ItemType { get; }
  22. /// <summary>
  23. /// 品质等级
  24. /// </summary>
  25. public EQualityLevel Quality { get; }
  26. /// <summary>
  27. /// 物品名称
  28. /// </summary>
  29. public string Name { get; }
  30. /// <summary>
  31. /// 物品图标
  32. /// </summary>
  33. public string Icon { get; }
  34. /// <summary>
  35. /// 物品数量
  36. /// </summary>
  37. public string Count { get; }
  38. /// <summary>
  39. /// 物品描述
  40. /// </summary>
  41. public string Description { get; }
  42. }
  43. }