mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 13:37:42 +00:00
b392849577
* [BREAK] proto auto compiled by gradle * [BREAK] move proto to submodule * update gitmodules * [BREAK] move proto to submodule * move proto to submodule * fix merge conflict * fix github action after merging * fix merge conflicts and del submodule * upload the proto
22 lines
349 B
Protocol Buffer
Executable File
22 lines
349 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
option java_package = "emu.grasscutter.net.proto";
|
|
|
|
|
|
message PingReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
ENET_CHANNEL_ID = 0;
|
|
NONE = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
CMD_ID = 100;
|
|
}
|
|
|
|
uint32 seq = 1;
|
|
uint32 client_time = 2;
|
|
bytes sc_data = 3;
|
|
float ue_time = 4;
|
|
double total_tick_time = 5;
|
|
}
|