clean project
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:
|
||||
68
Assets/Oculus/Platform/Scripts/Models/ApplicationInvite.cs
Normal file
68
Assets/Oculus/Platform/Scripts/Models/ApplicationInvite.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
// 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 ApplicationInvite
|
||||
{
|
||||
// May be null. Check before using.
|
||||
public readonly Destination DestinationOptional;
|
||||
[Obsolete("Deprecated in favor of DestinationOptional")]
|
||||
public readonly Destination Destination;
|
||||
public readonly UInt64 ID;
|
||||
public readonly bool IsActive;
|
||||
public readonly string LobbySessionId;
|
||||
public readonly string MatchSessionId;
|
||||
// May be null. Check before using.
|
||||
public readonly User RecipientOptional;
|
||||
[Obsolete("Deprecated in favor of RecipientOptional")]
|
||||
public readonly User Recipient;
|
||||
|
||||
|
||||
public ApplicationInvite(IntPtr o)
|
||||
{
|
||||
{
|
||||
var pointer = CAPI.ovr_ApplicationInvite_GetDestination(o);
|
||||
Destination = new Destination(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
DestinationOptional = null;
|
||||
} else {
|
||||
DestinationOptional = Destination;
|
||||
}
|
||||
}
|
||||
ID = CAPI.ovr_ApplicationInvite_GetID(o);
|
||||
IsActive = CAPI.ovr_ApplicationInvite_GetIsActive(o);
|
||||
LobbySessionId = CAPI.ovr_ApplicationInvite_GetLobbySessionId(o);
|
||||
MatchSessionId = CAPI.ovr_ApplicationInvite_GetMatchSessionId(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_ApplicationInvite_GetRecipient(o);
|
||||
Recipient = new User(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
RecipientOptional = null;
|
||||
} else {
|
||||
RecipientOptional = Recipient;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class ApplicationInviteList : DeserializableList<ApplicationInvite> {
|
||||
public ApplicationInviteList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_ApplicationInviteArray_GetSize(a);
|
||||
_Data = new List<ApplicationInvite>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new ApplicationInvite(CAPI.ovr_ApplicationInviteArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_ApplicationInviteArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d23e68878b4047748a02bf839324e94a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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:
|
||||
58
Assets/Oculus/Platform/Scripts/Models/AssetDetails.cs
Normal file
58
Assets/Oculus/Platform/Scripts/Models/AssetDetails.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
// 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 readonly string Metadata;
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Metadata = CAPI.ovr_AssetDetails_GetMetadata(o);
|
||||
}
|
||||
}
|
||||
|
||||
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 ulong BytesTotal;
|
||||
public readonly long 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_GetBytesTotalLong(o);
|
||||
BytesTransferred = CAPI.ovr_AssetFileDownloadUpdate_GetBytesTransferredLong(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,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 CalApplicationFinalized
|
||||
{
|
||||
public readonly int CountdownMS;
|
||||
public readonly UInt64 ID;
|
||||
public readonly string LaunchDetails;
|
||||
|
||||
|
||||
public CalApplicationFinalized(IntPtr o)
|
||||
{
|
||||
CountdownMS = CAPI.ovr_CalApplicationFinalized_GetCountdownMS(o);
|
||||
ID = CAPI.ovr_CalApplicationFinalized_GetID(o);
|
||||
LaunchDetails = CAPI.ovr_CalApplicationFinalized_GetLaunchDetails(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b380c9d8a3128734d9377d59e8817d41
|
||||
timeCreated: 1536102210
|
||||
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 CalApplicationProposed
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
|
||||
|
||||
public CalApplicationProposed(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_CalApplicationProposed_GetID(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aed900a5fb08459449f04b930e21e089
|
||||
timeCreated: 1536102210
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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 CalApplicationSuggestion
|
||||
{
|
||||
public readonly UInt64 ID;
|
||||
public readonly string SocialContext;
|
||||
|
||||
|
||||
public CalApplicationSuggestion(IntPtr o)
|
||||
{
|
||||
ID = CAPI.ovr_CalApplicationSuggestion_GetID(o);
|
||||
SocialContext = CAPI.ovr_CalApplicationSuggestion_GetSocialContext(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class CalApplicationSuggestionList : DeserializableList<CalApplicationSuggestion> {
|
||||
public CalApplicationSuggestionList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_CalApplicationSuggestionArray_GetSize(a);
|
||||
_Data = new List<CalApplicationSuggestion>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new CalApplicationSuggestion(CAPI.ovr_CalApplicationSuggestionArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9ffd34bbf11316d4b8782e4f4cec658e
|
||||
timeCreated: 1536102210
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
79
Assets/Oculus/Platform/Scripts/Models/Challenge.cs
Normal file
79
Assets/Oculus/Platform/Scripts/Models/Challenge.cs
Normal file
@@ -0,0 +1,79 @@
|
||||
// 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 Challenge
|
||||
{
|
||||
public readonly ChallengeCreationType CreationType;
|
||||
public readonly string Description;
|
||||
public readonly DateTime EndDate;
|
||||
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 Leaderboard Leaderboard;
|
||||
// May be null. Check before using.
|
||||
public readonly UserList ParticipantsOptional;
|
||||
[Obsolete("Deprecated in favor of ParticipantsOptional")]
|
||||
public readonly UserList Participants;
|
||||
public readonly DateTime StartDate;
|
||||
public readonly string Title;
|
||||
public readonly ChallengeVisibility Visibility;
|
||||
|
||||
|
||||
public Challenge(IntPtr o)
|
||||
{
|
||||
CreationType = CAPI.ovr_Challenge_GetCreationType(o);
|
||||
Description = CAPI.ovr_Challenge_GetDescription(o);
|
||||
EndDate = CAPI.ovr_Challenge_GetEndDate(o);
|
||||
ID = CAPI.ovr_Challenge_GetID(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Challenge_GetInvitedUsers(o);
|
||||
InvitedUsers = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
InvitedUsersOptional = null;
|
||||
} else {
|
||||
InvitedUsersOptional = InvitedUsers;
|
||||
}
|
||||
}
|
||||
Leaderboard = new Leaderboard(CAPI.ovr_Challenge_GetLeaderboard(o));
|
||||
{
|
||||
var pointer = CAPI.ovr_Challenge_GetParticipants(o);
|
||||
Participants = new UserList(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
ParticipantsOptional = null;
|
||||
} else {
|
||||
ParticipantsOptional = Participants;
|
||||
}
|
||||
}
|
||||
StartDate = CAPI.ovr_Challenge_GetStartDate(o);
|
||||
Title = CAPI.ovr_Challenge_GetTitle(o);
|
||||
Visibility = CAPI.ovr_Challenge_GetVisibility(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class ChallengeList : DeserializableList<Challenge> {
|
||||
public ChallengeList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_ChallengeArray_GetSize(a);
|
||||
_Data = new List<Challenge>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Challenge(CAPI.ovr_ChallengeArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
TotalCount = CAPI.ovr_ChallengeArray_GetTotalCount(a);
|
||||
_PreviousUrl = CAPI.ovr_ChallengeArray_GetPreviousUrl(a);
|
||||
_NextUrl = CAPI.ovr_ChallengeArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
public readonly ulong TotalCount;
|
||||
}
|
||||
}
|
||||
11
Assets/Oculus/Platform/Scripts/Models/Challenge.cs.meta
Normal file
11
Assets/Oculus/Platform/Scripts/Models/Challenge.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d312446c9fd62874ba7695e88e8a1133
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
49
Assets/Oculus/Platform/Scripts/Models/ChallengeEntry.cs
Normal file
49
Assets/Oculus/Platform/Scripts/Models/ChallengeEntry.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
// 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 ChallengeEntry
|
||||
{
|
||||
public readonly string DisplayScore;
|
||||
public readonly byte[] ExtraData;
|
||||
public readonly UInt64 ID;
|
||||
public readonly int Rank;
|
||||
public readonly long Score;
|
||||
public readonly DateTime Timestamp;
|
||||
public readonly User User;
|
||||
|
||||
|
||||
public ChallengeEntry(IntPtr o)
|
||||
{
|
||||
DisplayScore = CAPI.ovr_ChallengeEntry_GetDisplayScore(o);
|
||||
ExtraData = CAPI.ovr_ChallengeEntry_GetExtraData(o);
|
||||
ID = CAPI.ovr_ChallengeEntry_GetID(o);
|
||||
Rank = CAPI.ovr_ChallengeEntry_GetRank(o);
|
||||
Score = CAPI.ovr_ChallengeEntry_GetScore(o);
|
||||
Timestamp = CAPI.ovr_ChallengeEntry_GetTimestamp(o);
|
||||
User = new User(CAPI.ovr_ChallengeEntry_GetUser(o));
|
||||
}
|
||||
}
|
||||
|
||||
public class ChallengeEntryList : DeserializableList<ChallengeEntry> {
|
||||
public ChallengeEntryList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_ChallengeEntryArray_GetSize(a);
|
||||
_Data = new List<ChallengeEntry>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new ChallengeEntry(CAPI.ovr_ChallengeEntryArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
TotalCount = CAPI.ovr_ChallengeEntryArray_GetTotalCount(a);
|
||||
_PreviousUrl = CAPI.ovr_ChallengeEntryArray_GetPreviousUrl(a);
|
||||
_NextUrl = CAPI.ovr_ChallengeEntryArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
public readonly ulong TotalCount;
|
||||
}
|
||||
}
|
||||
11
Assets/Oculus/Platform/Scripts/Models/ChallengeEntry.cs.meta
Normal file
11
Assets/Oculus/Platform/Scripts/Models/ChallengeEntry.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6af5827b411408468aa92c551db4bba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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:
|
||||
38
Assets/Oculus/Platform/Scripts/Models/Destination.cs
Normal file
38
Assets/Oculus/Platform/Scripts/Models/Destination.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
// 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 Destination
|
||||
{
|
||||
public readonly string ApiName;
|
||||
public readonly string DeeplinkMessage;
|
||||
public readonly string DisplayName;
|
||||
|
||||
|
||||
public Destination(IntPtr o)
|
||||
{
|
||||
ApiName = CAPI.ovr_Destination_GetApiName(o);
|
||||
DeeplinkMessage = CAPI.ovr_Destination_GetDeeplinkMessage(o);
|
||||
DisplayName = CAPI.ovr_Destination_GetDisplayName(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class DestinationList : DeserializableList<Destination> {
|
||||
public DestinationList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_DestinationArray_GetSize(a);
|
||||
_Data = new List<Destination>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Destination(CAPI.ovr_DestinationArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_DestinationArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
11
Assets/Oculus/Platform/Scripts/Models/Destination.cs.meta
Normal file
11
Assets/Oculus/Platform/Scripts/Models/Destination.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c4519ba284c2f24b9bd780a9bdfd038
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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:
|
||||
@@ -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 GroupPresenceJoinIntent
|
||||
{
|
||||
public readonly string DeeplinkMessage;
|
||||
public readonly string DestinationApiName;
|
||||
public readonly string LobbySessionId;
|
||||
public readonly string MatchSessionId;
|
||||
|
||||
|
||||
public GroupPresenceJoinIntent(IntPtr o)
|
||||
{
|
||||
DeeplinkMessage = CAPI.ovr_GroupPresenceJoinIntent_GetDeeplinkMessage(o);
|
||||
DestinationApiName = CAPI.ovr_GroupPresenceJoinIntent_GetDestinationApiName(o);
|
||||
LobbySessionId = CAPI.ovr_GroupPresenceJoinIntent_GetLobbySessionId(o);
|
||||
MatchSessionId = CAPI.ovr_GroupPresenceJoinIntent_GetMatchSessionId(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d9caf9f71752db42b698bc88041666a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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 GroupPresenceLeaveIntent
|
||||
{
|
||||
public readonly string DestinationApiName;
|
||||
public readonly string LobbySessionId;
|
||||
public readonly string MatchSessionId;
|
||||
|
||||
|
||||
public GroupPresenceLeaveIntent(IntPtr o)
|
||||
{
|
||||
DestinationApiName = CAPI.ovr_GroupPresenceLeaveIntent_GetDestinationApiName(o);
|
||||
LobbySessionId = CAPI.ovr_GroupPresenceLeaveIntent_GetLobbySessionId(o);
|
||||
MatchSessionId = CAPI.ovr_GroupPresenceLeaveIntent_GetMatchSessionId(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 45672f670fe4c9a4b8111899e26539bc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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:
|
||||
@@ -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 InvitePanelResultInfo
|
||||
{
|
||||
public readonly bool InvitesSent;
|
||||
|
||||
|
||||
public InvitePanelResultInfo(IntPtr o)
|
||||
{
|
||||
InvitesSent = CAPI.ovr_InvitePanelResultInfo_GetInvitesSent(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c3bd535ac29bf824595306d3d27e03ad
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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:
|
||||
47
Assets/Oculus/Platform/Scripts/Models/LaunchDetails.cs
Normal file
47
Assets/Oculus/Platform/Scripts/Models/LaunchDetails.cs
Normal file
@@ -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 LaunchDetails
|
||||
{
|
||||
public readonly string DeeplinkMessage;
|
||||
public readonly string DestinationApiName;
|
||||
public readonly string LaunchSource;
|
||||
public readonly LaunchType LaunchType;
|
||||
public readonly UInt64 RoomID;
|
||||
public readonly string TrackingID;
|
||||
// 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);
|
||||
DestinationApiName = CAPI.ovr_LaunchDetails_GetDestinationApiName(o);
|
||||
LaunchSource = CAPI.ovr_LaunchDetails_GetLaunchSource(o);
|
||||
LaunchType = CAPI.ovr_LaunchDetails_GetLaunchType(o);
|
||||
RoomID = CAPI.ovr_LaunchDetails_GetRoomID(o);
|
||||
TrackingID = CAPI.ovr_LaunchDetails_GetTrackingID(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,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 LaunchInvitePanelFlowResult
|
||||
{
|
||||
public readonly UserList InvitedUsers;
|
||||
|
||||
|
||||
public LaunchInvitePanelFlowResult(IntPtr o)
|
||||
{
|
||||
InvitedUsers = new UserList(CAPI.ovr_LaunchInvitePanelFlowResult_GetInvitedUsers(o));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a47ea68e0b980e749861e2c237a22885
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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 LaunchReportFlowResult
|
||||
{
|
||||
public readonly bool DidCancel;
|
||||
public readonly UInt64 UserReportId;
|
||||
|
||||
|
||||
public LaunchReportFlowResult(IntPtr o)
|
||||
{
|
||||
DidCancel = CAPI.ovr_LaunchReportFlowResult_GetDidCancel(o);
|
||||
UserReportId = CAPI.ovr_LaunchReportFlowResult_GetUserReportId(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd39534aa19eea849a28ea4da4aac464
|
||||
timeCreated: 1536102211
|
||||
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:
|
||||
51
Assets/Oculus/Platform/Scripts/Models/Leaderboard.cs
Normal file
51
Assets/Oculus/Platform/Scripts/Models/Leaderboard.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
// 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 Leaderboard
|
||||
{
|
||||
public readonly string ApiName;
|
||||
// May be null. Check before using.
|
||||
public readonly Destination DestinationOptional;
|
||||
[Obsolete("Deprecated in favor of DestinationOptional")]
|
||||
public readonly Destination Destination;
|
||||
public readonly UInt64 ID;
|
||||
|
||||
|
||||
public Leaderboard(IntPtr o)
|
||||
{
|
||||
ApiName = CAPI.ovr_Leaderboard_GetApiName(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_Leaderboard_GetDestination(o);
|
||||
Destination = new Destination(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
DestinationOptional = null;
|
||||
} else {
|
||||
DestinationOptional = Destination;
|
||||
}
|
||||
}
|
||||
ID = CAPI.ovr_Leaderboard_GetID(o);
|
||||
}
|
||||
}
|
||||
|
||||
public class LeaderboardList : DeserializableList<Leaderboard> {
|
||||
public LeaderboardList(IntPtr a) {
|
||||
var count = (int)CAPI.ovr_LeaderboardArray_GetSize(a);
|
||||
_Data = new List<Leaderboard>(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
_Data.Add(new Leaderboard(CAPI.ovr_LeaderboardArray_GetElement(a, (UIntPtr)i)));
|
||||
}
|
||||
|
||||
_NextUrl = CAPI.ovr_LeaderboardArray_GetNextUrl(a);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
11
Assets/Oculus/Platform/Scripts/Models/Leaderboard.cs.meta
Normal file
11
Assets/Oculus/Platform/Scripts/Models/Leaderboard.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79dd452f332ee6e48b2ca238c0e24ffa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
64
Assets/Oculus/Platform/Scripts/Models/LeaderboardEntry.cs
Normal file
64
Assets/Oculus/Platform/Scripts/Models/LeaderboardEntry.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
// 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 LeaderboardEntry
|
||||
{
|
||||
public readonly string DisplayScore;
|
||||
public readonly byte[] ExtraData;
|
||||
public readonly UInt64 ID;
|
||||
public readonly int Rank;
|
||||
public readonly long Score;
|
||||
// May be null. Check before using.
|
||||
public readonly SupplementaryMetric SupplementaryMetricOptional;
|
||||
[Obsolete("Deprecated in favor of SupplementaryMetricOptional")]
|
||||
public readonly SupplementaryMetric SupplementaryMetric;
|
||||
public readonly DateTime Timestamp;
|
||||
public readonly User User;
|
||||
|
||||
|
||||
public LeaderboardEntry(IntPtr o)
|
||||
{
|
||||
DisplayScore = CAPI.ovr_LeaderboardEntry_GetDisplayScore(o);
|
||||
ExtraData = CAPI.ovr_LeaderboardEntry_GetExtraData(o);
|
||||
ID = CAPI.ovr_LeaderboardEntry_GetID(o);
|
||||
Rank = CAPI.ovr_LeaderboardEntry_GetRank(o);
|
||||
Score = CAPI.ovr_LeaderboardEntry_GetScore(o);
|
||||
{
|
||||
var pointer = CAPI.ovr_LeaderboardEntry_GetSupplementaryMetric(o);
|
||||
SupplementaryMetric = new SupplementaryMetric(pointer);
|
||||
if (pointer == IntPtr.Zero) {
|
||||
SupplementaryMetricOptional = null;
|
||||
} else {
|
||||
SupplementaryMetricOptional = SupplementaryMetric;
|
||||
}
|
||||
}
|
||||
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:
|
||||
32
Assets/Oculus/Platform/Scripts/Models/MatchmakingStats.cs
Normal file
32
Assets/Oculus/Platform/Scripts/Models/MatchmakingStats.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
// 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 double SkillMean;
|
||||
public readonly double SkillStandardDeviation;
|
||||
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);
|
||||
SkillMean = CAPI.ovr_MatchmakingStats_GetSkillMean(o);
|
||||
SkillStandardDeviation = CAPI.ovr_MatchmakingStats_GetSkillStandardDeviation(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:
|
||||
@@ -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 MicrophoneAvailabilityState
|
||||
{
|
||||
public readonly bool MicrophoneAvailable;
|
||||
|
||||
|
||||
public MicrophoneAvailabilityState(IntPtr o)
|
||||
{
|
||||
MicrophoneAvailable = CAPI.ovr_MicrophoneAvailabilityState_GetMicrophoneAvailable(o);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e3ad1b20e314f3c46a8b4c5b3cffeaca
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
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