예제 #1
0
        public static Request <Models.MatchmakingEnqueueResultAndRoom> CreateAndEnqueueRoom(
            string pool,
            uint maxUsers,
            bool subscribeToNotifications = false,
            CustomQuery customQuery       = null)
        {
            if (Core.IsInitialized())
            {
                return(new Request <Models.MatchmakingEnqueueResultAndRoom>(CAPI.ovr_Matchmaking_CreateAndEnqueueRoom(
                                                                                pool,
                                                                                maxUsers,
                                                                                subscribeToNotifications,
                                                                                customQuery != null ? customQuery.ToUnmanaged() : IntPtr.Zero
                                                                                )));
            }

            return(null);
        }