GC-Proto/proto/ObstacleInfo.proto

21 lines
396 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2024-05-30 10:23:06 +03:00
2023-01-28 18:50:00 +03:00
option java_package = "emu.grasscutter.net.proto";
2024-05-30 10:23:06 +03:00
import "MathQuaternion.proto";
2023-08-17 14:18:58 +03:00
import "Vector.proto";
2024-05-30 10:23:06 +03:00
import "Vector3Int.proto";
2024-04-22 15:15:37 +03:00
2024-06-23 18:33:14 +03:00
// 4.7.0
2022-11-06 15:30:21 +03:00
message ObstacleInfo {
2024-06-23 18:33:14 +03:00
enum ShapeType {
2023-05-23 13:12:42 +03:00
OBSTACLE_SHAPE_CAPSULE = 0;
2024-05-30 10:23:06 +03:00
OBSTACLE_SHAPE_BOX = 1;
}
2024-06-23 18:33:14 +03:00
MathQuaternion rotation = 12;
Vector3Int extents = 10;
Vector center = 6;
ShapeType shape = 7;
int32 obstacle_id = 11;
2022-11-06 15:30:21 +03:00
}