This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
snakeinabox/Assets/Oculus/Platform/Scripts/Models/MatchmakingEnqueueResult.cs
2020-07-09 11:41:01 -07:00

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