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
|
|
|
import "Vector3Int.proto";
|
|
|
|
|
2022-11-06 15:30:21 +03:00
|
|
|
message ObstacleInfo {
|
2023-02-02 04:57:20 +03:00
|
|
|
|
|
|
|
enum ShapeType {
|
|
|
|
SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE = 0;
|
|
|
|
SHAPE_TYPE_OBSTACLE_SHAPE_BOX = 1;
|
|
|
|
}
|
|
|
|
|
2023-01-29 02:46:20 +03:00
|
|
|
Vector center = 4;
|
2023-01-28 17:00:48 +03:00
|
|
|
Vector3Int extents = 12;
|
|
|
|
ShapeType shape = 5;
|
|
|
|
int32 obstacleId = 9;
|
2023-02-02 04:57:20 +03:00
|
|
|
MathQuaternion rotation = 2;
|
2022-11-06 15:30:21 +03:00
|
|
|
}
|