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.
 
 
 

39 lines
981 B

// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform.Models
{
using System;
using System.Collections;
using Oculus.Platform.Models;
using System.Collections.Generic;
using UnityEngine;
public class Team
{
public readonly UserList AssignedUsers;
public readonly int MaxUsers;
public readonly int MinUsers;
public readonly string Name;
public Team(IntPtr o)
{
AssignedUsers = new UserList(CAPI.ovr_Team_GetAssignedUsers(o));
MaxUsers = CAPI.ovr_Team_GetMaxUsers(o);
MinUsers = CAPI.ovr_Team_GetMinUsers(o);
Name = CAPI.ovr_Team_GetName(o);
}
}
public class TeamList : DeserializableList<Team> {
public TeamList(IntPtr a) {
var count = (int)CAPI.ovr_TeamArray_GetSize(a);
_Data = new List<Team>(count);
for (int i = 0; i < count; i++) {
_Data.Add(new Team(CAPI.ovr_TeamArray_GetElement(a, (UIntPtr)i)));
}
}
}
}