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.

37 lines
919 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 AbuseReportOptions {
  10. public AbuseReportOptions() {
  11. Handle = CAPI.ovr_AbuseReportOptions_Create();
  12. }
  13. public void SetPreventPeopleChooser(bool value) {
  14. CAPI.ovr_AbuseReportOptions_SetPreventPeopleChooser(Handle, value);
  15. }
  16. public void SetReportType(AbuseReportType value) {
  17. CAPI.ovr_AbuseReportOptions_SetReportType(Handle, value);
  18. }
  19. // For passing to native C
  20. public static explicit operator IntPtr(AbuseReportOptions options) {
  21. return options != null ? options.Handle : IntPtr.Zero;
  22. }
  23. ~AbuseReportOptions() {
  24. CAPI.ovr_AbuseReportOptions_Destroy(Handle);
  25. }
  26. IntPtr Handle;
  27. }
  28. }