房间列表查询
This commit is contained in:
parent
bcac7f06d3
commit
e33fe64bca
|
|
@ -183,9 +183,9 @@ func (m *SceneMgr) MarshalAllRoom(platform string, groupId, gameId int, gameMode
|
||||||
((s.gameId == gameId && s.gameMode == gameMode) || gameId == 0) &&
|
((s.gameId == gameId && s.gameMode == gameMode) || gameId == 0) &&
|
||||||
(s.sceneId == sceneId || sceneId == 0) && (s.groupId == int32(groupId) || groupId == 0) &&
|
(s.sceneId == sceneId || sceneId == 0) && (s.groupId == int32(groupId) || groupId == 0) &&
|
||||||
(s.dbGameFree.GetId() == gameFreeId || gameFreeId == 0) &&
|
(s.dbGameFree.GetId() == gameFreeId || gameFreeId == 0) &&
|
||||||
(s.sceneMode == sceneMode || sceneMode == -1)) || isNeedFindAll &&
|
(s.sceneMode == sceneMode || sceneMode == -1) &&
|
||||||
((s.IsCustom() && isCustom) || !isCustom) &&
|
((s.IsCustom() && isCustom) || !isCustom) &&
|
||||||
(s.GetRoomConfigId() == roomConfigId || roomConfigId == 0) {
|
(s.GetRoomConfigId() == roomConfigId || roomConfigId == 0)) || isNeedFindAll {
|
||||||
var platformName string
|
var platformName string
|
||||||
if s.limitPlatform != nil {
|
if s.limitPlatform != nil {
|
||||||
platformName = s.limitPlatform.IdStr
|
platformName = s.limitPlatform.IdStr
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue