BlueGit

blue-star ggj-2020

Files

ggj-2020 / Assets / Oculus / Platform / Scripts / Models / MatchmakingAdminSnapshotCandidate.cs

MatchmakingAdminSnapshotCandidate.cs

Project Import
timfa Tim Falken · pushed by timfa · 6 years ago
b77834a1 History
MatchmakingAdminSnapshotCandidate.cs 1.5 KiB Download Raw
1// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
2
3namespace 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
11 public class MatchmakingAdminSnapshotCandidate
12 {
13 public readonly bool CanMatch;
14 public readonly double MyTotalScore;
15 public readonly double TheirCurrentThreshold;
16 public readonly double TheirTotalScore;
17 public readonly string TraceId;
18
19
20 public MatchmakingAdminSnapshotCandidate(IntPtr o)
21 {
22 CanMatch = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetCanMatch(o);
23 MyTotalScore = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetMyTotalScore(o);
24 TheirCurrentThreshold = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTheirCurrentThreshold(o);
25 TheirTotalScore = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTheirTotalScore(o);
26 TraceId = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTraceId(o);
27 }
28 }
29
30 public class MatchmakingAdminSnapshotCandidateList : DeserializableList<MatchmakingAdminSnapshotCandidate> {
31 public MatchmakingAdminSnapshotCandidateList(IntPtr a) {
32 var count = (int)CAPI.ovr_MatchmakingAdminSnapshotCandidateArray_GetSize(a);
33 _Data = new List<MatchmakingAdminSnapshotCandidate>(count);
34 for (int i = 0; i < count; i++) {
35 _Data.Add(new MatchmakingAdminSnapshotCandidate(CAPI.ovr_MatchmakingAdminSnapshotCandidateArray_GetElement(a, (UIntPtr)i)));
36 }
37
38 }
39
40 }
41}