public static Request <Models.RoomList> Browse(string pool, CustomQuery customQuery = null) { if (Core.IsInitialized()) { return(new Request <Models.RoomList>(CAPI.ovr_Matchmaking_Browse( pool, customQuery != null ? customQuery.ToUnmanaged() : IntPtr.Zero ))); } return(null); }
public static Request EnqueueRoom(UInt64 roomID, CustomQuery customQuery = null) { if (Core.IsInitialized()) { return(new Request(CAPI.ovr_Matchmaking_EnqueueRoom( roomID, customQuery != null ? customQuery.ToUnmanaged() : IntPtr.Zero ))); } return(null); }
public static Request <Models.Room> CreateAndEnqueueRoom( string pool, uint maxUsers, bool subscribeToNotifications = false, CustomQuery customQuery = null) { if (Core.IsInitialized()) { return(new Request <Models.Room>(CAPI.ovr_Matchmaking_CreateAndEnqueueRoom( pool, maxUsers, subscribeToNotifications, customQuery != null ? customQuery.ToUnmanaged() : IntPtr.Zero ))); } return(null); }