This commit is contained in:
aozhiwei 2024-03-12 21:05:29 +08:00
parent a0430f9723
commit fb5d7f37cd
3 changed files with 21 additions and 0 deletions

View File

@ -16,6 +16,12 @@ const (
IM_WSP_CLOSE = f5.IM_CUSTOM_MSG_BEGIN + 1 IM_WSP_CLOSE = f5.IM_CUSTOM_MSG_BEGIN + 1
) )
const (
TEAM_STAET_INIT = 0
TEAM_STAET_STARTED = 1
TEAM_STAET_MATCHING = 2
)
const ( const (
MAX_PACKET_LEN = 1024 * 64 MAX_PACKET_LEN = 1024 * 64
) )

View File

@ -35,4 +35,5 @@ enum SMMessageId_e
_SMGrantInvitePermission = 114; _SMGrantInvitePermission = 114;
_SMTeamUpdateNotify = 1001; _SMTeamUpdateNotify = 1001;
_SMTeamStateNotify = 1002;
} }

View File

@ -111,6 +111,13 @@ message MFHero
optional int32 quality = 2; // optional int32 quality = 2; //
} }
//
message MFJoinMsg
{
optional string team_uuid = 1; //CMMove
optional string payload = 2; //
}
// //
message MFTeamMember message MFTeamMember
{ {
@ -273,3 +280,10 @@ message SMTeamUpdateNotify
{ {
optional MFTeam team_info = 1; // optional MFTeam team_info = 1; //
} }
//(!!!)
message SMTeamStateNotify
{
optional int32 state = 1; //0 1 2(moba模式)
optional MFJoinMsg join_msg = 2; //()
}