Files
hk4e/protocol/proto_hk4e/server_only/cmd_mp.server.proto
2023-05-22 00:39:02 +08:00

71 lines
1.1 KiB
Protocol Buffer

syntax = "proto3";
package proto;
import "define.proto";
option go_package = "./;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;
}