clean project
This commit is contained in:
35
Assets/Oculus/Platform/Scripts/Models/SdkAccount.cs
Normal file
35
Assets/Oculus/Platform/Scripts/Models/SdkAccount.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
// 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 SdkAccount
|
||||
{
|
||||
public readonly SdkAccountType AccountType;
|
||||
public readonly UInt64 UserId;
|
||||
|
||||
|
||||
public SdkAccount(IntPtr o)
|
||||
{
|
||||
AccountType = CAPI.ovr_SdkAccount_GetAccountType(o);
|
||||
UserId = CAPI.ovr_SdkAccount_GetUserId(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class SdkAccountList : DeserializableList<SdkAccount> {
|
||||
public SdkAccountList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_SdkAccountArray_GetSize(a);
|
||||
_Data = new List<SdkAccount>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new SdkAccount(CAPI.ovr_SdkAccountArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user