GC-Proto/proto/ObstacleInfo.proto

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