forked from cgvr/DeltaVR
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
// 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);
 | 
						|
    }
 | 
						|
 | 
						|
  }
 | 
						|
}
 |