/// <summary> /// Sends a disconnect request to the server and stop the SignalR connection. /// </summary> public static void Stop() { PlayFabHttp.StopSignalR(); }
/// <summary> /// Request a party session. /// </summary> public static void RequestParty(RequestPartyRequest request, Action <RequestPartyResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Party/RequestParty", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Uploads a multiplayer server game certificate. /// </summary> public static void UploadCertificate(UploadCertificateRequest request, Action <EmptyResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/UploadCertificate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Clear the Client SessionToken which allows this Client to call API calls requiring login. /// A new/fresh login will be required after calling this. /// </summary> public static void ForgetAllCredentials() { PlayFabHttp.ForgetAllCredentials(); }
/// <summary> /// Lists virtual machines for a title. /// </summary> public static void ListVirtualMachineSummaries(ListVirtualMachineSummariesRequest request, Action <ListVirtualMachineSummariesResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/ListVirtualMachineSummaries", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Deletes a group and all roles, invitations, join requests, and blocks associated with it. /// </summary> public static void DeleteGroup(DeleteGroupRequest request, Action <EmptyResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Group/DeleteGroup", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Gets a remote login endpoint to a VM that is hosting a multiplayer server build. /// </summary> public static void GetRemoteLoginEndpoint(GetRemoteLoginEndpointRequest request, Action <GetRemoteLoginEndpointResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/GetRemoteLoginEndpoint", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Sets the profiles access policy /// </summary> public static void SetProfilePolicy(SetEntityProfilePolicyRequest request, Action <SetEntityProfilePolicyResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Profile/SetProfilePolicy", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Creates one or more upload URLs which can be used by the client to upload raw mod file data. /// </summary> public void CreateUgcUploadUrls(CreateUploadUrlsRequest request, Action <CreateUploadUrlsResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/UserGeneratedContent/CreateUgcUploadUrls", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
public override void TearDown(UUnitTestContext testContext) { Callbacks.Clear(); _listener.Unregister(); PlayFabHttp.ClearAllEvents(); }
/// <summary> /// Abort pending file uploads to an entity's profile. /// </summary> public static void AbortFileUploads(AbortFileUploadsRequest request, Action <AbortFileUploadsResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/File/AbortFileUploads", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Sets the global title access policy /// </summary> public void SetGlobalPolicy(SetGlobalPolicyRequest request, Action <SetGlobalPolicyResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Profile/SetGlobalPolicy", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Write batches of entity based events to PlayStream. /// </summary> public static void WriteEvents(WriteEventsRequest request, Action <WriteEventsResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Event/WriteEvents", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Executes CloudScript using the Entity Profile /// </summary> public static void ExecuteEntityCloudScript(ExecuteEntityCloudScriptRequest request, Action <ExecuteCloudScriptResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/CloudScript/ExecuteEntityCloudScript", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Lists all outstanding invitations and group applications for an entity /// </summary> public static void ListMembershipOpportunities(ListMembershipOpportunitiesRequest request, Action <ListMembershipOpportunitiesResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Group/ListMembershipOpportunities", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Get a subscription by marketplace offer Id /// </summary> public void GetSubscriptionByMarketplaceOfferId(GetSubscriptionByMarketplaceOfferIdRequest request, Action <GetSubscriptionResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Catalog/GetSubscriptionByMarketplaceOfferId", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Creates a new group role. /// </summary> public static void CreateRole(CreateGroupRoleRequest request, Action <CreateGroupRoleResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Group/CreateRole", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Purchase an item, bundle or subscription by friendly id. /// </summary> public void PurchaseItemByFriendlyId(PurchaseItemByFriendlyIdRequest request, Action <PurchaseItemResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Catalog/PurchaseItemByFriendlyId", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Get the statistics for a queue. /// </summary> public static void GetQueueStatistics(GetQueueStatisticsRequest request, Action <GetQueueStatisticsResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Match/GetQueueStatistics", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Submit a vote for a review, indicating whether the review was helpful or unhelpful. /// </summary> public void SubmitHelpfulnessVote(HelpfulnessVoteRequest request, Action <HelpfulnessVoteResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/UserGeneratedContent/SubmitHelpfulnessVote", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Gets the status of whether a title is enabled for the multiplayer server feature. /// </summary> public static void GetTitleEnabledForMultiplayerServersStatus(GetTitleEnabledForMultiplayerServersStatusRequest request, Action <GetTitleEnabledForMultiplayerServersStatusResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Transfer virtual currencies. /// </summary> public void TransferVirtualCurrencies(TransferVirtualCurrenciesRequest request, Action <TransferVirtualCurrenciesResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Inventory/TransferVirtualCurrencies", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Lists quality of service servers. /// </summary> public static void ListQosServers(ListQosServersRequest request, Action <ListQosServersResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/ListQosServers", request, AuthType.None, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Update the metadata for an item in the working catalog. /// </summary> public void UpdateDraftUgcItem(UpdateDraftItemRequest request, Action <UpdateDraftItemResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/UserGeneratedContent/UpdateDraftUgcItem", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Remove a matchmaking queue config. /// </summary> public static void RemoveMatchmakingQueue(RemoveMatchmakingQueueRequest request, Action <RemoveMatchmakingQueueResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Match/RemoveMatchmakingQueue", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Consume inventory items. /// </summary> public void ConsumeInventoryItems(ConsumeInventoryItemsRequest request, Action <ConsumeInventoryItemsResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Inventory/ConsumeInventoryItems", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Rolls over the credentials to the container registry. /// </summary> public static void RolloverContainerRegistryCredentials(RolloverContainerRegistryCredentialsRequest request, Action <RolloverContainerRegistryCredentialsResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/RolloverContainerRegistryCredentials", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Create a bundle /// </summary> public void CreateBundle(CreateBundleRequest request, Action <CreateBundleResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Catalog/CreateBundle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }
/// <summary> /// Cancel a matchmaking ticket. /// </summary> public static void CancelMatchmakingTicket(CancelMatchmakingTicketRequest request, Action <CancelMatchmakingTicketResult> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/Match/CancelMatchmakingTicket", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders); }
/// <summary> /// Creates a multiplayer server build with a managed container. /// </summary> public void CreateBuildWithManagedContainer(CreateBuildWithManagedContainerRequest request, Action <CreateBuildWithManagedContainerResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null) { PlayFabHttp.MakeApiCall("/MultiplayerServer/CreateBuildWithManagedContainer", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, false, authenticationContext, ApiSettings); }