proto_struct.lua 413 B

1234567891011121314151617181920
  1. -- 公共结构体
  2. local proto_struct =
  3. [[
  4. # 物品
  5. .DataItem {
  6. id 0: integer
  7. count 1: integer
  8. }
  9. # 物品背包属性
  10. .DataItemBag {
  11. id 0: integer # 物品ID
  12. count 1: integer # 物品数量
  13. endTime 2: integer # 到期时间戳
  14. }
  15. ]]
  16. return proto_struct