格式化代码

This commit is contained in:
flswld
2023-05-22 00:39:02 +08:00
parent f851ad1692
commit 3100e8b147
115 changed files with 38550 additions and 38546 deletions

View File

@@ -2,69 +2,69 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
message UpdateMpStatusNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10472;
}
option go_package = "./;proto";
uint32 uid = 1;
bool is_only_mp_with_ps_player = 2;
PlatformType platform_type = 3;
OnlinePlayerInfo online_player_info = 4;
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;
}
enum CmdId {
NONE = 0;
CMD_ID = 10498;
}
uint32 uid = 1;
uint32 uid = 1;
}
message GetPlayerMpStatusListReq {
enum CmdId {
NONE = 0;
CMD_ID = 10412;
}
enum CmdId {
NONE = 0;
CMD_ID = 10412;
}
}
message GetPlayerMpStatusListRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10435;
}
enum CmdId {
NONE = 0;
CMD_ID = 10435;
}
int32 retcode = 1;
repeated OnlinePlayerInfo player_list = 2;
int32 retcode = 1;
repeated OnlinePlayerInfo player_list = 2;
}
message GetPlayerMpStatusInfoReq {
enum CmdId {
NONE = 0;
CMD_ID = 10407;
}
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;
}
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;
}
enum CmdId {
NONE = 0;
CMD_ID = 10421;
}
int32 retcode = 1;
uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 3;
int32 retcode = 1;
uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 3;
}