mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2025-08-03 02:50:13 +03:00
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:
@@ -18,7 +18,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "MathQuaternion.proto";
|
||||
//import "ShapeType.proto";
|
||||
import "ObstacleInfo.proto";
|
||||
import "Vector.proto";
|
||||
import "Vector3Int.proto";
|
||||
|
||||
@@ -26,7 +26,7 @@ option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message GMObstacleInfo {
|
||||
int64 timestamp = 14;
|
||||
//ShapeType shape = 2;
|
||||
ObstacleInfo.ShapeType shape = 2;
|
||||
int32 obstacle_id = 13;
|
||||
MathQuaternion rotation = 3;
|
||||
Vector center = 8;
|
||||
|
Reference in New Issue
Block a user