Initialer Upload neues Unity-Projekt

This commit is contained in:
Daniel Ocks
2025-07-21 09:11:14 +02:00
commit eeca72985b
14558 changed files with 1508140 additions and 0 deletions

View File

@ -0,0 +1,23 @@
// 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
{
/// A UUID associated with the Abuse Report recording.
public readonly string RecordingUuid;
public AbuseReportRecording(IntPtr o)
{
RecordingUuid = CAPI.ovr_AbuseReportRecording_GetRecordingUuid(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0c2b12af41eef9f4786416f70fc1959c
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,44 @@
// 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;
/// An AchievementDefinition defines an achievement; this includes its name and
/// how it is unlocked. For an individual user's progress in unlocking an
/// achievement, see AchievementProgress.
public class AchievementDefinition
{
public readonly AchievementType Type;
/// The name of the achievement.
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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 7d2e372fad07698479f27fd72c13489e
timeCreated: 1523486799
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 8d4a4ff6827774599abd0efe12f341fa
timeCreated: 1462489664
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a49cc0ca1bcdd99409f7658b336e2d06
timeCreated: 1523486800
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 AppDownloadProgressResult
{
/// Total number of bytes that need to be downloaded
public readonly long DownloadBytes;
/// Number of bytes that have already been downloaded
public readonly long DownloadedBytes;
/// Status code of the current app status. Can be used to find if app is
/// downloading etc.
public readonly AppStatus StatusCode;
public AppDownloadProgressResult(IntPtr o)
{
DownloadBytes = CAPI.ovr_AppDownloadProgressResult_GetDownloadBytes(o);
DownloadedBytes = CAPI.ovr_AppDownloadProgressResult_GetDownloadedBytes(o);
StatusCode = CAPI.ovr_AppDownloadProgressResult_GetStatusCode(o);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 25f163f65a485584e959ef48124ae22f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
// 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 AppDownloadResult
{
/// Timestamp in milliseconds when the operation finished.
public readonly long Timestamp;
public AppDownloadResult(IntPtr o)
{
Timestamp = CAPI.ovr_AppDownloadResult_GetTimestamp(o);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c565748abbe1c6444875714099401e8b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0c230daeea52e7e47bfc4fc7a54ccbaa
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,34 @@
// 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;
/// Seconds since epoch when the latest app update was released
public readonly long ReleaseDate;
/// Size of the app update in bytes
public readonly string Size;
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);
ReleaseDate = CAPI.ovr_ApplicationVersion_GetReleaseDate(o);
Size = CAPI.ovr_ApplicationVersion_GetSize(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: b5b714bc152876d4eaa2f638d2927cd8
timeCreated: 1523486800
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,70 @@
// 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
{
/// ID of the asset file
public readonly UInt64 AssetId;
/// One of 'default', 'store', or 'language_pack'. The 'default' type denotes
/// this Asset File is used purely as an implementation detail (to download
/// extra content post-installation). The 'store' type shows, that the Asset
/// File should be shown in Store. The 'language_pack' is a special type used
/// to manage different languages and translation data, which can be downloaded
/// post-installation.
public readonly string AssetType;
/// One of 'installed', 'available', or 'in-progress'
public readonly string DownloadStatus;
/// File path of the asset file
public readonly string Filepath;
/// One of 'free', 'entitled', or 'not-entitled'
public readonly string IapStatus;
/// For 'language_pack' assets type, contains language info.
// May be null. Check before using.
public readonly LanguagePackInfo LanguageOptional;
[Obsolete("Deprecated in favor of LanguageOptional")]
public readonly LanguagePackInfo Language;
/// Extra metadata associated with this asset file
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)));
}
}
}
}

View 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:

View 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 AssetFileDeleteResult
{
/// DEPRECATED. Use AssetFileDeleteResult.GetAssetId().
public readonly UInt64 AssetFileId;
/// ID of the asset file
public readonly UInt64 AssetId;
/// File path of the asset file.
public readonly string Filepath;
/// Whether the asset delete was successful.
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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a64ebca65bbe4334394aa3648ff7733f
timeCreated: 1523486800
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 AssetFileDownloadCancelResult
{
/// DEPRECATED. Use AssetFileDownloadCancelResult.GetAssetId().
public readonly UInt64 AssetFileId;
/// ID of the asset file
public readonly UInt64 AssetId;
/// File path of the asset file.
public readonly string Filepath;
/// Whether the cancel request is succeeded.
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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 80090c9e4db0f2a46bd1ff95e4c6407f
timeCreated: 1523486799
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 AssetFileDownloadResult
{
/// ID of the asset file
public readonly UInt64 AssetId;
/// File path of the asset file.
public readonly string Filepath;
public AssetFileDownloadResult(IntPtr o)
{
AssetId = CAPI.ovr_AssetFileDownloadResult_GetAssetId(o);
Filepath = CAPI.ovr_AssetFileDownloadResult_GetFilepath(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0bfd5c2464df297499ad81e22be1e7b1
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,36 @@
// 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
{
/// DEPRECATED. Use AssetFileDownloadUpdate.GetAssetId().
public readonly UInt64 AssetFileId;
/// ID of the asset file
public readonly UInt64 AssetId;
/// Total number of bytes.
public readonly ulong BytesTotal;
/// Number of bytes have been downloaded. -1 If the download hasn't started
/// yet.
public readonly long BytesTransferred;
/// Flag indicating a download is completed.
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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: f219cac005ed9fc4b87b7cdb7285f23b
timeCreated: 1523486801
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
// 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 AvatarEditorResult
{
/// Whether the request has sent.
public readonly bool RequestSent;
public AvatarEditorResult(IntPtr o)
{
RequestSent = CAPI.ovr_AvatarEditorResult_GetRequestSent(o);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 111644342aafaae42bf28b9579460376
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 BlockedUser
{
/// user ID that has been blocked by the logged in user
public readonly UInt64 Id;
public BlockedUser(IntPtr o)
{
Id = CAPI.ovr_BlockedUser_GetId(o);
}
}
public class BlockedUserList : DeserializableList<BlockedUser> {
public BlockedUserList(IntPtr a) {
var count = (int)CAPI.ovr_BlockedUserArray_GetSize(a);
_Data = new List<BlockedUser>(count);
for (int i = 0; i < count; i++) {
_Data.Add(new BlockedUser(CAPI.ovr_BlockedUserArray_GetElement(a, (UIntPtr)i)));
}
_NextUrl = CAPI.ovr_BlockedUserArray_GetNextUrl(a);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 869034cec828fa747a53da383e478533
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: b380c9d8a3128734d9377d59e8817d41
timeCreated: 1536102210
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: aed900a5fb08459449f04b930e21e089
timeCreated: 1536102210
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 9ffd34bbf11316d4b8782e4f4cec658e
timeCreated: 1536102210
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
// 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
{
/// Was this challenge created by a user or the app developer
public readonly ChallengeCreationType CreationType;
/// A displayable string of the challenge's description
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;
/// The leaderboard associated with this challenge
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;
/// A displayable string of the challenge's title
public readonly string Title;
/// A enum that specify who can see this challenge
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;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 87adda134c6a3794f9d98b1ef4320ca2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0eaff34db38712148b168e5e76da4002
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: f4529c5ae12f84c44899a5ca599b6ecd
timeCreated: 1523486801
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0e17b833610a92c4bbf4b67edb7ec116
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 1a6ff0d9eb067d74e87a166ab86cc0dd
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: f75c382fd9dda5b4b90d083821a4c4ab
timeCreated: 1523486801
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,117 @@
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; }
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: cd282a12ba188d842b81149d5b787daf
timeCreated: 1523486800
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,43 @@
// 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
{
/// Pass it into RichPresenceOptions.SetApiName()() when calling
/// RichPresence.Set() to set this user's rich presence
public readonly string ApiName;
/// The information that will be in LaunchDetails.GetDeeplinkMessage() when a
/// user enters via a deeplink. Alternatively will be in
/// User.GetPresenceDeeplinkMessage() if the rich presence is set for the user.
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);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 09e40dee6d23e9b4abe72b58d1ffd208
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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;
}
}

View 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:

View 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 GroupPresenceJoinIntent
{
/// An opaque string provided by the developer to help them deeplink to
/// content.
public readonly string DeeplinkMessage;
/// If populated, the destination the current user wants to go to
public readonly string DestinationApiName;
/// If populated, the lobby session the current user wants to go to
public readonly string LobbySessionId;
/// If populated, the match session the current user wants to go to
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);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fc8125ca52ff0ff44baf970f813572e4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,29 @@
// 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
{
/// If populated, the destination the current user wants to leave
public readonly string DestinationApiName;
/// If populated, the lobby session the current user wants to leave
public readonly string LobbySessionId;
/// If populated, the match session the current user wants to leave
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);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a52bd453fd8bb494d81a6dfbea0adc6e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,27 @@
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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: fcab648a59429684a9860794d256d230
timeCreated: 1523486801
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -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)));
}
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 1cb03b282dd6fc440830b2c7224a1135
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
// 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
{
/// A boolean for whether or not any invites has been sent.
public readonly bool InvitesSent;
public InvitePanelResultInfo(IntPtr o)
{
InvitesSent = CAPI.ovr_InvitePanelResultInfo_GetInvitesSent(o);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 023027fafb9ea3d4ab4ed00f527c00c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,29 @@
// 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
{
/// Language name in English language.
public readonly string EnglishName;
/// Language name in the native language.
public readonly string NativeName;
/// Language tag in BCP47 format.
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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 2d77f72bf241d8f48b3570ac0c0cab4b
timeCreated: 1533910661
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 LaunchBlockFlowResult
{
/// Whether the viewer successfully blocked the user.
public readonly bool DidBlock;
/// Whether the viewer chose to cancel the block flow.
public readonly bool DidCancel;
public LaunchBlockFlowResult(IntPtr o)
{
DidBlock = CAPI.ovr_LaunchBlockFlowResult_GetDidBlock(o);
DidCancel = CAPI.ovr_LaunchBlockFlowResult_GetDidCancel(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 33b0e76fc377f0c47801c3e36866ef66
timeCreated: 1523486798
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,54 @@
// 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
{
/// An opaque string provided by the developer to help them deeplink to content
/// on app startup.
public readonly string DeeplinkMessage;
/// If provided, the intended destination the user would like to go to
public readonly string DestinationApiName;
/// A string typically used to distinguish where the deeplink came from. For
/// instance, a DEEPLINK launch type could be coming from events or rich
/// presence.
public readonly string LaunchSource;
public readonly LaunchType LaunchType;
/// A unique identifer to keep track of a user going through the deeplinking
/// flow
public readonly string TrackingID;
/// If provided, the intended users the user would like to be with
// 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);
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;
}
}
}
}
}

View 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:

View 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 LaunchFriendRequestFlowResult
{
/// Whether the viewer chose to cancel the friend request flow.
public readonly bool DidCancel;
/// Whether the viewer successfully sent the friend request.
public readonly bool DidSendRequest;
public LaunchFriendRequestFlowResult(IntPtr o)
{
DidCancel = CAPI.ovr_LaunchFriendRequestFlowResult_GetDidCancel(o);
DidSendRequest = CAPI.ovr_LaunchFriendRequestFlowResult_GetDidSendRequest(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 4bb9ba5d0bd6a6c44917eead28ad71f3
timeCreated: 1533910661
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
// 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
{
/// A list of users that were sent an invitation to the session.
public readonly UserList InvitedUsers;
public LaunchInvitePanelFlowResult(IntPtr o)
{
InvitedUsers = new UserList(CAPI.ovr_LaunchInvitePanelFlowResult_GetInvitedUsers(o));
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5fbff5c671b91094f9e1da0a3dfe2abf
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,25 @@
// 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
{
/// Whether the viewer chose to cancel the report flow.
public readonly bool DidCancel;
public readonly UInt64 UserReportId;
public LaunchReportFlowResult(IntPtr o)
{
DidCancel = CAPI.ovr_LaunchReportFlowResult_GetDidCancel(o);
UserReportId = CAPI.ovr_LaunchReportFlowResult_GetUserReportId(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: dd39534aa19eea849a28ea4da4aac464
timeCreated: 1536102211
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 LaunchUnblockFlowResult
{
/// Whether the viewer chose to cancel the unblock flow.
public readonly bool DidCancel;
/// Whether the viewer successfully unblocked the user.
public readonly bool DidUnblock;
public LaunchUnblockFlowResult(IntPtr o)
{
DidCancel = CAPI.ovr_LaunchUnblockFlowResult_GetDidCancel(o);
DidUnblock = CAPI.ovr_LaunchUnblockFlowResult_GetDidUnblock(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 6eeff2263c546f042946cdc4bcf72f98
timeCreated: 1523486799
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2e2f534f9aa71b3468fc0e52305a872a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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;
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: c6c8aaec7b9e7f7438413bbc91a4fe0b
timeCreated: 1523486800
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 LinkedAccount
{
/// Access token of the linked account.
public readonly string AccessToken;
/// Service provider with which the linked account is associated.
public readonly ServiceProvider ServiceProvider;
/// User ID of the linked account.
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)));
}
}
}
}

View 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:

View 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 LivestreamingApplicationStatus
{
public readonly bool StreamingEnabled;
public LivestreamingApplicationStatus(IntPtr o)
{
StreamingEnabled = CAPI.ovr_LivestreamingApplicationStatus_GetStreamingEnabled(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 706d607bb299def4d9e99e5fe89d0d0d
timeCreated: 1523486799
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 LivestreamingStartResult
{
public readonly LivestreamingStartStatus StreamingResult;
public LivestreamingStartResult(IntPtr o)
{
StreamingResult = CAPI.ovr_LivestreamingStartResult_GetStreamingResult(o);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 18a920985ce51294787433880f509191
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 1d2064e758a11864cade929d95d92ebe
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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 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);
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 3f7d781612e6d584782a9c0275cb1331
timeCreated: 1523486798
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 13c216d6d7d951e4c8e4e74e380d6bb5
timeCreated: 1523486797
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 02b97f80c9b7ef846baac4c18b572b6e
timeCreated: 1523486796
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 5802e9ca200ef2b42b6ecaad0ca71f6f
timeCreated: 1523486799
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
namespace Oculus.Platform.Deprecated
{
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 5635c7d33a0525448a73c31a900fcb2a
timeCreated: 1523486799
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