GC-Proto/proto/RoutePoint.proto

22 lines
406 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2023-01-28 18:50:00 +03:00
option java_package = "emu.grasscutter.net.proto";
2022-11-06 15:30:21 +03:00
2023-01-28 17:00:48 +03:00
import "Vector.proto";
2023-01-28 17:00:48 +03:00
import "RotationSpeed.proto";
2022-11-06 15:30:21 +03:00
message RoutePoint {
Vector position = 1;
2023-01-28 17:00:48 +03:00
float arriveRange = 2;
bool hasReachEvent = 3;
2023-01-29 07:22:25 +03:00
oneof move_params {
2023-01-28 17:00:48 +03:00
float velocity = 11;
float time = 12;
}
2023-01-29 07:22:25 +03:00
oneof rotate_params {
Vector rotation = 21;
2023-01-28 17:00:48 +03:00
RotationSpeed rotation_speed = 22;
RotationSpeed axis_speed = 23;
}
2022-11-06 15:30:21 +03:00
}