//对垒表 public List <ListMatchResponse> ListMatch(ListMatchRequest request) { List <ListMatchResponse> list = new List <ListMatchResponse>(); try { } catch (Exception ex) { LogUtils.LogError("EventCyclingMatchService.ListMatch", ex); } return(list); }
private void doRefreshNow() { Debug.Log("Refreshing multiplayer room list"); if (matchMaker == null) { Debug.LogError("Match maker null"); return; } if (roomListParent == null) { Debug.LogError("No room list gameobject set"); return; } ListMatchRequest listReq = new ListMatchRequest(); listReq.nameFilter = ""; listReq.pageNum = 0; listReq.pageSize = 10; listReq.projectId = Application.cloudProjectId; matchMaker.ListMatches(listReq, roomListCallback); }