fix ShapeType

I compared them with the _original_ files and fixed them.There is no `ShapeType.proto` in fact.The imports in the proto files may be generated by a script,which mistakenly import a wrong file.Should use `ObstacleInfo.ShapeType` and import `ObstacleInfo.proto`.Believe in me.
This commit is contained in:
dragon
2022-11-07 14:48:24 +08:00
parent 99086a2514
commit af9a0657ed
3 changed files with 8 additions and 8 deletions

View File

@@ -23,16 +23,16 @@ import "Vector.proto";
option java_package = "emu.grasscutter.net.proto";
message ToTheMoonObstacleInfo {
//ShapeType type = 2;
ShapeType type = 2;
int32 handle_id = 11;
MathQuaternion rotation = 7;
Vector center = 13;
Vector half_extents = 14;
/*
enum ShapeType {
SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE = 0;
SHAPE_TYPE_OBSTACLE_SHAPE_BOX = 1;
}
*/
}