forked from cgvr/DeltaVR
		
	
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
 | 
						|
 | 
						|
#pragma warning disable 0618
 | 
						|
 | 
						|
namespace Oculus.Platform.Models
 | 
						|
{
 | 
						|
  using System;
 | 
						|
  using System.Collections;
 | 
						|
  using Oculus.Platform.Models;
 | 
						|
  using System.Collections.Generic;
 | 
						|
  using UnityEngine;
 | 
						|
 | 
						|
  public class MatchmakingEnqueueResult
 | 
						|
  {
 | 
						|
    // May be null. Check before using.
 | 
						|
    public readonly MatchmakingAdminSnapshot AdminSnapshotOptional;
 | 
						|
    [Obsolete("Deprecated in favor of AdminSnapshotOptional")]
 | 
						|
    public readonly MatchmakingAdminSnapshot AdminSnapshot;
 | 
						|
    public readonly uint AverageWait;
 | 
						|
    public readonly uint MatchesInLastHourCount;
 | 
						|
    public readonly uint MaxExpectedWait;
 | 
						|
    public readonly string Pool;
 | 
						|
    public readonly uint RecentMatchPercentage;
 | 
						|
    public readonly string RequestHash;
 | 
						|
 | 
						|
 | 
						|
    public MatchmakingEnqueueResult(IntPtr o)
 | 
						|
    {
 | 
						|
      {
 | 
						|
        var pointer = CAPI.ovr_MatchmakingEnqueueResult_GetAdminSnapshot(o);
 | 
						|
        AdminSnapshot = new MatchmakingAdminSnapshot(pointer);
 | 
						|
        if (pointer == IntPtr.Zero) {
 | 
						|
          AdminSnapshotOptional = null;
 | 
						|
        } else {
 | 
						|
          AdminSnapshotOptional = AdminSnapshot;
 | 
						|
        }
 | 
						|
      }
 | 
						|
      AverageWait = CAPI.ovr_MatchmakingEnqueueResult_GetAverageWait(o);
 | 
						|
      MatchesInLastHourCount = CAPI.ovr_MatchmakingEnqueueResult_GetMatchesInLastHourCount(o);
 | 
						|
      MaxExpectedWait = CAPI.ovr_MatchmakingEnqueueResult_GetMaxExpectedWait(o);
 | 
						|
      Pool = CAPI.ovr_MatchmakingEnqueueResult_GetPool(o);
 | 
						|
      RecentMatchPercentage = CAPI.ovr_MatchmakingEnqueueResult_GetRecentMatchPercentage(o);
 | 
						|
      RequestHash = CAPI.ovr_MatchmakingEnqueueResult_GetRequestHash(o);
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
}
 |