Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.6 KiB

// 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);
}
}
}