public void ClearServiceProviders() { CAPI.ovr_UserOptions_ClearServiceProviders(Handle); }
public void SetStartDate(DateTime value) { CAPI.ovr_ChallengeOptions_SetStartDate(Handle, value); }
public void SetViewerFilter(ChallengeViewerFilter value) { CAPI.ovr_ChallengeOptions_SetViewerFilter(Handle, value); }
public ChallengeOptions() { Handle = CAPI.ovr_ChallengeOptions_Create(); }
public void SetIncludePastChallenges(bool value) { CAPI.ovr_ChallengeOptions_SetIncludePastChallenges(Handle, value); }
public AdvancedAbuseReportOptions() { Handle = CAPI.ovr_AdvancedAbuseReportOptions_Create(); }
public void SetReportType(AbuseReportType value) { CAPI.ovr_AdvancedAbuseReportOptions_SetReportType(Handle, value); }
public void SetCreateRoomMaxUsers(uint value) { CAPI.ovr_MatchmakingOptions_SetCreateRoomMaxUsers(Handle, value) : }
public void AddEnqueueAdditionalUser(UInt64 userID) { CAPI.ovr_MatchmakingOptions_AddEnqueueAdditionalUser(Handle, userID) : }
public void ClearCreateRoomDataStore() { CAPI.ovr_MatchmakingOptions_ClearCreateRoomDataStore(Handle) : }
public void SetCreateRoomJoinPolicy(RoomJoinPolicy value) { CAPI.ovr_MatchmakingOptions_SetCreateRoomJoinPolicy(Handle, value) : }
public void SetCreateRoomDataStore(string key, string value) { CAPI.ovr_MatchmakingOptions_SetCreateRoomDataStoreString(Handle, key, value) : }
public MatchmakingOptions() { Handle = CAPI.ovr_MatchmakingOptions_Create() : }
public void SetTimeWindow(TimeWindow value) { CAPI.ovr_UserOptions_SetTimeWindow(Handle, value); }
public IntPtr ToUnmanaged() { var customQueryUnmanaged = new CAPI.ovrMatchmakingCustomQueryData(); if (criteria != null && criteria.Length > 0) { customQueryUnmanaged.criterionArrayCount = (uint)criteria.Length; var temp = new CAPI.ovrMatchmakingCriterion[criteria.Length]; for (int i = 0; i < criteria.Length; i++) { temp[i].importance_ = criteria[i].importance; temp[i].key_ = criteria[i].key; if (criteria[i].parameters != null && criteria[i].parameters.Count > 0) { temp[i].parameterArrayCount = (uint)criteria[i].parameters.Count; temp[i].parameterArray = CAPI.ArrayOfStructsToIntPtr(CAPI.DictionaryToOVRKeyValuePairs(criteria[i].parameters)); } else { temp[i].parameterArrayCount = 0; temp[i].parameterArray = IntPtr.Zero; } } customQueryUnmanaged.criterionArray = CAPI.ArrayOfStructsToIntPtr(temp); } else { customQueryUnmanaged.criterionArrayCount = 0; customQueryUnmanaged.criterionArray = IntPtr.Zero; } if (data != null && data.Count > 0) { customQueryUnmanaged.dataArrayCount = (uint)data.Count; customQueryUnmanaged.dataArray = CAPI.ArrayOfStructsToIntPtr(CAPI.DictionaryToOVRKeyValuePairs(data)); } else { customQueryUnmanaged.dataArrayCount = 0; customQueryUnmanaged.dataArray = IntPtr.Zero; } IntPtr res = Marshal.AllocHGlobal(Marshal.SizeOf(customQueryUnmanaged)); Marshal.StructureToPtr(customQueryUnmanaged, res, true); return(res); }
public void ClearEnqueueAdditionalUsers() { CAPI.ovr_MatchmakingOptions_ClearEnqueueAdditionalUsers(Handle) : }
public static bool IsConnected(UInt64 userID) { return(Core.IsInitialized() && CAPI.ovr_Net_IsConnected(userID)); }
public void SetEnqueueDataSettings(string key, string value) { CAPI.ovr_MatchmakingOptions_SetEnqueueDataSettingsString(Handle, key, value) : }
/// If report_type is content, a string representing the type of content being /// reported. This should correspond to the object_type string used in the UI public void SetObjectType(string value) { CAPI.ovr_AdvancedAbuseReportOptions_SetObjectType(Handle, value); }
public void ClearEnqueueDataSettings() { CAPI.ovr_MatchmakingOptions_ClearEnqueueDataSettings(Handle) : }
public void SetVideoMode(AbuseReportVideoMode value) { CAPI.ovr_AdvancedAbuseReportOptions_SetVideoMode(Handle, value); }
public void SetEnqueueIsDebug(bool value) { CAPI.ovr_MatchmakingOptions_SetEnqueueIsDebug(Handle, value) : }
public void SetDescription(string value) { CAPI.ovr_ChallengeOptions_SetDescription(Handle, value); }
public void SetEnqueueQueryKey(string value) { CAPI.ovr_MatchmakingOptions_SetEnqueueQueryKey(Handle, value) : }
/// Optional: Only find challenges belonging to this leaderboard. public void SetLeaderboardName(string value) { CAPI.ovr_ChallengeOptions_SetLeaderboardName(Handle, value); }
protected override string GetDataFromMessage(IntPtr c_message) { return(CAPI.ovr_Message_GetString(c_message)); }
public void SetTitle(string value) { CAPI.ovr_ChallengeOptions_SetTitle(Handle, value); }
public static void CrashApplication() { CAPI.ovr_CrashApplication(); }
public void SetVisibility(ChallengeVisibility value) { CAPI.ovr_ChallengeOptions_SetVisibility(Handle, value); }
public void AddServiceProvider(ServiceProvider value) { CAPI.ovr_UserOptions_AddServiceProvider(Handle, value); }