2022-11-06 15:30:21 +03:00
|
|
|
syntax = "proto3";
|
2023-02-02 04:57:20 +03:00
|
|
|
|
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
|
|
|
|
2023-01-29 02:46:20 +03:00
|
|
|
import "Vector.proto";
|
2023-01-29 10:27:40 +03:00
|
|
|
import "MathQuaternion.proto";
|
2023-02-02 04:57:20 +03:00
|
|
|
|
2022-11-06 15:30:21 +03:00
|
|
|
message RoutePoint {
|
2023-01-29 02:46:20 +03:00
|
|
|
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 {
|
2023-02-02 04:57:20 +03:00
|
|
|
Vector Vector = 21;
|
2023-01-29 10:27:40 +03:00
|
|
|
MathQuaternion rotation_speed = 22;
|
|
|
|
MathQuaternion axis_speed = 23;
|
2023-01-28 17:00:48 +03:00
|
|
|
}
|
2022-11-06 15:30:21 +03:00
|
|
|
}
|