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;
|
||
|
}
|