forked from cgvr/DeltaVR
		
	
		
			
				
	
	
		
			78 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
 | 
						|
 | 
						|
namespace Oculus.Platform
 | 
						|
{
 | 
						|
  using System;
 | 
						|
  using System.Collections;
 | 
						|
  using Oculus.Platform.Models;
 | 
						|
  using System.Collections.Generic;
 | 
						|
  using UnityEngine;
 | 
						|
 | 
						|
  public class MatchmakingOptions {
 | 
						|
 | 
						|
    public MatchmakingOptions() {
 | 
						|
      Handle = CAPI.ovr_MatchmakingOptions_Create();
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetCreateRoomDataStore(string key, string value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetCreateRoomDataStoreString(Handle, key, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void ClearCreateRoomDataStore() {
 | 
						|
      CAPI.ovr_MatchmakingOptions_ClearCreateRoomDataStore(Handle);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetCreateRoomJoinPolicy(RoomJoinPolicy value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetCreateRoomJoinPolicy(Handle, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetCreateRoomMaxUsers(uint value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetCreateRoomMaxUsers(Handle, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void AddEnqueueAdditionalUser(UInt64 userID) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_AddEnqueueAdditionalUser(Handle, userID);
 | 
						|
    }
 | 
						|
 | 
						|
    public void ClearEnqueueAdditionalUsers() {
 | 
						|
      CAPI.ovr_MatchmakingOptions_ClearEnqueueAdditionalUsers(Handle);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetEnqueueDataSettings(string key, int value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetEnqueueDataSettingsInt(Handle, key, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetEnqueueDataSettings(string key, double value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetEnqueueDataSettingsDouble(Handle, key, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetEnqueueDataSettings(string key, string value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetEnqueueDataSettingsString(Handle, key, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void ClearEnqueueDataSettings() {
 | 
						|
      CAPI.ovr_MatchmakingOptions_ClearEnqueueDataSettings(Handle);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetEnqueueIsDebug(bool value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetEnqueueIsDebug(Handle, value);
 | 
						|
    }
 | 
						|
 | 
						|
    public void SetEnqueueQueryKey(string value) {
 | 
						|
      CAPI.ovr_MatchmakingOptions_SetEnqueueQueryKey(Handle, value);
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
    // For passing to native C
 | 
						|
    public static explicit operator IntPtr(MatchmakingOptions options) {
 | 
						|
      return options != null ? options.Handle : IntPtr.Zero;
 | 
						|
    }
 | 
						|
 | 
						|
    ~MatchmakingOptions() {
 | 
						|
      CAPI.ovr_MatchmakingOptions_Destroy(Handle);
 | 
						|
    }
 | 
						|
 | 
						|
    IntPtr Handle;
 | 
						|
  }
 | 
						|
}
 |