Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
992 B

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. namespace Oculus.Platform
  3. {
  4. using System;
  5. using System.Collections;
  6. using Oculus.Platform.Models;
  7. using System.Collections.Generic;
  8. using UnityEngine;
  9. public class NetSyncOptions {
  10. public NetSyncOptions() {
  11. Handle = CAPI.ovr_NetSyncOptions_Create();
  12. }
  13. public void SetVoipGroup(string value) {
  14. CAPI.ovr_NetSyncOptions_SetVoipGroup(Handle, value);
  15. }
  16. public void SetVoipStreamDefault(NetSyncVoipStreamMode value) {
  17. CAPI.ovr_NetSyncOptions_SetVoipStreamDefault(Handle, value);
  18. }
  19. public void SetZoneId(string value) {
  20. CAPI.ovr_NetSyncOptions_SetZoneId(Handle, value);
  21. }
  22. // For passing to native C
  23. public static explicit operator IntPtr(NetSyncOptions options) {
  24. return options != null ? options.Handle : IntPtr.Zero;
  25. }
  26. ~NetSyncOptions() {
  27. CAPI.ovr_NetSyncOptions_Destroy(Handle);
  28. }
  29. IntPtr Handle;
  30. }
  31. }