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.

3482 lines
167 KiB

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. using UnityEngine;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Runtime.InteropServices;
  6. using System.Text;
  7. #pragma warning disable 414
  8. namespace Oculus.Platform
  9. {
  10. public class CAPI
  11. {
  12. #if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
  13. #if UNITY_64 || UNITY_EDITOR_64
  14. public const string DLL_NAME = "LibOVRPlatform64_1";
  15. #else
  16. public const string DLL_NAME = "LibOVRPlatform32_1";
  17. #endif
  18. #elif UNITY_EDITOR || UNITY_EDITOR_64
  19. public const string DLL_NAME = "ovrplatform";
  20. #elif UNITY_ANDROID && OVR_STANDALONE_PLATFORM
  21. public const string DLL_NAME = "ovrplatform_standalone";
  22. #else
  23. public const string DLL_NAME = "ovrplatformloader";
  24. #endif
  25. private static UTF8Encoding nativeStringEncoding = new UTF8Encoding(false);
  26. [StructLayout(LayoutKind.Sequential)]
  27. public struct ovrKeyValuePair {
  28. public ovrKeyValuePair(string key, string value) {
  29. key_ = key;
  30. valueType_ = KeyValuePairType.String;
  31. stringValue_ = value;
  32. intValue_ = 0;
  33. doubleValue_ = 0.0;
  34. }
  35. public ovrKeyValuePair(string key, int value) {
  36. key_ = key;
  37. valueType_ = KeyValuePairType.Int;
  38. intValue_ = value;
  39. stringValue_ = null;
  40. doubleValue_ = 0.0;
  41. }
  42. public ovrKeyValuePair(string key, double value) {
  43. key_ = key;
  44. valueType_ = KeyValuePairType.Double;
  45. doubleValue_ = value;
  46. stringValue_ = null;
  47. intValue_ = 0;
  48. }
  49. public string key_;
  50. KeyValuePairType valueType_;
  51. public string stringValue_;
  52. public int intValue_;
  53. public double doubleValue_;
  54. };
  55. [StructLayout(LayoutKind.Sequential)]
  56. public struct ovrNetSyncVec3 {
  57. public float x;
  58. public float y;
  59. public float z;
  60. }
  61. public static IntPtr ArrayOfStructsToIntPtr(Array ar)
  62. {
  63. int totalSize = 0;
  64. for(int i=0; i<ar.Length; i++) {
  65. totalSize += Marshal.SizeOf(ar.GetValue(i));
  66. }
  67. IntPtr childrenPtr = Marshal.AllocHGlobal(totalSize);
  68. IntPtr curr = childrenPtr;
  69. for(int i=0; i<ar.Length; i++) {
  70. Marshal.StructureToPtr(ar.GetValue(i), curr, false);
  71. curr = (IntPtr)((long)curr + Marshal.SizeOf(ar.GetValue(i)));
  72. }
  73. return childrenPtr;
  74. }
  75. public static CAPI.ovrKeyValuePair[] DictionaryToOVRKeyValuePairs(Dictionary<string, object> dict)
  76. {
  77. if(dict == null || dict.Count == 0)
  78. {
  79. return null;
  80. }
  81. var nativeCustomData = new CAPI.ovrKeyValuePair[dict.Count];
  82. int i = 0;
  83. foreach(var item in dict)
  84. {
  85. if(item.Value.GetType() == typeof(int))
  86. {
  87. nativeCustomData[i] = new CAPI.ovrKeyValuePair(item.Key, (int)item.Value);
  88. }
  89. else if(item.Value.GetType() == typeof(string))
  90. {
  91. nativeCustomData[i] = new CAPI.ovrKeyValuePair(item.Key, (string)item.Value);
  92. }
  93. else if(item.Value.GetType() == typeof(double))
  94. {
  95. nativeCustomData[i] = new CAPI.ovrKeyValuePair(item.Key, (double)item.Value);
  96. }
  97. else
  98. {
  99. throw new Exception("Only int, double or string are allowed types in CustomQuery.data");
  100. }
  101. i++;
  102. }
  103. return nativeCustomData;
  104. }
  105. public static byte[] IntPtrToByteArray(IntPtr data, ulong size)
  106. {
  107. byte[] outArray = new byte[size];
  108. Marshal.Copy(data, outArray, 0, (int)size);
  109. return outArray;
  110. }
  111. [StructLayout(LayoutKind.Sequential)]
  112. public struct ovrMatchmakingCriterion {
  113. public ovrMatchmakingCriterion(string key, MatchmakingCriterionImportance importance)
  114. {
  115. key_ = key;
  116. importance_ = importance;
  117. parameterArray = IntPtr.Zero;
  118. parameterArrayCount = 0;
  119. }
  120. public string key_;
  121. public MatchmakingCriterionImportance importance_;
  122. public IntPtr parameterArray;
  123. public uint parameterArrayCount;
  124. };
  125. [StructLayout(LayoutKind.Sequential)]
  126. public struct ovrMatchmakingCustomQueryData {
  127. public IntPtr dataArray;
  128. public uint dataArrayCount;
  129. public IntPtr criterionArray;
  130. public uint criterionArrayCount;
  131. };
  132. public static Dictionary<string, string> DataStoreFromNative(IntPtr pointer) {
  133. var d = new Dictionary<string, string>();
  134. var size = (int)CAPI.ovr_DataStore_GetNumKeys(pointer);
  135. for (var i = 0; i < size; i++) {
  136. string key = CAPI.ovr_DataStore_GetKey(pointer, i);
  137. d[key] = CAPI.ovr_DataStore_GetValue(pointer, key);
  138. }
  139. return d;
  140. }
  141. public static string StringFromNative(IntPtr pointer) {
  142. if (pointer == IntPtr.Zero) {
  143. return null;
  144. }
  145. var l = GetNativeStringLengthNotIncludingNullTerminator(pointer);
  146. var data = new byte[l];
  147. Marshal.Copy(pointer, data, 0, l);
  148. return nativeStringEncoding.GetString(data);
  149. }
  150. public static int GetNativeStringLengthNotIncludingNullTerminator(IntPtr pointer) {
  151. var l = 0;
  152. while (true) {
  153. if (Marshal.ReadByte(pointer, l) == 0) {
  154. return l;
  155. }
  156. l++;
  157. }
  158. }
  159. public static DateTime DateTimeFromNative(ulong seconds_since_the_one_true_epoch) {
  160. var dt = new DateTime(1970, 1, 1, 0, 0, 0, 0);
  161. return dt.AddSeconds(seconds_since_the_one_true_epoch).ToLocalTime();
  162. }
  163. public static ulong DateTimeToNative(DateTime dt) {
  164. var universal = (dt.Kind != DateTimeKind.Utc) ? dt.ToUniversalTime() : dt;
  165. var epochStart = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
  166. return (ulong) (universal - epochStart).TotalSeconds;
  167. }
  168. public static byte[] BlobFromNative(uint size, IntPtr pointer) {
  169. var a = new byte[(int)size];
  170. for (int i = 0; i < (int)size; i++) {
  171. a[i] = Marshal.ReadByte(pointer, i);
  172. }
  173. return a;
  174. }
  175. public static byte[] FiledataFromNative(uint size, IntPtr pointer) {
  176. var data = new byte[(int)size];
  177. Marshal.Copy(pointer, data, 0, (int)size);
  178. return data;
  179. }
  180. public static IntPtr StringToNative(string s) {
  181. if (s == null) {
  182. throw new Exception("StringFromNative: null argument");
  183. }
  184. var l = nativeStringEncoding.GetByteCount(s);
  185. var data = new byte[l + 1];
  186. nativeStringEncoding.GetBytes(s, 0, s.Length, data, 0);
  187. var pointer = Marshal.AllocCoTaskMem(l + 1);
  188. Marshal.Copy(data, 0, pointer, l + 1);
  189. return pointer;
  190. }
  191. // Initialization
  192. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  193. public static extern bool ovr_UnityInitWrapper(string appId);
  194. // Initializes just the global variables to use the Unity api without calling the init logic
  195. [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
  196. public static extern void ovr_UnityInitGlobals(IntPtr loggingCB);
  197. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  198. public static extern ulong ovr_UnityInitWrapperAsynchronous(string appId);
  199. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  200. public static extern bool ovr_UnityInitWrapperStandalone(string accessToken, IntPtr loggingCB);
  201. [StructLayout(LayoutKind.Sequential)]
  202. public struct OculusInitParams
  203. {
  204. public int sType;
  205. public string email;
  206. public string password;
  207. public UInt64 appId;
  208. public string uriPrefixOverride;
  209. }
  210. [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
  211. public static extern ulong ovr_Platform_InitializeStandaloneOculus(ref OculusInitParams init);
  212. [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
  213. public static extern ulong ovr_PlatformInitializeWithAccessToken(UInt64 appId, string accessToken);
  214. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  215. public static extern bool ovr_UnityInitWrapperWindows(string appId, IntPtr loggingCB);
  216. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  217. public static extern ulong ovr_UnityInitWrapperWindowsAsynchronous(string appId, IntPtr loggingCB);
  218. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  219. public static extern bool ovr_SetDeveloperAccessToken(string accessToken);
  220. public static string ovr_GetLoggedInUserLocale() {
  221. var result = StringFromNative(ovr_GetLoggedInUserLocale_Native());
  222. return result;
  223. }
  224. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_GetLoggedInUserLocale")]
  225. private static extern IntPtr ovr_GetLoggedInUserLocale_Native();
  226. // Message queue access
  227. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  228. public static extern IntPtr ovr_PopMessage();
  229. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  230. public static extern void ovr_FreeMessage(IntPtr message);
  231. // VOIP
  232. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  233. public static extern IntPtr ovr_Voip_CreateEncoder();
  234. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  235. public static extern void ovr_Voip_DestroyEncoder(IntPtr encoder);
  236. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  237. public static extern IntPtr ovr_Voip_CreateDecoder();
  238. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  239. public static extern void ovr_Voip_DestroyDecoder(IntPtr decoder);
  240. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  241. public static extern void ovr_VoipDecoder_Decode(IntPtr obj, byte[] compressedData, ulong compressedSize);
  242. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  243. public static extern IntPtr ovr_Microphone_Create();
  244. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  245. public static extern void ovr_Microphone_Destroy(IntPtr obj);
  246. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  247. public static extern void ovr_Voip_SetSystemVoipPassthrough(bool passthrough);
  248. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  249. public static extern void ovr_Voip_SetSystemVoipMicrophoneMuted(VoipMuteState muted);
  250. // Misc
  251. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  252. public static extern void ovr_UnityResetTestPlatform();
  253. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  254. public static extern ulong ovr_HTTP_GetWithMessageType(string url, int messageType);
  255. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  256. public static extern void ovr_CrashApplication();
  257. public const int VoipFilterBufferSize = 480;
  258. [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
  259. public delegate void FilterCallback([MarshalAs(UnmanagedType.LPArray, SizeConst = VoipFilterBufferSize), In, Out] short[] pcmData, UIntPtr pcmDataLength, int frequency, int numChannels);
  260. [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
  261. public static extern void ovr_Voip_SetMicrophoneFilterCallback(FilterCallback cb);
  262. [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)]
  263. public static extern void ovr_Voip_SetMicrophoneFilterCallbackWithFixedSizeBuffer(FilterCallback cb, UIntPtr bufferSizeElements);
  264. // Logging
  265. public static void LogNewEvent(string eventName, Dictionary<string, string> values) {
  266. var eventNameNative = StringToNative(eventName);
  267. var count = values == null ? 0 : values.Count;
  268. IntPtr[] valuesNative = new IntPtr[count * 2];
  269. if (count > 0) {
  270. int i = 0;
  271. foreach(var item in values) {
  272. valuesNative[i * 2 + 0] = StringToNative(item.Key);
  273. valuesNative[i * 2 + 1] = StringToNative(item.Value);
  274. i++;
  275. }
  276. }
  277. ovr_Log_NewEvent(eventNameNative, valuesNative, (UIntPtr)count);
  278. Marshal.FreeCoTaskMem(eventNameNative);
  279. foreach (var nativeItem in valuesNative) {
  280. Marshal.FreeCoTaskMem(nativeItem);
  281. }
  282. }
  283. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  284. public static extern void ovr_Log_NewEvent(IntPtr eventName, IntPtr[] values, UIntPtr length);
  285. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  286. public static extern IntPtr ovr_ApplicationLifecycle_GetLaunchDetails();
  287. public static ulong ovr_HTTP_StartTransfer(string url, ovrKeyValuePair[] headers) {
  288. IntPtr url_native = StringToNative(url);
  289. UIntPtr headers_length = (UIntPtr)headers.Length;
  290. var result = (ovr_HTTP_StartTransfer_Native(url_native, headers, headers_length));
  291. Marshal.FreeCoTaskMem(url_native);
  292. return result;
  293. }
  294. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_HTTP_StartTransfer")]
  295. private static extern ulong ovr_HTTP_StartTransfer_Native(IntPtr url, ovrKeyValuePair[] headers, UIntPtr numItems);
  296. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  297. public static extern bool ovr_HTTP_Write(ulong transferId, byte[] bytes, UIntPtr length);
  298. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  299. public static extern void ovr_HTTP_WriteEOM(ulong transferId);
  300. public static string ovr_Message_GetStringForJavascript(IntPtr message) {
  301. var result = StringFromNative(ovr_Message_GetStringForJavascript_Native(message));
  302. return result;
  303. }
  304. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Message_GetStringForJavascript")]
  305. private static extern IntPtr ovr_Message_GetStringForJavascript_Native(IntPtr message);
  306. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  307. public static extern UIntPtr ovr_NetSync_GetAmbisonicFloatPCM(long connection_id, float[] outputBuffer, UIntPtr outputBufferNumElements);
  308. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  309. public static extern UIntPtr ovr_NetSync_GetAmbisonicInt16PCM(long connection_id, Int16[] outputBuffer, UIntPtr outputBufferNumElements);
  310. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  311. public static extern UIntPtr ovr_NetSync_GetAmbisonicInterleavedFloatPCM(long connection_id, float[] outputBuffer, UIntPtr outputBufferNumElements);
  312. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  313. public static extern UIntPtr ovr_NetSync_GetAmbisonicInterleavedInt16PCM(long connection_id, Int16[] outputBuffer, UIntPtr outputBufferNumElements);
  314. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  315. public static extern bool ovr_NetSync_GetListenerPosition(long connection_id, UInt64 sessionId, ref ovrNetSyncVec3 position);
  316. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  317. public static extern UIntPtr ovr_NetSync_GetMonostreamFloatPCM(long connection_id, UInt64 sessionId, float[] outputBuffer, UIntPtr outputBufferNumElements);
  318. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  319. public static extern UIntPtr ovr_NetSync_GetMonostreamInt16PCM(long connection_id, UInt64 session_id, Int16[] outputBuffer, UIntPtr outputBufferNumElements);
  320. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  321. public static extern UIntPtr ovr_NetSync_GetPcmBufferMaxSamples();
  322. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  323. public static extern void ovr_NetSync_SetListenerPosition(long connection_id, ref ovrNetSyncVec3 position);
  324. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  325. public static extern void ovr_Net_Accept(UInt64 peerID);
  326. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  327. public static extern bool ovr_Net_AcceptForCurrentRoom();
  328. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  329. public static extern void ovr_Net_Close(UInt64 peerID);
  330. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  331. public static extern void ovr_Net_CloseForCurrentRoom();
  332. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  333. public static extern void ovr_Net_Connect(UInt64 peerID);
  334. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  335. public static extern bool ovr_Net_IsConnected(UInt64 peerID);
  336. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  337. public static extern ulong ovr_Net_Ping(UInt64 peerID);
  338. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  339. public static extern IntPtr ovr_Net_ReadPacket();
  340. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  341. public static extern bool ovr_Net_SendPacket(UInt64 userID, UIntPtr length, byte[] bytes, SendPolicy policy);
  342. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  343. public static extern bool ovr_Net_SendPacketToCurrentRoom(UIntPtr length, byte[] bytes, SendPolicy policy);
  344. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  345. public static extern int ovr_Party_PluginGetSharedMemHandle();
  346. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  347. public static extern VoipMuteState ovr_Party_PluginGetVoipMicrophoneMuted();
  348. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  349. public static extern bool ovr_Party_PluginGetVoipPassthrough();
  350. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  351. public static extern SystemVoipStatus ovr_Party_PluginGetVoipStatus();
  352. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  353. public static extern void ovr_Voip_Accept(UInt64 userID);
  354. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  355. public static extern VoipDtxState ovr_Voip_GetIsConnectionUsingDtx(UInt64 peerID);
  356. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  357. public static extern VoipBitrate ovr_Voip_GetLocalBitrate(UInt64 peerID);
  358. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  359. public static extern UIntPtr ovr_Voip_GetOutputBufferMaxSize();
  360. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  361. public static extern UIntPtr ovr_Voip_GetPCM(UInt64 senderID, Int16[] outputBuffer, UIntPtr outputBufferNumElements);
  362. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  363. public static extern UIntPtr ovr_Voip_GetPCMFloat(UInt64 senderID, float[] outputBuffer, UIntPtr outputBufferNumElements);
  364. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  365. public static extern UIntPtr ovr_Voip_GetPCMSize(UInt64 senderID);
  366. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  367. public static extern UIntPtr ovr_Voip_GetPCMWithTimestamp(UInt64 senderID, Int16[] outputBuffer, UIntPtr outputBufferNumElements, UInt32[] timestamp);
  368. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  369. public static extern UIntPtr ovr_Voip_GetPCMWithTimestampFloat(UInt64 senderID, float[] outputBuffer, UIntPtr outputBufferNumElements, UInt32[] timestamp);
  370. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  371. public static extern VoipBitrate ovr_Voip_GetRemoteBitrate(UInt64 peerID);
  372. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  373. public static extern UInt32 ovr_Voip_GetSyncTimestamp(UInt64 userID);
  374. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  375. public static extern long ovr_Voip_GetSyncTimestampDifference(UInt32 lhs, UInt32 rhs);
  376. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  377. public static extern VoipMuteState ovr_Voip_GetSystemVoipMicrophoneMuted();
  378. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  379. public static extern SystemVoipStatus ovr_Voip_GetSystemVoipStatus();
  380. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  381. public static extern void ovr_Voip_SetMicrophoneMuted(VoipMuteState state);
  382. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  383. public static extern void ovr_Voip_SetNewConnectionOptions(IntPtr voipOptions);
  384. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  385. public static extern void ovr_Voip_SetOutputSampleRate(VoipSampleRate rate);
  386. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  387. public static extern void ovr_Voip_Start(UInt64 userID);
  388. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  389. public static extern void ovr_Voip_Stop(UInt64 userID);
  390. public static ulong ovr_Achievements_AddCount(string name, ulong count) {
  391. IntPtr name_native = StringToNative(name);
  392. var result = (ovr_Achievements_AddCount_Native(name_native, count));
  393. Marshal.FreeCoTaskMem(name_native);
  394. return result;
  395. }
  396. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Achievements_AddCount")]
  397. private static extern ulong ovr_Achievements_AddCount_Native(IntPtr name, ulong count);
  398. public static ulong ovr_Achievements_AddFields(string name, string fields) {
  399. IntPtr name_native = StringToNative(name);
  400. IntPtr fields_native = StringToNative(fields);
  401. var result = (ovr_Achievements_AddFields_Native(name_native, fields_native));
  402. Marshal.FreeCoTaskMem(name_native);
  403. Marshal.FreeCoTaskMem(fields_native);
  404. return result;
  405. }
  406. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Achievements_AddFields")]
  407. private static extern ulong ovr_Achievements_AddFields_Native(IntPtr name, IntPtr fields);
  408. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  409. public static extern ulong ovr_Achievements_GetAllDefinitions();
  410. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  411. public static extern ulong ovr_Achievements_GetAllProgress();
  412. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  413. public static extern ulong ovr_Achievements_GetDefinitionsByName(string[] names, int count);
  414. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  415. public static extern ulong ovr_Achievements_GetProgressByName(string[] names, int count);
  416. public static ulong ovr_Achievements_Unlock(string name) {
  417. IntPtr name_native = StringToNative(name);
  418. var result = (ovr_Achievements_Unlock_Native(name_native));
  419. Marshal.FreeCoTaskMem(name_native);
  420. return result;
  421. }
  422. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Achievements_Unlock")]
  423. private static extern ulong ovr_Achievements_Unlock_Native(IntPtr name);
  424. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  425. public static extern ulong ovr_Application_ExecuteCoordinatedLaunch(ulong appID, ulong roomID);
  426. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  427. public static extern ulong ovr_Application_GetInstalledApplications();
  428. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  429. public static extern ulong ovr_Application_GetVersion();
  430. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  431. public static extern ulong ovr_Application_LaunchOtherApp(UInt64 appID, IntPtr deeplink_options);
  432. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  433. public static extern ulong ovr_ApplicationLifecycle_GetRegisteredPIDs();
  434. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  435. public static extern ulong ovr_ApplicationLifecycle_GetSessionKey();
  436. public static ulong ovr_ApplicationLifecycle_RegisterSessionKey(string sessionKey) {
  437. IntPtr sessionKey_native = StringToNative(sessionKey);
  438. var result = (ovr_ApplicationLifecycle_RegisterSessionKey_Native(sessionKey_native));
  439. Marshal.FreeCoTaskMem(sessionKey_native);
  440. return result;
  441. }
  442. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_ApplicationLifecycle_RegisterSessionKey")]
  443. private static extern ulong ovr_ApplicationLifecycle_RegisterSessionKey_Native(IntPtr sessionKey);
  444. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  445. public static extern ulong ovr_AssetFile_Delete(UInt64 assetFileID);
  446. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  447. public static extern ulong ovr_AssetFile_DeleteById(UInt64 assetFileID);
  448. public static ulong ovr_AssetFile_DeleteByName(string assetFileName) {
  449. IntPtr assetFileName_native = StringToNative(assetFileName);
  450. var result = (ovr_AssetFile_DeleteByName_Native(assetFileName_native));
  451. Marshal.FreeCoTaskMem(assetFileName_native);
  452. return result;
  453. }
  454. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFile_DeleteByName")]
  455. private static extern ulong ovr_AssetFile_DeleteByName_Native(IntPtr assetFileName);
  456. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  457. public static extern ulong ovr_AssetFile_Download(UInt64 assetFileID);
  458. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  459. public static extern ulong ovr_AssetFile_DownloadById(UInt64 assetFileID);
  460. public static ulong ovr_AssetFile_DownloadByName(string assetFileName) {
  461. IntPtr assetFileName_native = StringToNative(assetFileName);
  462. var result = (ovr_AssetFile_DownloadByName_Native(assetFileName_native));
  463. Marshal.FreeCoTaskMem(assetFileName_native);
  464. return result;
  465. }
  466. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFile_DownloadByName")]
  467. private static extern ulong ovr_AssetFile_DownloadByName_Native(IntPtr assetFileName);
  468. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  469. public static extern ulong ovr_AssetFile_DownloadCancel(UInt64 assetFileID);
  470. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  471. public static extern ulong ovr_AssetFile_DownloadCancelById(UInt64 assetFileID);
  472. public static ulong ovr_AssetFile_DownloadCancelByName(string assetFileName) {
  473. IntPtr assetFileName_native = StringToNative(assetFileName);
  474. var result = (ovr_AssetFile_DownloadCancelByName_Native(assetFileName_native));
  475. Marshal.FreeCoTaskMem(assetFileName_native);
  476. return result;
  477. }
  478. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFile_DownloadCancelByName")]
  479. private static extern ulong ovr_AssetFile_DownloadCancelByName_Native(IntPtr assetFileName);
  480. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  481. public static extern ulong ovr_AssetFile_GetList();
  482. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  483. public static extern ulong ovr_AssetFile_Status(UInt64 assetFileID);
  484. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  485. public static extern ulong ovr_AssetFile_StatusById(UInt64 assetFileID);
  486. public static ulong ovr_AssetFile_StatusByName(string assetFileName) {
  487. IntPtr assetFileName_native = StringToNative(assetFileName);
  488. var result = (ovr_AssetFile_StatusByName_Native(assetFileName_native));
  489. Marshal.FreeCoTaskMem(assetFileName_native);
  490. return result;
  491. }
  492. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFile_StatusByName")]
  493. private static extern ulong ovr_AssetFile_StatusByName_Native(IntPtr assetFileName);
  494. public static ulong ovr_Avatar_UpdateMetaData(string avatarMetaData, string imageFilePath) {
  495. IntPtr avatarMetaData_native = StringToNative(avatarMetaData);
  496. IntPtr imageFilePath_native = StringToNative(imageFilePath);
  497. var result = (ovr_Avatar_UpdateMetaData_Native(avatarMetaData_native, imageFilePath_native));
  498. Marshal.FreeCoTaskMem(avatarMetaData_native);
  499. Marshal.FreeCoTaskMem(imageFilePath_native);
  500. return result;
  501. }
  502. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Avatar_UpdateMetaData")]
  503. private static extern ulong ovr_Avatar_UpdateMetaData_Native(IntPtr avatarMetaData, IntPtr imageFilePath);
  504. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  505. public static extern ulong ovr_Cal_FinalizeApplication(UInt64 groupingObject, UInt64[] userIDs, int numUserIDs, UInt64 finalized_application_ID);
  506. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  507. public static extern ulong ovr_Cal_GetSuggestedApplications(UInt64 groupingObject, UInt64[] userIDs, int numUserIDs);
  508. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  509. public static extern ulong ovr_Cal_ProposeApplication(UInt64 groupingObject, UInt64[] userIDs, int numUserIDs, UInt64 proposed_application_ID);
  510. public static ulong ovr_CloudStorage_Delete(string bucket, string key) {
  511. IntPtr bucket_native = StringToNative(bucket);
  512. IntPtr key_native = StringToNative(key);
  513. var result = (ovr_CloudStorage_Delete_Native(bucket_native, key_native));
  514. Marshal.FreeCoTaskMem(bucket_native);
  515. Marshal.FreeCoTaskMem(key_native);
  516. return result;
  517. }
  518. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_Delete")]
  519. private static extern ulong ovr_CloudStorage_Delete_Native(IntPtr bucket, IntPtr key);
  520. public static ulong ovr_CloudStorage_Load(string bucket, string key) {
  521. IntPtr bucket_native = StringToNative(bucket);
  522. IntPtr key_native = StringToNative(key);
  523. var result = (ovr_CloudStorage_Load_Native(bucket_native, key_native));
  524. Marshal.FreeCoTaskMem(bucket_native);
  525. Marshal.FreeCoTaskMem(key_native);
  526. return result;
  527. }
  528. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_Load")]
  529. private static extern ulong ovr_CloudStorage_Load_Native(IntPtr bucket, IntPtr key);
  530. public static ulong ovr_CloudStorage_LoadBucketMetadata(string bucket) {
  531. IntPtr bucket_native = StringToNative(bucket);
  532. var result = (ovr_CloudStorage_LoadBucketMetadata_Native(bucket_native));
  533. Marshal.FreeCoTaskMem(bucket_native);
  534. return result;
  535. }
  536. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_LoadBucketMetadata")]
  537. private static extern ulong ovr_CloudStorage_LoadBucketMetadata_Native(IntPtr bucket);
  538. public static ulong ovr_CloudStorage_LoadConflictMetadata(string bucket, string key) {
  539. IntPtr bucket_native = StringToNative(bucket);
  540. IntPtr key_native = StringToNative(key);
  541. var result = (ovr_CloudStorage_LoadConflictMetadata_Native(bucket_native, key_native));
  542. Marshal.FreeCoTaskMem(bucket_native);
  543. Marshal.FreeCoTaskMem(key_native);
  544. return result;
  545. }
  546. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_LoadConflictMetadata")]
  547. private static extern ulong ovr_CloudStorage_LoadConflictMetadata_Native(IntPtr bucket, IntPtr key);
  548. public static ulong ovr_CloudStorage_LoadHandle(string handle) {
  549. IntPtr handle_native = StringToNative(handle);
  550. var result = (ovr_CloudStorage_LoadHandle_Native(handle_native));
  551. Marshal.FreeCoTaskMem(handle_native);
  552. return result;
  553. }
  554. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_LoadHandle")]
  555. private static extern ulong ovr_CloudStorage_LoadHandle_Native(IntPtr handle);
  556. public static ulong ovr_CloudStorage_LoadMetadata(string bucket, string key) {
  557. IntPtr bucket_native = StringToNative(bucket);
  558. IntPtr key_native = StringToNative(key);
  559. var result = (ovr_CloudStorage_LoadMetadata_Native(bucket_native, key_native));
  560. Marshal.FreeCoTaskMem(bucket_native);
  561. Marshal.FreeCoTaskMem(key_native);
  562. return result;
  563. }
  564. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_LoadMetadata")]
  565. private static extern ulong ovr_CloudStorage_LoadMetadata_Native(IntPtr bucket, IntPtr key);
  566. public static ulong ovr_CloudStorage_ResolveKeepLocal(string bucket, string key, string remoteHandle) {
  567. IntPtr bucket_native = StringToNative(bucket);
  568. IntPtr key_native = StringToNative(key);
  569. IntPtr remoteHandle_native = StringToNative(remoteHandle);
  570. var result = (ovr_CloudStorage_ResolveKeepLocal_Native(bucket_native, key_native, remoteHandle_native));
  571. Marshal.FreeCoTaskMem(bucket_native);
  572. Marshal.FreeCoTaskMem(key_native);
  573. Marshal.FreeCoTaskMem(remoteHandle_native);
  574. return result;
  575. }
  576. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_ResolveKeepLocal")]
  577. private static extern ulong ovr_CloudStorage_ResolveKeepLocal_Native(IntPtr bucket, IntPtr key, IntPtr remoteHandle);
  578. public static ulong ovr_CloudStorage_ResolveKeepRemote(string bucket, string key, string remoteHandle) {
  579. IntPtr bucket_native = StringToNative(bucket);
  580. IntPtr key_native = StringToNative(key);
  581. IntPtr remoteHandle_native = StringToNative(remoteHandle);
  582. var result = (ovr_CloudStorage_ResolveKeepRemote_Native(bucket_native, key_native, remoteHandle_native));
  583. Marshal.FreeCoTaskMem(bucket_native);
  584. Marshal.FreeCoTaskMem(key_native);
  585. Marshal.FreeCoTaskMem(remoteHandle_native);
  586. return result;
  587. }
  588. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_ResolveKeepRemote")]
  589. private static extern ulong ovr_CloudStorage_ResolveKeepRemote_Native(IntPtr bucket, IntPtr key, IntPtr remoteHandle);
  590. public static ulong ovr_CloudStorage_Save(string bucket, string key, byte[] data, uint dataSize, long counter, string extraData) {
  591. IntPtr bucket_native = StringToNative(bucket);
  592. IntPtr key_native = StringToNative(key);
  593. IntPtr extraData_native = StringToNative(extraData);
  594. var result = (ovr_CloudStorage_Save_Native(bucket_native, key_native, data, dataSize, counter, extraData_native));
  595. Marshal.FreeCoTaskMem(bucket_native);
  596. Marshal.FreeCoTaskMem(key_native);
  597. Marshal.FreeCoTaskMem(extraData_native);
  598. return result;
  599. }
  600. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage_Save")]
  601. private static extern ulong ovr_CloudStorage_Save_Native(IntPtr bucket, IntPtr key, byte[] data, uint dataSize, long counter, IntPtr extraData);
  602. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  603. public static extern ulong ovr_CloudStorage2_GetUserDirectoryPath();
  604. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  605. public static extern ulong ovr_Colocation_GetCurrentMapUuid();
  606. public static ulong ovr_Colocation_RequestMap(string uuid) {
  607. IntPtr uuid_native = StringToNative(uuid);
  608. var result = (ovr_Colocation_RequestMap_Native(uuid_native));
  609. Marshal.FreeCoTaskMem(uuid_native);
  610. return result;
  611. }
  612. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Colocation_RequestMap")]
  613. private static extern ulong ovr_Colocation_RequestMap_Native(IntPtr uuid);
  614. public static ulong ovr_Colocation_ShareMap(string uuid) {
  615. IntPtr uuid_native = StringToNative(uuid);
  616. var result = (ovr_Colocation_ShareMap_Native(uuid_native));
  617. Marshal.FreeCoTaskMem(uuid_native);
  618. return result;
  619. }
  620. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Colocation_ShareMap")]
  621. private static extern ulong ovr_Colocation_ShareMap_Native(IntPtr uuid);
  622. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  623. public static extern ulong ovr_Entitlement_GetIsViewerEntitled();
  624. public static ulong ovr_GraphAPI_Get(string url) {
  625. IntPtr url_native = StringToNative(url);
  626. var result = (ovr_GraphAPI_Get_Native(url_native));
  627. Marshal.FreeCoTaskMem(url_native);
  628. return result;
  629. }
  630. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_GraphAPI_Get")]
  631. private static extern ulong ovr_GraphAPI_Get_Native(IntPtr url);
  632. public static ulong ovr_GraphAPI_Post(string url) {
  633. IntPtr url_native = StringToNative(url);
  634. var result = (ovr_GraphAPI_Post_Native(url_native));
  635. Marshal.FreeCoTaskMem(url_native);
  636. return result;
  637. }
  638. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_GraphAPI_Post")]
  639. private static extern ulong ovr_GraphAPI_Post_Native(IntPtr url);
  640. public static ulong ovr_HTTP_Get(string url) {
  641. IntPtr url_native = StringToNative(url);
  642. var result = (ovr_HTTP_Get_Native(url_native));
  643. Marshal.FreeCoTaskMem(url_native);
  644. return result;
  645. }
  646. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_HTTP_Get")]
  647. private static extern ulong ovr_HTTP_Get_Native(IntPtr url);
  648. public static ulong ovr_HTTP_GetToFile(string url, string diskFile) {
  649. IntPtr url_native = StringToNative(url);
  650. IntPtr diskFile_native = StringToNative(diskFile);
  651. var result = (ovr_HTTP_GetToFile_Native(url_native, diskFile_native));
  652. Marshal.FreeCoTaskMem(url_native);
  653. Marshal.FreeCoTaskMem(diskFile_native);
  654. return result;
  655. }
  656. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_HTTP_GetToFile")]
  657. private static extern ulong ovr_HTTP_GetToFile_Native(IntPtr url, IntPtr diskFile);
  658. public static ulong ovr_HTTP_MultiPartPost(string url, string filepath_param_name, string filepath, string access_token, ovrKeyValuePair[] post_params) {
  659. IntPtr url_native = StringToNative(url);
  660. IntPtr filepath_param_name_native = StringToNative(filepath_param_name);
  661. IntPtr filepath_native = StringToNative(filepath);
  662. IntPtr access_token_native = StringToNative(access_token);
  663. UIntPtr post_params_length = (UIntPtr)post_params.Length;
  664. var result = (ovr_HTTP_MultiPartPost_Native(url_native, filepath_param_name_native, filepath_native, access_token_native, post_params, post_params_length));
  665. Marshal.FreeCoTaskMem(url_native);
  666. Marshal.FreeCoTaskMem(filepath_param_name_native);
  667. Marshal.FreeCoTaskMem(filepath_native);
  668. Marshal.FreeCoTaskMem(access_token_native);
  669. return result;
  670. }
  671. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_HTTP_MultiPartPost")]
  672. private static extern ulong ovr_HTTP_MultiPartPost_Native(IntPtr url, IntPtr filepath_param_name, IntPtr filepath, IntPtr access_token, ovrKeyValuePair[] post_params, UIntPtr numItems);
  673. public static ulong ovr_HTTP_Post(string url) {
  674. IntPtr url_native = StringToNative(url);
  675. var result = (ovr_HTTP_Post_Native(url_native));
  676. Marshal.FreeCoTaskMem(url_native);
  677. return result;
  678. }
  679. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_HTTP_Post")]
  680. private static extern ulong ovr_HTTP_Post_Native(IntPtr url);
  681. public static ulong ovr_IAP_ConsumePurchase(string sku) {
  682. IntPtr sku_native = StringToNative(sku);
  683. var result = (ovr_IAP_ConsumePurchase_Native(sku_native));
  684. Marshal.FreeCoTaskMem(sku_native);
  685. return result;
  686. }
  687. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_IAP_ConsumePurchase")]
  688. private static extern ulong ovr_IAP_ConsumePurchase_Native(IntPtr sku);
  689. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  690. public static extern ulong ovr_IAP_GetProductsBySKU(string[] skus, int count);
  691. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  692. public static extern ulong ovr_IAP_GetViewerPurchases();
  693. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  694. public static extern ulong ovr_IAP_GetViewerPurchasesDurableCache();
  695. public static ulong ovr_IAP_LaunchCheckoutFlow(string sku) {
  696. IntPtr sku_native = StringToNative(sku);
  697. var result = (ovr_IAP_LaunchCheckoutFlow_Native(sku_native));
  698. Marshal.FreeCoTaskMem(sku_native);
  699. return result;
  700. }
  701. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_IAP_LaunchCheckoutFlow")]
  702. private static extern ulong ovr_IAP_LaunchCheckoutFlow_Native(IntPtr sku);
  703. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  704. public static extern ulong ovr_LanguagePack_GetCurrent();
  705. public static ulong ovr_LanguagePack_SetCurrent(string tag) {
  706. IntPtr tag_native = StringToNative(tag);
  707. var result = (ovr_LanguagePack_SetCurrent_Native(tag_native));
  708. Marshal.FreeCoTaskMem(tag_native);
  709. return result;
  710. }
  711. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LanguagePack_SetCurrent")]
  712. private static extern ulong ovr_LanguagePack_SetCurrent_Native(IntPtr tag);
  713. public static ulong ovr_Leaderboard_GetEntries(string leaderboardName, int limit, LeaderboardFilterType filter, LeaderboardStartAt startAt) {
  714. IntPtr leaderboardName_native = StringToNative(leaderboardName);
  715. var result = (ovr_Leaderboard_GetEntries_Native(leaderboardName_native, limit, filter, startAt));
  716. Marshal.FreeCoTaskMem(leaderboardName_native);
  717. return result;
  718. }
  719. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Leaderboard_GetEntries")]
  720. private static extern ulong ovr_Leaderboard_GetEntries_Native(IntPtr leaderboardName, int limit, LeaderboardFilterType filter, LeaderboardStartAt startAt);
  721. public static ulong ovr_Leaderboard_GetEntriesAfterRank(string leaderboardName, int limit, ulong afterRank) {
  722. IntPtr leaderboardName_native = StringToNative(leaderboardName);
  723. var result = (ovr_Leaderboard_GetEntriesAfterRank_Native(leaderboardName_native, limit, afterRank));
  724. Marshal.FreeCoTaskMem(leaderboardName_native);
  725. return result;
  726. }
  727. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Leaderboard_GetEntriesAfterRank")]
  728. private static extern ulong ovr_Leaderboard_GetEntriesAfterRank_Native(IntPtr leaderboardName, int limit, ulong afterRank);
  729. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  730. public static extern ulong ovr_Leaderboard_GetNextEntries(IntPtr handle);
  731. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  732. public static extern ulong ovr_Leaderboard_GetPreviousEntries(IntPtr handle);
  733. public static ulong ovr_Leaderboard_WriteEntry(string leaderboardName, long score, byte[] extraData, uint extraDataLength, bool forceUpdate) {
  734. IntPtr leaderboardName_native = StringToNative(leaderboardName);
  735. var result = (ovr_Leaderboard_WriteEntry_Native(leaderboardName_native, score, extraData, extraDataLength, forceUpdate));
  736. Marshal.FreeCoTaskMem(leaderboardName_native);
  737. return result;
  738. }
  739. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Leaderboard_WriteEntry")]
  740. private static extern ulong ovr_Leaderboard_WriteEntry_Native(IntPtr leaderboardName, long score, byte[] extraData, uint extraDataLength, bool forceUpdate);
  741. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  742. public static extern ulong ovr_Livestreaming_GetStatus();
  743. public static ulong ovr_Livestreaming_IsAllowedForApplication(string packageName) {
  744. IntPtr packageName_native = StringToNative(packageName);
  745. var result = (ovr_Livestreaming_IsAllowedForApplication_Native(packageName_native));
  746. Marshal.FreeCoTaskMem(packageName_native);
  747. return result;
  748. }
  749. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Livestreaming_IsAllowedForApplication")]
  750. private static extern ulong ovr_Livestreaming_IsAllowedForApplication_Native(IntPtr packageName);
  751. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  752. public static extern ulong ovr_Livestreaming_PauseStream();
  753. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  754. public static extern ulong ovr_Livestreaming_ResumeStream();
  755. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  756. public static extern ulong ovr_Livestreaming_StartPartyStream();
  757. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  758. public static extern ulong ovr_Livestreaming_StartStream(LivestreamingAudience audience, LivestreamingMicrophoneStatus micStatus);
  759. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  760. public static extern ulong ovr_Livestreaming_StopPartyStream();
  761. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  762. public static extern ulong ovr_Livestreaming_StopStream();
  763. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  764. public static extern ulong ovr_Livestreaming_UpdateCommentsOverlayVisibility(bool isVisible);
  765. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  766. public static extern ulong ovr_Livestreaming_UpdateMicStatus(LivestreamingMicrophoneStatus micStatus);
  767. public static ulong ovr_Matchmaking_Browse(string pool, IntPtr customQueryData) {
  768. IntPtr pool_native = StringToNative(pool);
  769. var result = (ovr_Matchmaking_Browse_Native(pool_native, customQueryData));
  770. Marshal.FreeCoTaskMem(pool_native);
  771. return result;
  772. }
  773. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_Browse")]
  774. private static extern ulong ovr_Matchmaking_Browse_Native(IntPtr pool, IntPtr customQueryData);
  775. public static ulong ovr_Matchmaking_Browse2(string pool, IntPtr matchmakingOptions) {
  776. IntPtr pool_native = StringToNative(pool);
  777. var result = (ovr_Matchmaking_Browse2_Native(pool_native, matchmakingOptions));
  778. Marshal.FreeCoTaskMem(pool_native);
  779. return result;
  780. }
  781. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_Browse2")]
  782. private static extern ulong ovr_Matchmaking_Browse2_Native(IntPtr pool, IntPtr matchmakingOptions);
  783. public static ulong ovr_Matchmaking_Cancel(string pool, string requestHash) {
  784. IntPtr pool_native = StringToNative(pool);
  785. IntPtr requestHash_native = StringToNative(requestHash);
  786. var result = (ovr_Matchmaking_Cancel_Native(pool_native, requestHash_native));
  787. Marshal.FreeCoTaskMem(pool_native);
  788. Marshal.FreeCoTaskMem(requestHash_native);
  789. return result;
  790. }
  791. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_Cancel")]
  792. private static extern ulong ovr_Matchmaking_Cancel_Native(IntPtr pool, IntPtr requestHash);
  793. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  794. public static extern ulong ovr_Matchmaking_Cancel2();
  795. public static ulong ovr_Matchmaking_CreateAndEnqueueRoom(string pool, uint maxUsers, bool subscribeToUpdates, IntPtr customQueryData) {
  796. IntPtr pool_native = StringToNative(pool);
  797. var result = (ovr_Matchmaking_CreateAndEnqueueRoom_Native(pool_native, maxUsers, subscribeToUpdates, customQueryData));
  798. Marshal.FreeCoTaskMem(pool_native);
  799. return result;
  800. }
  801. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_CreateAndEnqueueRoom")]
  802. private static extern ulong ovr_Matchmaking_CreateAndEnqueueRoom_Native(IntPtr pool, uint maxUsers, bool subscribeToUpdates, IntPtr customQueryData);
  803. public static ulong ovr_Matchmaking_CreateAndEnqueueRoom2(string pool, IntPtr matchmakingOptions) {
  804. IntPtr pool_native = StringToNative(pool);
  805. var result = (ovr_Matchmaking_CreateAndEnqueueRoom2_Native(pool_native, matchmakingOptions));
  806. Marshal.FreeCoTaskMem(pool_native);
  807. return result;
  808. }
  809. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_CreateAndEnqueueRoom2")]
  810. private static extern ulong ovr_Matchmaking_CreateAndEnqueueRoom2_Native(IntPtr pool, IntPtr matchmakingOptions);
  811. public static ulong ovr_Matchmaking_CreateRoom(string pool, uint maxUsers, bool subscribeToUpdates) {
  812. IntPtr pool_native = StringToNative(pool);
  813. var result = (ovr_Matchmaking_CreateRoom_Native(pool_native, maxUsers, subscribeToUpdates));
  814. Marshal.FreeCoTaskMem(pool_native);
  815. return result;
  816. }
  817. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_CreateRoom")]
  818. private static extern ulong ovr_Matchmaking_CreateRoom_Native(IntPtr pool, uint maxUsers, bool subscribeToUpdates);
  819. public static ulong ovr_Matchmaking_CreateRoom2(string pool, IntPtr matchmakingOptions) {
  820. IntPtr pool_native = StringToNative(pool);
  821. var result = (ovr_Matchmaking_CreateRoom2_Native(pool_native, matchmakingOptions));
  822. Marshal.FreeCoTaskMem(pool_native);
  823. return result;
  824. }
  825. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_CreateRoom2")]
  826. private static extern ulong ovr_Matchmaking_CreateRoom2_Native(IntPtr pool, IntPtr matchmakingOptions);
  827. public static ulong ovr_Matchmaking_Enqueue(string pool, IntPtr customQueryData) {
  828. IntPtr pool_native = StringToNative(pool);
  829. var result = (ovr_Matchmaking_Enqueue_Native(pool_native, customQueryData));
  830. Marshal.FreeCoTaskMem(pool_native);
  831. return result;
  832. }
  833. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_Enqueue")]
  834. private static extern ulong ovr_Matchmaking_Enqueue_Native(IntPtr pool, IntPtr customQueryData);
  835. public static ulong ovr_Matchmaking_Enqueue2(string pool, IntPtr matchmakingOptions) {
  836. IntPtr pool_native = StringToNative(pool);
  837. var result = (ovr_Matchmaking_Enqueue2_Native(pool_native, matchmakingOptions));
  838. Marshal.FreeCoTaskMem(pool_native);
  839. return result;
  840. }
  841. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_Enqueue2")]
  842. private static extern ulong ovr_Matchmaking_Enqueue2_Native(IntPtr pool, IntPtr matchmakingOptions);
  843. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  844. public static extern ulong ovr_Matchmaking_EnqueueRoom(UInt64 roomID, IntPtr customQueryData);
  845. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  846. public static extern ulong ovr_Matchmaking_EnqueueRoom2(UInt64 roomID, IntPtr matchmakingOptions);
  847. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  848. public static extern ulong ovr_Matchmaking_GetAdminSnapshot();
  849. public static ulong ovr_Matchmaking_GetStats(string pool, uint maxLevel, MatchmakingStatApproach approach) {
  850. IntPtr pool_native = StringToNative(pool);
  851. var result = (ovr_Matchmaking_GetStats_Native(pool_native, maxLevel, approach));
  852. Marshal.FreeCoTaskMem(pool_native);
  853. return result;
  854. }
  855. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_GetStats")]
  856. private static extern ulong ovr_Matchmaking_GetStats_Native(IntPtr pool, uint maxLevel, MatchmakingStatApproach approach);
  857. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  858. public static extern ulong ovr_Matchmaking_JoinRoom(UInt64 roomID, bool subscribeToUpdates);
  859. public static ulong ovr_Matchmaking_ReportResultInsecure(UInt64 roomID, ovrKeyValuePair[] data) {
  860. UIntPtr data_length = (UIntPtr)data.Length;
  861. var result = (ovr_Matchmaking_ReportResultInsecure_Native(roomID, data, data_length));
  862. return result;
  863. }
  864. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Matchmaking_ReportResultInsecure")]
  865. private static extern ulong ovr_Matchmaking_ReportResultInsecure_Native(UInt64 roomID, ovrKeyValuePair[] data, UIntPtr numItems);
  866. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  867. public static extern ulong ovr_Matchmaking_StartMatch(UInt64 roomID);
  868. public static ulong ovr_Media_ShareToFacebook(string postTextSuggestion, string filePath, MediaContentType contentType) {
  869. IntPtr postTextSuggestion_native = StringToNative(postTextSuggestion);
  870. IntPtr filePath_native = StringToNative(filePath);
  871. var result = (ovr_Media_ShareToFacebook_Native(postTextSuggestion_native, filePath_native, contentType));
  872. Marshal.FreeCoTaskMem(postTextSuggestion_native);
  873. Marshal.FreeCoTaskMem(filePath_native);
  874. return result;
  875. }
  876. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Media_ShareToFacebook")]
  877. private static extern ulong ovr_Media_ShareToFacebook_Native(IntPtr postTextSuggestion, IntPtr filePath, MediaContentType contentType);
  878. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  879. public static extern ulong ovr_NetSync_Connect(IntPtr connect_options);
  880. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  881. public static extern ulong ovr_NetSync_Disconnect(long connection_id);
  882. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  883. public static extern ulong ovr_NetSync_GetSessions(long connection_id);
  884. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  885. public static extern ulong ovr_NetSync_GetVoipAttenuation(long connection_id);
  886. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  887. public static extern ulong ovr_NetSync_GetVoipAttenuationDefault();
  888. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  889. public static extern ulong ovr_NetSync_SetVoipAttenuation(long connection_id, float[] distances, float[] decibels, UIntPtr count);
  890. public static ulong ovr_NetSync_SetVoipGroup(long connection_id, string group_id) {
  891. IntPtr group_id_native = StringToNative(group_id);
  892. var result = (ovr_NetSync_SetVoipGroup_Native(connection_id, group_id_native));
  893. Marshal.FreeCoTaskMem(group_id_native);
  894. return result;
  895. }
  896. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_NetSync_SetVoipGroup")]
  897. private static extern ulong ovr_NetSync_SetVoipGroup_Native(long connection_id, IntPtr group_id);
  898. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  899. public static extern ulong ovr_NetSync_SetVoipMicSource(long connection_id, NetSyncVoipMicSource mic_source);
  900. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  901. public static extern ulong ovr_NetSync_SetVoipSessionMuted(long connection_id, UInt64 session_id, bool muted);
  902. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  903. public static extern ulong ovr_NetSync_SetVoipStreamMode(long connection_id, UInt64 sessionId, NetSyncVoipStreamMode streamMode);
  904. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  905. public static extern ulong ovr_Notification_GetRoomInvites();
  906. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  907. public static extern ulong ovr_Notification_MarkAsRead(UInt64 notificationID);
  908. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  909. public static extern ulong ovr_Party_Create();
  910. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  911. public static extern ulong ovr_Party_GatherInApplication(UInt64 partyID, UInt64 appID);
  912. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  913. public static extern ulong ovr_Party_Get(UInt64 partyID);
  914. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  915. public static extern ulong ovr_Party_GetCurrent();
  916. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  917. public static extern ulong ovr_Party_GetCurrentForUser(UInt64 userID);
  918. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  919. public static extern ulong ovr_Party_Invite(UInt64 partyID, UInt64 userID);
  920. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  921. public static extern ulong ovr_Party_Join(UInt64 partyID);
  922. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  923. public static extern ulong ovr_Party_Leave(UInt64 partyID);
  924. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  925. public static extern ulong ovr_RichPresence_Clear();
  926. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  927. public static extern ulong ovr_RichPresence_GetDestinations();
  928. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  929. public static extern ulong ovr_RichPresence_Set(IntPtr richPresenceOptions);
  930. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  931. public static extern ulong ovr_Room_CreateAndJoinPrivate(RoomJoinPolicy joinPolicy, uint maxUsers, bool subscribeToUpdates);
  932. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  933. public static extern ulong ovr_Room_CreateAndJoinPrivate2(RoomJoinPolicy joinPolicy, uint maxUsers, IntPtr roomOptions);
  934. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  935. public static extern ulong ovr_Room_Get(UInt64 roomID);
  936. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  937. public static extern ulong ovr_Room_GetCurrent();
  938. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  939. public static extern ulong ovr_Room_GetCurrentForUser(UInt64 userID);
  940. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  941. public static extern ulong ovr_Room_GetInvitableUsers();
  942. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  943. public static extern ulong ovr_Room_GetInvitableUsers2(IntPtr roomOptions);
  944. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  945. public static extern ulong ovr_Room_GetModeratedRooms();
  946. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  947. public static extern ulong ovr_Room_GetSocialRooms(UInt64 appID);
  948. public static ulong ovr_Room_InviteUser(UInt64 roomID, string inviteToken) {
  949. IntPtr inviteToken_native = StringToNative(inviteToken);
  950. var result = (ovr_Room_InviteUser_Native(roomID, inviteToken_native));
  951. Marshal.FreeCoTaskMem(inviteToken_native);
  952. return result;
  953. }
  954. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Room_InviteUser")]
  955. private static extern ulong ovr_Room_InviteUser_Native(UInt64 roomID, IntPtr inviteToken);
  956. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  957. public static extern ulong ovr_Room_Join(UInt64 roomID, bool subscribeToUpdates);
  958. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  959. public static extern ulong ovr_Room_Join2(UInt64 roomID, IntPtr roomOptions);
  960. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  961. public static extern ulong ovr_Room_KickUser(UInt64 roomID, UInt64 userID, int kickDurationSeconds);
  962. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  963. public static extern ulong ovr_Room_LaunchInvitableUserFlow(UInt64 roomID);
  964. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  965. public static extern ulong ovr_Room_Leave(UInt64 roomID);
  966. public static ulong ovr_Room_SetDescription(UInt64 roomID, string description) {
  967. IntPtr description_native = StringToNative(description);
  968. var result = (ovr_Room_SetDescription_Native(roomID, description_native));
  969. Marshal.FreeCoTaskMem(description_native);
  970. return result;
  971. }
  972. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Room_SetDescription")]
  973. private static extern ulong ovr_Room_SetDescription_Native(UInt64 roomID, IntPtr description);
  974. public static ulong ovr_Room_UpdateDataStore(UInt64 roomID, ovrKeyValuePair[] data) {
  975. UIntPtr data_length = (UIntPtr)data.Length;
  976. var result = (ovr_Room_UpdateDataStore_Native(roomID, data, data_length));
  977. return result;
  978. }
  979. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Room_UpdateDataStore")]
  980. private static extern ulong ovr_Room_UpdateDataStore_Native(UInt64 roomID, ovrKeyValuePair[] data, UIntPtr numItems);
  981. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  982. public static extern ulong ovr_Room_UpdateMembershipLockStatus(UInt64 roomID, RoomMembershipLockStatus membershipLockStatus);
  983. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  984. public static extern ulong ovr_Room_UpdateOwner(UInt64 roomID, UInt64 userID);
  985. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  986. public static extern ulong ovr_Room_UpdatePrivateRoomJoinPolicy(UInt64 roomID, RoomJoinPolicy newJoinPolicy);
  987. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  988. public static extern ulong ovr_SystemPermissions_GetStatus(PermissionType permType);
  989. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  990. public static extern ulong ovr_SystemPermissions_LaunchDeeplink(PermissionType permType);
  991. public static ulong ovr_User_CancelRecordingForReportFlow(string recordingUUID) {
  992. IntPtr recordingUUID_native = StringToNative(recordingUUID);
  993. var result = (ovr_User_CancelRecordingForReportFlow_Native(recordingUUID_native));
  994. Marshal.FreeCoTaskMem(recordingUUID_native);
  995. return result;
  996. }
  997. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_CancelRecordingForReportFlow")]
  998. private static extern ulong ovr_User_CancelRecordingForReportFlow_Native(IntPtr recordingUUID);
  999. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1000. public static extern ulong ovr_User_Get(UInt64 userID);
  1001. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1002. public static extern ulong ovr_User_GetAccessToken();
  1003. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1004. public static extern ulong ovr_User_GetLinkedAccounts(IntPtr userOptions);
  1005. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1006. public static extern ulong ovr_User_GetLoggedInUser();
  1007. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1008. public static extern ulong ovr_User_GetLoggedInUserFriends();
  1009. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1010. public static extern ulong ovr_User_GetLoggedInUserFriendsAndRooms();
  1011. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1012. public static extern ulong ovr_User_GetLoggedInUserRecentlyMetUsersAndRooms(IntPtr userOptions);
  1013. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1014. public static extern ulong ovr_User_GetOrgScopedID(UInt64 userID);
  1015. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1016. public static extern ulong ovr_User_GetSdkAccounts();
  1017. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1018. public static extern ulong ovr_User_GetUserProof();
  1019. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1020. public static extern ulong ovr_User_LaunchBlockFlow(UInt64 userID);
  1021. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1022. public static extern ulong ovr_User_LaunchFriendRequestFlow(UInt64 userID);
  1023. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1024. public static extern ulong ovr_User_LaunchProfile(UInt64 userID);
  1025. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1026. public static extern ulong ovr_User_LaunchReportFlow(UInt64 userID);
  1027. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1028. public static extern ulong ovr_User_LaunchReportFlow2(UInt64 optionalUserID, IntPtr abuseReportOptions);
  1029. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1030. public static extern ulong ovr_User_LaunchUnblockFlow(UInt64 userID);
  1031. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1032. public static extern ulong ovr_User_NewEntitledTestUser();
  1033. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1034. public static extern ulong ovr_User_NewTestUser();
  1035. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1036. public static extern ulong ovr_User_NewTestUserFriends();
  1037. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1038. public static extern ulong ovr_User_StartRecordingForReportFlow();
  1039. public static ulong ovr_User_StopRecordingAndLaunchReportFlow(UInt64 optionalUserID, string optionalRecordingUUID) {
  1040. IntPtr optionalRecordingUUID_native = StringToNative(optionalRecordingUUID);
  1041. var result = (ovr_User_StopRecordingAndLaunchReportFlow_Native(optionalUserID, optionalRecordingUUID_native));
  1042. Marshal.FreeCoTaskMem(optionalRecordingUUID_native);
  1043. return result;
  1044. }
  1045. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_StopRecordingAndLaunchReportFlow")]
  1046. private static extern ulong ovr_User_StopRecordingAndLaunchReportFlow_Native(UInt64 optionalUserID, IntPtr optionalRecordingUUID);
  1047. public static ulong ovr_User_StopRecordingAndLaunchReportFlow2(UInt64 optionalUserID, string optionalRecordingUUID, IntPtr abuseReportOptions) {
  1048. IntPtr optionalRecordingUUID_native = StringToNative(optionalRecordingUUID);
  1049. var result = (ovr_User_StopRecordingAndLaunchReportFlow2_Native(optionalUserID, optionalRecordingUUID_native, abuseReportOptions));
  1050. Marshal.FreeCoTaskMem(optionalRecordingUUID_native);
  1051. return result;
  1052. }
  1053. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_StopRecordingAndLaunchReportFlow2")]
  1054. private static extern ulong ovr_User_StopRecordingAndLaunchReportFlow2_Native(UInt64 optionalUserID, IntPtr optionalRecordingUUID, IntPtr abuseReportOptions);
  1055. public static ulong ovr_User_TestUserCreateDeviceManifest(string deviceID, UInt64[] appIDs, int numAppIDs) {
  1056. IntPtr deviceID_native = StringToNative(deviceID);
  1057. var result = (ovr_User_TestUserCreateDeviceManifest_Native(deviceID_native, appIDs, numAppIDs));
  1058. Marshal.FreeCoTaskMem(deviceID_native);
  1059. return result;
  1060. }
  1061. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_TestUserCreateDeviceManifest")]
  1062. private static extern ulong ovr_User_TestUserCreateDeviceManifest_Native(IntPtr deviceID, UInt64[] appIDs, int numAppIDs);
  1063. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1064. public static extern ulong ovr_Voip_SetSystemVoipSuppressed(bool suppressed);
  1065. public static string ovr_AbuseReportRecording_GetRecordingUuid(IntPtr obj) {
  1066. var result = StringFromNative(ovr_AbuseReportRecording_GetRecordingUuid_Native(obj));
  1067. return result;
  1068. }
  1069. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AbuseReportRecording_GetRecordingUuid")]
  1070. private static extern IntPtr ovr_AbuseReportRecording_GetRecordingUuid_Native(IntPtr obj);
  1071. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1072. public static extern uint ovr_AchievementDefinition_GetBitfieldLength(IntPtr obj);
  1073. public static string ovr_AchievementDefinition_GetName(IntPtr obj) {
  1074. var result = StringFromNative(ovr_AchievementDefinition_GetName_Native(obj));
  1075. return result;
  1076. }
  1077. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementDefinition_GetName")]
  1078. private static extern IntPtr ovr_AchievementDefinition_GetName_Native(IntPtr obj);
  1079. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1080. public static extern ulong ovr_AchievementDefinition_GetTarget(IntPtr obj);
  1081. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1082. public static extern AchievementType ovr_AchievementDefinition_GetType(IntPtr obj);
  1083. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1084. public static extern IntPtr ovr_AchievementDefinitionArray_GetElement(IntPtr obj, UIntPtr index);
  1085. public static string ovr_AchievementDefinitionArray_GetNextUrl(IntPtr obj) {
  1086. var result = StringFromNative(ovr_AchievementDefinitionArray_GetNextUrl_Native(obj));
  1087. return result;
  1088. }
  1089. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementDefinitionArray_GetNextUrl")]
  1090. private static extern IntPtr ovr_AchievementDefinitionArray_GetNextUrl_Native(IntPtr obj);
  1091. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1092. public static extern UIntPtr ovr_AchievementDefinitionArray_GetSize(IntPtr obj);
  1093. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1094. public static extern bool ovr_AchievementDefinitionArray_HasNextPage(IntPtr obj);
  1095. public static string ovr_AchievementProgress_GetBitfield(IntPtr obj) {
  1096. var result = StringFromNative(ovr_AchievementProgress_GetBitfield_Native(obj));
  1097. return result;
  1098. }
  1099. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementProgress_GetBitfield")]
  1100. private static extern IntPtr ovr_AchievementProgress_GetBitfield_Native(IntPtr obj);
  1101. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1102. public static extern ulong ovr_AchievementProgress_GetCount(IntPtr obj);
  1103. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1104. public static extern bool ovr_AchievementProgress_GetIsUnlocked(IntPtr obj);
  1105. public static string ovr_AchievementProgress_GetName(IntPtr obj) {
  1106. var result = StringFromNative(ovr_AchievementProgress_GetName_Native(obj));
  1107. return result;
  1108. }
  1109. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementProgress_GetName")]
  1110. private static extern IntPtr ovr_AchievementProgress_GetName_Native(IntPtr obj);
  1111. public static DateTime ovr_AchievementProgress_GetUnlockTime(IntPtr obj) {
  1112. var result = DateTimeFromNative(ovr_AchievementProgress_GetUnlockTime_Native(obj));
  1113. return result;
  1114. }
  1115. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementProgress_GetUnlockTime")]
  1116. private static extern ulong ovr_AchievementProgress_GetUnlockTime_Native(IntPtr obj);
  1117. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1118. public static extern IntPtr ovr_AchievementProgressArray_GetElement(IntPtr obj, UIntPtr index);
  1119. public static string ovr_AchievementProgressArray_GetNextUrl(IntPtr obj) {
  1120. var result = StringFromNative(ovr_AchievementProgressArray_GetNextUrl_Native(obj));
  1121. return result;
  1122. }
  1123. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementProgressArray_GetNextUrl")]
  1124. private static extern IntPtr ovr_AchievementProgressArray_GetNextUrl_Native(IntPtr obj);
  1125. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1126. public static extern UIntPtr ovr_AchievementProgressArray_GetSize(IntPtr obj);
  1127. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1128. public static extern bool ovr_AchievementProgressArray_HasNextPage(IntPtr obj);
  1129. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1130. public static extern bool ovr_AchievementUpdate_GetJustUnlocked(IntPtr obj);
  1131. public static string ovr_AchievementUpdate_GetName(IntPtr obj) {
  1132. var result = StringFromNative(ovr_AchievementUpdate_GetName_Native(obj));
  1133. return result;
  1134. }
  1135. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AchievementUpdate_GetName")]
  1136. private static extern IntPtr ovr_AchievementUpdate_GetName_Native(IntPtr obj);
  1137. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1138. public static extern UInt64 ovr_Application_GetID(IntPtr obj);
  1139. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1140. public static extern int ovr_ApplicationVersion_GetCurrentCode(IntPtr obj);
  1141. public static string ovr_ApplicationVersion_GetCurrentName(IntPtr obj) {
  1142. var result = StringFromNative(ovr_ApplicationVersion_GetCurrentName_Native(obj));
  1143. return result;
  1144. }
  1145. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_ApplicationVersion_GetCurrentName")]
  1146. private static extern IntPtr ovr_ApplicationVersion_GetCurrentName_Native(IntPtr obj);
  1147. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1148. public static extern int ovr_ApplicationVersion_GetLatestCode(IntPtr obj);
  1149. public static string ovr_ApplicationVersion_GetLatestName(IntPtr obj) {
  1150. var result = StringFromNative(ovr_ApplicationVersion_GetLatestName_Native(obj));
  1151. return result;
  1152. }
  1153. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_ApplicationVersion_GetLatestName")]
  1154. private static extern IntPtr ovr_ApplicationVersion_GetLatestName_Native(IntPtr obj);
  1155. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1156. public static extern UInt64 ovr_AssetDetails_GetAssetId(IntPtr obj);
  1157. public static string ovr_AssetDetails_GetAssetType(IntPtr obj) {
  1158. var result = StringFromNative(ovr_AssetDetails_GetAssetType_Native(obj));
  1159. return result;
  1160. }
  1161. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetDetails_GetAssetType")]
  1162. private static extern IntPtr ovr_AssetDetails_GetAssetType_Native(IntPtr obj);
  1163. public static string ovr_AssetDetails_GetDownloadStatus(IntPtr obj) {
  1164. var result = StringFromNative(ovr_AssetDetails_GetDownloadStatus_Native(obj));
  1165. return result;
  1166. }
  1167. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetDetails_GetDownloadStatus")]
  1168. private static extern IntPtr ovr_AssetDetails_GetDownloadStatus_Native(IntPtr obj);
  1169. public static string ovr_AssetDetails_GetFilepath(IntPtr obj) {
  1170. var result = StringFromNative(ovr_AssetDetails_GetFilepath_Native(obj));
  1171. return result;
  1172. }
  1173. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetDetails_GetFilepath")]
  1174. private static extern IntPtr ovr_AssetDetails_GetFilepath_Native(IntPtr obj);
  1175. public static string ovr_AssetDetails_GetIapStatus(IntPtr obj) {
  1176. var result = StringFromNative(ovr_AssetDetails_GetIapStatus_Native(obj));
  1177. return result;
  1178. }
  1179. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetDetails_GetIapStatus")]
  1180. private static extern IntPtr ovr_AssetDetails_GetIapStatus_Native(IntPtr obj);
  1181. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1182. public static extern IntPtr ovr_AssetDetails_GetLanguage(IntPtr obj);
  1183. public static string ovr_AssetDetails_GetMetadata(IntPtr obj) {
  1184. var result = StringFromNative(ovr_AssetDetails_GetMetadata_Native(obj));
  1185. return result;
  1186. }
  1187. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetDetails_GetMetadata")]
  1188. private static extern IntPtr ovr_AssetDetails_GetMetadata_Native(IntPtr obj);
  1189. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1190. public static extern IntPtr ovr_AssetDetailsArray_GetElement(IntPtr obj, UIntPtr index);
  1191. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1192. public static extern UIntPtr ovr_AssetDetailsArray_GetSize(IntPtr obj);
  1193. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1194. public static extern UInt64 ovr_AssetFileDeleteResult_GetAssetFileId(IntPtr obj);
  1195. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1196. public static extern UInt64 ovr_AssetFileDeleteResult_GetAssetId(IntPtr obj);
  1197. public static string ovr_AssetFileDeleteResult_GetFilepath(IntPtr obj) {
  1198. var result = StringFromNative(ovr_AssetFileDeleteResult_GetFilepath_Native(obj));
  1199. return result;
  1200. }
  1201. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFileDeleteResult_GetFilepath")]
  1202. private static extern IntPtr ovr_AssetFileDeleteResult_GetFilepath_Native(IntPtr obj);
  1203. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1204. public static extern bool ovr_AssetFileDeleteResult_GetSuccess(IntPtr obj);
  1205. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1206. public static extern UInt64 ovr_AssetFileDownloadCancelResult_GetAssetFileId(IntPtr obj);
  1207. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1208. public static extern UInt64 ovr_AssetFileDownloadCancelResult_GetAssetId(IntPtr obj);
  1209. public static string ovr_AssetFileDownloadCancelResult_GetFilepath(IntPtr obj) {
  1210. var result = StringFromNative(ovr_AssetFileDownloadCancelResult_GetFilepath_Native(obj));
  1211. return result;
  1212. }
  1213. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFileDownloadCancelResult_GetFilepath")]
  1214. private static extern IntPtr ovr_AssetFileDownloadCancelResult_GetFilepath_Native(IntPtr obj);
  1215. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1216. public static extern bool ovr_AssetFileDownloadCancelResult_GetSuccess(IntPtr obj);
  1217. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1218. public static extern UInt64 ovr_AssetFileDownloadResult_GetAssetId(IntPtr obj);
  1219. public static string ovr_AssetFileDownloadResult_GetFilepath(IntPtr obj) {
  1220. var result = StringFromNative(ovr_AssetFileDownloadResult_GetFilepath_Native(obj));
  1221. return result;
  1222. }
  1223. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_AssetFileDownloadResult_GetFilepath")]
  1224. private static extern IntPtr ovr_AssetFileDownloadResult_GetFilepath_Native(IntPtr obj);
  1225. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1226. public static extern UInt64 ovr_AssetFileDownloadUpdate_GetAssetFileId(IntPtr obj);
  1227. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1228. public static extern UInt64 ovr_AssetFileDownloadUpdate_GetAssetId(IntPtr obj);
  1229. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1230. public static extern uint ovr_AssetFileDownloadUpdate_GetBytesTotal(IntPtr obj);
  1231. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1232. public static extern int ovr_AssetFileDownloadUpdate_GetBytesTransferred(IntPtr obj);
  1233. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1234. public static extern bool ovr_AssetFileDownloadUpdate_GetCompleted(IntPtr obj);
  1235. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1236. public static extern int ovr_CalApplicationFinalized_GetCountdownMS(IntPtr obj);
  1237. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1238. public static extern UInt64 ovr_CalApplicationFinalized_GetID(IntPtr obj);
  1239. public static string ovr_CalApplicationFinalized_GetLaunchDetails(IntPtr obj) {
  1240. var result = StringFromNative(ovr_CalApplicationFinalized_GetLaunchDetails_Native(obj));
  1241. return result;
  1242. }
  1243. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CalApplicationFinalized_GetLaunchDetails")]
  1244. private static extern IntPtr ovr_CalApplicationFinalized_GetLaunchDetails_Native(IntPtr obj);
  1245. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1246. public static extern UInt64 ovr_CalApplicationProposed_GetID(IntPtr obj);
  1247. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1248. public static extern UInt64 ovr_CalApplicationSuggestion_GetID(IntPtr obj);
  1249. public static string ovr_CalApplicationSuggestion_GetSocialContext(IntPtr obj) {
  1250. var result = StringFromNative(ovr_CalApplicationSuggestion_GetSocialContext_Native(obj));
  1251. return result;
  1252. }
  1253. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CalApplicationSuggestion_GetSocialContext")]
  1254. private static extern IntPtr ovr_CalApplicationSuggestion_GetSocialContext_Native(IntPtr obj);
  1255. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1256. public static extern IntPtr ovr_CalApplicationSuggestionArray_GetElement(IntPtr obj, UIntPtr index);
  1257. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1258. public static extern UIntPtr ovr_CalApplicationSuggestionArray_GetSize(IntPtr obj);
  1259. public static string ovr_CloudStorage2UserDirectoryPathResponse_GetPath(IntPtr obj) {
  1260. var result = StringFromNative(ovr_CloudStorage2UserDirectoryPathResponse_GetPath_Native(obj));
  1261. return result;
  1262. }
  1263. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorage2UserDirectoryPathResponse_GetPath")]
  1264. private static extern IntPtr ovr_CloudStorage2UserDirectoryPathResponse_GetPath_Native(IntPtr obj);
  1265. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1266. public static extern IntPtr ovr_CloudStorageConflictMetadata_GetLocal(IntPtr obj);
  1267. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1268. public static extern IntPtr ovr_CloudStorageConflictMetadata_GetRemote(IntPtr obj);
  1269. public static string ovr_CloudStorageData_GetBucket(IntPtr obj) {
  1270. var result = StringFromNative(ovr_CloudStorageData_GetBucket_Native(obj));
  1271. return result;
  1272. }
  1273. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageData_GetBucket")]
  1274. private static extern IntPtr ovr_CloudStorageData_GetBucket_Native(IntPtr obj);
  1275. public static byte[] ovr_CloudStorageData_GetData(IntPtr obj) {
  1276. var result = FiledataFromNative(ovr_CloudStorageData_GetDataSize(obj), ovr_CloudStorageData_GetData_Native(obj));
  1277. return result;
  1278. }
  1279. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageData_GetData")]
  1280. private static extern IntPtr ovr_CloudStorageData_GetData_Native(IntPtr obj);
  1281. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1282. public static extern uint ovr_CloudStorageData_GetDataSize(IntPtr obj);
  1283. public static string ovr_CloudStorageData_GetKey(IntPtr obj) {
  1284. var result = StringFromNative(ovr_CloudStorageData_GetKey_Native(obj));
  1285. return result;
  1286. }
  1287. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageData_GetKey")]
  1288. private static extern IntPtr ovr_CloudStorageData_GetKey_Native(IntPtr obj);
  1289. public static string ovr_CloudStorageMetadata_GetBucket(IntPtr obj) {
  1290. var result = StringFromNative(ovr_CloudStorageMetadata_GetBucket_Native(obj));
  1291. return result;
  1292. }
  1293. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageMetadata_GetBucket")]
  1294. private static extern IntPtr ovr_CloudStorageMetadata_GetBucket_Native(IntPtr obj);
  1295. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1296. public static extern long ovr_CloudStorageMetadata_GetCounter(IntPtr obj);
  1297. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1298. public static extern uint ovr_CloudStorageMetadata_GetDataSize(IntPtr obj);
  1299. public static string ovr_CloudStorageMetadata_GetExtraData(IntPtr obj) {
  1300. var result = StringFromNative(ovr_CloudStorageMetadata_GetExtraData_Native(obj));
  1301. return result;
  1302. }
  1303. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageMetadata_GetExtraData")]
  1304. private static extern IntPtr ovr_CloudStorageMetadata_GetExtraData_Native(IntPtr obj);
  1305. public static string ovr_CloudStorageMetadata_GetKey(IntPtr obj) {
  1306. var result = StringFromNative(ovr_CloudStorageMetadata_GetKey_Native(obj));
  1307. return result;
  1308. }
  1309. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageMetadata_GetKey")]
  1310. private static extern IntPtr ovr_CloudStorageMetadata_GetKey_Native(IntPtr obj);
  1311. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1312. public static extern ulong ovr_CloudStorageMetadata_GetSaveTime(IntPtr obj);
  1313. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1314. public static extern CloudStorageDataStatus ovr_CloudStorageMetadata_GetStatus(IntPtr obj);
  1315. public static string ovr_CloudStorageMetadata_GetVersionHandle(IntPtr obj) {
  1316. var result = StringFromNative(ovr_CloudStorageMetadata_GetVersionHandle_Native(obj));
  1317. return result;
  1318. }
  1319. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageMetadata_GetVersionHandle")]
  1320. private static extern IntPtr ovr_CloudStorageMetadata_GetVersionHandle_Native(IntPtr obj);
  1321. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1322. public static extern IntPtr ovr_CloudStorageMetadataArray_GetElement(IntPtr obj, UIntPtr index);
  1323. public static string ovr_CloudStorageMetadataArray_GetNextUrl(IntPtr obj) {
  1324. var result = StringFromNative(ovr_CloudStorageMetadataArray_GetNextUrl_Native(obj));
  1325. return result;
  1326. }
  1327. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageMetadataArray_GetNextUrl")]
  1328. private static extern IntPtr ovr_CloudStorageMetadataArray_GetNextUrl_Native(IntPtr obj);
  1329. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1330. public static extern UIntPtr ovr_CloudStorageMetadataArray_GetSize(IntPtr obj);
  1331. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1332. public static extern bool ovr_CloudStorageMetadataArray_HasNextPage(IntPtr obj);
  1333. public static string ovr_CloudStorageUpdateResponse_GetBucket(IntPtr obj) {
  1334. var result = StringFromNative(ovr_CloudStorageUpdateResponse_GetBucket_Native(obj));
  1335. return result;
  1336. }
  1337. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageUpdateResponse_GetBucket")]
  1338. private static extern IntPtr ovr_CloudStorageUpdateResponse_GetBucket_Native(IntPtr obj);
  1339. public static string ovr_CloudStorageUpdateResponse_GetKey(IntPtr obj) {
  1340. var result = StringFromNative(ovr_CloudStorageUpdateResponse_GetKey_Native(obj));
  1341. return result;
  1342. }
  1343. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageUpdateResponse_GetKey")]
  1344. private static extern IntPtr ovr_CloudStorageUpdateResponse_GetKey_Native(IntPtr obj);
  1345. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1346. public static extern CloudStorageUpdateStatus ovr_CloudStorageUpdateResponse_GetStatus(IntPtr obj);
  1347. public static string ovr_CloudStorageUpdateResponse_GetVersionHandle(IntPtr obj) {
  1348. var result = StringFromNative(ovr_CloudStorageUpdateResponse_GetVersionHandle_Native(obj));
  1349. return result;
  1350. }
  1351. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_CloudStorageUpdateResponse_GetVersionHandle")]
  1352. private static extern IntPtr ovr_CloudStorageUpdateResponse_GetVersionHandle_Native(IntPtr obj);
  1353. public static uint ovr_DataStore_Contains(IntPtr obj, string key) {
  1354. IntPtr key_native = StringToNative(key);
  1355. var result = (ovr_DataStore_Contains_Native(obj, key_native));
  1356. Marshal.FreeCoTaskMem(key_native);
  1357. return result;
  1358. }
  1359. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_DataStore_Contains")]
  1360. private static extern uint ovr_DataStore_Contains_Native(IntPtr obj, IntPtr key);
  1361. public static string ovr_DataStore_GetKey(IntPtr obj, int index) {
  1362. var result = StringFromNative(ovr_DataStore_GetKey_Native(obj, index));
  1363. return result;
  1364. }
  1365. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_DataStore_GetKey")]
  1366. private static extern IntPtr ovr_DataStore_GetKey_Native(IntPtr obj, int index);
  1367. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1368. public static extern UIntPtr ovr_DataStore_GetNumKeys(IntPtr obj);
  1369. public static string ovr_DataStore_GetValue(IntPtr obj, string key) {
  1370. IntPtr key_native = StringToNative(key);
  1371. var result = StringFromNative(ovr_DataStore_GetValue_Native(obj, key_native));
  1372. Marshal.FreeCoTaskMem(key_native);
  1373. return result;
  1374. }
  1375. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_DataStore_GetValue")]
  1376. private static extern IntPtr ovr_DataStore_GetValue_Native(IntPtr obj, IntPtr key);
  1377. public static string ovr_Destination_GetApiName(IntPtr obj) {
  1378. var result = StringFromNative(ovr_Destination_GetApiName_Native(obj));
  1379. return result;
  1380. }
  1381. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Destination_GetApiName")]
  1382. private static extern IntPtr ovr_Destination_GetApiName_Native(IntPtr obj);
  1383. public static string ovr_Destination_GetDeeplinkMessage(IntPtr obj) {
  1384. var result = StringFromNative(ovr_Destination_GetDeeplinkMessage_Native(obj));
  1385. return result;
  1386. }
  1387. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Destination_GetDeeplinkMessage")]
  1388. private static extern IntPtr ovr_Destination_GetDeeplinkMessage_Native(IntPtr obj);
  1389. public static string ovr_Destination_GetDisplayName(IntPtr obj) {
  1390. var result = StringFromNative(ovr_Destination_GetDisplayName_Native(obj));
  1391. return result;
  1392. }
  1393. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Destination_GetDisplayName")]
  1394. private static extern IntPtr ovr_Destination_GetDisplayName_Native(IntPtr obj);
  1395. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1396. public static extern IntPtr ovr_DestinationArray_GetElement(IntPtr obj, UIntPtr index);
  1397. public static string ovr_DestinationArray_GetNextUrl(IntPtr obj) {
  1398. var result = StringFromNative(ovr_DestinationArray_GetNextUrl_Native(obj));
  1399. return result;
  1400. }
  1401. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_DestinationArray_GetNextUrl")]
  1402. private static extern IntPtr ovr_DestinationArray_GetNextUrl_Native(IntPtr obj);
  1403. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1404. public static extern UIntPtr ovr_DestinationArray_GetSize(IntPtr obj);
  1405. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1406. public static extern bool ovr_DestinationArray_HasNextPage(IntPtr obj);
  1407. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1408. public static extern int ovr_Error_GetCode(IntPtr obj);
  1409. public static string ovr_Error_GetDisplayableMessage(IntPtr obj) {
  1410. var result = StringFromNative(ovr_Error_GetDisplayableMessage_Native(obj));
  1411. return result;
  1412. }
  1413. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Error_GetDisplayableMessage")]
  1414. private static extern IntPtr ovr_Error_GetDisplayableMessage_Native(IntPtr obj);
  1415. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1416. public static extern int ovr_Error_GetHttpCode(IntPtr obj);
  1417. public static string ovr_Error_GetMessage(IntPtr obj) {
  1418. var result = StringFromNative(ovr_Error_GetMessage_Native(obj));
  1419. return result;
  1420. }
  1421. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Error_GetMessage")]
  1422. private static extern IntPtr ovr_Error_GetMessage_Native(IntPtr obj);
  1423. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1424. public static extern IntPtr ovr_HttpTransferUpdate_GetBytes(IntPtr obj);
  1425. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1426. public static extern ulong ovr_HttpTransferUpdate_GetID(IntPtr obj);
  1427. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1428. public static extern UIntPtr ovr_HttpTransferUpdate_GetSize(IntPtr obj);
  1429. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1430. public static extern bool ovr_HttpTransferUpdate_IsCompleted(IntPtr obj);
  1431. public static string ovr_InstalledApplication_GetApplicationId(IntPtr obj) {
  1432. var result = StringFromNative(ovr_InstalledApplication_GetApplicationId_Native(obj));
  1433. return result;
  1434. }
  1435. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_InstalledApplication_GetApplicationId")]
  1436. private static extern IntPtr ovr_InstalledApplication_GetApplicationId_Native(IntPtr obj);
  1437. public static string ovr_InstalledApplication_GetPackageName(IntPtr obj) {
  1438. var result = StringFromNative(ovr_InstalledApplication_GetPackageName_Native(obj));
  1439. return result;
  1440. }
  1441. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_InstalledApplication_GetPackageName")]
  1442. private static extern IntPtr ovr_InstalledApplication_GetPackageName_Native(IntPtr obj);
  1443. public static string ovr_InstalledApplication_GetStatus(IntPtr obj) {
  1444. var result = StringFromNative(ovr_InstalledApplication_GetStatus_Native(obj));
  1445. return result;
  1446. }
  1447. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_InstalledApplication_GetStatus")]
  1448. private static extern IntPtr ovr_InstalledApplication_GetStatus_Native(IntPtr obj);
  1449. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1450. public static extern int ovr_InstalledApplication_GetVersionCode(IntPtr obj);
  1451. public static string ovr_InstalledApplication_GetVersionName(IntPtr obj) {
  1452. var result = StringFromNative(ovr_InstalledApplication_GetVersionName_Native(obj));
  1453. return result;
  1454. }
  1455. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_InstalledApplication_GetVersionName")]
  1456. private static extern IntPtr ovr_InstalledApplication_GetVersionName_Native(IntPtr obj);
  1457. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1458. public static extern IntPtr ovr_InstalledApplicationArray_GetElement(IntPtr obj, UIntPtr index);
  1459. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1460. public static extern UIntPtr ovr_InstalledApplicationArray_GetSize(IntPtr obj);
  1461. public static string ovr_LanguagePackInfo_GetEnglishName(IntPtr obj) {
  1462. var result = StringFromNative(ovr_LanguagePackInfo_GetEnglishName_Native(obj));
  1463. return result;
  1464. }
  1465. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LanguagePackInfo_GetEnglishName")]
  1466. private static extern IntPtr ovr_LanguagePackInfo_GetEnglishName_Native(IntPtr obj);
  1467. public static string ovr_LanguagePackInfo_GetNativeName(IntPtr obj) {
  1468. var result = StringFromNative(ovr_LanguagePackInfo_GetNativeName_Native(obj));
  1469. return result;
  1470. }
  1471. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LanguagePackInfo_GetNativeName")]
  1472. private static extern IntPtr ovr_LanguagePackInfo_GetNativeName_Native(IntPtr obj);
  1473. public static string ovr_LanguagePackInfo_GetTag(IntPtr obj) {
  1474. var result = StringFromNative(ovr_LanguagePackInfo_GetTag_Native(obj));
  1475. return result;
  1476. }
  1477. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LanguagePackInfo_GetTag")]
  1478. private static extern IntPtr ovr_LanguagePackInfo_GetTag_Native(IntPtr obj);
  1479. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1480. public static extern bool ovr_LaunchBlockFlowResult_GetDidBlock(IntPtr obj);
  1481. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1482. public static extern bool ovr_LaunchBlockFlowResult_GetDidCancel(IntPtr obj);
  1483. public static string ovr_LaunchDetails_GetDeeplinkMessage(IntPtr obj) {
  1484. var result = StringFromNative(ovr_LaunchDetails_GetDeeplinkMessage_Native(obj));
  1485. return result;
  1486. }
  1487. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LaunchDetails_GetDeeplinkMessage")]
  1488. private static extern IntPtr ovr_LaunchDetails_GetDeeplinkMessage_Native(IntPtr obj);
  1489. public static string ovr_LaunchDetails_GetDestinationApiName(IntPtr obj) {
  1490. var result = StringFromNative(ovr_LaunchDetails_GetDestinationApiName_Native(obj));
  1491. return result;
  1492. }
  1493. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LaunchDetails_GetDestinationApiName")]
  1494. private static extern IntPtr ovr_LaunchDetails_GetDestinationApiName_Native(IntPtr obj);
  1495. public static string ovr_LaunchDetails_GetLaunchSource(IntPtr obj) {
  1496. var result = StringFromNative(ovr_LaunchDetails_GetLaunchSource_Native(obj));
  1497. return result;
  1498. }
  1499. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LaunchDetails_GetLaunchSource")]
  1500. private static extern IntPtr ovr_LaunchDetails_GetLaunchSource_Native(IntPtr obj);
  1501. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1502. public static extern LaunchType ovr_LaunchDetails_GetLaunchType(IntPtr obj);
  1503. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1504. public static extern UInt64 ovr_LaunchDetails_GetRoomID(IntPtr obj);
  1505. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1506. public static extern IntPtr ovr_LaunchDetails_GetUsers(IntPtr obj);
  1507. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1508. public static extern bool ovr_LaunchFriendRequestFlowResult_GetDidCancel(IntPtr obj);
  1509. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1510. public static extern bool ovr_LaunchFriendRequestFlowResult_GetDidSendRequest(IntPtr obj);
  1511. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1512. public static extern bool ovr_LaunchReportFlowResult_GetDidCancel(IntPtr obj);
  1513. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1514. public static extern UInt64 ovr_LaunchReportFlowResult_GetUserReportId(IntPtr obj);
  1515. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1516. public static extern bool ovr_LaunchUnblockFlowResult_GetDidCancel(IntPtr obj);
  1517. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1518. public static extern bool ovr_LaunchUnblockFlowResult_GetDidUnblock(IntPtr obj);
  1519. public static byte[] ovr_LeaderboardEntry_GetExtraData(IntPtr obj) {
  1520. var result = BlobFromNative(ovr_LeaderboardEntry_GetExtraDataLength(obj), ovr_LeaderboardEntry_GetExtraData_Native(obj));
  1521. return result;
  1522. }
  1523. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LeaderboardEntry_GetExtraData")]
  1524. private static extern IntPtr ovr_LeaderboardEntry_GetExtraData_Native(IntPtr obj);
  1525. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1526. public static extern uint ovr_LeaderboardEntry_GetExtraDataLength(IntPtr obj);
  1527. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1528. public static extern int ovr_LeaderboardEntry_GetRank(IntPtr obj);
  1529. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1530. public static extern long ovr_LeaderboardEntry_GetScore(IntPtr obj);
  1531. public static DateTime ovr_LeaderboardEntry_GetTimestamp(IntPtr obj) {
  1532. var result = DateTimeFromNative(ovr_LeaderboardEntry_GetTimestamp_Native(obj));
  1533. return result;
  1534. }
  1535. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LeaderboardEntry_GetTimestamp")]
  1536. private static extern ulong ovr_LeaderboardEntry_GetTimestamp_Native(IntPtr obj);
  1537. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1538. public static extern IntPtr ovr_LeaderboardEntry_GetUser(IntPtr obj);
  1539. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1540. public static extern IntPtr ovr_LeaderboardEntryArray_GetElement(IntPtr obj, UIntPtr index);
  1541. public static string ovr_LeaderboardEntryArray_GetNextUrl(IntPtr obj) {
  1542. var result = StringFromNative(ovr_LeaderboardEntryArray_GetNextUrl_Native(obj));
  1543. return result;
  1544. }
  1545. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LeaderboardEntryArray_GetNextUrl")]
  1546. private static extern IntPtr ovr_LeaderboardEntryArray_GetNextUrl_Native(IntPtr obj);
  1547. public static string ovr_LeaderboardEntryArray_GetPreviousUrl(IntPtr obj) {
  1548. var result = StringFromNative(ovr_LeaderboardEntryArray_GetPreviousUrl_Native(obj));
  1549. return result;
  1550. }
  1551. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LeaderboardEntryArray_GetPreviousUrl")]
  1552. private static extern IntPtr ovr_LeaderboardEntryArray_GetPreviousUrl_Native(IntPtr obj);
  1553. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1554. public static extern UIntPtr ovr_LeaderboardEntryArray_GetSize(IntPtr obj);
  1555. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1556. public static extern ulong ovr_LeaderboardEntryArray_GetTotalCount(IntPtr obj);
  1557. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1558. public static extern bool ovr_LeaderboardEntryArray_HasNextPage(IntPtr obj);
  1559. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1560. public static extern bool ovr_LeaderboardEntryArray_HasPreviousPage(IntPtr obj);
  1561. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1562. public static extern bool ovr_LeaderboardUpdateStatus_GetDidUpdate(IntPtr obj);
  1563. public static string ovr_LinkedAccount_GetAccessToken(IntPtr obj) {
  1564. var result = StringFromNative(ovr_LinkedAccount_GetAccessToken_Native(obj));
  1565. return result;
  1566. }
  1567. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LinkedAccount_GetAccessToken")]
  1568. private static extern IntPtr ovr_LinkedAccount_GetAccessToken_Native(IntPtr obj);
  1569. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1570. public static extern ServiceProvider ovr_LinkedAccount_GetServiceProvider(IntPtr obj);
  1571. public static string ovr_LinkedAccount_GetUserId(IntPtr obj) {
  1572. var result = StringFromNative(ovr_LinkedAccount_GetUserId_Native(obj));
  1573. return result;
  1574. }
  1575. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LinkedAccount_GetUserId")]
  1576. private static extern IntPtr ovr_LinkedAccount_GetUserId_Native(IntPtr obj);
  1577. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1578. public static extern IntPtr ovr_LinkedAccountArray_GetElement(IntPtr obj, UIntPtr index);
  1579. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1580. public static extern UIntPtr ovr_LinkedAccountArray_GetSize(IntPtr obj);
  1581. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1582. public static extern bool ovr_LivestreamingApplicationStatus_GetStreamingEnabled(IntPtr obj);
  1583. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1584. public static extern LivestreamingStartStatus ovr_LivestreamingStartResult_GetStreamingResult(IntPtr obj);
  1585. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1586. public static extern bool ovr_LivestreamingStatus_GetCommentsVisible(IntPtr obj);
  1587. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1588. public static extern bool ovr_LivestreamingStatus_GetIsPaused(IntPtr obj);
  1589. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1590. public static extern bool ovr_LivestreamingStatus_GetLivestreamingEnabled(IntPtr obj);
  1591. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1592. public static extern int ovr_LivestreamingStatus_GetLivestreamingType(IntPtr obj);
  1593. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1594. public static extern bool ovr_LivestreamingStatus_GetMicEnabled(IntPtr obj);
  1595. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1596. public static extern int ovr_LivestreamingVideoStats_GetCommentCount(IntPtr obj);
  1597. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1598. public static extern int ovr_LivestreamingVideoStats_GetReactionCount(IntPtr obj);
  1599. public static string ovr_LivestreamingVideoStats_GetTotalViews(IntPtr obj) {
  1600. var result = StringFromNative(ovr_LivestreamingVideoStats_GetTotalViews_Native(obj));
  1601. return result;
  1602. }
  1603. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_LivestreamingVideoStats_GetTotalViews")]
  1604. private static extern IntPtr ovr_LivestreamingVideoStats_GetTotalViews_Native(IntPtr obj);
  1605. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1606. public static extern IntPtr ovr_MatchmakingAdminSnapshot_GetCandidates(IntPtr obj);
  1607. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1608. public static extern double ovr_MatchmakingAdminSnapshot_GetMyCurrentThreshold(IntPtr obj);
  1609. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1610. public static extern bool ovr_MatchmakingAdminSnapshotCandidate_GetCanMatch(IntPtr obj);
  1611. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1612. public static extern double ovr_MatchmakingAdminSnapshotCandidate_GetMyTotalScore(IntPtr obj);
  1613. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1614. public static extern double ovr_MatchmakingAdminSnapshotCandidate_GetTheirCurrentThreshold(IntPtr obj);
  1615. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1616. public static extern double ovr_MatchmakingAdminSnapshotCandidate_GetTheirTotalScore(IntPtr obj);
  1617. public static string ovr_MatchmakingAdminSnapshotCandidate_GetTraceId(IntPtr obj) {
  1618. var result = StringFromNative(ovr_MatchmakingAdminSnapshotCandidate_GetTraceId_Native(obj));
  1619. return result;
  1620. }
  1621. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingAdminSnapshotCandidate_GetTraceId")]
  1622. private static extern IntPtr ovr_MatchmakingAdminSnapshotCandidate_GetTraceId_Native(IntPtr obj);
  1623. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1624. public static extern IntPtr ovr_MatchmakingAdminSnapshotCandidateArray_GetElement(IntPtr obj, UIntPtr index);
  1625. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1626. public static extern UIntPtr ovr_MatchmakingAdminSnapshotCandidateArray_GetSize(IntPtr obj);
  1627. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1628. public static extern IntPtr ovr_MatchmakingBrowseResult_GetEnqueueResult(IntPtr obj);
  1629. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1630. public static extern IntPtr ovr_MatchmakingBrowseResult_GetRooms(IntPtr obj);
  1631. public static string ovr_MatchmakingCandidate_GetEntryHash(IntPtr obj) {
  1632. var result = StringFromNative(ovr_MatchmakingCandidate_GetEntryHash_Native(obj));
  1633. return result;
  1634. }
  1635. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingCandidate_GetEntryHash")]
  1636. private static extern IntPtr ovr_MatchmakingCandidate_GetEntryHash_Native(IntPtr obj);
  1637. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1638. public static extern ulong ovr_MatchmakingCandidate_GetUserId(IntPtr obj);
  1639. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1640. public static extern IntPtr ovr_MatchmakingCandidateArray_GetElement(IntPtr obj, UIntPtr index);
  1641. public static string ovr_MatchmakingCandidateArray_GetNextUrl(IntPtr obj) {
  1642. var result = StringFromNative(ovr_MatchmakingCandidateArray_GetNextUrl_Native(obj));
  1643. return result;
  1644. }
  1645. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingCandidateArray_GetNextUrl")]
  1646. private static extern IntPtr ovr_MatchmakingCandidateArray_GetNextUrl_Native(IntPtr obj);
  1647. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1648. public static extern UIntPtr ovr_MatchmakingCandidateArray_GetSize(IntPtr obj);
  1649. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1650. public static extern bool ovr_MatchmakingCandidateArray_HasNextPage(IntPtr obj);
  1651. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1652. public static extern IntPtr ovr_MatchmakingEnqueueResult_GetAdminSnapshot(IntPtr obj);
  1653. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1654. public static extern uint ovr_MatchmakingEnqueueResult_GetAverageWait(IntPtr obj);
  1655. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1656. public static extern uint ovr_MatchmakingEnqueueResult_GetMatchesInLastHourCount(IntPtr obj);
  1657. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1658. public static extern uint ovr_MatchmakingEnqueueResult_GetMaxExpectedWait(IntPtr obj);
  1659. public static string ovr_MatchmakingEnqueueResult_GetPool(IntPtr obj) {
  1660. var result = StringFromNative(ovr_MatchmakingEnqueueResult_GetPool_Native(obj));
  1661. return result;
  1662. }
  1663. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingEnqueueResult_GetPool")]
  1664. private static extern IntPtr ovr_MatchmakingEnqueueResult_GetPool_Native(IntPtr obj);
  1665. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1666. public static extern uint ovr_MatchmakingEnqueueResult_GetRecentMatchPercentage(IntPtr obj);
  1667. public static string ovr_MatchmakingEnqueueResult_GetRequestHash(IntPtr obj) {
  1668. var result = StringFromNative(ovr_MatchmakingEnqueueResult_GetRequestHash_Native(obj));
  1669. return result;
  1670. }
  1671. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingEnqueueResult_GetRequestHash")]
  1672. private static extern IntPtr ovr_MatchmakingEnqueueResult_GetRequestHash_Native(IntPtr obj);
  1673. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1674. public static extern IntPtr ovr_MatchmakingEnqueueResultAndRoom_GetMatchmakingEnqueueResult(IntPtr obj);
  1675. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1676. public static extern IntPtr ovr_MatchmakingEnqueueResultAndRoom_GetRoom(IntPtr obj);
  1677. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1678. public static extern UInt64 ovr_MatchmakingEnqueuedUser_GetAdditionalUserID(IntPtr obj, uint index);
  1679. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1680. public static extern uint ovr_MatchmakingEnqueuedUser_GetAdditionalUserIDsSize(IntPtr obj);
  1681. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1682. public static extern IntPtr ovr_MatchmakingEnqueuedUser_GetCustomData(IntPtr obj);
  1683. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1684. public static extern IntPtr ovr_MatchmakingEnqueuedUser_GetUser(IntPtr obj);
  1685. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1686. public static extern IntPtr ovr_MatchmakingEnqueuedUserArray_GetElement(IntPtr obj, UIntPtr index);
  1687. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1688. public static extern UIntPtr ovr_MatchmakingEnqueuedUserArray_GetSize(IntPtr obj);
  1689. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1690. public static extern ulong ovr_MatchmakingNotification_GetAddedByUserId(IntPtr obj);
  1691. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1692. public static extern IntPtr ovr_MatchmakingNotification_GetRoom(IntPtr obj);
  1693. public static string ovr_MatchmakingNotification_GetTraceId(IntPtr obj) {
  1694. var result = StringFromNative(ovr_MatchmakingNotification_GetTraceId_Native(obj));
  1695. return result;
  1696. }
  1697. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingNotification_GetTraceId")]
  1698. private static extern IntPtr ovr_MatchmakingNotification_GetTraceId_Native(IntPtr obj);
  1699. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1700. public static extern uint ovr_MatchmakingRoom_GetPingTime(IntPtr obj);
  1701. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1702. public static extern IntPtr ovr_MatchmakingRoom_GetRoom(IntPtr obj);
  1703. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1704. public static extern bool ovr_MatchmakingRoom_HasPingTime(IntPtr obj);
  1705. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1706. public static extern IntPtr ovr_MatchmakingRoomArray_GetElement(IntPtr obj, UIntPtr index);
  1707. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1708. public static extern UIntPtr ovr_MatchmakingRoomArray_GetSize(IntPtr obj);
  1709. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1710. public static extern uint ovr_MatchmakingStats_GetDrawCount(IntPtr obj);
  1711. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1712. public static extern uint ovr_MatchmakingStats_GetLossCount(IntPtr obj);
  1713. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1714. public static extern uint ovr_MatchmakingStats_GetSkillLevel(IntPtr obj);
  1715. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1716. public static extern double ovr_MatchmakingStats_GetSkillMean(IntPtr obj);
  1717. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1718. public static extern double ovr_MatchmakingStats_GetSkillStandardDeviation(IntPtr obj);
  1719. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1720. public static extern uint ovr_MatchmakingStats_GetWinCount(IntPtr obj);
  1721. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1722. public static extern IntPtr ovr_Message_GetAbuseReportRecording(IntPtr obj);
  1723. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1724. public static extern IntPtr ovr_Message_GetAchievementDefinitionArray(IntPtr obj);
  1725. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1726. public static extern IntPtr ovr_Message_GetAchievementProgressArray(IntPtr obj);
  1727. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1728. public static extern IntPtr ovr_Message_GetAchievementUpdate(IntPtr obj);
  1729. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1730. public static extern IntPtr ovr_Message_GetApplicationVersion(IntPtr obj);
  1731. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1732. public static extern IntPtr ovr_Message_GetAssetDetails(IntPtr obj);
  1733. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1734. public static extern IntPtr ovr_Message_GetAssetDetailsArray(IntPtr obj);
  1735. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1736. public static extern IntPtr ovr_Message_GetAssetFileDeleteResult(IntPtr obj);
  1737. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1738. public static extern IntPtr ovr_Message_GetAssetFileDownloadCancelResult(IntPtr obj);
  1739. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1740. public static extern IntPtr ovr_Message_GetAssetFileDownloadResult(IntPtr obj);
  1741. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1742. public static extern IntPtr ovr_Message_GetAssetFileDownloadUpdate(IntPtr obj);
  1743. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1744. public static extern IntPtr ovr_Message_GetCalApplicationFinalized(IntPtr obj);
  1745. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1746. public static extern IntPtr ovr_Message_GetCalApplicationProposed(IntPtr obj);
  1747. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1748. public static extern IntPtr ovr_Message_GetCalApplicationSuggestionArray(IntPtr obj);
  1749. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1750. public static extern IntPtr ovr_Message_GetCloudStorageConflictMetadata(IntPtr obj);
  1751. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1752. public static extern IntPtr ovr_Message_GetCloudStorageData(IntPtr obj);
  1753. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1754. public static extern IntPtr ovr_Message_GetCloudStorageMetadata(IntPtr obj);
  1755. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1756. public static extern IntPtr ovr_Message_GetCloudStorageMetadataArray(IntPtr obj);
  1757. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1758. public static extern IntPtr ovr_Message_GetCloudStorageUpdateResponse(IntPtr obj);
  1759. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1760. public static extern IntPtr ovr_Message_GetDestinationArray(IntPtr obj);
  1761. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1762. public static extern IntPtr ovr_Message_GetError(IntPtr obj);
  1763. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1764. public static extern IntPtr ovr_Message_GetHttpTransferUpdate(IntPtr obj);
  1765. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1766. public static extern IntPtr ovr_Message_GetInstalledApplicationArray(IntPtr obj);
  1767. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1768. public static extern IntPtr ovr_Message_GetLaunchBlockFlowResult(IntPtr obj);
  1769. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1770. public static extern IntPtr ovr_Message_GetLaunchFriendRequestFlowResult(IntPtr obj);
  1771. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1772. public static extern IntPtr ovr_Message_GetLaunchReportFlowResult(IntPtr obj);
  1773. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1774. public static extern IntPtr ovr_Message_GetLaunchUnblockFlowResult(IntPtr obj);
  1775. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1776. public static extern IntPtr ovr_Message_GetLeaderboardEntryArray(IntPtr obj);
  1777. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1778. public static extern IntPtr ovr_Message_GetLeaderboardUpdateStatus(IntPtr obj);
  1779. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1780. public static extern IntPtr ovr_Message_GetLinkedAccountArray(IntPtr obj);
  1781. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1782. public static extern IntPtr ovr_Message_GetLivestreamingApplicationStatus(IntPtr obj);
  1783. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1784. public static extern IntPtr ovr_Message_GetLivestreamingStartResult(IntPtr obj);
  1785. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1786. public static extern IntPtr ovr_Message_GetLivestreamingStatus(IntPtr obj);
  1787. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1788. public static extern IntPtr ovr_Message_GetLivestreamingVideoStats(IntPtr obj);
  1789. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1790. public static extern IntPtr ovr_Message_GetMatchmakingAdminSnapshot(IntPtr obj);
  1791. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1792. public static extern IntPtr ovr_Message_GetMatchmakingBrowseResult(IntPtr obj);
  1793. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1794. public static extern IntPtr ovr_Message_GetMatchmakingEnqueueResult(IntPtr obj);
  1795. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1796. public static extern IntPtr ovr_Message_GetMatchmakingEnqueueResultAndRoom(IntPtr obj);
  1797. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1798. public static extern IntPtr ovr_Message_GetMatchmakingRoomArray(IntPtr obj);
  1799. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1800. public static extern IntPtr ovr_Message_GetMatchmakingStats(IntPtr obj);
  1801. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1802. public static extern IntPtr ovr_Message_GetNativeMessage(IntPtr obj);
  1803. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1804. public static extern IntPtr ovr_Message_GetNetSyncConnection(IntPtr obj);
  1805. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1806. public static extern IntPtr ovr_Message_GetNetSyncSessionArray(IntPtr obj);
  1807. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1808. public static extern IntPtr ovr_Message_GetNetSyncSessionsChangedNotification(IntPtr obj);
  1809. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1810. public static extern IntPtr ovr_Message_GetNetSyncSetSessionPropertyResult(IntPtr obj);
  1811. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1812. public static extern IntPtr ovr_Message_GetNetSyncVoipAttenuationValueArray(IntPtr obj);
  1813. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1814. public static extern IntPtr ovr_Message_GetNetworkingPeer(IntPtr obj);
  1815. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1816. public static extern IntPtr ovr_Message_GetOrgScopedID(IntPtr obj);
  1817. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1818. public static extern IntPtr ovr_Message_GetParty(IntPtr obj);
  1819. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1820. public static extern IntPtr ovr_Message_GetPartyID(IntPtr obj);
  1821. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1822. public static extern IntPtr ovr_Message_GetPartyUpdateNotification(IntPtr obj);
  1823. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1824. public static extern IntPtr ovr_Message_GetPidArray(IntPtr obj);
  1825. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1826. public static extern IntPtr ovr_Message_GetPingResult(IntPtr obj);
  1827. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1828. public static extern IntPtr ovr_Message_GetPlatformInitialize(IntPtr obj);
  1829. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1830. public static extern IntPtr ovr_Message_GetProductArray(IntPtr obj);
  1831. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1832. public static extern IntPtr ovr_Message_GetPurchase(IntPtr obj);
  1833. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1834. public static extern IntPtr ovr_Message_GetPurchaseArray(IntPtr obj);
  1835. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1836. public static extern ulong ovr_Message_GetRequestID(IntPtr obj);
  1837. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1838. public static extern IntPtr ovr_Message_GetRoom(IntPtr obj);
  1839. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1840. public static extern IntPtr ovr_Message_GetRoomArray(IntPtr obj);
  1841. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1842. public static extern IntPtr ovr_Message_GetRoomInviteNotification(IntPtr obj);
  1843. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1844. public static extern IntPtr ovr_Message_GetRoomInviteNotificationArray(IntPtr obj);
  1845. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1846. public static extern IntPtr ovr_Message_GetSdkAccountArray(IntPtr obj);
  1847. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1848. public static extern IntPtr ovr_Message_GetShareMediaResult(IntPtr obj);
  1849. public static string ovr_Message_GetString(IntPtr obj) {
  1850. var result = StringFromNative(ovr_Message_GetString_Native(obj));
  1851. return result;
  1852. }
  1853. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Message_GetString")]
  1854. private static extern IntPtr ovr_Message_GetString_Native(IntPtr obj);
  1855. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1856. public static extern IntPtr ovr_Message_GetSystemPermission(IntPtr obj);
  1857. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1858. public static extern IntPtr ovr_Message_GetSystemVoipState(IntPtr obj);
  1859. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1860. public static extern Message.MessageType ovr_Message_GetType(IntPtr obj);
  1861. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1862. public static extern IntPtr ovr_Message_GetUser(IntPtr obj);
  1863. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1864. public static extern IntPtr ovr_Message_GetUserAndRoomArray(IntPtr obj);
  1865. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1866. public static extern IntPtr ovr_Message_GetUserArray(IntPtr obj);
  1867. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1868. public static extern IntPtr ovr_Message_GetUserProof(IntPtr obj);
  1869. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1870. public static extern IntPtr ovr_Message_GetUserReportID(IntPtr obj);
  1871. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1872. public static extern bool ovr_Message_IsError(IntPtr obj);
  1873. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1874. public static extern UIntPtr ovr_Microphone_GetNumSamplesAvailable(IntPtr obj);
  1875. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1876. public static extern UIntPtr ovr_Microphone_GetOutputBufferMaxSize(IntPtr obj);
  1877. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1878. public static extern UIntPtr ovr_Microphone_GetPCM(IntPtr obj, Int16[] outputBuffer, UIntPtr outputBufferNumElements);
  1879. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1880. public static extern UIntPtr ovr_Microphone_GetPCMFloat(IntPtr obj, float[] outputBuffer, UIntPtr outputBufferNumElements);
  1881. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1882. public static extern UIntPtr ovr_Microphone_ReadData(IntPtr obj, float[] outputBuffer, UIntPtr outputBufferSize);
  1883. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1884. public static extern void ovr_Microphone_SetAcceptableRecordingDelayHint(IntPtr obj, UIntPtr delayMs);
  1885. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1886. public static extern void ovr_Microphone_Start(IntPtr obj);
  1887. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1888. public static extern void ovr_Microphone_Stop(IntPtr obj);
  1889. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1890. public static extern long ovr_NetSyncConnection_GetConnectionId(IntPtr obj);
  1891. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1892. public static extern NetSyncDisconnectReason ovr_NetSyncConnection_GetDisconnectReason(IntPtr obj);
  1893. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1894. public static extern UInt64 ovr_NetSyncConnection_GetSessionId(IntPtr obj);
  1895. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1896. public static extern NetSyncConnectionStatus ovr_NetSyncConnection_GetStatus(IntPtr obj);
  1897. public static string ovr_NetSyncConnection_GetZoneId(IntPtr obj) {
  1898. var result = StringFromNative(ovr_NetSyncConnection_GetZoneId_Native(obj));
  1899. return result;
  1900. }
  1901. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_NetSyncConnection_GetZoneId")]
  1902. private static extern IntPtr ovr_NetSyncConnection_GetZoneId_Native(IntPtr obj);
  1903. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1904. public static extern long ovr_NetSyncSession_GetConnectionId(IntPtr obj);
  1905. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1906. public static extern bool ovr_NetSyncSession_GetMuted(IntPtr obj);
  1907. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1908. public static extern UInt64 ovr_NetSyncSession_GetSessionId(IntPtr obj);
  1909. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1910. public static extern UInt64 ovr_NetSyncSession_GetUserId(IntPtr obj);
  1911. public static string ovr_NetSyncSession_GetVoipGroup(IntPtr obj) {
  1912. var result = StringFromNative(ovr_NetSyncSession_GetVoipGroup_Native(obj));
  1913. return result;
  1914. }
  1915. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_NetSyncSession_GetVoipGroup")]
  1916. private static extern IntPtr ovr_NetSyncSession_GetVoipGroup_Native(IntPtr obj);
  1917. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1918. public static extern IntPtr ovr_NetSyncSessionArray_GetElement(IntPtr obj, UIntPtr index);
  1919. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1920. public static extern UIntPtr ovr_NetSyncSessionArray_GetSize(IntPtr obj);
  1921. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1922. public static extern long ovr_NetSyncSessionsChangedNotification_GetConnectionId(IntPtr obj);
  1923. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1924. public static extern IntPtr ovr_NetSyncSessionsChangedNotification_GetSessions(IntPtr obj);
  1925. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1926. public static extern IntPtr ovr_NetSyncSetSessionPropertyResult_GetSession(IntPtr obj);
  1927. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1928. public static extern float ovr_NetSyncVoipAttenuationValue_GetDecibels(IntPtr obj);
  1929. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1930. public static extern float ovr_NetSyncVoipAttenuationValue_GetDistance(IntPtr obj);
  1931. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1932. public static extern IntPtr ovr_NetSyncVoipAttenuationValueArray_GetElement(IntPtr obj, UIntPtr index);
  1933. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1934. public static extern UIntPtr ovr_NetSyncVoipAttenuationValueArray_GetSize(IntPtr obj);
  1935. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1936. public static extern UInt64 ovr_NetworkingPeer_GetID(IntPtr obj);
  1937. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1938. public static extern PeerConnectionState ovr_NetworkingPeer_GetState(IntPtr obj);
  1939. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1940. public static extern UInt64 ovr_OrgScopedID_GetID(IntPtr obj);
  1941. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1942. public static extern void ovr_Packet_Free(IntPtr obj);
  1943. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1944. public static extern IntPtr ovr_Packet_GetBytes(IntPtr obj);
  1945. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1946. public static extern SendPolicy ovr_Packet_GetSendPolicy(IntPtr obj);
  1947. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1948. public static extern UInt64 ovr_Packet_GetSenderID(IntPtr obj);
  1949. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1950. public static extern UIntPtr ovr_Packet_GetSize(IntPtr obj);
  1951. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1952. public static extern UInt64 ovr_Party_GetID(IntPtr obj);
  1953. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1954. public static extern IntPtr ovr_Party_GetInvitedUsers(IntPtr obj);
  1955. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1956. public static extern IntPtr ovr_Party_GetLeader(IntPtr obj);
  1957. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1958. public static extern IntPtr ovr_Party_GetRoom(IntPtr obj);
  1959. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1960. public static extern IntPtr ovr_Party_GetUsers(IntPtr obj);
  1961. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1962. public static extern UInt64 ovr_PartyID_GetID(IntPtr obj);
  1963. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1964. public static extern PartyUpdateAction ovr_PartyUpdateNotification_GetAction(IntPtr obj);
  1965. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1966. public static extern UInt64 ovr_PartyUpdateNotification_GetPartyId(IntPtr obj);
  1967. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1968. public static extern UInt64 ovr_PartyUpdateNotification_GetSenderId(IntPtr obj);
  1969. public static string ovr_PartyUpdateNotification_GetUpdateTimestamp(IntPtr obj) {
  1970. var result = StringFromNative(ovr_PartyUpdateNotification_GetUpdateTimestamp_Native(obj));
  1971. return result;
  1972. }
  1973. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_PartyUpdateNotification_GetUpdateTimestamp")]
  1974. private static extern IntPtr ovr_PartyUpdateNotification_GetUpdateTimestamp_Native(IntPtr obj);
  1975. public static string ovr_PartyUpdateNotification_GetUserAlias(IntPtr obj) {
  1976. var result = StringFromNative(ovr_PartyUpdateNotification_GetUserAlias_Native(obj));
  1977. return result;
  1978. }
  1979. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_PartyUpdateNotification_GetUserAlias")]
  1980. private static extern IntPtr ovr_PartyUpdateNotification_GetUserAlias_Native(IntPtr obj);
  1981. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1982. public static extern UInt64 ovr_PartyUpdateNotification_GetUserId(IntPtr obj);
  1983. public static string ovr_PartyUpdateNotification_GetUserName(IntPtr obj) {
  1984. var result = StringFromNative(ovr_PartyUpdateNotification_GetUserName_Native(obj));
  1985. return result;
  1986. }
  1987. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_PartyUpdateNotification_GetUserName")]
  1988. private static extern IntPtr ovr_PartyUpdateNotification_GetUserName_Native(IntPtr obj);
  1989. public static string ovr_Pid_GetId(IntPtr obj) {
  1990. var result = StringFromNative(ovr_Pid_GetId_Native(obj));
  1991. return result;
  1992. }
  1993. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Pid_GetId")]
  1994. private static extern IntPtr ovr_Pid_GetId_Native(IntPtr obj);
  1995. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1996. public static extern IntPtr ovr_PidArray_GetElement(IntPtr obj, UIntPtr index);
  1997. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  1998. public static extern UIntPtr ovr_PidArray_GetSize(IntPtr obj);
  1999. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2000. public static extern UInt64 ovr_PingResult_GetID(IntPtr obj);
  2001. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2002. public static extern ulong ovr_PingResult_GetPingTimeUsec(IntPtr obj);
  2003. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2004. public static extern bool ovr_PingResult_IsTimeout(IntPtr obj);
  2005. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2006. public static extern PlatformInitializeResult ovr_PlatformInitialize_GetResult(IntPtr obj);
  2007. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2008. public static extern uint ovr_Price_GetAmountInHundredths(IntPtr obj);
  2009. public static string ovr_Price_GetCurrency(IntPtr obj) {
  2010. var result = StringFromNative(ovr_Price_GetCurrency_Native(obj));
  2011. return result;
  2012. }
  2013. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Price_GetCurrency")]
  2014. private static extern IntPtr ovr_Price_GetCurrency_Native(IntPtr obj);
  2015. public static string ovr_Price_GetFormatted(IntPtr obj) {
  2016. var result = StringFromNative(ovr_Price_GetFormatted_Native(obj));
  2017. return result;
  2018. }
  2019. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Price_GetFormatted")]
  2020. private static extern IntPtr ovr_Price_GetFormatted_Native(IntPtr obj);
  2021. public static string ovr_Product_GetDescription(IntPtr obj) {
  2022. var result = StringFromNative(ovr_Product_GetDescription_Native(obj));
  2023. return result;
  2024. }
  2025. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Product_GetDescription")]
  2026. private static extern IntPtr ovr_Product_GetDescription_Native(IntPtr obj);
  2027. public static string ovr_Product_GetFormattedPrice(IntPtr obj) {
  2028. var result = StringFromNative(ovr_Product_GetFormattedPrice_Native(obj));
  2029. return result;
  2030. }
  2031. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Product_GetFormattedPrice")]
  2032. private static extern IntPtr ovr_Product_GetFormattedPrice_Native(IntPtr obj);
  2033. public static string ovr_Product_GetName(IntPtr obj) {
  2034. var result = StringFromNative(ovr_Product_GetName_Native(obj));
  2035. return result;
  2036. }
  2037. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Product_GetName")]
  2038. private static extern IntPtr ovr_Product_GetName_Native(IntPtr obj);
  2039. public static string ovr_Product_GetSKU(IntPtr obj) {
  2040. var result = StringFromNative(ovr_Product_GetSKU_Native(obj));
  2041. return result;
  2042. }
  2043. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Product_GetSKU")]
  2044. private static extern IntPtr ovr_Product_GetSKU_Native(IntPtr obj);
  2045. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2046. public static extern IntPtr ovr_ProductArray_GetElement(IntPtr obj, UIntPtr index);
  2047. public static string ovr_ProductArray_GetNextUrl(IntPtr obj) {
  2048. var result = StringFromNative(ovr_ProductArray_GetNextUrl_Native(obj));
  2049. return result;
  2050. }
  2051. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_ProductArray_GetNextUrl")]
  2052. private static extern IntPtr ovr_ProductArray_GetNextUrl_Native(IntPtr obj);
  2053. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2054. public static extern UIntPtr ovr_ProductArray_GetSize(IntPtr obj);
  2055. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2056. public static extern bool ovr_ProductArray_HasNextPage(IntPtr obj);
  2057. public static DateTime ovr_Purchase_GetExpirationTime(IntPtr obj) {
  2058. var result = DateTimeFromNative(ovr_Purchase_GetExpirationTime_Native(obj));
  2059. return result;
  2060. }
  2061. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Purchase_GetExpirationTime")]
  2062. private static extern ulong ovr_Purchase_GetExpirationTime_Native(IntPtr obj);
  2063. public static DateTime ovr_Purchase_GetGrantTime(IntPtr obj) {
  2064. var result = DateTimeFromNative(ovr_Purchase_GetGrantTime_Native(obj));
  2065. return result;
  2066. }
  2067. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Purchase_GetGrantTime")]
  2068. private static extern ulong ovr_Purchase_GetGrantTime_Native(IntPtr obj);
  2069. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2070. public static extern UInt64 ovr_Purchase_GetPurchaseID(IntPtr obj);
  2071. public static string ovr_Purchase_GetSKU(IntPtr obj) {
  2072. var result = StringFromNative(ovr_Purchase_GetSKU_Native(obj));
  2073. return result;
  2074. }
  2075. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Purchase_GetSKU")]
  2076. private static extern IntPtr ovr_Purchase_GetSKU_Native(IntPtr obj);
  2077. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2078. public static extern IntPtr ovr_PurchaseArray_GetElement(IntPtr obj, UIntPtr index);
  2079. public static string ovr_PurchaseArray_GetNextUrl(IntPtr obj) {
  2080. var result = StringFromNative(ovr_PurchaseArray_GetNextUrl_Native(obj));
  2081. return result;
  2082. }
  2083. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_PurchaseArray_GetNextUrl")]
  2084. private static extern IntPtr ovr_PurchaseArray_GetNextUrl_Native(IntPtr obj);
  2085. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2086. public static extern UIntPtr ovr_PurchaseArray_GetSize(IntPtr obj);
  2087. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2088. public static extern bool ovr_PurchaseArray_HasNextPage(IntPtr obj);
  2089. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2090. public static extern UInt64 ovr_Room_GetApplicationID(IntPtr obj);
  2091. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2092. public static extern IntPtr ovr_Room_GetDataStore(IntPtr obj);
  2093. public static string ovr_Room_GetDescription(IntPtr obj) {
  2094. var result = StringFromNative(ovr_Room_GetDescription_Native(obj));
  2095. return result;
  2096. }
  2097. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Room_GetDescription")]
  2098. private static extern IntPtr ovr_Room_GetDescription_Native(IntPtr obj);
  2099. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2100. public static extern UInt64 ovr_Room_GetID(IntPtr obj);
  2101. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2102. public static extern IntPtr ovr_Room_GetInvitedUsers(IntPtr obj);
  2103. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2104. public static extern bool ovr_Room_GetIsMembershipLocked(IntPtr obj);
  2105. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2106. public static extern RoomJoinPolicy ovr_Room_GetJoinPolicy(IntPtr obj);
  2107. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2108. public static extern RoomJoinability ovr_Room_GetJoinability(IntPtr obj);
  2109. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2110. public static extern IntPtr ovr_Room_GetMatchedUsers(IntPtr obj);
  2111. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2112. public static extern uint ovr_Room_GetMaxUsers(IntPtr obj);
  2113. public static string ovr_Room_GetName(IntPtr obj) {
  2114. var result = StringFromNative(ovr_Room_GetName_Native(obj));
  2115. return result;
  2116. }
  2117. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Room_GetName")]
  2118. private static extern IntPtr ovr_Room_GetName_Native(IntPtr obj);
  2119. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2120. public static extern IntPtr ovr_Room_GetOwner(IntPtr obj);
  2121. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2122. public static extern IntPtr ovr_Room_GetTeams(IntPtr obj);
  2123. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2124. public static extern RoomType ovr_Room_GetType(IntPtr obj);
  2125. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2126. public static extern IntPtr ovr_Room_GetUsers(IntPtr obj);
  2127. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2128. public static extern uint ovr_Room_GetVersion(IntPtr obj);
  2129. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2130. public static extern IntPtr ovr_RoomArray_GetElement(IntPtr obj, UIntPtr index);
  2131. public static string ovr_RoomArray_GetNextUrl(IntPtr obj) {
  2132. var result = StringFromNative(ovr_RoomArray_GetNextUrl_Native(obj));
  2133. return result;
  2134. }
  2135. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RoomArray_GetNextUrl")]
  2136. private static extern IntPtr ovr_RoomArray_GetNextUrl_Native(IntPtr obj);
  2137. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2138. public static extern UIntPtr ovr_RoomArray_GetSize(IntPtr obj);
  2139. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2140. public static extern bool ovr_RoomArray_HasNextPage(IntPtr obj);
  2141. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2142. public static extern UInt64 ovr_RoomInviteNotification_GetID(IntPtr obj);
  2143. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2144. public static extern UInt64 ovr_RoomInviteNotification_GetRoomID(IntPtr obj);
  2145. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2146. public static extern UInt64 ovr_RoomInviteNotification_GetSenderID(IntPtr obj);
  2147. public static DateTime ovr_RoomInviteNotification_GetSentTime(IntPtr obj) {
  2148. var result = DateTimeFromNative(ovr_RoomInviteNotification_GetSentTime_Native(obj));
  2149. return result;
  2150. }
  2151. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RoomInviteNotification_GetSentTime")]
  2152. private static extern ulong ovr_RoomInviteNotification_GetSentTime_Native(IntPtr obj);
  2153. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2154. public static extern IntPtr ovr_RoomInviteNotificationArray_GetElement(IntPtr obj, UIntPtr index);
  2155. public static string ovr_RoomInviteNotificationArray_GetNextUrl(IntPtr obj) {
  2156. var result = StringFromNative(ovr_RoomInviteNotificationArray_GetNextUrl_Native(obj));
  2157. return result;
  2158. }
  2159. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RoomInviteNotificationArray_GetNextUrl")]
  2160. private static extern IntPtr ovr_RoomInviteNotificationArray_GetNextUrl_Native(IntPtr obj);
  2161. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2162. public static extern UIntPtr ovr_RoomInviteNotificationArray_GetSize(IntPtr obj);
  2163. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2164. public static extern bool ovr_RoomInviteNotificationArray_HasNextPage(IntPtr obj);
  2165. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2166. public static extern SdkAccountType ovr_SdkAccount_GetAccountType(IntPtr obj);
  2167. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2168. public static extern UInt64 ovr_SdkAccount_GetUserId(IntPtr obj);
  2169. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2170. public static extern IntPtr ovr_SdkAccountArray_GetElement(IntPtr obj, UIntPtr index);
  2171. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2172. public static extern UIntPtr ovr_SdkAccountArray_GetSize(IntPtr obj);
  2173. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2174. public static extern ShareMediaStatus ovr_ShareMediaResult_GetStatus(IntPtr obj);
  2175. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2176. public static extern bool ovr_SystemPermission_GetHasPermission(IntPtr obj);
  2177. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2178. public static extern PermissionGrantStatus ovr_SystemPermission_GetPermissionGrantStatus(IntPtr obj);
  2179. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2180. public static extern VoipMuteState ovr_SystemVoipState_GetMicrophoneMuted(IntPtr obj);
  2181. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2182. public static extern SystemVoipStatus ovr_SystemVoipState_GetStatus(IntPtr obj);
  2183. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2184. public static extern IntPtr ovr_Team_GetAssignedUsers(IntPtr obj);
  2185. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2186. public static extern int ovr_Team_GetMaxUsers(IntPtr obj);
  2187. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2188. public static extern int ovr_Team_GetMinUsers(IntPtr obj);
  2189. public static string ovr_Team_GetName(IntPtr obj) {
  2190. var result = StringFromNative(ovr_Team_GetName_Native(obj));
  2191. return result;
  2192. }
  2193. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_Team_GetName")]
  2194. private static extern IntPtr ovr_Team_GetName_Native(IntPtr obj);
  2195. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2196. public static extern IntPtr ovr_TeamArray_GetElement(IntPtr obj, UIntPtr index);
  2197. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2198. public static extern UIntPtr ovr_TeamArray_GetSize(IntPtr obj);
  2199. public static string ovr_TestUser_GetAccessToken(IntPtr obj) {
  2200. var result = StringFromNative(ovr_TestUser_GetAccessToken_Native(obj));
  2201. return result;
  2202. }
  2203. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_TestUser_GetAccessToken")]
  2204. private static extern IntPtr ovr_TestUser_GetAccessToken_Native(IntPtr obj);
  2205. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2206. public static extern IntPtr ovr_TestUser_GetAppAccessArray(IntPtr obj);
  2207. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2208. public static extern IntPtr ovr_TestUser_GetFbAppAccessArray(IntPtr obj);
  2209. public static string ovr_TestUser_GetFriendAccessToken(IntPtr obj) {
  2210. var result = StringFromNative(ovr_TestUser_GetFriendAccessToken_Native(obj));
  2211. return result;
  2212. }
  2213. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_TestUser_GetFriendAccessToken")]
  2214. private static extern IntPtr ovr_TestUser_GetFriendAccessToken_Native(IntPtr obj);
  2215. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2216. public static extern IntPtr ovr_TestUser_GetFriendAppAccessArray(IntPtr obj);
  2217. public static string ovr_TestUser_GetUserAlias(IntPtr obj) {
  2218. var result = StringFromNative(ovr_TestUser_GetUserAlias_Native(obj));
  2219. return result;
  2220. }
  2221. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_TestUser_GetUserAlias")]
  2222. private static extern IntPtr ovr_TestUser_GetUserAlias_Native(IntPtr obj);
  2223. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2224. public static extern UInt64 ovr_TestUser_GetUserFbid(IntPtr obj);
  2225. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2226. public static extern UInt64 ovr_TestUser_GetUserId(IntPtr obj);
  2227. public static string ovr_TestUserAppAccess_GetAccessToken(IntPtr obj) {
  2228. var result = StringFromNative(ovr_TestUserAppAccess_GetAccessToken_Native(obj));
  2229. return result;
  2230. }
  2231. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_TestUserAppAccess_GetAccessToken")]
  2232. private static extern IntPtr ovr_TestUserAppAccess_GetAccessToken_Native(IntPtr obj);
  2233. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2234. public static extern UInt64 ovr_TestUserAppAccess_GetAppId(IntPtr obj);
  2235. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2236. public static extern UInt64 ovr_TestUserAppAccess_GetUserId(IntPtr obj);
  2237. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2238. public static extern IntPtr ovr_TestUserAppAccessArray_GetElement(IntPtr obj, UIntPtr index);
  2239. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2240. public static extern UIntPtr ovr_TestUserAppAccessArray_GetSize(IntPtr obj);
  2241. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2242. public static extern UInt64 ovr_User_GetID(IntPtr obj);
  2243. public static string ovr_User_GetImageUrl(IntPtr obj) {
  2244. var result = StringFromNative(ovr_User_GetImageUrl_Native(obj));
  2245. return result;
  2246. }
  2247. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetImageUrl")]
  2248. private static extern IntPtr ovr_User_GetImageUrl_Native(IntPtr obj);
  2249. public static string ovr_User_GetInviteToken(IntPtr obj) {
  2250. var result = StringFromNative(ovr_User_GetInviteToken_Native(obj));
  2251. return result;
  2252. }
  2253. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetInviteToken")]
  2254. private static extern IntPtr ovr_User_GetInviteToken_Native(IntPtr obj);
  2255. public static string ovr_User_GetOculusID(IntPtr obj) {
  2256. var result = StringFromNative(ovr_User_GetOculusID_Native(obj));
  2257. return result;
  2258. }
  2259. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetOculusID")]
  2260. private static extern IntPtr ovr_User_GetOculusID_Native(IntPtr obj);
  2261. public static string ovr_User_GetPresence(IntPtr obj) {
  2262. var result = StringFromNative(ovr_User_GetPresence_Native(obj));
  2263. return result;
  2264. }
  2265. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetPresence")]
  2266. private static extern IntPtr ovr_User_GetPresence_Native(IntPtr obj);
  2267. public static string ovr_User_GetPresenceDeeplinkMessage(IntPtr obj) {
  2268. var result = StringFromNative(ovr_User_GetPresenceDeeplinkMessage_Native(obj));
  2269. return result;
  2270. }
  2271. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetPresenceDeeplinkMessage")]
  2272. private static extern IntPtr ovr_User_GetPresenceDeeplinkMessage_Native(IntPtr obj);
  2273. public static string ovr_User_GetPresenceDestinationApiName(IntPtr obj) {
  2274. var result = StringFromNative(ovr_User_GetPresenceDestinationApiName_Native(obj));
  2275. return result;
  2276. }
  2277. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetPresenceDestinationApiName")]
  2278. private static extern IntPtr ovr_User_GetPresenceDestinationApiName_Native(IntPtr obj);
  2279. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2280. public static extern UserPresenceStatus ovr_User_GetPresenceStatus(IntPtr obj);
  2281. public static string ovr_User_GetSmallImageUrl(IntPtr obj) {
  2282. var result = StringFromNative(ovr_User_GetSmallImageUrl_Native(obj));
  2283. return result;
  2284. }
  2285. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_User_GetSmallImageUrl")]
  2286. private static extern IntPtr ovr_User_GetSmallImageUrl_Native(IntPtr obj);
  2287. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2288. public static extern IntPtr ovr_UserAndRoom_GetRoom(IntPtr obj);
  2289. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2290. public static extern IntPtr ovr_UserAndRoom_GetUser(IntPtr obj);
  2291. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2292. public static extern IntPtr ovr_UserAndRoomArray_GetElement(IntPtr obj, UIntPtr index);
  2293. public static string ovr_UserAndRoomArray_GetNextUrl(IntPtr obj) {
  2294. var result = StringFromNative(ovr_UserAndRoomArray_GetNextUrl_Native(obj));
  2295. return result;
  2296. }
  2297. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_UserAndRoomArray_GetNextUrl")]
  2298. private static extern IntPtr ovr_UserAndRoomArray_GetNextUrl_Native(IntPtr obj);
  2299. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2300. public static extern UIntPtr ovr_UserAndRoomArray_GetSize(IntPtr obj);
  2301. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2302. public static extern bool ovr_UserAndRoomArray_HasNextPage(IntPtr obj);
  2303. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2304. public static extern IntPtr ovr_UserArray_GetElement(IntPtr obj, UIntPtr index);
  2305. public static string ovr_UserArray_GetNextUrl(IntPtr obj) {
  2306. var result = StringFromNative(ovr_UserArray_GetNextUrl_Native(obj));
  2307. return result;
  2308. }
  2309. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_UserArray_GetNextUrl")]
  2310. private static extern IntPtr ovr_UserArray_GetNextUrl_Native(IntPtr obj);
  2311. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2312. public static extern UIntPtr ovr_UserArray_GetSize(IntPtr obj);
  2313. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2314. public static extern bool ovr_UserArray_HasNextPage(IntPtr obj);
  2315. public static string ovr_UserProof_GetNonce(IntPtr obj) {
  2316. var result = StringFromNative(ovr_UserProof_GetNonce_Native(obj));
  2317. return result;
  2318. }
  2319. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_UserProof_GetNonce")]
  2320. private static extern IntPtr ovr_UserProof_GetNonce_Native(IntPtr obj);
  2321. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2322. public static extern bool ovr_UserReportID_GetDidCancel(IntPtr obj);
  2323. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2324. public static extern UInt64 ovr_UserReportID_GetID(IntPtr obj);
  2325. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2326. public static extern void ovr_VoipDecoder_Decode(IntPtr obj, byte[] compressedData, UIntPtr compressedSize);
  2327. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2328. public static extern UIntPtr ovr_VoipDecoder_GetDecodedPCM(IntPtr obj, float[] outputBuffer, UIntPtr outputBufferSize);
  2329. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2330. public static extern void ovr_VoipEncoder_AddPCM(IntPtr obj, float[] inputData, uint inputSize);
  2331. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2332. public static extern UIntPtr ovr_VoipEncoder_GetCompressedData(IntPtr obj, byte[] outputBuffer, UIntPtr intputSize);
  2333. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2334. public static extern UIntPtr ovr_VoipEncoder_GetCompressedDataSize(IntPtr obj);
  2335. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2336. public static extern IntPtr ovr_AbuseReportOptions_Create();
  2337. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2338. public static extern void ovr_AbuseReportOptions_Destroy(IntPtr handle);
  2339. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2340. public static extern void ovr_AbuseReportOptions_SetPreventPeopleChooser(IntPtr handle, bool value);
  2341. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2342. public static extern void ovr_AbuseReportOptions_SetReportType(IntPtr handle, AbuseReportType value);
  2343. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2344. public static extern IntPtr ovr_ApplicationOptions_Create();
  2345. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2346. public static extern void ovr_ApplicationOptions_Destroy(IntPtr handle);
  2347. public static void ovr_ApplicationOptions_SetDeeplinkMessage(IntPtr handle, string value) {
  2348. IntPtr value_native = StringToNative(value);
  2349. ovr_ApplicationOptions_SetDeeplinkMessage_Native(handle, value_native);
  2350. Marshal.FreeCoTaskMem(value_native);
  2351. }
  2352. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_ApplicationOptions_SetDeeplinkMessage")]
  2353. private static extern void ovr_ApplicationOptions_SetDeeplinkMessage_Native(IntPtr handle, IntPtr value);
  2354. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2355. public static extern IntPtr ovr_MatchmakingOptions_Create();
  2356. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2357. public static extern void ovr_MatchmakingOptions_Destroy(IntPtr handle);
  2358. public static void ovr_MatchmakingOptions_SetCreateRoomDataStoreString(IntPtr handle, string key, string value) {
  2359. IntPtr key_native = StringToNative(key);
  2360. IntPtr value_native = StringToNative(value);
  2361. ovr_MatchmakingOptions_SetCreateRoomDataStoreString_Native(handle, key_native, value_native);
  2362. Marshal.FreeCoTaskMem(key_native);
  2363. Marshal.FreeCoTaskMem(value_native);
  2364. }
  2365. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingOptions_SetCreateRoomDataStoreString")]
  2366. private static extern void ovr_MatchmakingOptions_SetCreateRoomDataStoreString_Native(IntPtr handle, IntPtr key, IntPtr value);
  2367. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2368. public static extern void ovr_MatchmakingOptions_ClearCreateRoomDataStore(IntPtr handle);
  2369. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2370. public static extern void ovr_MatchmakingOptions_SetCreateRoomJoinPolicy(IntPtr handle, RoomJoinPolicy value);
  2371. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2372. public static extern void ovr_MatchmakingOptions_SetCreateRoomMaxUsers(IntPtr handle, uint value);
  2373. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2374. public static extern void ovr_MatchmakingOptions_AddEnqueueAdditionalUser(IntPtr handle, UInt64 value);
  2375. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2376. public static extern void ovr_MatchmakingOptions_ClearEnqueueAdditionalUsers(IntPtr handle);
  2377. public static void ovr_MatchmakingOptions_SetEnqueueDataSettingsInt(IntPtr handle, string key, int value) {
  2378. IntPtr key_native = StringToNative(key);
  2379. ovr_MatchmakingOptions_SetEnqueueDataSettingsInt_Native(handle, key_native, value);
  2380. Marshal.FreeCoTaskMem(key_native);
  2381. }
  2382. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingOptions_SetEnqueueDataSettingsInt")]
  2383. private static extern void ovr_MatchmakingOptions_SetEnqueueDataSettingsInt_Native(IntPtr handle, IntPtr key, int value);
  2384. public static void ovr_MatchmakingOptions_SetEnqueueDataSettingsDouble(IntPtr handle, string key, double value) {
  2385. IntPtr key_native = StringToNative(key);
  2386. ovr_MatchmakingOptions_SetEnqueueDataSettingsDouble_Native(handle, key_native, value);
  2387. Marshal.FreeCoTaskMem(key_native);
  2388. }
  2389. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingOptions_SetEnqueueDataSettingsDouble")]
  2390. private static extern void ovr_MatchmakingOptions_SetEnqueueDataSettingsDouble_Native(IntPtr handle, IntPtr key, double value);
  2391. public static void ovr_MatchmakingOptions_SetEnqueueDataSettingsString(IntPtr handle, string key, string value) {
  2392. IntPtr key_native = StringToNative(key);
  2393. IntPtr value_native = StringToNative(value);
  2394. ovr_MatchmakingOptions_SetEnqueueDataSettingsString_Native(handle, key_native, value_native);
  2395. Marshal.FreeCoTaskMem(key_native);
  2396. Marshal.FreeCoTaskMem(value_native);
  2397. }
  2398. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingOptions_SetEnqueueDataSettingsString")]
  2399. private static extern void ovr_MatchmakingOptions_SetEnqueueDataSettingsString_Native(IntPtr handle, IntPtr key, IntPtr value);
  2400. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2401. public static extern void ovr_MatchmakingOptions_ClearEnqueueDataSettings(IntPtr handle);
  2402. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2403. public static extern void ovr_MatchmakingOptions_SetEnqueueIsDebug(IntPtr handle, bool value);
  2404. public static void ovr_MatchmakingOptions_SetEnqueueQueryKey(IntPtr handle, string value) {
  2405. IntPtr value_native = StringToNative(value);
  2406. ovr_MatchmakingOptions_SetEnqueueQueryKey_Native(handle, value_native);
  2407. Marshal.FreeCoTaskMem(value_native);
  2408. }
  2409. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_MatchmakingOptions_SetEnqueueQueryKey")]
  2410. private static extern void ovr_MatchmakingOptions_SetEnqueueQueryKey_Native(IntPtr handle, IntPtr value);
  2411. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2412. public static extern IntPtr ovr_NetSyncOptions_Create();
  2413. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2414. public static extern void ovr_NetSyncOptions_Destroy(IntPtr handle);
  2415. public static void ovr_NetSyncOptions_SetVoipGroup(IntPtr handle, string value) {
  2416. IntPtr value_native = StringToNative(value);
  2417. ovr_NetSyncOptions_SetVoipGroup_Native(handle, value_native);
  2418. Marshal.FreeCoTaskMem(value_native);
  2419. }
  2420. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_NetSyncOptions_SetVoipGroup")]
  2421. private static extern void ovr_NetSyncOptions_SetVoipGroup_Native(IntPtr handle, IntPtr value);
  2422. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2423. public static extern void ovr_NetSyncOptions_SetVoipStreamDefault(IntPtr handle, NetSyncVoipStreamMode value);
  2424. public static void ovr_NetSyncOptions_SetZoneId(IntPtr handle, string value) {
  2425. IntPtr value_native = StringToNative(value);
  2426. ovr_NetSyncOptions_SetZoneId_Native(handle, value_native);
  2427. Marshal.FreeCoTaskMem(value_native);
  2428. }
  2429. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_NetSyncOptions_SetZoneId")]
  2430. private static extern void ovr_NetSyncOptions_SetZoneId_Native(IntPtr handle, IntPtr value);
  2431. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2432. public static extern IntPtr ovr_RichPresenceOptions_Create();
  2433. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2434. public static extern void ovr_RichPresenceOptions_Destroy(IntPtr handle);
  2435. public static void ovr_RichPresenceOptions_SetApiName(IntPtr handle, string value) {
  2436. IntPtr value_native = StringToNative(value);
  2437. ovr_RichPresenceOptions_SetApiName_Native(handle, value_native);
  2438. Marshal.FreeCoTaskMem(value_native);
  2439. }
  2440. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RichPresenceOptions_SetApiName")]
  2441. private static extern void ovr_RichPresenceOptions_SetApiName_Native(IntPtr handle, IntPtr value);
  2442. public static void ovr_RichPresenceOptions_SetArgsString(IntPtr handle, string key, string value) {
  2443. IntPtr key_native = StringToNative(key);
  2444. IntPtr value_native = StringToNative(value);
  2445. ovr_RichPresenceOptions_SetArgsString_Native(handle, key_native, value_native);
  2446. Marshal.FreeCoTaskMem(key_native);
  2447. Marshal.FreeCoTaskMem(value_native);
  2448. }
  2449. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RichPresenceOptions_SetArgsString")]
  2450. private static extern void ovr_RichPresenceOptions_SetArgsString_Native(IntPtr handle, IntPtr key, IntPtr value);
  2451. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2452. public static extern void ovr_RichPresenceOptions_ClearArgs(IntPtr handle);
  2453. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2454. public static extern void ovr_RichPresenceOptions_SetCurrentCapacity(IntPtr handle, uint value);
  2455. public static void ovr_RichPresenceOptions_SetDeeplinkMessageOverride(IntPtr handle, string value) {
  2456. IntPtr value_native = StringToNative(value);
  2457. ovr_RichPresenceOptions_SetDeeplinkMessageOverride_Native(handle, value_native);
  2458. Marshal.FreeCoTaskMem(value_native);
  2459. }
  2460. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RichPresenceOptions_SetDeeplinkMessageOverride")]
  2461. private static extern void ovr_RichPresenceOptions_SetDeeplinkMessageOverride_Native(IntPtr handle, IntPtr value);
  2462. public static void ovr_RichPresenceOptions_SetEndTime(IntPtr handle, DateTime value) {
  2463. ulong value_native = DateTimeToNative(value);
  2464. ovr_RichPresenceOptions_SetEndTime_Native(handle, value_native);
  2465. }
  2466. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RichPresenceOptions_SetEndTime")]
  2467. private static extern void ovr_RichPresenceOptions_SetEndTime_Native(IntPtr handle, ulong value);
  2468. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2469. public static extern void ovr_RichPresenceOptions_SetExtraContext(IntPtr handle, RichPresenceExtraContext value);
  2470. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2471. public static extern void ovr_RichPresenceOptions_SetIsIdle(IntPtr handle, bool value);
  2472. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2473. public static extern void ovr_RichPresenceOptions_SetIsJoinable(IntPtr handle, bool value);
  2474. public static void ovr_RichPresenceOptions_SetJoinableId(IntPtr handle, string value) {
  2475. IntPtr value_native = StringToNative(value);
  2476. ovr_RichPresenceOptions_SetJoinableId_Native(handle, value_native);
  2477. Marshal.FreeCoTaskMem(value_native);
  2478. }
  2479. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RichPresenceOptions_SetJoinableId")]
  2480. private static extern void ovr_RichPresenceOptions_SetJoinableId_Native(IntPtr handle, IntPtr value);
  2481. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2482. public static extern void ovr_RichPresenceOptions_SetMaxCapacity(IntPtr handle, uint value);
  2483. public static void ovr_RichPresenceOptions_SetStartTime(IntPtr handle, DateTime value) {
  2484. ulong value_native = DateTimeToNative(value);
  2485. ovr_RichPresenceOptions_SetStartTime_Native(handle, value_native);
  2486. }
  2487. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RichPresenceOptions_SetStartTime")]
  2488. private static extern void ovr_RichPresenceOptions_SetStartTime_Native(IntPtr handle, ulong value);
  2489. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2490. public static extern IntPtr ovr_RoomOptions_Create();
  2491. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2492. public static extern void ovr_RoomOptions_Destroy(IntPtr handle);
  2493. public static void ovr_RoomOptions_SetDataStoreString(IntPtr handle, string key, string value) {
  2494. IntPtr key_native = StringToNative(key);
  2495. IntPtr value_native = StringToNative(value);
  2496. ovr_RoomOptions_SetDataStoreString_Native(handle, key_native, value_native);
  2497. Marshal.FreeCoTaskMem(key_native);
  2498. Marshal.FreeCoTaskMem(value_native);
  2499. }
  2500. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl, EntryPoint="ovr_RoomOptions_SetDataStoreString")]
  2501. private static extern void ovr_RoomOptions_SetDataStoreString_Native(IntPtr handle, IntPtr key, IntPtr value);
  2502. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2503. public static extern void ovr_RoomOptions_ClearDataStore(IntPtr handle);
  2504. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2505. public static extern void ovr_RoomOptions_SetExcludeRecentlyMet(IntPtr handle, bool value);
  2506. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2507. public static extern void ovr_RoomOptions_SetMaxUserResults(IntPtr handle, uint value);
  2508. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2509. public static extern void ovr_RoomOptions_SetOrdering(IntPtr handle, UserOrdering value);
  2510. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2511. public static extern void ovr_RoomOptions_SetRecentlyMetTimeWindow(IntPtr handle, TimeWindow value);
  2512. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2513. public static extern void ovr_RoomOptions_SetRoomId(IntPtr handle, UInt64 value);
  2514. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2515. public static extern void ovr_RoomOptions_SetTurnOffUpdates(IntPtr handle, bool value);
  2516. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2517. public static extern IntPtr ovr_UserOptions_Create();
  2518. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2519. public static extern void ovr_UserOptions_Destroy(IntPtr handle);
  2520. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2521. public static extern void ovr_UserOptions_SetMaxUsers(IntPtr handle, uint value);
  2522. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2523. public static extern void ovr_UserOptions_AddServiceProvider(IntPtr handle, ServiceProvider value);
  2524. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2525. public static extern void ovr_UserOptions_ClearServiceProviders(IntPtr handle);
  2526. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2527. public static extern void ovr_UserOptions_SetTimeWindow(IntPtr handle, TimeWindow value);
  2528. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2529. public static extern IntPtr ovr_VoipOptions_Create();
  2530. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2531. public static extern void ovr_VoipOptions_Destroy(IntPtr handle);
  2532. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2533. public static extern void ovr_VoipOptions_SetBitrateForNewConnections(IntPtr handle, VoipBitrate value);
  2534. [DllImport(DLL_NAME, CallingConvention=CallingConvention.Cdecl)]
  2535. public static extern void ovr_VoipOptions_SetCreateNewConnectionUseDtx(IntPtr handle, VoipDtxState value);
  2536. }
  2537. }