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