recruit.proto 413 B

123456789101112131415161718192021
  1. // message结构的属性名请使用 驼峰小写字母开始
  2. syntax = "proto3";
  3. option go_package = "/pb";
  4. package pb;
  5. import "base_type.proto";
  6. // 招募数据
  7. message Recruit {
  8. // 免费招募已使用次数
  9. int32 freeUsedNum = 1;
  10. // 最后一次招募时间(utc毫秒)
  11. int64 lastTime = 2;
  12. }
  13. // [响应] 英雄招募
  14. message RecruitResponse {
  15. repeated Asset rewards = 1;
  16. Recruit recruit = 2;
  17. }