This commit is contained in:
aozhiwei 2024-04-16 14:51:27 +08:00
parent 879287447a
commit 88a9f45c46
2 changed files with 4 additions and 1 deletions

View File

@ -96,6 +96,7 @@ message MFPagination
message MFCreateTeamParams
{
optional int32 map_id = 1; //id
optional int32 mode_id = 2; //mapMode表.id
}
//
@ -139,6 +140,7 @@ message MFTeam
optional string team_uuid = 1; //id
repeated MFTeamMember members = 2; //
optional int32 map_id = 4; //id
optional int32 mode_id = 5; //mapMode表.id
}
//
@ -294,6 +296,7 @@ message SMChooseHero
message CMChooseMap
{
optional int32 map_id = 1; //id
optional int32 mode_id = 2; //mapMode表.id
}
message SMChooseMap

View File

@ -50,7 +50,7 @@ func (this *teamMgr) genTeamUuid(zoneId int32, nodeId int32, copyIdx int32) stri
func (this *teamMgr) internalGenTeamUuid(zoneId int32, nodeId int32, copyIdx int32) string {
this.curIdx++
teamUuid := q5.ToString(nodeId) + "_" + q5.ToString(zoneId) + "_" + q5.ToString(copyIdx) + "_" +
q5.Md5Str(q5.ToString(f5.GetApp().NewUuid()) + q5.ToString(f5.GetApp().GetPid()) +
q5.Md5Str(q5.ToString(f5.GetApp().NewGlobalUuid()) + q5.ToString(f5.GetApp().GetPid()) +
q5.ToString(this.curIdx) +
mt.Table.MatchCluster.GetIp() + "520d8eAbB(8cf1^#$^&!@d833a42c820432PDAFE^^)")
return teamUuid