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.

41 lines
1.5 KiB

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. namespace Oculus.Platform.Models
  3. {
  4. using System;
  5. using System.Collections;
  6. using Oculus.Platform.Models;
  7. using System.Collections.Generic;
  8. using UnityEngine;
  9. public class MatchmakingAdminSnapshotCandidate
  10. {
  11. public readonly bool CanMatch;
  12. public readonly double MyTotalScore;
  13. public readonly double TheirCurrentThreshold;
  14. public readonly double TheirTotalScore;
  15. public readonly string TraceId;
  16. public MatchmakingAdminSnapshotCandidate(IntPtr o)
  17. {
  18. CanMatch = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetCanMatch(o);
  19. MyTotalScore = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetMyTotalScore(o);
  20. TheirCurrentThreshold = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTheirCurrentThreshold(o);
  21. TheirTotalScore = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTheirTotalScore(o);
  22. TraceId = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTraceId(o);
  23. }
  24. }
  25. public class MatchmakingAdminSnapshotCandidateList : DeserializableList<MatchmakingAdminSnapshotCandidate> {
  26. public MatchmakingAdminSnapshotCandidateList(IntPtr a) {
  27. var count = (int)CAPI.ovr_MatchmakingAdminSnapshotCandidateArray_GetSize(a);
  28. _Data = new List<MatchmakingAdminSnapshotCandidate>(count);
  29. for (int i = 0; i < count; i++) {
  30. _Data.Add(new MatchmakingAdminSnapshotCandidate(CAPI.ovr_MatchmakingAdminSnapshotCandidateArray_GetElement(a, (UIntPtr)i)));
  31. }
  32. }
  33. }
  34. }