房间列表查询

This commit is contained in:
sk 2024-09-05 14:20:36 +08:00
parent bcac7f06d3
commit e33fe64bca
1 changed files with 2 additions and 2 deletions

View File

@ -183,9 +183,9 @@ func (m *SceneMgr) MarshalAllRoom(platform string, groupId, gameId int, gameMode
((s.gameId == gameId && s.gameMode == gameMode) || gameId == 0) &&
(s.sceneId == sceneId || sceneId == 0) && (s.groupId == int32(groupId) || groupId == 0) &&
(s.dbGameFree.GetId() == gameFreeId || gameFreeId == 0) &&
(s.sceneMode == sceneMode || sceneMode == -1)) || isNeedFindAll &&
(s.sceneMode == sceneMode || sceneMode == -1) &&
((s.IsCustom() && isCustom) || !isCustom) &&
(s.GetRoomConfigId() == roomConfigId || roomConfigId == 0) {
(s.GetRoomConfigId() == roomConfigId || roomConfigId == 0)) || isNeedFindAll {
var platformName string
if s.limitPlatform != nil {
platformName = s.limitPlatform.IdStr