Updated oculus stuff
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// 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 AbuseReportRecording
|
||||
{
|
||||
public readonly string RecordingUuid;
|
||||
|
||||
|
||||
public AbuseReportRecording(IntPtr o)
|
||||
{
|
||||
RecordingUuid = CAPI.ovr_AbuseReportRecording_GetRecordingUuid(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c2b12af41eef9f4786416f70fc1959c
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,40 @@
|
||||
// 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 AchievementDefinition
|
||||
{
|
||||
public readonly AchievementType Type;
|
||||
public readonly string Name;
|
||||
public readonly uint BitfieldLength;
|
||||
public readonly ulong Target;
|
||||
|
||||
|
||||
public AchievementDefinition(IntPtr o)
|
||||
{
|
||||
Type = CAPI.ovr_AchievementDefinition_GetType(o);
|
||||
Name = CAPI.ovr_AchievementDefinition_GetName(o);
|
||||
BitfieldLength = CAPI.ovr_AchievementDefinition_GetBitfieldLength(o);
|
||||
Target = CAPI.ovr_AchievementDefinition_GetTarget(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class AchievementDefinitionList : DeserializableList<AchievementDefinition> {
|
||||
public AchievementDefinitionList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_AchievementDefinitionArray_GetSize(a);
|
||||
_Data = new List<AchievementDefinition>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new AchievementDefinition(CAPI.ovr_AchievementDefinitionArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_AchievementDefinitionArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d2e372fad07698479f27fd72c13489e
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
42
Assets/Oculus/Platform/Scripts/Models/AchievementProgress.cs
Normal file
42
Assets/Oculus/Platform/Scripts/Models/AchievementProgress.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
// 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 AchievementProgress
|
||||
{
|
||||
public readonly string Bitfield;
|
||||
public readonly ulong Count;
|
||||
public readonly bool IsUnlocked;
|
||||
public readonly string Name;
|
||||
public readonly DateTime UnlockTime;
|
||||
|
||||
|
||||
public AchievementProgress(IntPtr o)
|
||||
{
|
||||
Bitfield = CAPI.ovr_AchievementProgress_GetBitfield(o);
|
||||
Count = CAPI.ovr_AchievementProgress_GetCount(o);
|
||||
IsUnlocked = CAPI.ovr_AchievementProgress_GetIsUnlocked(o);
|
||||
Name = CAPI.ovr_AchievementProgress_GetName(o);
|
||||
UnlockTime = CAPI.ovr_AchievementProgress_GetUnlockTime(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class AchievementProgressList : DeserializableList<AchievementProgress> {
|
||||
public AchievementProgressList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_AchievementProgressArray_GetSize(a);
|
||||
_Data = new List<AchievementProgress>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new AchievementProgress(CAPI.ovr_AchievementProgressArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_AchievementProgressArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d4a4ff6827774599abd0efe12f341fa
|
||||
timeCreated: 1462489664
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
24
Assets/Oculus/Platform/Scripts/Models/AchievementUpdate.cs
Normal file
24
Assets/Oculus/Platform/Scripts/Models/AchievementUpdate.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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 AchievementUpdate
|
||||
{
|
||||
public readonly bool JustUnlocked;
|
||||
public readonly string Name;
|
||||
|
||||
|
||||
public AchievementUpdate(IntPtr o)
|
||||
{
|
||||
JustUnlocked = CAPI.ovr_AchievementUpdate_GetJustUnlocked(o);
|
||||
Name = CAPI.ovr_AchievementUpdate_GetName(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a49cc0ca1bcdd99409f7658b336e2d06
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
28
Assets/Oculus/Platform/Scripts/Models/ApplicationVersion.cs
Normal file
28
Assets/Oculus/Platform/Scripts/Models/ApplicationVersion.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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 ApplicationVersion
|
||||
{
|
||||
public readonly int CurrentCode;
|
||||
public readonly string CurrentName;
|
||||
public readonly int LatestCode;
|
||||
public readonly string LatestName;
|
||||
|
||||
|
||||
public ApplicationVersion(IntPtr o)
|
||||
{
|
||||
CurrentCode = CAPI.ovr_ApplicationVersion_GetCurrentCode(o);
|
||||
CurrentName = CAPI.ovr_ApplicationVersion_GetCurrentName(o);
|
||||
LatestCode = CAPI.ovr_ApplicationVersion_GetLatestCode(o);
|
||||
LatestName = CAPI.ovr_ApplicationVersion_GetLatestName(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b5b714bc152876d4eaa2f638d2927cd8
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
56
Assets/Oculus/Platform/Scripts/Models/AssetDetails.cs
Normal file
56
Assets/Oculus/Platform/Scripts/Models/AssetDetails.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
|
||||
|
||||
#pragma warning disable 0618
|
||||
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Oculus.Platform.Models;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class AssetDetails
|
||||
{
|
||||
public readonly UInt64 AssetId;
|
||||
public readonly string AssetType;
|
||||
public readonly string DownloadStatus;
|
||||
public readonly string Filepath;
|
||||
public readonly string IapStatus;
|
||||
// May be null. Check before using.
|
||||
public readonly LanguagePackInfo LanguageOptional;
|
||||
[Obsolete("Deprecated in favor of LanguageOptional")]
|
||||
public readonly LanguagePackInfo Language;
|
||||
|
||||
|
||||
public AssetDetails(IntPtr o)
|
||||
{
|
||||
AssetId = CAPI.ovr_AssetDetails_GetAssetId(o);
|
||||
AssetType = CAPI.ovr_AssetDetails_GetAssetType(o);
|
||||
DownloadStatus = CAPI.ovr_AssetDetails_GetDownloadStatus(o);
|
||||
Filepath = CAPI.ovr_AssetDetails_GetFilepath(o);
|
||||
IapStatus = CAPI.ovr_AssetDetails_GetIapStatus(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_AssetDetails_GetLanguage(o);
|
||||
Language = new LanguagePackInfo(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
LanguageOptional = null;
|
||||
} else {
|
||||
LanguageOptional = Language;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class AssetDetailsList : DeserializableList<AssetDetails> {
|
||||
public AssetDetailsList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_AssetDetailsArray_GetSize(a);
|
||||
_Data = new List<AssetDetails>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new AssetDetails(CAPI.ovr_AssetDetailsArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/AssetDetails.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/AssetDetails.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77b2c21c8a5705c4f95aa9a8507a3541
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,28 @@
|
||||
// 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 AssetFileDeleteResult
|
||||
{
|
||||
public readonly UInt64 AssetFileId;
|
||||
public readonly UInt64 AssetId;
|
||||
public readonly string Filepath;
|
||||
public readonly bool Success;
|
||||
|
||||
|
||||
public AssetFileDeleteResult(IntPtr o)
|
||||
{
|
||||
AssetFileId = CAPI.ovr_AssetFileDeleteResult_GetAssetFileId(o);
|
||||
AssetId = CAPI.ovr_AssetFileDeleteResult_GetAssetId(o);
|
||||
Filepath = CAPI.ovr_AssetFileDeleteResult_GetFilepath(o);
|
||||
Success = CAPI.ovr_AssetFileDeleteResult_GetSuccess(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a64ebca65bbe4334394aa3648ff7733f
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,28 @@
|
||||
// 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 AssetFileDownloadCancelResult
|
||||
{
|
||||
public readonly UInt64 AssetFileId;
|
||||
public readonly UInt64 AssetId;
|
||||
public readonly string Filepath;
|
||||
public readonly bool Success;
|
||||
|
||||
|
||||
public AssetFileDownloadCancelResult(IntPtr o)
|
||||
{
|
||||
AssetFileId = CAPI.ovr_AssetFileDownloadCancelResult_GetAssetFileId(o);
|
||||
AssetId = CAPI.ovr_AssetFileDownloadCancelResult_GetAssetId(o);
|
||||
Filepath = CAPI.ovr_AssetFileDownloadCancelResult_GetFilepath(o);
|
||||
Success = CAPI.ovr_AssetFileDownloadCancelResult_GetSuccess(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80090c9e4db0f2a46bd1ff95e4c6407f
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 AssetFileDownloadResult
|
||||
{
|
||||
public readonly UInt64 AssetId;
|
||||
public readonly string Filepath;
|
||||
|
||||
|
||||
public AssetFileDownloadResult(IntPtr o)
|
||||
{
|
||||
AssetId = CAPI.ovr_AssetFileDownloadResult_GetAssetId(o);
|
||||
Filepath = CAPI.ovr_AssetFileDownloadResult_GetFilepath(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0bfd5c2464df297499ad81e22be1e7b1
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,30 @@
|
||||
// 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 AssetFileDownloadUpdate
|
||||
{
|
||||
public readonly UInt64 AssetFileId;
|
||||
public readonly UInt64 AssetId;
|
||||
public readonly uint BytesTotal;
|
||||
public readonly int BytesTransferred;
|
||||
public readonly bool Completed;
|
||||
|
||||
|
||||
public AssetFileDownloadUpdate(IntPtr o)
|
||||
{
|
||||
AssetFileId = CAPI.ovr_AssetFileDownloadUpdate_GetAssetFileId(o);
|
||||
AssetId = CAPI.ovr_AssetFileDownloadUpdate_GetAssetId(o);
|
||||
BytesTotal = CAPI.ovr_AssetFileDownloadUpdate_GetBytesTotal(o);
|
||||
BytesTransferred = CAPI.ovr_AssetFileDownloadUpdate_GetBytesTransferred(o);
|
||||
Completed = CAPI.ovr_AssetFileDownloadUpdate_GetCompleted(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f219cac005ed9fc4b87b7cdb7285f23b
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 CloudStorageConflictMetadata
|
||||
{
|
||||
public readonly CloudStorageMetadata Local;
|
||||
public readonly CloudStorageMetadata Remote;
|
||||
|
||||
|
||||
public CloudStorageConflictMetadata(IntPtr o)
|
||||
{
|
||||
Local = new CloudStorageMetadata(CAPI.ovr_CloudStorageConflictMetadata_GetLocal(o));
|
||||
Remote = new CloudStorageMetadata(CAPI.ovr_CloudStorageConflictMetadata_GetRemote(o));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f4529c5ae12f84c44899a5ca599b6ecd
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
28
Assets/Oculus/Platform/Scripts/Models/CloudStorageData.cs
Normal file
28
Assets/Oculus/Platform/Scripts/Models/CloudStorageData.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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 CloudStorageData
|
||||
{
|
||||
public readonly string Bucket;
|
||||
public readonly byte[] Data;
|
||||
public readonly uint DataSize;
|
||||
public readonly string Key;
|
||||
|
||||
|
||||
public CloudStorageData(IntPtr o)
|
||||
{
|
||||
Bucket = CAPI.ovr_CloudStorageData_GetBucket(o);
|
||||
Data = CAPI.ovr_CloudStorageData_GetData(o);
|
||||
DataSize = CAPI.ovr_CloudStorageData_GetDataSize(o);
|
||||
Key = CAPI.ovr_CloudStorageData_GetKey(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e17b833610a92c4bbf4b67edb7ec116
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,48 @@
|
||||
// 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 CloudStorageMetadata
|
||||
{
|
||||
public readonly string Bucket;
|
||||
public readonly long Counter;
|
||||
public readonly uint DataSize;
|
||||
public readonly string ExtraData;
|
||||
public readonly string Key;
|
||||
public readonly ulong SaveTime;
|
||||
public readonly CloudStorageDataStatus Status;
|
||||
public readonly string VersionHandle;
|
||||
|
||||
|
||||
public CloudStorageMetadata(IntPtr o)
|
||||
{
|
||||
Bucket = CAPI.ovr_CloudStorageMetadata_GetBucket(o);
|
||||
Counter = CAPI.ovr_CloudStorageMetadata_GetCounter(o);
|
||||
DataSize = CAPI.ovr_CloudStorageMetadata_GetDataSize(o);
|
||||
ExtraData = CAPI.ovr_CloudStorageMetadata_GetExtraData(o);
|
||||
Key = CAPI.ovr_CloudStorageMetadata_GetKey(o);
|
||||
SaveTime = CAPI.ovr_CloudStorageMetadata_GetSaveTime(o);
|
||||
Status = CAPI.ovr_CloudStorageMetadata_GetStatus(o);
|
||||
VersionHandle = CAPI.ovr_CloudStorageMetadata_GetVersionHandle(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class CloudStorageMetadataList : DeserializableList<CloudStorageMetadata> {
|
||||
public CloudStorageMetadataList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_CloudStorageMetadataArray_GetSize(a);
|
||||
_Data = new List<CloudStorageMetadata>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new CloudStorageMetadata(CAPI.ovr_CloudStorageMetadataArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_CloudStorageMetadataArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1a6ff0d9eb067d74e87a166ab86cc0dd
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,28 @@
|
||||
// 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 CloudStorageUpdateResponse
|
||||
{
|
||||
public readonly string Bucket;
|
||||
public readonly string Key;
|
||||
public readonly CloudStorageUpdateStatus Status;
|
||||
public readonly string VersionHandle;
|
||||
|
||||
|
||||
public CloudStorageUpdateResponse(IntPtr o)
|
||||
{
|
||||
Bucket = CAPI.ovr_CloudStorageUpdateResponse_GetBucket(o);
|
||||
Key = CAPI.ovr_CloudStorageUpdateResponse_GetKey(o);
|
||||
Status = CAPI.ovr_CloudStorageUpdateResponse_GetStatus(o);
|
||||
VersionHandle = CAPI.ovr_CloudStorageUpdateResponse_GetVersionHandle(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f75c382fd9dda5b4b90d083821a4c4ab
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
54
Assets/Oculus/Platform/Scripts/Models/DeserializeableList.cs
Normal file
54
Assets/Oculus/Platform/Scripts/Models/DeserializeableList.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Oculus.Platform.Models;
|
||||
|
||||
public class DeserializableList<T> : IList<T>
|
||||
{
|
||||
|
||||
//IList
|
||||
public int Count { get {return _Data.Count;} }
|
||||
bool ICollection<T>.IsReadOnly { get {return ((IList<T>)_Data).IsReadOnly;} } //if you insist in getting it...
|
||||
public int IndexOf(T obj) {return _Data.IndexOf(obj);}
|
||||
public T this[int index] { get{return _Data[index];} set{_Data[index] = value;} }
|
||||
|
||||
public void Add(T item) {_Data.Add(item);}
|
||||
public void Clear() {_Data.Clear();}
|
||||
public bool Contains(T item) {return _Data.Contains(item);}
|
||||
public void CopyTo(T[] array, int arrayIndex) {_Data.CopyTo(array, arrayIndex);}
|
||||
public IEnumerator<T> GetEnumerator() {return _Data.GetEnumerator();}
|
||||
public void Insert(int index, T item) {_Data.Insert(index, item);}
|
||||
public bool Remove(T item) {return _Data.Remove(item);}
|
||||
public void RemoveAt(int index) {_Data.RemoveAt(index);}
|
||||
|
||||
// taken from examples here: https://msdn.microsoft.com/en-us/library/s793z9y2(v=vs.110).aspx
|
||||
private IEnumerator GetEnumerator1()
|
||||
{
|
||||
return this.GetEnumerator();
|
||||
}
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return GetEnumerator1();
|
||||
}
|
||||
|
||||
// Internals and getters
|
||||
|
||||
// Seems like Obsolete properties are broken in this version of Mono.
|
||||
// Anyway, don't use this.
|
||||
[System.Obsolete("Use IList interface on the DeserializableList object instead.", false)]
|
||||
public List<T> Data {
|
||||
get {return _Data;}
|
||||
}
|
||||
|
||||
protected List<T> _Data;
|
||||
protected string _NextUrl;
|
||||
protected string _PreviousUrl;
|
||||
|
||||
public bool HasNextPage { get { return !System.String.IsNullOrEmpty(NextUrl); } }
|
||||
public bool HasPreviousPage { get { return !System.String.IsNullOrEmpty(PreviousUrl); } }
|
||||
public string NextUrl { get { return _NextUrl; } }
|
||||
public string PreviousUrl { get { return _PreviousUrl; } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd282a12ba188d842b81149d5b787daf
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
21
Assets/Oculus/Platform/Scripts/Models/Error.cs
Normal file
21
Assets/Oculus/Platform/Scripts/Models/Error.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using UnityEngine;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class Error
|
||||
{
|
||||
public Error(int code, string message, int httpCode)
|
||||
{
|
||||
Message = message;
|
||||
Code = code;
|
||||
HttpCode = httpCode;
|
||||
}
|
||||
|
||||
public readonly int Code;
|
||||
public readonly int HttpCode;
|
||||
public readonly string Message;
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/Error.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/Error.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: af96c3f14f761724db9f93a693fbad2e
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
28
Assets/Oculus/Platform/Scripts/Models/HttpTransferUpdate.cs
Normal file
28
Assets/Oculus/Platform/Scripts/Models/HttpTransferUpdate.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Oculus.Platform.Models;
|
||||
using UnityEngine;
|
||||
|
||||
public class HttpTransferUpdate
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
public readonly byte[] Payload;
|
||||
public readonly bool IsCompleted;
|
||||
|
||||
public HttpTransferUpdate(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_HttpTransferUpdate_GetID(o);
|
||||
IsCompleted = CAPI.ovr_HttpTransferUpdate_IsCompleted(o);
|
||||
|
||||
long size = (long) CAPI.ovr_HttpTransferUpdate_GetSize(o);
|
||||
|
||||
Payload = new byte[size];
|
||||
Marshal.Copy(CAPI.ovr_Packet_GetBytes(o), Payload, 0, (int) size);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fcab648a59429684a9860794d256d230
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,41 @@
|
||||
// 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 InstalledApplication
|
||||
{
|
||||
public readonly string ApplicationId;
|
||||
public readonly string PackageName;
|
||||
public readonly string Status;
|
||||
public readonly int VersionCode;
|
||||
public readonly string VersionName;
|
||||
|
||||
|
||||
public InstalledApplication(IntPtr o)
|
||||
{
|
||||
ApplicationId = CAPI.ovr_InstalledApplication_GetApplicationId(o);
|
||||
PackageName = CAPI.ovr_InstalledApplication_GetPackageName(o);
|
||||
Status = CAPI.ovr_InstalledApplication_GetStatus(o);
|
||||
VersionCode = CAPI.ovr_InstalledApplication_GetVersionCode(o);
|
||||
VersionName = CAPI.ovr_InstalledApplication_GetVersionName(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class InstalledApplicationList : DeserializableList<InstalledApplication> {
|
||||
public InstalledApplicationList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_InstalledApplicationArray_GetSize(a);
|
||||
_Data = new List<InstalledApplication>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new InstalledApplication(CAPI.ovr_InstalledApplicationArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1cb03b282dd6fc440830b2c7224a1135
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
26
Assets/Oculus/Platform/Scripts/Models/LanguagePackInfo.cs
Normal file
26
Assets/Oculus/Platform/Scripts/Models/LanguagePackInfo.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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 LanguagePackInfo
|
||||
{
|
||||
public readonly string EnglishName;
|
||||
public readonly string NativeName;
|
||||
public readonly string Tag;
|
||||
|
||||
|
||||
public LanguagePackInfo(IntPtr o)
|
||||
{
|
||||
EnglishName = CAPI.ovr_LanguagePackInfo_GetEnglishName(o);
|
||||
NativeName = CAPI.ovr_LanguagePackInfo_GetNativeName(o);
|
||||
Tag = CAPI.ovr_LanguagePackInfo_GetTag(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d77f72bf241d8f48b3570ac0c0cab4b
|
||||
timeCreated: 1533910661
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 LaunchBlockFlowResult
|
||||
{
|
||||
public readonly bool DidBlock;
|
||||
public readonly bool DidCancel;
|
||||
|
||||
|
||||
public LaunchBlockFlowResult(IntPtr o)
|
||||
{
|
||||
DidBlock = CAPI.ovr_LaunchBlockFlowResult_GetDidBlock(o);
|
||||
DidCancel = CAPI.ovr_LaunchBlockFlowResult_GetDidCancel(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33b0e76fc377f0c47801c3e36866ef66
|
||||
timeCreated: 1523486798
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
43
Assets/Oculus/Platform/Scripts/Models/LaunchDetails.cs
Normal file
43
Assets/Oculus/Platform/Scripts/Models/LaunchDetails.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
|
||||
|
||||
#pragma warning disable 0618
|
||||
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Oculus.Platform.Models;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class LaunchDetails
|
||||
{
|
||||
public readonly string DeeplinkMessage;
|
||||
public readonly string LaunchSource;
|
||||
public readonly LaunchType LaunchType;
|
||||
public readonly UInt64 RoomID;
|
||||
// May be null. Check before using.
|
||||
public readonly UserList UsersOptional;
|
||||
[Obsolete("Deprecated in favor of UsersOptional")]
|
||||
public readonly UserList Users;
|
||||
|
||||
|
||||
public LaunchDetails(IntPtr o)
|
||||
{
|
||||
DeeplinkMessage = CAPI.ovr_LaunchDetails_GetDeeplinkMessage(o);
|
||||
LaunchSource = CAPI.ovr_LaunchDetails_GetLaunchSource(o);
|
||||
LaunchType = CAPI.ovr_LaunchDetails_GetLaunchType(o);
|
||||
RoomID = CAPI.ovr_LaunchDetails_GetRoomID(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_LaunchDetails_GetUsers(o);
|
||||
Users = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
UsersOptional = null;
|
||||
} else {
|
||||
UsersOptional = Users;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/LaunchDetails.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/LaunchDetails.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 03ab56c36f18cf14fbeea9ce668871a7
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 LaunchFriendRequestFlowResult
|
||||
{
|
||||
public readonly bool DidCancel;
|
||||
public readonly bool DidSendRequest;
|
||||
|
||||
|
||||
public LaunchFriendRequestFlowResult(IntPtr o)
|
||||
{
|
||||
DidCancel = CAPI.ovr_LaunchFriendRequestFlowResult_GetDidCancel(o);
|
||||
DidSendRequest = CAPI.ovr_LaunchFriendRequestFlowResult_GetDidSendRequest(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4bb9ba5d0bd6a6c44917eead28ad71f3
|
||||
timeCreated: 1533910661
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 LaunchUnblockFlowResult
|
||||
{
|
||||
public readonly bool DidCancel;
|
||||
public readonly bool DidUnblock;
|
||||
|
||||
|
||||
public LaunchUnblockFlowResult(IntPtr o)
|
||||
{
|
||||
DidCancel = CAPI.ovr_LaunchUnblockFlowResult_GetDidCancel(o);
|
||||
DidUnblock = CAPI.ovr_LaunchUnblockFlowResult_GetDidUnblock(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6eeff2263c546f042946cdc4bcf72f98
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
45
Assets/Oculus/Platform/Scripts/Models/LeaderboardEntry.cs
Normal file
45
Assets/Oculus/Platform/Scripts/Models/LeaderboardEntry.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
// 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 LeaderboardEntry
|
||||
{
|
||||
public readonly byte[] ExtraData;
|
||||
public readonly int Rank;
|
||||
public readonly long Score;
|
||||
public readonly DateTime Timestamp;
|
||||
public readonly User User;
|
||||
|
||||
|
||||
public LeaderboardEntry(IntPtr o)
|
||||
{
|
||||
ExtraData = CAPI.ovr_LeaderboardEntry_GetExtraData(o);
|
||||
Rank = CAPI.ovr_LeaderboardEntry_GetRank(o);
|
||||
Score = CAPI.ovr_LeaderboardEntry_GetScore(o);
|
||||
Timestamp = CAPI.ovr_LeaderboardEntry_GetTimestamp(o);
|
||||
User = new User(CAPI.ovr_LeaderboardEntry_GetUser(o));
|
||||
}
|
||||
}
|
||||
|
||||
public class LeaderboardEntryList : DeserializableList<LeaderboardEntry> {
|
||||
public LeaderboardEntryList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_LeaderboardEntryArray_GetSize(a);
|
||||
_Data = new List<LeaderboardEntry>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new LeaderboardEntry(CAPI.ovr_LeaderboardEntryArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
TotalCount = CAPI.ovr_LeaderboardEntryArray_GetTotalCount(a);
|
||||
_PreviousUrl = CAPI.ovr_LeaderboardEntryArray_GetPreviousUrl(a);
|
||||
_NextUrl = CAPI.ovr_LeaderboardEntryArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
public readonly ulong TotalCount;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6c8aaec7b9e7f7438413bbc91a4fe0b
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
37
Assets/Oculus/Platform/Scripts/Models/LinkedAccount.cs
Normal file
37
Assets/Oculus/Platform/Scripts/Models/LinkedAccount.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
// 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 LinkedAccount
|
||||
{
|
||||
public readonly string AccessToken;
|
||||
public readonly ServiceProvider ServiceProvider;
|
||||
public readonly string UserId;
|
||||
|
||||
|
||||
public LinkedAccount(IntPtr o)
|
||||
{
|
||||
AccessToken = CAPI.ovr_LinkedAccount_GetAccessToken(o);
|
||||
ServiceProvider = CAPI.ovr_LinkedAccount_GetServiceProvider(o);
|
||||
UserId = CAPI.ovr_LinkedAccount_GetUserId(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class LinkedAccountList : DeserializableList<LinkedAccount> {
|
||||
public LinkedAccountList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_LinkedAccountArray_GetSize(a);
|
||||
_Data = new List<LinkedAccount>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new LinkedAccount(CAPI.ovr_LinkedAccountArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/LinkedAccount.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/LinkedAccount.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e353eb0df55137e43a2bf9e54864c76f
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
// 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 LivestreamingApplicationStatus
|
||||
{
|
||||
public readonly bool StreamingEnabled;
|
||||
|
||||
|
||||
public LivestreamingApplicationStatus(IntPtr o)
|
||||
{
|
||||
StreamingEnabled = CAPI.ovr_LivestreamingApplicationStatus_GetStreamingEnabled(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 706d607bb299def4d9e99e5fe89d0d0d
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
// 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 LivestreamingStartResult
|
||||
{
|
||||
public readonly LivestreamingStartStatus StreamingResult;
|
||||
|
||||
|
||||
public LivestreamingStartResult(IntPtr o)
|
||||
{
|
||||
StreamingResult = CAPI.ovr_LivestreamingStartResult_GetStreamingResult(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18a920985ce51294787433880f509191
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
30
Assets/Oculus/Platform/Scripts/Models/LivestreamingStatus.cs
Normal file
30
Assets/Oculus/Platform/Scripts/Models/LivestreamingStatus.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
// 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 LivestreamingStatus
|
||||
{
|
||||
public readonly bool CommentsVisible;
|
||||
public readonly bool IsPaused;
|
||||
public readonly bool LivestreamingEnabled;
|
||||
public readonly int LivestreamingType;
|
||||
public readonly bool MicEnabled;
|
||||
|
||||
|
||||
public LivestreamingStatus(IntPtr o)
|
||||
{
|
||||
CommentsVisible = CAPI.ovr_LivestreamingStatus_GetCommentsVisible(o);
|
||||
IsPaused = CAPI.ovr_LivestreamingStatus_GetIsPaused(o);
|
||||
LivestreamingEnabled = CAPI.ovr_LivestreamingStatus_GetLivestreamingEnabled(o);
|
||||
LivestreamingType = CAPI.ovr_LivestreamingStatus_GetLivestreamingType(o);
|
||||
MicEnabled = CAPI.ovr_LivestreamingStatus_GetMicEnabled(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d2064e758a11864cade929d95d92ebe
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,26 @@
|
||||
// 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 LivestreamingVideoStats
|
||||
{
|
||||
public readonly int CommentCount;
|
||||
public readonly int ReactionCount;
|
||||
public readonly string TotalViews;
|
||||
|
||||
|
||||
public LivestreamingVideoStats(IntPtr o)
|
||||
{
|
||||
CommentCount = CAPI.ovr_LivestreamingVideoStats_GetCommentCount(o);
|
||||
ReactionCount = CAPI.ovr_LivestreamingVideoStats_GetReactionCount(o);
|
||||
TotalViews = CAPI.ovr_LivestreamingVideoStats_GetTotalViews(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f7d781612e6d584782a9c0275cb1331
|
||||
timeCreated: 1523486798
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 MatchmakingAdminSnapshot
|
||||
{
|
||||
public readonly MatchmakingAdminSnapshotCandidateList Candidates;
|
||||
public readonly double MyCurrentThreshold;
|
||||
|
||||
|
||||
public MatchmakingAdminSnapshot(IntPtr o)
|
||||
{
|
||||
Candidates = new MatchmakingAdminSnapshotCandidateList(CAPI.ovr_MatchmakingAdminSnapshot_GetCandidates(o));
|
||||
MyCurrentThreshold = CAPI.ovr_MatchmakingAdminSnapshot_GetMyCurrentThreshold(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 13c216d6d7d951e4c8e4e74e380d6bb5
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,41 @@
|
||||
// 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 MatchmakingAdminSnapshotCandidate
|
||||
{
|
||||
public readonly bool CanMatch;
|
||||
public readonly double MyTotalScore;
|
||||
public readonly double TheirCurrentThreshold;
|
||||
public readonly double TheirTotalScore;
|
||||
public readonly string TraceId;
|
||||
|
||||
|
||||
public MatchmakingAdminSnapshotCandidate(IntPtr o)
|
||||
{
|
||||
CanMatch = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetCanMatch(o);
|
||||
MyTotalScore = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetMyTotalScore(o);
|
||||
TheirCurrentThreshold = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTheirCurrentThreshold(o);
|
||||
TheirTotalScore = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTheirTotalScore(o);
|
||||
TraceId = CAPI.ovr_MatchmakingAdminSnapshotCandidate_GetTraceId(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class MatchmakingAdminSnapshotCandidateList : DeserializableList<MatchmakingAdminSnapshotCandidate> {
|
||||
public MatchmakingAdminSnapshotCandidateList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_MatchmakingAdminSnapshotCandidateArray_GetSize(a);
|
||||
_Data = new List<MatchmakingAdminSnapshotCandidate>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new MatchmakingAdminSnapshotCandidate(CAPI.ovr_MatchmakingAdminSnapshotCandidateArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 02b97f80c9b7ef846baac4c18b572b6e
|
||||
timeCreated: 1523486796
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 MatchmakingBrowseResult
|
||||
{
|
||||
public readonly MatchmakingEnqueueResult EnqueueResult;
|
||||
public readonly RoomList Rooms;
|
||||
|
||||
|
||||
public MatchmakingBrowseResult(IntPtr o)
|
||||
{
|
||||
EnqueueResult = new MatchmakingEnqueueResult(CAPI.ovr_MatchmakingBrowseResult_GetEnqueueResult(o));
|
||||
Rooms = new RoomList(CAPI.ovr_MatchmakingBrowseResult_GetRooms(o));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5802e9ca200ef2b42b6ecaad0ca71f6f
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
|
||||
|
||||
#pragma warning disable 0618
|
||||
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Oculus.Platform.Models;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class MatchmakingEnqueueResult
|
||||
{
|
||||
// May be null. Check before using.
|
||||
public readonly MatchmakingAdminSnapshot AdminSnapshotOptional;
|
||||
[Obsolete("Deprecated in favor of AdminSnapshotOptional")]
|
||||
public readonly MatchmakingAdminSnapshot AdminSnapshot;
|
||||
public readonly uint AverageWait;
|
||||
public readonly uint MatchesInLastHourCount;
|
||||
public readonly uint MaxExpectedWait;
|
||||
public readonly string Pool;
|
||||
public readonly uint RecentMatchPercentage;
|
||||
public readonly string RequestHash;
|
||||
|
||||
|
||||
public MatchmakingEnqueueResult(IntPtr o)
|
||||
{
|
||||
{
|
||||
var pointer = CAPI.ovr_MatchmakingEnqueueResult_GetAdminSnapshot(o);
|
||||
AdminSnapshot = new MatchmakingAdminSnapshot(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
AdminSnapshotOptional = null;
|
||||
} else {
|
||||
AdminSnapshotOptional = AdminSnapshot;
|
||||
}
|
||||
}
|
||||
AverageWait = CAPI.ovr_MatchmakingEnqueueResult_GetAverageWait(o);
|
||||
MatchesInLastHourCount = CAPI.ovr_MatchmakingEnqueueResult_GetMatchesInLastHourCount(o);
|
||||
MaxExpectedWait = CAPI.ovr_MatchmakingEnqueueResult_GetMaxExpectedWait(o);
|
||||
Pool = CAPI.ovr_MatchmakingEnqueueResult_GetPool(o);
|
||||
RecentMatchPercentage = CAPI.ovr_MatchmakingEnqueueResult_GetRecentMatchPercentage(o);
|
||||
RequestHash = CAPI.ovr_MatchmakingEnqueueResult_GetRequestHash(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5635c7d33a0525448a73c31a900fcb2a
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// 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 MatchmakingEnqueueResultAndRoom
|
||||
{
|
||||
public readonly MatchmakingEnqueueResult MatchmakingEnqueueResult;
|
||||
public readonly Room Room;
|
||||
|
||||
|
||||
public MatchmakingEnqueueResultAndRoom(IntPtr o)
|
||||
{
|
||||
MatchmakingEnqueueResult = new MatchmakingEnqueueResult(CAPI.ovr_MatchmakingEnqueueResultAndRoom_GetMatchmakingEnqueueResult(o));
|
||||
Room = new Room(CAPI.ovr_MatchmakingEnqueueResultAndRoom_GetRoom(o));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 27627f3a1bc9da84d82880eb12ab2753
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,48 @@
|
||||
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
|
||||
|
||||
#pragma warning disable 0618
|
||||
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Oculus.Platform.Models;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class MatchmakingEnqueuedUser
|
||||
{
|
||||
public readonly Dictionary<string, string> CustomData;
|
||||
// May be null. Check before using.
|
||||
public readonly User UserOptional;
|
||||
[Obsolete("Deprecated in favor of UserOptional")]
|
||||
public readonly User User;
|
||||
|
||||
|
||||
public MatchmakingEnqueuedUser(IntPtr o)
|
||||
{
|
||||
CustomData = CAPI.DataStoreFromNative(CAPI.ovr_MatchmakingEnqueuedUser_GetCustomData(o));
|
||||
{
|
||||
var pointer = CAPI.ovr_MatchmakingEnqueuedUser_GetUser(o);
|
||||
User = new User(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
UserOptional = null;
|
||||
} else {
|
||||
UserOptional = User;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class MatchmakingEnqueuedUserList : DeserializableList<MatchmakingEnqueuedUser> {
|
||||
public MatchmakingEnqueuedUserList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_MatchmakingEnqueuedUserArray_GetSize(a);
|
||||
_Data = new List<MatchmakingEnqueuedUser>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new MatchmakingEnqueuedUser(CAPI.ovr_MatchmakingEnqueuedUserArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e91e0cd389745ab47bb862cb9fe2298b
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
28
Assets/Oculus/Platform/Scripts/Models/MatchmakingStats.cs
Normal file
28
Assets/Oculus/Platform/Scripts/Models/MatchmakingStats.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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 MatchmakingStats
|
||||
{
|
||||
public readonly uint DrawCount;
|
||||
public readonly uint LossCount;
|
||||
public readonly uint SkillLevel;
|
||||
public readonly uint WinCount;
|
||||
|
||||
|
||||
public MatchmakingStats(IntPtr o)
|
||||
{
|
||||
DrawCount = CAPI.ovr_MatchmakingStats_GetDrawCount(o);
|
||||
LossCount = CAPI.ovr_MatchmakingStats_GetLossCount(o);
|
||||
SkillLevel = CAPI.ovr_MatchmakingStats_GetSkillLevel(o);
|
||||
WinCount = CAPI.ovr_MatchmakingStats_GetWinCount(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2530879c952eeb340a395ad908e3d20a
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
17
Assets/Oculus/Platform/Scripts/Models/NetworkingPeer.cs
Normal file
17
Assets/Oculus/Platform/Scripts/Models/NetworkingPeer.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using UnityEngine;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
public class NetworkingPeer
|
||||
{
|
||||
public NetworkingPeer(UInt64 id, PeerConnectionState state) {
|
||||
ID = id;
|
||||
State = state;
|
||||
}
|
||||
|
||||
public UInt64 ID { get; private set; }
|
||||
public PeerConnectionState State { get; private set; }
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/NetworkingPeer.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/NetworkingPeer.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88e2e0a11ed7e054da26c78d6bd1283f
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
22
Assets/Oculus/Platform/Scripts/Models/OrgScopedID.cs
Normal file
22
Assets/Oculus/Platform/Scripts/Models/OrgScopedID.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 OrgScopedID
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
|
||||
|
||||
public OrgScopedID(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_OrgScopedID_GetID(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/OrgScopedID.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/OrgScopedID.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb83ca4346878f54e9edb14cbfb92dad
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
76
Assets/Oculus/Platform/Scripts/Models/Party.cs
Normal file
76
Assets/Oculus/Platform/Scripts/Models/Party.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
|
||||
|
||||
#pragma warning disable 0618
|
||||
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Oculus.Platform.Models;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Party
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
// May be null. Check before using.
|
||||
public readonly UserList InvitedUsersOptional;
|
||||
[Obsolete("Deprecated in favor of InvitedUsersOptional")]
|
||||
public readonly UserList InvitedUsers;
|
||||
// May be null. Check before using.
|
||||
public readonly User LeaderOptional;
|
||||
[Obsolete("Deprecated in favor of LeaderOptional")]
|
||||
public readonly User Leader;
|
||||
// May be null. Check before using.
|
||||
public readonly Room RoomOptional;
|
||||
[Obsolete("Deprecated in favor of RoomOptional")]
|
||||
public readonly Room Room;
|
||||
// May be null. Check before using.
|
||||
public readonly UserList UsersOptional;
|
||||
[Obsolete("Deprecated in favor of UsersOptional")]
|
||||
public readonly UserList Users;
|
||||
|
||||
|
||||
public Party(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_Party_GetID(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Party_GetInvitedUsers(o);
|
||||
InvitedUsers = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
InvitedUsersOptional = null;
|
||||
} else {
|
||||
InvitedUsersOptional = InvitedUsers;
|
||||
}
|
||||
}
|
||||
{
|
||||
var pointer = CAPI.ovr_Party_GetLeader(o);
|
||||
Leader = new User(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
LeaderOptional = null;
|
||||
} else {
|
||||
LeaderOptional = Leader;
|
||||
}
|
||||
}
|
||||
{
|
||||
var pointer = CAPI.ovr_Party_GetRoom(o);
|
||||
Room = new Room(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
RoomOptional = null;
|
||||
} else {
|
||||
RoomOptional = Room;
|
||||
}
|
||||
}
|
||||
{
|
||||
var pointer = CAPI.ovr_Party_GetUsers(o);
|
||||
Users = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
UsersOptional = null;
|
||||
} else {
|
||||
UsersOptional = Users;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/Party.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/Party.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75e7bda4c90b91a4fb8a49cff91522da
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
22
Assets/Oculus/Platform/Scripts/Models/PartyID.cs
Normal file
22
Assets/Oculus/Platform/Scripts/Models/PartyID.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 PartyID
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
|
||||
|
||||
public PartyID(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_PartyID_GetID(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/PartyID.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/PartyID.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a95381b7ca8c0c4b80b5cd5bd00b203
|
||||
timeCreated: 1523486798
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
33
Assets/Oculus/Platform/Scripts/Models/Pid.cs
Normal file
33
Assets/Oculus/Platform/Scripts/Models/Pid.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
// 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 Pid
|
||||
{
|
||||
public readonly string Id;
|
||||
|
||||
|
||||
public Pid(IntPtr o)
|
||||
{
|
||||
Id = CAPI.ovr_Pid_GetId(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class PidList : DeserializableList<Pid> {
|
||||
public PidList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_PidArray_GetSize(a);
|
||||
_Data = new List<Pid>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Pid(CAPI.ovr_PidArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/Pid.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/Pid.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f5a809bffe673614799d0d8d63f3dd3f
|
||||
timeCreated: 1523486801
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
28
Assets/Oculus/Platform/Scripts/Models/PingResult.cs
Normal file
28
Assets/Oculus/Platform/Scripts/Models/PingResult.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using UnityEngine;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
public class PingResult
|
||||
{
|
||||
public PingResult(UInt64 id, UInt64? pingTimeUsec) {
|
||||
this.ID = id;
|
||||
this.pingTimeUsec = pingTimeUsec;
|
||||
}
|
||||
|
||||
public UInt64 ID { get; private set; }
|
||||
public UInt64 PingTimeUsec {
|
||||
get {
|
||||
return pingTimeUsec.HasValue ? pingTimeUsec.Value : 0;
|
||||
}
|
||||
}
|
||||
public bool IsTimeout {
|
||||
get {
|
||||
return !pingTimeUsec.HasValue;
|
||||
}
|
||||
}
|
||||
|
||||
private UInt64? pingTimeUsec;
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/PingResult.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/PingResult.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0320c45213f79b443bb412b5f3d89e4d
|
||||
timeCreated: 1523486796
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
22
Assets/Oculus/Platform/Scripts/Models/PlatformInitialize.cs
Normal file
22
Assets/Oculus/Platform/Scripts/Models/PlatformInitialize.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 PlatformInitialize
|
||||
{
|
||||
public readonly PlatformInitializeResult Result;
|
||||
|
||||
|
||||
public PlatformInitialize(IntPtr o)
|
||||
{
|
||||
Result = CAPI.ovr_PlatformInitialize_GetResult(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 41ea71d90b07889469fbe488e7f7a62c
|
||||
timeCreated: 1523486798
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
40
Assets/Oculus/Platform/Scripts/Models/Product.cs
Normal file
40
Assets/Oculus/Platform/Scripts/Models/Product.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
// 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 Product
|
||||
{
|
||||
public readonly string Description;
|
||||
public readonly string FormattedPrice;
|
||||
public readonly string Name;
|
||||
public readonly string Sku;
|
||||
|
||||
|
||||
public Product(IntPtr o)
|
||||
{
|
||||
Description = CAPI.ovr_Product_GetDescription(o);
|
||||
FormattedPrice = CAPI.ovr_Product_GetFormattedPrice(o);
|
||||
Name = CAPI.ovr_Product_GetName(o);
|
||||
Sku = CAPI.ovr_Product_GetSKU(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class ProductList : DeserializableList<Product> {
|
||||
public ProductList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_ProductArray_GetSize(a);
|
||||
_Data = new List<Product>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Product(CAPI.ovr_ProductArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_ProductArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/Product.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/Product.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26c0296fda5f75541b0c1c757efa1cbd
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
40
Assets/Oculus/Platform/Scripts/Models/Purchase.cs
Normal file
40
Assets/Oculus/Platform/Scripts/Models/Purchase.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
// 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 Purchase
|
||||
{
|
||||
public readonly DateTime ExpirationTime;
|
||||
public readonly DateTime GrantTime;
|
||||
public readonly UInt64 ID;
|
||||
public readonly string Sku;
|
||||
|
||||
|
||||
public Purchase(IntPtr o)
|
||||
{
|
||||
ExpirationTime = CAPI.ovr_Purchase_GetExpirationTime(o);
|
||||
GrantTime = CAPI.ovr_Purchase_GetGrantTime(o);
|
||||
ID = CAPI.ovr_Purchase_GetPurchaseID(o);
|
||||
Sku = CAPI.ovr_Purchase_GetSKU(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class PurchaseList : DeserializableList<Purchase> {
|
||||
public PurchaseList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_PurchaseArray_GetSize(a);
|
||||
_Data = new List<Purchase>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Purchase(CAPI.ovr_PurchaseArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_PurchaseArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/Purchase.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/Purchase.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bbc306c37ea31f045b98ea0008ddf1d3
|
||||
timeCreated: 1523486800
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
108
Assets/Oculus/Platform/Scripts/Models/Room.cs
Normal file
108
Assets/Oculus/Platform/Scripts/Models/Room.cs
Normal file
@@ -0,0 +1,108 @@
|
||||
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
|
||||
|
||||
#pragma warning disable 0618
|
||||
|
||||
namespace Oculus.Platform.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Oculus.Platform.Models;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Room
|
||||
{
|
||||
public readonly UInt64 ApplicationID;
|
||||
public readonly Dictionary<string, string> DataStore;
|
||||
public readonly string Description;
|
||||
public readonly UInt64 ID;
|
||||
// May be null. Check before using.
|
||||
public readonly UserList InvitedUsersOptional;
|
||||
[Obsolete("Deprecated in favor of InvitedUsersOptional")]
|
||||
public readonly UserList InvitedUsers;
|
||||
public readonly bool IsMembershipLocked;
|
||||
public readonly RoomJoinPolicy JoinPolicy;
|
||||
public readonly RoomJoinability Joinability;
|
||||
// May be null. Check before using.
|
||||
public readonly MatchmakingEnqueuedUserList MatchedUsersOptional;
|
||||
[Obsolete("Deprecated in favor of MatchedUsersOptional")]
|
||||
public readonly MatchmakingEnqueuedUserList MatchedUsers;
|
||||
public readonly uint MaxUsers;
|
||||
public readonly string Name;
|
||||
// May be null. Check before using.
|
||||
public readonly User OwnerOptional;
|
||||
[Obsolete("Deprecated in favor of OwnerOptional")]
|
||||
public readonly User Owner;
|
||||
public readonly RoomType Type;
|
||||
// May be null. Check before using.
|
||||
public readonly UserList UsersOptional;
|
||||
[Obsolete("Deprecated in favor of UsersOptional")]
|
||||
public readonly UserList Users;
|
||||
public readonly uint Version;
|
||||
|
||||
|
||||
public Room(IntPtr o)
|
||||
{
|
||||
ApplicationID = CAPI.ovr_Room_GetApplicationID(o);
|
||||
DataStore = CAPI.DataStoreFromNative(CAPI.ovr_Room_GetDataStore(o));
|
||||
Description = CAPI.ovr_Room_GetDescription(o);
|
||||
ID = CAPI.ovr_Room_GetID(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Room_GetInvitedUsers(o);
|
||||
InvitedUsers = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
InvitedUsersOptional = null;
|
||||
} else {
|
||||
InvitedUsersOptional = InvitedUsers;
|
||||
}
|
||||
}
|
||||
IsMembershipLocked = CAPI.ovr_Room_GetIsMembershipLocked(o);
|
||||
JoinPolicy = CAPI.ovr_Room_GetJoinPolicy(o);
|
||||
Joinability = CAPI.ovr_Room_GetJoinability(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Room_GetMatchedUsers(o);
|
||||
MatchedUsers = new MatchmakingEnqueuedUserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
MatchedUsersOptional = null;
|
||||
} else {
|
||||
MatchedUsersOptional = MatchedUsers;
|
||||
}
|
||||
}
|
||||
MaxUsers = CAPI.ovr_Room_GetMaxUsers(o);
|
||||
Name = CAPI.ovr_Room_GetName(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Room_GetOwner(o);
|
||||
Owner = new User(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
OwnerOptional = null;
|
||||
} else {
|
||||
OwnerOptional = Owner;
|
||||
}
|
||||
}
|
||||
Type = CAPI.ovr_Room_GetType(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Room_GetUsers(o);
|
||||
Users = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
UsersOptional = null;
|
||||
} else {
|
||||
UsersOptional = Users;
|
||||
}
|
||||
}
|
||||
Version = CAPI.ovr_Room_GetVersion(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class RoomList : DeserializableList<Room> {
|
||||
public RoomList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_RoomArray_GetSize(a);
|
||||
_Data = new List<Room>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Room(CAPI.ovr_RoomArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_RoomArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/Room.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/Room.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2343d804eee03c8449c527e47f540246
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,40 @@
|
||||
// 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 RoomInviteNotification
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
public readonly UInt64 RoomID;
|
||||
public readonly UInt64 SenderID;
|
||||
public readonly DateTime SentTime;
|
||||
|
||||
|
||||
public RoomInviteNotification(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_RoomInviteNotification_GetID(o);
|
||||
RoomID = CAPI.ovr_RoomInviteNotification_GetRoomID(o);
|
||||
SenderID = CAPI.ovr_RoomInviteNotification_GetSenderID(o);
|
||||
SentTime = CAPI.ovr_RoomInviteNotification_GetSentTime(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class RoomInviteNotificationList : DeserializableList<RoomInviteNotification> {
|
||||
public RoomInviteNotificationList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_RoomInviteNotificationArray_GetSize(a);
|
||||
_Data = new List<RoomInviteNotification>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new RoomInviteNotification(CAPI.ovr_RoomInviteNotificationArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_RoomInviteNotificationArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71804edb58eb8d14b95bdcf4e86ceb16
|
||||
timeCreated: 1523486799
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
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)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Oculus/Platform/Scripts/Models/SdkAccount.cs.meta
Normal file
12
Assets/Oculus/Platform/Scripts/Models/SdkAccount.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1c2ffbfe79b26bc4cb0155394995dfe2
|
||||
timeCreated: 1523486797
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
22
Assets/Oculus/Platform/Scripts/Models/ShareMediaResult.cs
Normal file
22
Assets/Oculus/Platform/Scripts/Models/ShareMediaResult.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 ShareMediaResult
|
||||
{
|
||||
public readonly ShareMediaStatus Status;
|
||||
|
||||
|
||||
public ShareMediaResult(IntPtr o)
|
||||
{
|
||||
Status = CAPI.ovr_ShareMediaResult_GetStatus(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 476ce514abed4e2469094f659dfbb253
|
||||
timeCreated: 1523486798
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
24
Assets/Oculus/Platform/Scripts/Models/SystemPermission.cs
Normal file
24
Assets/Oculus/Platform/Scripts/Models/SystemPermission.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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 SystemPermission
|
||||
{
|
||||
public readonly bool HasPermission;
|
||||
public readonly PermissionGrantStatus PermissionGrantStatus;
|
||||
|
||||
|
||||
public SystemPermission(IntPtr o)
|
||||
{
|
||||
HasPermission = CAPI.ovr_SystemPermission_GetHasPermission(o);
|
||||
PermissionGrantStatus = CAPI.ovr_SystemPermission_GetPermissionGrantStatus(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50ebb7b3edee04e44a14fc3f900860fd
|
||||
timeCreated: 1523486798
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user