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

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. #pragma warning disable 0618
  3. namespace Oculus.Platform.Models
  4. {
  5. using System;
  6. using System.Collections;
  7. using Oculus.Platform.Models;
  8. using System.Collections.Generic;
  9. using UnityEngine;
  10. public class MatchmakingEnqueueResult
  11. {
  12. // May be null. Check before using.
  13. public readonly MatchmakingAdminSnapshot AdminSnapshotOptional;
  14. [Obsolete("Deprecated in favor of AdminSnapshotOptional")]
  15. public readonly MatchmakingAdminSnapshot AdminSnapshot;
  16. public readonly uint AverageWait;
  17. public readonly uint MatchesInLastHourCount;
  18. public readonly uint MaxExpectedWait;
  19. public readonly string Pool;
  20. public readonly uint RecentMatchPercentage;
  21. public readonly string RequestHash;
  22. public MatchmakingEnqueueResult(IntPtr o)
  23. {
  24. {
  25. var pointer = CAPI.ovr_MatchmakingEnqueueResult_GetAdminSnapshot(o);
  26. AdminSnapshot = new MatchmakingAdminSnapshot(pointer);
  27. if (pointer == IntPtr.Zero) {
  28. AdminSnapshotOptional = null;
  29. } else {
  30. AdminSnapshotOptional = AdminSnapshot;
  31. }
  32. }
  33. AverageWait = CAPI.ovr_MatchmakingEnqueueResult_GetAverageWait(o);
  34. MatchesInLastHourCount = CAPI.ovr_MatchmakingEnqueueResult_GetMatchesInLastHourCount(o);
  35. MaxExpectedWait = CAPI.ovr_MatchmakingEnqueueResult_GetMaxExpectedWait(o);
  36. Pool = CAPI.ovr_MatchmakingEnqueueResult_GetPool(o);
  37. RecentMatchPercentage = CAPI.ovr_MatchmakingEnqueueResult_GetRecentMatchPercentage(o);
  38. RequestHash = CAPI.ovr_MatchmakingEnqueueResult_GetRequestHash(o);
  39. }
  40. }
  41. }