GC-Proto/proto/RoutePoint.proto

22 lines
409 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";
import "MathQuaternion.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;
MathQuaternion rotation_speed = 22;
MathQuaternion axis_speed = 23;
2023-01-28 17:00:48 +03:00
}
2022-11-06 15:30:21 +03:00
}