完善客户端协议

This commit is contained in:
flswld
2023-01-19 19:29:52 +08:00
parent a00bee14d0
commit 2983c16272
3254 changed files with 57101 additions and 93258 deletions

View File

@@ -0,0 +1,70 @@
syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
message UpdateMpStatusNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10472;
}
uint32 uid = 1;
bool is_only_mp_with_ps_player = 2;
PlatformType platform_type = 3;
OnlinePlayerInfo online_player_info = 4;
}
message DelMpStatusNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10498;
}
uint32 uid = 1;
}
message GetPlayerMpStatusListReq {
enum CmdId {
NONE = 0;
CMD_ID = 10412;
}
}
message GetPlayerMpStatusListRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10435;
}
int32 retcode = 1;
repeated OnlinePlayerInfo player_list = 2;
}
message GetPlayerMpStatusInfoReq {
enum CmdId {
NONE = 0;
CMD_ID = 10407;
}
bool is_online_id = 1;
oneof player_id {
uint32 target_uid = 2;
string online_id = 3;
string psn_id = 4;
}
}
message GetPlayerMpStatusInfoRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10421;
}
int32 retcode = 1;
uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 3;
}