コード例 #1
0
        //对垒表
        public List <ListMatchResponse> ListMatch(ListMatchRequest request)
        {
            List <ListMatchResponse> list = new List <ListMatchResponse>();

            try
            {
            }
            catch (Exception ex)
            {
                LogUtils.LogError("EventCyclingMatchService.ListMatch", ex);
            }
            return(list);
        }
コード例 #2
0
ファイル: GameNetMan.cs プロジェクト: PeachTreeOath/Mages
    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);
    }