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";
|
2023-05-23 09:48:59 +03:00
|
|
|
import "MathQuaternion.proto";
|
2023-02-02 04:57:20 +03:00
|
|
|
import "Vector3Int.proto";
|
2023-08-17 14:18:58 +03:00
|
|
|
import "Vector.proto";
|
2024-04-22 15:15:37 +03:00
|
|
|
|
2022-11-06 15:30:21 +03:00
|
|
|
message ObstacleInfo {
|
2024-04-22 15:15:37 +03:00
|
|
|
enum ShapeType {
|
2023-05-23 13:12:42 +03:00
|
|
|
OBSTACLE_SHAPE_CAPSULE = 0;
|
|
|
|
OBSTACLE_SHAPE_BOX = 1;
|
2023-05-23 09:48:59 +03:00
|
|
|
}
|
2024-04-22 15:15:37 +03:00
|
|
|
MathQuaternion rotation = 7;
|
|
|
|
Vector3Int extents = 5;
|
|
|
|
Vector center = 14;
|
|
|
|
ShapeType shape = 3;
|
|
|
|
int32 obstacle_id = 8;
|
2022-11-06 15:30:21 +03:00
|
|
|
}
|