text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "beatsaber-hook/shared/utils/typedefs.h"
  #include "beatsaber-hook/shared/utils/byref.hpp"
  // Including type: OVR.OpenVR.IVRResources
  #include "OVR/OpenVR/IVRResources.hpp"
  // Including type: System.IntPtr
  #include "System/IntPtr.hpp"
  #include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  #include "beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
  #include "beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
  #include "beatsaber-hook/shared/utils/utils.h"
  #include "beatsaber-hook/shared/utils/typedefs-string.hpp"
  // Completed includes
  // Begin forward declares
  // Forward declaring namespace: System::Text
  namespace System::Text {
    // Forward declaring type: StringBuilder
    class StringBuilder;
  }
  // Completed forward declares
  // Type namespace: OVR.OpenVR
  namespace OVR::OpenVR {
    // Forward declaring type: CVRResources
    class CVRResources;
  }
  #include "beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
  NEED_NO_BOX(::OVR::OpenVR::CVRResources);
  DEFINE_IL2CPP_ARG_TYPE(::OVR::OpenVR::CVRResources*, "OVR.OpenVR", "CVRResources");
  // Type namespace: OVR.OpenVR
  namespace OVR::OpenVR {
    // Size: 0x20
    #pragma pack(push, 1)
    // Autogenerated type: OVR.OpenVR.CVRResources
    // [TokenAttribute] Offset: FFFFFFFF
    class CVRResources : public ::Il2CppObject {
      public:
      public:
      // private OVR.OpenVR.IVRResources FnTable
      // Size: 0x10
      // Offset: 0x10
      ::OVR::OpenVR::IVRResources FnTable;
      // Field size check
      static_assert(sizeof(::OVR::OpenVR::IVRResources) == 0x10);
      public:
      // Creating conversion operator: operator ::OVR::OpenVR::IVRResources
      constexpr operator ::OVR::OpenVR::IVRResources() const noexcept {
        return FnTable;
      }
      // Get instance field reference: private OVR.OpenVR.IVRResources FnTable
      [[deprecated("Use field access instead!")]] ::OVR::OpenVR::IVRResources& dyn_FnTable();
      // System.Void .ctor(System.IntPtr pInterface)
      // Offset: 0x9850F0
      template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
      static CVRResources* New_ctor(::System::IntPtr pInterface) {
        static auto ___internal__logger = ::Logger::get().WithContext("::OVR::OpenVR::CVRResources::.ctor");
        return THROW_UNLESS((::il2cpp_utils::New<CVRResources*, creationType>(pInterface)));
      }
      // public System.UInt32 LoadSharedResource(System.String pchResourceName, System.String pchBuffer, System.UInt32 unBufferLen)
      // Offset: 0x985210
      uint LoadSharedResource(::StringW pchResourceName, ::StringW pchBuffer, uint unBufferLen);
      // public System.UInt32 GetResourceFullPath(System.String pchResourceName, System.String pchResourceTypeDirectory, System.Text.StringBuilder pchPathBuffer, System.UInt32 unBufferLen)
      // Offset: 0x98522C
      uint GetResourceFullPath(::StringW pchResourceName, ::StringW pchResourceTypeDirectory, ::System::Text::StringBuilder* pchPathBuffer, uint unBufferLen);
    }; // OVR.OpenVR.CVRResources
    #pragma pack(pop)
    static check_size<sizeof(CVRResources), 16 + sizeof(::OVR::OpenVR::IVRResources)> __OVR_OpenVR_CVRResourcesSizeCheck;
    static_assert(sizeof(CVRResources) == 0x20);
  }
  #include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  // Writing MetadataGetter for method: OVR::OpenVR::CVRResources::New_ctor
  // Il2CppName: .ctor
  // Cannot get method pointer of value based method overload from template for constructor!
  // Try using FindMethod instead!
  // Writing MetadataGetter for method: OVR::OpenVR::CVRResources::LoadSharedResource
  // Il2CppName: LoadSharedResource
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<uint (OVR::OpenVR::CVRResources::*)(::StringW, ::StringW, uint)>(&OVR::OpenVR::CVRResources::LoadSharedResource)> {
    static const MethodInfo* get() {
      static auto* pchResourceName = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
      static auto* pchBuffer = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
      static auto* unBufferLen = &::il2cpp_utils::GetClassFromName("System", "UInt32")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(OVR::OpenVR::CVRResources*), "LoadSharedResource", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{pchResourceName, pchBuffer, unBufferLen});
    }
  };
  // Writing MetadataGetter for method: OVR::OpenVR::CVRResources::GetResourceFullPath
  // Il2CppName: GetResourceFullPath
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<uint (OVR::OpenVR::CVRResources::*)(::StringW, ::StringW, ::System::Text::StringBuilder*, uint)>(&OVR::OpenVR::CVRResources::GetResourceFullPath)> {
    static const MethodInfo* get() {
      static auto* pchResourceName = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
      static auto* pchResourceTypeDirectory = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
      static auto* pchPathBuffer = &::il2cpp_utils::GetClassFromName("System.Text", "StringBuilder")->byval_arg;
      static auto* unBufferLen = &::il2cpp_utils::GetClassFromName("System", "UInt32")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(OVR::OpenVR::CVRResources*), "GetResourceFullPath", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen});
    }
  };
  