예제 #1
0
 /// <summary>
 /// Sends a disconnect request to the server and stop the SignalR connection.
 /// </summary>
 public static void Stop()
 {
     PlayFabHttp.StopSignalR();
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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);
 }
예제 #4
0
 /// <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();
 }
예제 #5
0
 /// <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);
 }
예제 #6
0
 /// <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);
 }
예제 #7
0
 /// <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);
 }
예제 #8
0
 /// <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);
 }
예제 #9
0
        /// <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);
        }
예제 #10
0
 public override void TearDown(UUnitTestContext testContext)
 {
     Callbacks.Clear();
     _listener.Unregister();
     PlayFabHttp.ClearAllEvents();
 }
예제 #11
0
 /// <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);
 }
예제 #12
0
        /// <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);
        }
예제 #13
0
 /// <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);
 }
예제 #14
0
 /// <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);
 }
예제 #15
0
 /// <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);
 }
예제 #16
0
        /// <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);
        }
예제 #17
0
 /// <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);
 }
예제 #18
0
        /// <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);
        }
예제 #19
0
 /// <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);
 }
예제 #20
0
        /// <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);
        }
예제 #21
0
 /// <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);
 }
예제 #22
0
        /// <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);
        }
예제 #23
0
 /// <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);
 }
예제 #24
0
        /// <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);
        }
예제 #25
0
 /// <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);
 }
예제 #26
0
        /// <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);
        }
예제 #27
0
 /// <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);
 }
예제 #28
0
        /// <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);
        }
예제 #29
0
 /// <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);
        }