mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-22 03:45:10 +01:00
Merge branch 'development' into dungeon-scripts
This commit is contained in:
11
proto/VehicleInteractReq.proto
Normal file
11
proto/VehicleInteractReq.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "VehicleInteractType.proto";
|
||||
|
||||
message VehicleInteractReq {
|
||||
uint32 entity_id = 1;
|
||||
VehicleInteractType interact_type = 2;
|
||||
uint32 pos = 3;
|
||||
}
|
||||
13
proto/VehicleInteractRsp.proto
Normal file
13
proto/VehicleInteractRsp.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "VehicleInteractType.proto";
|
||||
import "VehicleMember.proto";
|
||||
|
||||
message VehicleInteractRsp {
|
||||
int32 retcode = 1;
|
||||
uint32 entity_id = 2;
|
||||
VehicleInteractType interact_type = 3;
|
||||
VehicleMember member = 4;
|
||||
}
|
||||
9
proto/VehicleInteractType.proto
Normal file
9
proto/VehicleInteractType.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum VehicleInteractType {
|
||||
VEHICLE_INTERACT_NONE = 0;
|
||||
VEHICLE_INTERACT_IN = 1;
|
||||
VEHICLE_INTERACT_OUT = 2;
|
||||
}
|
||||
12
proto/VehicleSpawnReq.proto
Normal file
12
proto/VehicleSpawnReq.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "Vector.proto";
|
||||
|
||||
message VehicleSpawnReq {
|
||||
uint32 vehicleId = 1;
|
||||
uint32 pointId = 2;
|
||||
Vector pos = 3;
|
||||
Vector rot = 4;
|
||||
}
|
||||
8
proto/VehicleSpawnRsp.proto
Normal file
8
proto/VehicleSpawnRsp.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message VehicleSpawnRsp {
|
||||
uint32 vehicleId = 2;
|
||||
uint32 entityId = 3;
|
||||
}
|
||||
8
proto/VehicleStaminaNotify.proto
Normal file
8
proto/VehicleStaminaNotify.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message VehicleStaminaNotify {
|
||||
uint32 entity_id = 1;
|
||||
float cur_stamina = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user