route-result.proto 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. syntax = "proto2";
  2. import "profile.proto";
  3. message RouteResultSaveRequest {
  4. optional string f1 = 1;
  5. optional uint64 server_realm = 2;
  6. optional uint64 map_id = 3;
  7. required uint64 route_hash = 4;
  8. optional uint64 event_id = 5;
  9. optional uint64 world_time = 6;
  10. optional uint64 elapsed_ms = 7;
  11. optional PowerType power_type = 8;
  12. optional uint32 weight_in_grams = 9;
  13. optional uint32 height_in_centimeters = 10;
  14. optional uint32 ftp = 11;
  15. optional uint32 avg_power = 12;
  16. optional uint32 max_power = 13;
  17. optional uint32 avg_hr = 14;
  18. optional uint32 max_hr = 15;
  19. optional uint32 calories = 16;
  20. optional Gender gender = 18;
  21. optional PlayerType player_type = 19;
  22. optional Sport sport = 20;
  23. optional uint64 activity_id = 21;
  24. optional bool steering = 22;
  25. optional string hr_monitor = 23;
  26. optional string power_meter = 24;
  27. optional string controllable = 25;
  28. optional string cadence_sensor = 26;
  29. }
  30. enum Gender {
  31. MALE = 1;
  32. FEMALE = 2;
  33. }