mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 09:25:06 +01:00
[BREAKING CHANGE] proto auto compiled by gradle (#226)
* [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
This commit is contained in:
36
proto/PlayerApplyEnterMpResultNotify.proto
Executable file
36
proto/PlayerApplyEnterMpResultNotify.proto
Executable file
@@ -0,0 +1,36 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
|
||||
message PlayerApplyEnterMpResultNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1805;
|
||||
}
|
||||
|
||||
enum Reason {
|
||||
PLAYER_JUDGE = 0;
|
||||
SCENE_CANNOT_ENTER = 1;
|
||||
PLAYER_CANNOT_ENTER_MP = 2;
|
||||
SYSTEM_JUDGE = 3;
|
||||
ALLOW_ENTER_PLAYER_FULL = 4;
|
||||
WORLD_LEVEL_LOWER_THAN_HOST = 5;
|
||||
HOST_IN_MATCH = 6;
|
||||
PLAYER_IN_BLACKLIST = 7;
|
||||
PS_PLAYER_NOT_ACCEPT_OTHERS = 8;
|
||||
HOST_IS_BLOCKED = 9;
|
||||
OTHER_DATA_VERSION_NOT_LATEST = 10;
|
||||
DATA_VERSION_NOT_LATEST = 11;
|
||||
PLAYER_NOT_IN_PLAYER_WORLD = 12;
|
||||
MAX_PLAYER = 13;
|
||||
}
|
||||
|
||||
uint32 target_uid = 1;
|
||||
bool is_agreed = 2;
|
||||
Reason reason = 3;
|
||||
string target_nickname = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user