mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-06-12 19:11:33 -07:00
23 lines
462 B
Protocol Buffer
23 lines
462 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
enum PlaybackType {
|
|
SEGMENT = 0;
|
|
ROUTE = 1;
|
|
}
|
|
|
|
message PlaybackData {
|
|
required int64 segment_id = 1;
|
|
required float time = 3;
|
|
required uint64 world_time = 4;
|
|
optional PlaybackType type = 11;
|
|
}
|
|
|
|
message PlaybackMetadata {
|
|
required string uuid = 1;
|
|
required int64 segment_id = 2;
|
|
required float time = 4;
|
|
required uint64 world_time = 5;
|
|
required string url = 6;
|
|
optional PlaybackType type = 8;
|
|
}
|