Mike Kalange
30e356e3e0
Reviewed-on: #7 Reviewed-by: Ivan Malison <ivanmalison@gmail.com> Co-authored-by: Mike Kalange <countablecloud@gmail.com> Co-committed-by: Mike Kalange <countablecloud@gmail.com>
27 lines
411 B
Protocol Buffer
27 lines
411 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package serialized_shot;
|
|
|
|
message Point {
|
|
float x = 1;
|
|
float y = 2;
|
|
int32 count = 3;
|
|
}
|
|
|
|
message Path {
|
|
int32 start_frame = 1;
|
|
int32 end_frame = 2;
|
|
bool is_static = 3;
|
|
repeated Point points = 4;
|
|
}
|
|
|
|
message BallPaths {
|
|
int32 ball_identifier = 1;
|
|
repeated Path paths = 2;
|
|
}
|
|
|
|
message Shot {
|
|
int32 start_frame = 1;
|
|
int32 end_frame = 2;
|
|
repeated BallPaths ball_paths = 3;
|
|
} |