diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk.meta b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk.meta
deleted file mode 100755
index 445eb3f4..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: d7627240a732b5c4a828c37d5adb304a
-folderAsset: yes
-timeCreated: 1468616383
-licenseType: Pro
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin.meta b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin.meta
deleted file mode 100755
index a865e687..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: f80b73ed5fc053a409c5e9347d9c609a
-folderAsset: yes
-timeCreated: 1468524875
-licenseType: Pro
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminAPI.cs b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminAPI.cs
deleted file mode 100755
index 1854ed8e..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminAPI.cs
+++ /dev/null
@@ -1,818 +0,0 @@
-#if ENABLE_PLAYFABADMIN_API
-using System;
-using PlayFab.AdminModels;
-using PlayFab.Internal;
-using PlayFab.Json;
-
-namespace PlayFab
-{
- ///
- /// APIs for managing title configurations, uploaded Game Server code executables, and user data
- ///
- public static class PlayFabAdminAPI
- {
-
- ///
- /// Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
- ///
- public static void BanUsers(BanUsersRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/BanUsers", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier
- ///
- public static void GetUserAccountInfo(LookupUserAccountInfoRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserAccountInfo", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Gets all bans for a user.
- ///
- public static void GetUserBans(GetUserBansRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserBans", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics
- ///
- public static void ResetUsers(ResetUsersRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ResetUsers", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Revoke all active bans for a user.
- ///
- public static void RevokeAllBansForUser(RevokeAllBansForUserRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RevokeAllBansForUser", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Revoke all active bans specified with BanId.
- ///
- public static void RevokeBans(RevokeBansRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RevokeBans", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password
- ///
- public static void SendAccountRecoveryEmail(SendAccountRecoveryEmailRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SendAccountRecoveryEmail", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates information of a list of existing bans specified with Ban Ids.
- ///
- public static void UpdateBans(UpdateBansRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateBans", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the title specific display name for a user
- ///
- public static void UpdateUserTitleDisplayName(UpdateUserTitleDisplayNameRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserTitleDisplayName", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method.
- ///
- public static void CreatePlayerStatisticDefinition(CreatePlayerStatisticDefinitionRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/CreatePlayerStatisticDefinition", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies.
- ///
- public static void DeleteUsers(DeleteUsersRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/DeleteUsers", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves a download URL for the requested report
- ///
- public static void GetDataReport(GetDataReportRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetDataReport", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval.
- ///
- public static void GetPlayerStatisticDefinitions(GetPlayerStatisticDefinitionsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetPlayerStatisticDefinitions", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the information on the available versions of the specified statistic.
- ///
- public static void GetPlayerStatisticVersions(GetPlayerStatisticVersionsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetPlayerStatisticVersions", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the title-specific custom data for the user which is readable and writable by the client
- ///
- public static void GetUserData(GetUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the title-specific custom data for the user which cannot be accessed by the client
- ///
- public static void GetUserInternalData(GetUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserInternalData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the publisher-specific custom data for the user which is readable and writable by the client
- ///
- public static void GetUserPublisherData(GetUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserPublisherData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the publisher-specific custom data for the user which cannot be accessed by the client
- ///
- public static void GetUserPublisherInternalData(GetUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserPublisherInternalData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the publisher-specific custom data for the user which can only be read by the client
- ///
- public static void GetUserPublisherReadOnlyData(GetUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserPublisherReadOnlyData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the title-specific custom data for the user which can only be read by the client
- ///
- public static void GetUserReadOnlyData(GetUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserReadOnlyData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Resets the indicated statistic, removing all player entries for it and backing up the old values.
- ///
- public static void IncrementPlayerStatisticVersion(IncrementPlayerStatisticVersionRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/IncrementPlayerStatisticVersion", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Attempts to process an order refund through the original real money payment provider.
- ///
- public static void RefundPurchase(RefundPurchaseRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RefundPurchase", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Completely removes all statistics for the specified user, for the current game
- ///
- public static void ResetUserStatistics(ResetUserStatisticsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ResetUserStatistics", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Attempts to resolve a dispute with the original order's payment provider.
- ///
- public static void ResolvePurchaseDispute(ResolvePurchaseDisputeRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ResolvePurchaseDispute", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval.
- ///
- public static void UpdatePlayerStatisticDefinition(UpdatePlayerStatisticDefinitionRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdatePlayerStatisticDefinition", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the title-specific custom data for the user which is readable and writable by the client
- ///
- public static void UpdateUserData(UpdateUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the title-specific custom data for the user which cannot be accessed by the client
- ///
- public static void UpdateUserInternalData(UpdateUserInternalDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserInternalData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the publisher-specific custom data for the user which is readable and writable by the client
- ///
- public static void UpdateUserPublisherData(UpdateUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserPublisherData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the publisher-specific custom data for the user which cannot be accessed by the client
- ///
- public static void UpdateUserPublisherInternalData(UpdateUserInternalDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserPublisherInternalData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the publisher-specific custom data for the user which can only be read by the client
- ///
- public static void UpdateUserPublisherReadOnlyData(UpdateUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserPublisherReadOnlyData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the title-specific custom data for the user which can only be read by the client
- ///
- public static void UpdateUserReadOnlyData(UpdateUserDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateUserReadOnlyData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Adds a new news item to the title's news feed
- ///
- public static void AddNews(AddNewsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/AddNews", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum value of 2,147,483,647 when granted to a player. Any value over that will be discarded.
- ///
- public static void AddVirtualCurrencyTypes(AddVirtualCurrencyTypesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/AddVirtualCurrencyTypes", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Deletes an existing virtual item store
- ///
- public static void DeleteStore(DeleteStoreRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/DeleteStore", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
- ///
- public static void GetCatalogItems(GetCatalogItemsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetCatalogItems", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the key-value store of custom publisher settings
- ///
- public static void GetPublisherData(GetPublisherDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetPublisherData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the random drop table configuration for the title
- ///
- public static void GetRandomResultTables(GetRandomResultTablesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetRandomResultTables", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the set of items defined for the specified store, including all prices defined
- ///
- public static void GetStoreItems(GetStoreItemsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetStoreItems", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the key-value store of custom title settings which can be read by the client
- ///
- public static void GetTitleData(GetTitleDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetTitleData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the key-value store of custom title settings which cannot be read by the client
- ///
- public static void GetTitleInternalData(GetTitleDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetTitleInternalData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retuns the list of all defined virtual currencies for the title
- ///
- public static void ListVirtualCurrencyTypes(ListVirtualCurrencyTypesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ListVirtualCurrencyTypes", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Removes one or more virtual currencies from the set defined for the title.
- ///
- public static void RemoveVirtualCurrencyTypes(RemoveVirtualCurrencyTypesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RemoveVirtualCurrencyTypes", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Creates the catalog configuration of all virtual goods for the specified catalog version
- ///
- public static void SetCatalogItems(UpdateCatalogItemsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetCatalogItems", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Sets all the items in one virtual store
- ///
- public static void SetStoreItems(UpdateStoreItemsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetStoreItems", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Creates and updates the key-value store of custom title settings which can be read by the client
- ///
- public static void SetTitleData(SetTitleDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetTitleData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the key-value store of custom title settings which cannot be read by the client
- ///
- public static void SetTitleInternalData(SetTitleDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetTitleInternalData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported.
- ///
- public static void SetupPushNotification(SetupPushNotificationRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetupPushNotification", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the catalog configuration for virtual goods in the specified catalog version
- ///
- public static void UpdateCatalogItems(UpdateCatalogItemsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateCatalogItems", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the random drop table configuration for the title
- ///
- public static void UpdateRandomResultTables(UpdateRandomResultTablesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateRandomResultTables", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates an existing virtual item store with new or modified items
- ///
- public static void UpdateStoreItems(UpdateStoreItemsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateStoreItems", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Increments the specified virtual currency by the stated amount
- ///
- public static void AddUserVirtualCurrency(AddUserVirtualCurrencyRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/AddUserVirtualCurrency", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the specified user's current inventory of virtual goods
- ///
- public static void GetUserInventory(GetUserInventoryRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetUserInventory", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Adds the specified items to the specified user inventories
- ///
- public static void GrantItemsToUsers(GrantItemsToUsersRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GrantItemsToUsers", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Revokes access to an item in a user's inventory
- ///
- public static void RevokeInventoryItem(RevokeInventoryItemRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RevokeInventoryItem", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Decrements the specified virtual currency by the stated amount
- ///
- public static void SubtractUserVirtualCurrency(SubtractUserVirtualCurrencyRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SubtractUserVirtualCurrency", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the details for a specific completed session, including links to standard out and standard error logs
- ///
- public static void GetMatchmakerGameInfo(GetMatchmakerGameInfoRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetMatchmakerGameInfo", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the details of defined game modes for the specified game server executable
- ///
- public static void GetMatchmakerGameModes(GetMatchmakerGameModesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetMatchmakerGameModes", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the game server mode details for the specified game server executable
- ///
- public static void ModifyMatchmakerGameModes(ModifyMatchmakerGameModesRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ModifyMatchmakerGameModes", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame
- ///
- public static void AddServerBuild(AddServerBuildRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/AddServerBuild", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the build details for the specified game server executable
- ///
- public static void GetServerBuildInfo(GetServerBuildInfoRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetServerBuildInfo", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild)
- ///
- public static void GetServerBuildUploadUrl(GetServerBuildUploadURLRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetServerBuildUploadUrl", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the build details for all game server executables which are currently defined for the title
- ///
- public static void ListServerBuilds(ListBuildsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ListServerBuilds", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the build details for the specified game server executable
- ///
- public static void ModifyServerBuild(ModifyServerBuildRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ModifyServerBuild", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame
- ///
- public static void RemoveServerBuild(RemoveServerBuildRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RemoveServerBuild", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Updates the key-value store of custom publisher settings
- ///
- public static void SetPublisherData(SetPublisherDataRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetPublisherData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Gets the contents and information of a specific Cloud Script revision.
- ///
- public static void GetCloudScriptRevision(GetCloudScriptRevisionRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetCloudScriptRevision", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed.
- ///
- public static void GetCloudScriptVersions(GetCloudScriptVersionsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetCloudScriptVersions", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Sets the currently published revision of a title Cloud Script
- ///
- public static void SetPublishedRevision(SetPublishedRevisionRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/SetPublishedRevision", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision.
- ///
- public static void UpdateCloudScript(UpdateCloudScriptRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/UpdateCloudScript", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Delete a content file from the title
- ///
- public static void DeleteContent(DeleteContentRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/DeleteContent", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// List all contents of the title and get statistics such as size
- ///
- public static void GetContentList(GetContentListRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetContentList", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content.
- ///
- public static void GetContentUploadUrl(GetContentUploadUrlRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetContentUploadUrl", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Completely removes all statistics for the specified character, for the current game
- ///
- public static void ResetCharacterStatistics(ResetCharacterStatisticsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/ResetCharacterStatistics", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag.
- ///
- public static void AddPlayerTag(AddPlayerTagRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/AddPlayerTag", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieve a list of all PlayStream actions groups.
- ///
- public static void GetAllActionGroups(GetAllActionGroupsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetAllActionGroups", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change.
- ///
- public static void GetAllSegments(GetAllSegmentsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetAllSegments", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// List all segments that a player currently belongs to at this moment in time.
- ///
- public static void GetPlayerSegments(GetPlayersSegmentsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetPlayerSegments", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected in the results. AB Test segments are currently not supported by this operation.
- ///
- public static void GetPlayersInSegment(GetPlayersInSegmentRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetPlayersInSegment", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Get all tags with a given Namespace (optional) from a player profile.
- ///
- public static void GetPlayerTags(GetPlayerTagsRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/GetPlayerTags", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
- ///
- /// Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag.
- ///
- public static void RemovePlayerTag(RemovePlayerTagRequest request, Action resultCallback, Action errorCallback, object customData = null)
- {
- if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
-
- PlayFabHttp.MakeApiCall("/Admin/RemovePlayerTag", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
- }
-
-
- }
-}
-#endif
diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminAPI.cs.meta b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminAPI.cs.meta
deleted file mode 100755
index ec37b6e1..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminAPI.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 98aa7d0b4d53fe24392fc8cc52120845
-timeCreated: 1468524876
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminModels.cs b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminModels.cs
deleted file mode 100755
index 2571c915..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminModels.cs
+++ /dev/null
@@ -1,3034 +0,0 @@
-#if ENABLE_PLAYFABADMIN_API
-using System;
-using System.Collections.Generic;
-using PlayFab.SharedModels;
-
-namespace PlayFab.AdminModels
-{
- [Serializable]
- public class AdCampaignAttribution
- {
- ///
- /// Attribution network name
- ///
- public string Platform { get; set;}
- ///
- /// Attribution campaign identifier
- ///
- public string CampaignId { get; set;}
- ///
- /// UTC time stamp of attribution
- ///
- public DateTime AttributedAt { get; set;}
- }
-
- [Serializable]
- public class AddNewsRequest : PlayFabRequestCommon
- {
- ///
- /// Time this news was published. If not set, defaults to now.
- ///
- public DateTime? Timestamp { get; set;}
- ///
- /// Title (headline) of the news item
- ///
- public string Title { get; set;}
- ///
- /// Body text of the news
- ///
- public string Body { get; set;}
- }
-
- [Serializable]
- public class AddNewsResult : PlayFabResultCommon
- {
- ///
- /// Unique id of the new news item
- ///
- public string NewsId { get; set;}
- }
-
- [Serializable]
- public class AddPlayerTagRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique tag for player profile.
- ///
- public string TagName { get; set;}
- }
-
- [Serializable]
- public class AddPlayerTagResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class AddServerBuildRequest : PlayFabRequestCommon
- {
- ///
- /// unique identifier for the build executable
- ///
- public string BuildId { get; set;}
- ///
- /// appended to the end of the command line when starting game servers
- ///
- public string CommandLineTemplate { get; set;}
- ///
- /// path to the game server executable. Defaults to gameserver.exe
- ///
- public string ExecutablePath { get; set;}
- ///
- /// server host regions in which this build should be running and available
- ///
- public List ActiveRegions { get; set;}
- ///
- /// developer comment(s) for this build
- ///
- public string Comment { get; set;}
- ///
- /// maximum number of game server instances that can run on a single host machine
- ///
- public int MaxGamesPerHost { get; set;}
- ///
- /// minimum capacity of additional game server instances that can be started before the autoscaling service starts new host machines (given the number of current running host machines and game server instances)
- ///
- public int MinFreeGameSlots { get; set;}
- }
-
- [Serializable]
- public class AddServerBuildResult : PlayFabResultCommon
- {
- ///
- /// unique identifier for this build executable
- ///
- public string BuildId { get; set;}
- ///
- /// array of regions where this build can used, when it is active
- ///
- public List ActiveRegions { get; set;}
- ///
- /// maximum number of game server instances that can run on a single host machine
- ///
- public int MaxGamesPerHost { get; set;}
- ///
- /// minimum capacity of additional game server instances that can be started before the autoscaling service starts new host machines (given the number of current running host machines and game server instances)
- ///
- public int MinFreeGameSlots { get; set;}
- ///
- /// appended to the end of the command line when starting game servers
- ///
- public string CommandLineTemplate { get; set;}
- ///
- /// path to the game server executable. Defaults to gameserver.exe
- ///
- public string ExecutablePath { get; set;}
- ///
- /// developer comment(s) for this build
- ///
- public string Comment { get; set;}
- ///
- /// time this build was last modified (or uploaded, if this build has never been modified)
- ///
- public DateTime Timestamp { get; set;}
- ///
- /// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
- ///
- public string TitleId { get; set;}
- ///
- /// the current status of the build validation and processing steps
- ///
- public GameBuildStatus? Status { get; set;}
- }
-
- [Serializable]
- public class AddUserVirtualCurrencyRequest : PlayFabRequestCommon
- {
- ///
- /// PlayFab unique identifier of the user whose virtual currency balance is to be increased.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Name of the virtual currency which is to be incremented.
- ///
- public string VirtualCurrency { get; set;}
- ///
- /// Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded.
- ///
- public int Amount { get; set;}
- }
-
- [Serializable]
- public class AddVirtualCurrencyTypesRequest : PlayFabRequestCommon
- {
- ///
- /// List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) to the title
- ///
- public List VirtualCurrencies { get; set;}
- }
-
- ///
- /// Contains information for a ban.
- ///
- [Serializable]
- public class BanInfo
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// The unique Ban Id associated with this ban.
- ///
- public string BanId { get; set;}
- ///
- /// The IP address on which the ban was applied. May affect multiple players.
- ///
- public string IPAddress { get; set;}
- ///
- /// The MAC address on which the ban was applied. May affect multiple players.
- ///
- public string MACAddress { get; set;}
- ///
- /// The time when this ban was applied.
- ///
- public DateTime? Created { get; set;}
- ///
- /// The time when this ban expires. Permanent bans do not have expiration date.
- ///
- public DateTime? Expires { get; set;}
- ///
- /// The reason why this ban was applied.
- ///
- public string Reason { get; set;}
- ///
- /// The active state of this ban. Expired bans may still have this value set to true but they will have no effect.
- ///
- public bool Active { get; set;}
- }
-
- ///
- /// Represents a single ban request.
- ///
- [Serializable]
- public class BanRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// IP address to be banned. May affect multiple players.
- ///
- public string IPAddress { get; set;}
- ///
- /// MAC address to be banned. May affect multiple players.
- ///
- public string MACAddress { get; set;}
- ///
- /// The reason for this ban. Maximum 140 characters.
- ///
- public string Reason { get; set;}
- ///
- /// The duration in hours for the ban. Leave this blank for a permanent ban.
- ///
- public uint? DurationInHours { get; set;}
- }
-
- [Serializable]
- public class BanUsersRequest : PlayFabRequestCommon
- {
- ///
- /// List of ban requests to be applied. Maximum 100.
- ///
- public List Bans { get; set;}
- }
-
- [Serializable]
- public class BanUsersResult : PlayFabResultCommon
- {
- ///
- /// Information on the bans that were applied
- ///
- public List BanData { get; set;}
- }
-
- [Serializable]
- public class BlankResult : PlayFabResultCommon
- {
- }
-
- ///
- /// A purchasable item from the item catalog
- ///
- [Serializable]
- public class CatalogItem
- {
- ///
- /// unique identifier for this item
- ///
- public string ItemId { get; set;}
- ///
- /// class to which the item belongs
- ///
- public string ItemClass { get; set;}
- ///
- /// catalog version for this item
- ///
- public string CatalogVersion { get; set;}
- ///
- /// text name for the item, to show in-game
- ///
- public string DisplayName { get; set;}
- ///
- /// text description of item, to show in-game
- ///
- public string Description { get; set;}
- ///
- /// price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies)
- ///
- public Dictionary VirtualCurrencyPrices { get; set;}
- ///
- /// override prices for this item for specific currencies
- ///
- public Dictionary RealCurrencyPrices { get; set;}
- ///
- /// list of item tags
- ///
- public List Tags { get; set;}
- ///
- /// game specific custom data
- ///
- public string CustomData { get; set;}
- ///
- /// defines the consumable properties (number of uses, timeout) for the item
- ///
- public CatalogItemConsumableInfo Consumable { get; set;}
- ///
- /// defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API
- ///
- public CatalogItemContainerInfo Container { get; set;}
- ///
- /// defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies
- ///
- public CatalogItemBundleInfo Bundle { get; set;}
- ///
- /// if true, then an item instance of this type can be used to grant a character to a user.
- ///
- public bool CanBecomeCharacter { get; set;}
- ///
- /// if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded
- ///
- public bool IsStackable { get; set;}
- ///
- /// if true, then an item instance of this type can be traded between players using the trading APIs
- ///
- public bool IsTradable { get; set;}
- ///
- /// URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
- ///
- public string ItemImageUrl { get; set;}
- ///
- /// BETA: If true, then only a fixed number can ever be granted.
- ///
- public bool IsLimitedEdition { get; set;}
- ///
- /// BETA: If IsLImitedEdition is true, then this determines amount of the item initially available. Note that this fieldis ignored if the catalog item already existed in this catalog, or the field is less than 1.
- ///
- public int InitialLimitedEditionCount { get; set;}
- }
-
- [Serializable]
- public class CatalogItemBundleInfo
- {
- ///
- /// unique ItemId values for all items which will be added to the player inventory when the bundle is added
- ///
- public List BundledItems { get; set;}
- ///
- /// unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added)
- ///
- public List BundledResultTables { get; set;}
- ///
- /// virtual currency types and balances which will be added to the player inventory when the bundle is added
- ///
- public Dictionary BundledVirtualCurrencies { get; set;}
- }
-
- [Serializable]
- public class CatalogItemConsumableInfo
- {
- ///
- /// number of times this object can be used, after which it will be removed from the player inventory
- ///
- public uint? UsageCount { get; set;}
- ///
- /// duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed
- ///
- public uint? UsagePeriod { get; set;}
- ///
- /// all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed
- ///
- public string UsagePeriodGroup { get; set;}
- }
-
- ///
- /// Containers are inventory items that can hold other items defined in the catalog, as well as virtual currency, which is added to the player inventory when the container is unlocked, using the UnlockContainerItem API. The items can be anything defined in the catalog, as well as RandomResultTable objects which will be resolved when the container is unlocked. Containers and their keys should be defined as Consumable (having a limited number of uses) in their catalog defintiions, unless the intent is for the player to be able to re-use them infinitely.
- ///
- [Serializable]
- public class CatalogItemContainerInfo
- {
- ///
- /// ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances)
- ///
- public string KeyItemId { get; set;}
- ///
- /// unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked
- ///
- public List ItemContents { get; set;}
- ///
- /// unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory)
- ///
- public List ResultTableContents { get; set;}
- ///
- /// virtual currency types and balances which will be added to the player inventory when the container is unlocked
- ///
- public Dictionary VirtualCurrencyContents { get; set;}
- }
-
- [Serializable]
- public class CloudScriptFile
- {
- ///
- /// Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes.
- ///
- public string Filename { get; set;}
- ///
- /// Contents of the Cloud Script javascript. Must be string-escaped javascript.
- ///
- public string FileContents { get; set;}
- }
-
- [Serializable]
- public class CloudScriptVersionStatus
- {
- ///
- /// Version number
- ///
- public int Version { get; set;}
- ///
- /// Published code revision for this Cloud Script version
- ///
- public int PublishedRevision { get; set;}
- ///
- /// Most recent revision for this Cloud Script version
- ///
- public int LatestRevision { get; set;}
- }
-
- [Serializable]
- public class ContentInfo
- {
- ///
- /// Key of the content
- ///
- public string Key { get; set;}
- ///
- /// Size of the content in bytes
- ///
- public uint Size { get; set;}
- ///
- /// Last modified time
- ///
- public DateTime LastModified { get; set;}
- }
-
- [Serializable]
- public class CreatePlayerStatisticDefinitionRequest : PlayFabRequestCommon
- {
- ///
- /// unique name of the statistic
- ///
- public string StatisticName { get; set;}
- ///
- /// interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary)
- ///
- public StatisticResetIntervalOption? VersionChangeInterval { get; set;}
- ///
- /// the aggregation method to use in updating the statistic (defaults to last)
- ///
- public StatisticAggregationMethod? AggregationMethod { get; set;}
- }
-
- [Serializable]
- public class CreatePlayerStatisticDefinitionResult : PlayFabResultCommon
- {
- ///
- /// created statistic definition
- ///
- public PlayerStatisticDefinition Statistic { get; set;}
- }
-
- public enum Currency
- {
- AED,
- AFN,
- ALL,
- AMD,
- ANG,
- AOA,
- ARS,
- AUD,
- AWG,
- AZN,
- BAM,
- BBD,
- BDT,
- BGN,
- BHD,
- BIF,
- BMD,
- BND,
- BOB,
- BRL,
- BSD,
- BTN,
- BWP,
- BYR,
- BZD,
- CAD,
- CDF,
- CHF,
- CLP,
- CNY,
- COP,
- CRC,
- CUC,
- CUP,
- CVE,
- CZK,
- DJF,
- DKK,
- DOP,
- DZD,
- EGP,
- ERN,
- ETB,
- EUR,
- FJD,
- FKP,
- GBP,
- GEL,
- GGP,
- GHS,
- GIP,
- GMD,
- GNF,
- GTQ,
- GYD,
- HKD,
- HNL,
- HRK,
- HTG,
- HUF,
- IDR,
- ILS,
- IMP,
- INR,
- IQD,
- IRR,
- ISK,
- JEP,
- JMD,
- JOD,
- JPY,
- KES,
- KGS,
- KHR,
- KMF,
- KPW,
- KRW,
- KWD,
- KYD,
- KZT,
- LAK,
- LBP,
- LKR,
- LRD,
- LSL,
- LYD,
- MAD,
- MDL,
- MGA,
- MKD,
- MMK,
- MNT,
- MOP,
- MRO,
- MUR,
- MVR,
- MWK,
- MXN,
- MYR,
- MZN,
- NAD,
- NGN,
- NIO,
- NOK,
- NPR,
- NZD,
- OMR,
- PAB,
- PEN,
- PGK,
- PHP,
- PKR,
- PLN,
- PYG,
- QAR,
- RON,
- RSD,
- RUB,
- RWF,
- SAR,
- SBD,
- SCR,
- SDG,
- SEK,
- SGD,
- SHP,
- SLL,
- SOS,
- SPL,
- SRD,
- STD,
- SVC,
- SYP,
- SZL,
- THB,
- TJS,
- TMT,
- TND,
- TOP,
- TRY,
- TTD,
- TVD,
- TWD,
- TZS,
- UAH,
- UGX,
- USD,
- UYU,
- UZS,
- VEF,
- VND,
- VUV,
- WST,
- XAF,
- XCD,
- XDR,
- XOF,
- XPF,
- YER,
- ZAR,
- ZMW,
- ZWD
- }
-
- [Serializable]
- public class DeleteContentRequest : PlayFabRequestCommon
- {
- ///
- /// Key of the content item to be deleted
- ///
- public string Key { get; set;}
- }
-
- [Serializable]
- public class DeleteStoreRequest : PlayFabRequestCommon
- {
- ///
- /// catalog version of the store to delete. If null, uses the default catalog.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// unqiue identifier for the store which is to be deleted
- ///
- public string StoreId { get; set;}
- }
-
- [Serializable]
- public class DeleteStoreResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class DeleteUsersRequest : PlayFabRequestCommon
- {
- ///
- /// An array of unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public List PlayFabIds { get; set;}
- ///
- /// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
- ///
- public string TitleId { get; set;}
- }
-
- [Serializable]
- public class DeleteUsersResult : PlayFabResultCommon
- {
- }
-
- public enum GameBuildStatus
- {
- Available,
- Validating,
- InvalidBuildPackage,
- Processing,
- FailedToProcess
- }
-
- [Serializable]
- public class GameModeInfo
- {
- ///
- /// specific game mode type
- ///
- public string Gamemode { get; set;}
- ///
- /// minimum user count required for this Game Server Instance to continue (usually 1)
- ///
- public uint MinPlayerCount { get; set;}
- ///
- /// maximum user count a specific Game Server Instance can support
- ///
- public uint MaxPlayerCount { get; set;}
- ///
- /// whether to start as an open session, meaning that players can matchmake into it (defaults to true)
- ///
- public bool? StartOpen { get; set;}
- }
-
- [Serializable]
- public class GetActionGroupResult : PlayFabResultCommon
- {
- ///
- /// Action Group name
- ///
- public string Name { get; set;}
- ///
- /// Action Group ID
- ///
- public string Id { get; set;}
- }
-
- [Serializable]
- public class GetAllActionGroupsRequest : PlayFabRequestCommon
- {
- }
-
- [Serializable]
- public class GetAllActionGroupsResult : PlayFabResultCommon
- {
- ///
- /// List of Action Groups.
- ///
- public List ActionGroups { get; set;}
- }
-
- [Serializable]
- public class GetAllSegmentsRequest : PlayFabRequestCommon
- {
- }
-
- [Serializable]
- public class GetAllSegmentsResult : PlayFabResultCommon
- {
- ///
- /// Array of segments for this title.
- ///
- public List Segments { get; set;}
- }
-
- [Serializable]
- public class GetCatalogItemsRequest : PlayFabRequestCommon
- {
- ///
- /// Which catalog is being requested. If null, uses the default catalog.
- ///
- public string CatalogVersion { get; set;}
- }
-
- [Serializable]
- public class GetCatalogItemsResult : PlayFabResultCommon
- {
- ///
- /// Array of items which can be purchased.
- ///
- public List Catalog { get; set;}
- }
-
- [Serializable]
- public class GetCloudScriptRevisionRequest : PlayFabRequestCommon
- {
- ///
- /// Version number. If left null, defaults to the latest version
- ///
- public int? Version { get; set;}
- ///
- /// Revision number. If left null, defaults to the latest revision
- ///
- public int? Revision { get; set;}
- }
-
- [Serializable]
- public class GetCloudScriptRevisionResult : PlayFabResultCommon
- {
- ///
- /// Version number.
- ///
- public int Version { get; set;}
- ///
- /// Revision number.
- ///
- public int Revision { get; set;}
- ///
- /// Time this revision was created
- ///
- public DateTime CreatedAt { get; set;}
- ///
- /// List of Cloud Script files in this revision.
- ///
- public List Files { get; set;}
- ///
- /// True if this is the currently published revision
- ///
- public bool IsPublished { get; set;}
- }
-
- [Serializable]
- public class GetCloudScriptVersionsRequest : PlayFabRequestCommon
- {
- }
-
- [Serializable]
- public class GetCloudScriptVersionsResult : PlayFabResultCommon
- {
- ///
- /// List of versions
- ///
- public List Versions { get; set;}
- }
-
- [Serializable]
- public class GetContentListRequest : PlayFabRequestCommon
- {
- ///
- /// Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, or for a specified version, etc.
- ///
- public string Prefix { get; set;}
- }
-
- [Serializable]
- public class GetContentListResult : PlayFabResultCommon
- {
- ///
- /// Number of content items returned. We currently have a maximum of 1000 items limit.
- ///
- public int ItemCount { get; set;}
- ///
- /// The total size of listed contents in bytes.
- ///
- public uint TotalSize { get; set;}
- ///
- /// List of content items.
- ///
- public List Contents { get; set;}
- }
-
- [Serializable]
- public class GetContentUploadUrlRequest : PlayFabRequestCommon
- {
- ///
- /// Key of the content item to upload, usually formatted as a path, e.g. images/a.png
- ///
- public string Key { get; set;}
- ///
- /// A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default.
- ///
- public string ContentType { get; set;}
- }
-
- [Serializable]
- public class GetContentUploadUrlResult : PlayFabResultCommon
- {
- ///
- /// URL for uploading content via HTTP PUT method. The URL will expire in 1 hour.
- ///
- public string URL { get; set;}
- }
-
- [Serializable]
- public class GetDataReportRequest : PlayFabRequestCommon
- {
- ///
- /// Report name
- ///
- public string ReportName { get; set;}
- ///
- /// Reporting year (UTC)
- ///
- public int Year { get; set;}
- ///
- /// Reporting month (UTC)
- ///
- public int Month { get; set;}
- ///
- /// Reporting year (UTC)
- ///
- public int Day { get; set;}
- }
-
- [Serializable]
- public class GetDataReportResult : PlayFabResultCommon
- {
- ///
- /// The URL where the requested report can be downloaded.
- ///
- public string DownloadUrl { get; set;}
- }
-
- [Serializable]
- public class GetMatchmakerGameInfoRequest : PlayFabRequestCommon
- {
- ///
- /// unique identifier of the lobby for which info is being requested
- ///
- public string LobbyId { get; set;}
- }
-
- [Serializable]
- public class GetMatchmakerGameInfoResult : PlayFabResultCommon
- {
- ///
- /// unique identifier of the lobby
- ///
- public string LobbyId { get; set;}
- ///
- /// unique identifier of the Game Server Instance for this lobby
- ///
- public string TitleId { get; set;}
- ///
- /// time when the Game Server Instance was created
- ///
- public DateTime StartTime { get; set;}
- ///
- /// time when Game Server Instance is currently scheduled to end
- ///
- public DateTime? EndTime { get; set;}
- ///
- /// game mode for this Game Server Instance
- ///
- public string Mode { get; set;}
- ///
- /// version identifier of the game server executable binary being run
- ///
- public string BuildVersion { get; set;}
- ///
- /// region in which the Game Server Instance is running
- ///
- public Region? Region { get; set;}
- ///
- /// array of unique PlayFab identifiers for users currently connected to this Game Server Instance
- ///
- public List Players { get; set;}
- ///
- /// IP address for this Game Server Instance
- ///
- public string ServerAddress { get; set;}
- ///
- /// communication port for this Game Server Instance
- ///
- public uint ServerPort { get; set;}
- }
-
- [Serializable]
- public class GetMatchmakerGameModesRequest : PlayFabRequestCommon
- {
- ///
- /// previously uploaded build version for which game modes are being requested
- ///
- public string BuildVersion { get; set;}
- }
-
- [Serializable]
- public class GetMatchmakerGameModesResult : PlayFabResultCommon
- {
- ///
- /// array of game modes available for the specified build
- ///
- public List GameModes { get; set;}
- }
-
- [Serializable]
- public class GetPlayerSegmentsResult : PlayFabResultCommon
- {
- ///
- /// Array of segments the requested player currently belongs to.
- ///
- public List Segments { get; set;}
- }
-
- [Serializable]
- public class GetPlayersInSegmentRequest : PlayFabRequestCommon
- {
- ///
- /// Unique identifier for this segment.
- ///
- public string SegmentId { get; set;}
- ///
- /// Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging results. Default is 300 (5 minutes). Maximum is 1,800 (30 minutes).
- ///
- public uint? SecondsToLive { get; set;}
- ///
- /// Maximum number of profiles to load. Default is 1,000. Maximum is 10,000.
- ///
- public uint? MaxBatchSize { get; set;}
- ///
- /// Continuation token if retrieving subsequent pages of results.
- ///
- public string ContinuationToken { get; set;}
- }
-
- [Serializable]
- public class GetPlayersInSegmentResult : PlayFabResultCommon
- {
- ///
- /// Count of profiles matching this segment.
- ///
- public int ProfilesInSegment { get; set;}
- ///
- /// Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results.
- ///
- public string ContinuationToken { get; set;}
- ///
- /// Array of player profiles in this segment.
- ///
- public List PlayerProfiles { get; set;}
- }
-
- [Serializable]
- public class GetPlayersSegmentsRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- }
-
- [Serializable]
- public class GetPlayerStatisticDefinitionsRequest : PlayFabRequestCommon
- {
- }
-
- [Serializable]
- public class GetPlayerStatisticDefinitionsResult : PlayFabResultCommon
- {
- ///
- /// the player statistic definitions for the title
- ///
- public List Statistics { get; set;}
- }
-
- [Serializable]
- public class GetPlayerStatisticVersionsRequest : PlayFabRequestCommon
- {
- ///
- /// unique name of the statistic
- ///
- public string StatisticName { get; set;}
- }
-
- [Serializable]
- public class GetPlayerStatisticVersionsResult : PlayFabResultCommon
- {
- ///
- /// version change history of the statistic
- ///
- public List StatisticVersions { get; set;}
- }
-
- [Serializable]
- public class GetPlayerTagsRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Optional namespace to filter results by
- ///
- public string Namespace { get; set;}
- }
-
- [Serializable]
- public class GetPlayerTagsResult : PlayFabResultCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Canonical tags (including namespace and tag's name) for the requested user
- ///
- public List Tags { get; set;}
- }
-
- [Serializable]
- public class GetPublisherDataRequest : PlayFabRequestCommon
- {
- ///
- /// array of keys to get back data from the Publisher data blob, set by the admin tools
- ///
- public List Keys { get; set;}
- }
-
- [Serializable]
- public class GetPublisherDataResult : PlayFabResultCommon
- {
- ///
- /// a dictionary object of key / value pairs
- ///
- public Dictionary Data { get; set;}
- }
-
- [Serializable]
- public class GetRandomResultTablesRequest : PlayFabRequestCommon
- {
- ///
- /// catalog version to fetch tables from. Use default catalog version if null
- ///
- public string CatalogVersion { get; set;}
- }
-
- [Serializable]
- public class GetRandomResultTablesResult : PlayFabResultCommon
- {
- ///
- /// array of random result tables currently available
- ///
- public Dictionary Tables { get; set;}
- }
-
- [Serializable]
- public class GetSegmentResult : PlayFabResultCommon
- {
- ///
- /// Unique identifier for this segment.
- ///
- public string Id { get; set;}
- ///
- /// Segment name.
- ///
- public string Name { get; set;}
- ///
- /// Identifier of the segments AB Test, if it is attached to one.
- ///
- public string ABTestParent { get; set;}
- }
-
- [Serializable]
- public class GetServerBuildInfoRequest : PlayFabRequestCommon
- {
- ///
- /// unique identifier of the previously uploaded build executable for which information is being requested
- ///
- public string BuildId { get; set;}
- }
-
- ///
- /// Information about a particular server build
- ///
- [Serializable]
- public class GetServerBuildInfoResult : PlayFabResultCommon
- {
- ///
- /// unique identifier for this build executable
- ///
- public string BuildId { get; set;}
- ///
- /// array of regions where this build can used, when it is active
- ///
- public List ActiveRegions { get; set;}
- ///
- /// maximum number of game server instances that can run on a single host machine
- ///
- public int MaxGamesPerHost { get; set;}
- ///
- /// minimum capacity of additional game server instances that can be started before the autoscaling service starts new host machines (given the number of current running host machines and game server instances)
- ///
- public int MinFreeGameSlots { get; set;}
- ///
- /// developer comment(s) for this build
- ///
- public string Comment { get; set;}
- ///
- /// time this build was last modified (or uploaded, if this build has never been modified)
- ///
- public DateTime Timestamp { get; set;}
- ///
- /// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
- ///
- public string TitleId { get; set;}
- ///
- /// the current status of the build validation and processing steps
- ///
- public GameBuildStatus? Status { get; set;}
- ///
- /// error message, if any, about this build
- ///
- public string ErrorMessage { get; set;}
- }
-
- [Serializable]
- public class GetServerBuildUploadURLRequest : PlayFabRequestCommon
- {
- ///
- /// unique identifier of the game server build to upload
- ///
- public string BuildId { get; set;}
- }
-
- [Serializable]
- public class GetServerBuildUploadURLResult : PlayFabResultCommon
- {
- ///
- /// pre-authorized URL for uploading the game server build package
- ///
- public string URL { get; set;}
- }
-
- [Serializable]
- public class GetStoreItemsRequest : PlayFabRequestCommon
- {
- ///
- /// catalog version to store items from. Use default catalog version if null
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Unqiue identifier for the store which is being requested.
- ///
- public string StoreId { get; set;}
- }
-
- [Serializable]
- public class GetStoreItemsResult : PlayFabResultCommon
- {
- ///
- /// Array of items which can be purchased from this store.
- ///
- public List Store { get; set;}
- ///
- /// How the store was last updated (Admin or a third party).
- ///
- public SourceType? Source { get; set;}
- ///
- /// The base catalog that this store is a part of.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// The ID of this store.
- ///
- public string StoreId { get; set;}
- ///
- /// Additional data about the store.
- ///
- public StoreMarketingModel MarketingData { get; set;}
- }
-
- [Serializable]
- public class GetTitleDataRequest : PlayFabRequestCommon
- {
- ///
- /// Specific keys to search for in the title data (leave null to get all keys)
- ///
- public List Keys { get; set;}
- }
-
- [Serializable]
- public class GetTitleDataResult : PlayFabResultCommon
- {
- ///
- /// a dictionary object of key / value pairs
- ///
- public Dictionary Data { get; set;}
- }
-
- [Serializable]
- public class GetUserBansRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- }
-
- [Serializable]
- public class GetUserBansResult : PlayFabResultCommon
- {
- ///
- /// Information about the bans
- ///
- public List BanData { get; set;}
- }
-
- [Serializable]
- public class GetUserDataRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Specific keys to search for in the custom user data.
- ///
- public List Keys { get; set;}
- ///
- /// The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this.
- ///
- public uint? IfChangedFromDataVersion { get; set;}
- }
-
- [Serializable]
- public class GetUserDataResult : PlayFabResultCommon
- {
- ///
- /// PlayFab unique identifier of the user whose custom data is being returned.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data.
- ///
- public uint DataVersion { get; set;}
- ///
- /// User specific data for this title.
- ///
- public Dictionary Data { get; set;}
- }
-
- [Serializable]
- public class GetUserInventoryRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- }
-
- [Serializable]
- public class GetUserInventoryResult : PlayFabResultCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Array of inventory items belonging to the user.
- ///
- public List Inventory { get; set;}
- ///
- /// Array of virtual currency balance(s) belonging to the user.
- ///
- public Dictionary VirtualCurrency { get; set;}
- ///
- /// Array of remaining times and timestamps for virtual currencies.
- ///
- public Dictionary VirtualCurrencyRechargeTimes { get; set;}
- }
-
- ///
- /// Result of granting an item to a user
- ///
- [Serializable]
- public class GrantedItemInstance
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique PlayFab assigned ID for a specific character owned by a user
- ///
- public string CharacterId { get; set;}
- ///
- /// Result of this operation.
- ///
- public bool Result { get; set;}
- ///
- /// Unique identifier for the inventory item, as defined in the catalog.
- ///
- public string ItemId { get; set;}
- ///
- /// Unique item identifier for this specific instance of the item.
- ///
- public string ItemInstanceId { get; set;}
- ///
- /// Class name for the inventory item, as defined in the catalog.
- ///
- public string ItemClass { get; set;}
- ///
- /// Timestamp for when this instance was purchased.
- ///
- public DateTime? PurchaseDate { get; set;}
- ///
- /// Timestamp for when this instance will expire.
- ///
- public DateTime? Expiration { get; set;}
- ///
- /// Total number of remaining uses, if this is a consumable item.
- ///
- public int? RemainingUses { get; set;}
- ///
- /// The number of uses that were added or removed to this item in this call.
- ///
- public int? UsesIncrementedBy { get; set;}
- ///
- /// Game specific comment associated with this instance when it was added to the user inventory.
- ///
- public string Annotation { get; set;}
- ///
- /// Catalog version for the inventory item, when this instance was created.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container.
- ///
- public string BundleParent { get; set;}
- ///
- /// CatalogItem.DisplayName at the time this item was purchased.
- ///
- public string DisplayName { get; set;}
- ///
- /// Currency type for the cost of the catalog item.
- ///
- public string UnitCurrency { get; set;}
- ///
- /// Cost of the catalog item in the given currency.
- ///
- public uint UnitPrice { get; set;}
- ///
- /// Array of unique items that were awarded when this catalog item was purchased.
- ///
- public List BundleContents { get; set;}
- ///
- /// A set of custom key-value pairs on the inventory item.
- ///
- public Dictionary CustomData { get; set;}
- }
-
- [Serializable]
- public class GrantItemsToUsersRequest : PlayFabRequestCommon
- {
- ///
- /// Catalog version from which items are to be granted.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Array of items to grant and the users to whom the items are to be granted.
- ///
- public List ItemGrants { get; set;}
- }
-
- [Serializable]
- public class GrantItemsToUsersResult : PlayFabResultCommon
- {
- ///
- /// Array of items granted to users.
- ///
- public List ItemGrantResults { get; set;}
- }
-
- [Serializable]
- public class IncrementPlayerStatisticVersionRequest : PlayFabRequestCommon
- {
- ///
- /// unique name of the statistic
- ///
- public string StatisticName { get; set;}
- }
-
- [Serializable]
- public class IncrementPlayerStatisticVersionResult : PlayFabResultCommon
- {
- ///
- /// version change history of the statistic
- ///
- public PlayerStatisticVersion StatisticVersion { get; set;}
- }
-
- [Serializable]
- public class ItemGrant
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique identifier of the catalog item to be granted to the user.
- ///
- public string ItemId { get; set;}
- ///
- /// String detailing any additional information concerning this operation.
- ///
- public string Annotation { get; set;}
- ///
- /// Unique PlayFab assigned ID for a specific character owned by a user
- ///
- public string CharacterId { get; set;}
- ///
- /// Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character.
- ///
- public Dictionary Data { get; set;}
- ///
- /// Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly.
- ///
- public List KeysToRemove { get; set;}
- }
-
- ///
- /// A unique instance of an item in a user's inventory. Note, to retrieve additional information for an item instance (such as Tags, Description, or Custom Data that are set on the root catalog item), a call to GetCatalogItems is required. The Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
- ///
- [Serializable]
- public class ItemInstance
- {
- ///
- /// Unique identifier for the inventory item, as defined in the catalog.
- ///
- public string ItemId { get; set;}
- ///
- /// Unique item identifier for this specific instance of the item.
- ///
- public string ItemInstanceId { get; set;}
- ///
- /// Class name for the inventory item, as defined in the catalog.
- ///
- public string ItemClass { get; set;}
- ///
- /// Timestamp for when this instance was purchased.
- ///
- public DateTime? PurchaseDate { get; set;}
- ///
- /// Timestamp for when this instance will expire.
- ///
- public DateTime? Expiration { get; set;}
- ///
- /// Total number of remaining uses, if this is a consumable item.
- ///
- public int? RemainingUses { get; set;}
- ///
- /// The number of uses that were added or removed to this item in this call.
- ///
- public int? UsesIncrementedBy { get; set;}
- ///
- /// Game specific comment associated with this instance when it was added to the user inventory.
- ///
- public string Annotation { get; set;}
- ///
- /// Catalog version for the inventory item, when this instance was created.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container.
- ///
- public string BundleParent { get; set;}
- ///
- /// CatalogItem.DisplayName at the time this item was purchased.
- ///
- public string DisplayName { get; set;}
- ///
- /// Currency type for the cost of the catalog item.
- ///
- public string UnitCurrency { get; set;}
- ///
- /// Cost of the catalog item in the given currency.
- ///
- public uint UnitPrice { get; set;}
- ///
- /// Array of unique items that were awarded when this catalog item was purchased.
- ///
- public List BundleContents { get; set;}
- ///
- /// A set of custom key-value pairs on the inventory item.
- ///
- public Dictionary CustomData { get; set;}
- }
-
- [Serializable]
- public class ListBuildsRequest : PlayFabRequestCommon
- {
- }
-
- [Serializable]
- public class ListBuildsResult : PlayFabResultCommon
- {
- ///
- /// array of uploaded game server builds
- ///
- public List Builds { get; set;}
- }
-
- [Serializable]
- public class ListVirtualCurrencyTypesRequest : PlayFabRequestCommon
- {
- }
-
- [Serializable]
- public class ListVirtualCurrencyTypesResult : PlayFabResultCommon
- {
- ///
- /// List of virtual currency names defined for this title
- ///
- public List VirtualCurrencies { get; set;}
- }
-
- public enum LoginIdentityProvider
- {
- Unknown,
- PlayFab,
- Custom,
- GameCenter,
- GooglePlay,
- Steam,
- XBoxLive,
- PSN,
- Kongregate,
- Facebook,
- IOSDevice,
- AndroidDevice,
- Twitch
- }
-
- [Serializable]
- public class LookupUserAccountInfoRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// User email address attached to their account
- ///
- public string Email { get; set;}
- ///
- /// PlayFab username for the account (3-20 characters)
- ///
- public string Username { get; set;}
- ///
- /// Title specific username to match against existing user accounts
- ///
- public string TitleDisplayName { get; set;}
- }
-
- [Serializable]
- public class LookupUserAccountInfoResult : PlayFabResultCommon
- {
- ///
- /// User info for the user matching the request
- ///
- public UserAccountInfo UserInfo { get; set;}
- }
-
- [Serializable]
- public class ModifyMatchmakerGameModesRequest : PlayFabRequestCommon
- {
- ///
- /// previously uploaded build version for which game modes are being specified
- ///
- public string BuildVersion { get; set;}
- ///
- /// array of game modes (Note: this will replace all game modes for the indicated build version)
- ///
- public List GameModes { get; set;}
- }
-
- [Serializable]
- public class ModifyMatchmakerGameModesResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class ModifyServerBuildRequest : PlayFabRequestCommon
- {
- ///
- /// unique identifier of the previously uploaded build executable to be updated
- ///
- public string BuildId { get; set;}
- ///
- /// new timestamp
- ///
- public DateTime? Timestamp { get; set;}
- ///
- /// array of regions where this build can used, when it is active
- ///
- public List ActiveRegions { get; set;}
- ///
- /// maximum number of game server instances that can run on a single host machine
- ///
- public int MaxGamesPerHost { get; set;}
- ///
- /// minimum capacity of additional game server instances that can be started before the autoscaling service starts new host machines (given the number of current running host machines and game server instances)
- ///
- public int MinFreeGameSlots { get; set;}
- ///
- /// appended to the end of the command line when starting game servers
- ///
- public string CommandLineTemplate { get; set;}
- ///
- /// path to the game server executable. Defaults to gameserver.exe
- ///
- public string ExecutablePath { get; set;}
- ///
- /// developer comment(s) for this build
- ///
- public string Comment { get; set;}
- }
-
- [Serializable]
- public class ModifyServerBuildResult : PlayFabResultCommon
- {
- ///
- /// unique identifier for this build executable
- ///
- public string BuildId { get; set;}
- ///
- /// array of regions where this build can used, when it is active
- ///
- public List ActiveRegions { get; set;}
- ///
- /// maximum number of game server instances that can run on a single host machine
- ///
- public int MaxGamesPerHost { get; set;}
- ///
- /// minimum capacity of additional game server instances that can be started before the autoscaling service starts new host machines (given the number of current running host machines and game server instances)
- ///
- public int MinFreeGameSlots { get; set;}
- ///
- /// appended to the end of the command line when starting game servers
- ///
- public string CommandLineTemplate { get; set;}
- ///
- /// path to the game server executable. Defaults to gameserver.exe
- ///
- public string ExecutablePath { get; set;}
- ///
- /// developer comment(s) for this build
- ///
- public string Comment { get; set;}
- ///
- /// time this build was last modified (or uploaded, if this build has never been modified)
- ///
- public DateTime Timestamp { get; set;}
- ///
- /// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
- ///
- public string TitleId { get; set;}
- ///
- /// the current status of the build validation and processing steps
- ///
- public GameBuildStatus? Status { get; set;}
- }
-
- [Serializable]
- public class ModifyUserVirtualCurrencyResult : PlayFabResultCommon
- {
- ///
- /// User currency was subtracted from.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Name of the virtual currency which was modified.
- ///
- public string VirtualCurrency { get; set;}
- ///
- /// Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded.
- ///
- public int BalanceChange { get; set;}
- ///
- /// Balance of the virtual currency after modification.
- ///
- public int Balance { get; set;}
- }
-
- [Serializable]
- public class PlayerLinkedAccount
- {
- ///
- /// Authentication platform
- ///
- public LoginIdentityProvider? Platform { get; set;}
- ///
- /// Platform user identifier
- ///
- public string PlatformUserId { get; set;}
- ///
- /// Linked account's username
- ///
- public string Username { get; set;}
- ///
- /// Linked account's email
- ///
- public string Email { get; set;}
- }
-
- [Serializable]
- public class PlayerProfile
- {
- ///
- /// PlayFab Player ID
- ///
- public string PlayerId { get; set;}
- ///
- /// Title ID this profile applies to
- ///
- public string TitleId { get; set;}
- ///
- /// Player Display Name
- ///
- public string DisplayName { get; set;}
- ///
- /// Publisher this player belongs to
- ///
- public string PublisherId { get; set;}
- ///
- /// Player account origination
- ///
- public LoginIdentityProvider? Origination { get; set;}
- ///
- /// Player record created
- ///
- public DateTime? Created { get; set;}
- ///
- /// Last login
- ///
- public DateTime? LastLogin { get; set;}
- ///
- /// Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date.
- ///
- public DateTime? BannedUntil { get; set;}
- ///
- /// Dictionary of player's statistics using only the latest version's value
- ///
- public Dictionary Statistics { get; set;}
- ///
- /// A sum of player's total purchases in USD across all currencies.
- ///
- public uint? TotalValueToDateInUSD { get; set;}
- ///
- /// Dictionary of player's total purchases by currency.
- ///
- public Dictionary ValuesToDate { get; set;}
- ///
- /// List of player's tags for segmentation.
- ///
- public List Tags { get; set;}
- ///
- /// Dictionary of player's virtual currency balances
- ///
- public Dictionary VirtualCurrencyBalances { get; set;}
- ///
- /// Array of ad campaigns player has been attributed to
- ///
- public List AdCampaignAttributions { get; set;}
- ///
- /// Array of configured push notification end points
- ///
- public List PushNotificationRegistrations { get; set;}
- ///
- /// Array of third party accounts linked to this player
- ///
- public List LinkedAccounts { get; set;}
- ///
- /// Array of player statistics
- ///
- public List PlayerStatistics { get; set;}
- }
-
- [Serializable]
- public class PlayerStatistic
- {
- ///
- /// Statistic ID
- ///
- public string Id { get; set;}
- ///
- /// Statistic version (0 if not a versioned statistic)
- ///
- public int StatisticVersion { get; set;}
- ///
- /// Current statistic value
- ///
- public int StatisticValue { get; set;}
- ///
- /// Statistic name
- ///
- public string Name { get; set;}
- }
-
- [Serializable]
- public class PlayerStatisticDefinition
- {
- ///
- /// unique name of the statistic
- ///
- public string StatisticName { get; set;}
- ///
- /// current active version of the statistic, incremented each time the statistic resets
- ///
- public uint CurrentVersion { get; set;}
- ///
- /// interval at which the values of the statistic for all players are reset automatically
- ///
- public StatisticResetIntervalOption? VersionChangeInterval { get; set;}
- ///
- /// the aggregation method to use in updating the statistic (defaults to last)
- ///
- public StatisticAggregationMethod? AggregationMethod { get; set;}
- }
-
- [Serializable]
- public class PlayerStatisticVersion
- {
- ///
- /// name of the statistic when the version became active
- ///
- public string StatisticName { get; set;}
- ///
- /// version of the statistic
- ///
- public uint Version { get; set;}
- ///
- /// time at which the statistic version was scheduled to become active, based on the configured ResetInterval
- ///
- public DateTime? ScheduledActivationTime { get; set;}
- ///
- /// time when the statistic version became active
- ///
- public DateTime ActivationTime { get; set;}
- ///
- /// time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval
- ///
- public DateTime? ScheduledDeactivationTime { get; set;}
- ///
- /// time when the statistic version became inactive due to statistic version incrementing
- ///
- public DateTime? DeactivationTime { get; set;}
- ///
- /// status of the process of saving player statistic values of the previous version to a downloadable archive
- ///
- public StatisticVersionArchivalStatus? ArchivalStatus { get; set;}
- ///
- /// URL for the downloadable archive of player statistic values, if available
- ///
- public string ArchiveDownloadUrl { get; set;}
- }
-
- public enum PushNotificationPlatform
- {
- ApplePushNotificationService,
- GoogleCloudMessaging
- }
-
- [Serializable]
- public class PushNotificationRegistration
- {
- ///
- /// Push notification platform
- ///
- public PushNotificationPlatform? Platform { get; set;}
- ///
- /// Notification configured endpoint
- ///
- public string NotificationEndpointARN { get; set;}
- }
-
- [Serializable]
- public class RandomResultTable
- {
- ///
- /// Unique name for this drop table
- ///
- public string TableId { get; set;}
- ///
- /// Child nodes that indicate what kind of drop table item this actually is.
- ///
- public List Nodes { get; set;}
- }
-
- [Serializable]
- public class RandomResultTableListing
- {
- ///
- /// Catalog version this table is associated with
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Unique name for this drop table
- ///
- public string TableId { get; set;}
- ///
- /// Child nodes that indicate what kind of drop table item this actually is.
- ///
- public List Nodes { get; set;}
- }
-
- [Serializable]
- public class RefundPurchaseRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique order ID for the purchase in question.
- ///
- public string OrderId { get; set;}
- ///
- /// Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds)
- ///
- public string Reason { get; set;}
- }
-
- [Serializable]
- public class RefundPurchaseResponse : PlayFabResultCommon
- {
- ///
- /// The order's updated purchase status.
- ///
- public string PurchaseStatus { get; set;}
- }
-
- public enum Region
- {
- USCentral,
- USEast,
- EUWest,
- Singapore,
- Japan,
- Brazil,
- Australia
- }
-
- [Serializable]
- public class RemovePlayerTagRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique tag for player profile.
- ///
- public string TagName { get; set;}
- }
-
- [Serializable]
- public class RemovePlayerTagResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class RemoveServerBuildRequest : PlayFabRequestCommon
- {
- ///
- /// unique identifier of the previously uploaded build executable to be removed
- ///
- public string BuildId { get; set;}
- }
-
- [Serializable]
- public class RemoveServerBuildResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class RemoveVirtualCurrencyTypesRequest : PlayFabRequestCommon
- {
- ///
- /// List of virtual currencies to delete
- ///
- public List VirtualCurrencies { get; set;}
- }
-
- [Serializable]
- public class ResetCharacterStatisticsRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique PlayFab assigned ID for a specific character owned by a user
- ///
- public string CharacterId { get; set;}
- }
-
- [Serializable]
- public class ResetCharacterStatisticsResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class ResetUsersRequest : PlayFabRequestCommon
- {
- ///
- /// Array of users to reset
- ///
- public List Users { get; set;}
- }
-
- [Serializable]
- public class ResetUserStatisticsRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- }
-
- [Serializable]
- public class ResetUserStatisticsResult : PlayFabResultCommon
- {
- }
-
- public enum ResolutionOutcome
- {
- Revoke,
- Reinstate,
- Manual
- }
-
- [Serializable]
- public class ResolvePurchaseDisputeRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique order ID for the purchase in question.
- ///
- public string OrderId { get; set;}
- ///
- /// Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds)
- ///
- public string Reason { get; set;}
- ///
- /// Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state.
- ///
- public ResolutionOutcome Outcome { get; set;}
- }
-
- [Serializable]
- public class ResolvePurchaseDisputeResponse : PlayFabResultCommon
- {
- ///
- /// The order's updated purchase status.
- ///
- public string PurchaseStatus { get; set;}
- }
-
- [Serializable]
- public class ResultTableNode
- {
- ///
- /// Whether this entry in the table is an item or a link to another table
- ///
- public ResultTableNodeType ResultItemType { get; set;}
- ///
- /// Either an ItemId, or the TableId of another random result table
- ///
- public string ResultItem { get; set;}
- ///
- /// How likely this is to be rolled - larger numbers add more weight
- ///
- public int Weight { get; set;}
- }
-
- public enum ResultTableNodeType
- {
- ItemId,
- TableId
- }
-
- [Serializable]
- public class RevokeAllBansForUserRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- }
-
- [Serializable]
- public class RevokeAllBansForUserResult : PlayFabResultCommon
- {
- ///
- /// Information on the bans that were revoked.
- ///
- public List BanData { get; set;}
- }
-
- [Serializable]
- public class RevokeBansRequest : PlayFabRequestCommon
- {
- ///
- /// Ids of the bans to be revoked. Maximum 100.
- ///
- public List BanIds { get; set;}
- }
-
- [Serializable]
- public class RevokeBansResult : PlayFabResultCommon
- {
- ///
- /// Information on the bans that were revoked
- ///
- public List BanData { get; set;}
- }
-
- [Serializable]
- public class RevokeInventoryItemRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Unique PlayFab assigned ID for a specific character owned by a user
- ///
- public string CharacterId { get; set;}
- ///
- /// Unique PlayFab assigned instance identifier of the item
- ///
- public string ItemInstanceId { get; set;}
- }
-
- [Serializable]
- public class RevokeInventoryResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class SendAccountRecoveryEmailRequest : PlayFabRequestCommon
- {
- ///
- /// User email address attached to their account
- ///
- public string Email { get; set;}
- }
-
- [Serializable]
- public class SendAccountRecoveryEmailResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class SetPublishedRevisionRequest : PlayFabRequestCommon
- {
- ///
- /// Version number
- ///
- public int Version { get; set;}
- ///
- /// Revision to make the current published revision
- ///
- public int Revision { get; set;}
- }
-
- [Serializable]
- public class SetPublishedRevisionResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class SetPublisherDataRequest : PlayFabRequestCommon
- {
- ///
- /// key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character.
- ///
- public string Key { get; set;}
- ///
- /// new value to set. Set to null to remove a value
- ///
- public string Value { get; set;}
- }
-
- [Serializable]
- public class SetPublisherDataResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class SetTitleDataRequest : PlayFabRequestCommon
- {
- ///
- /// key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character.
- ///
- public string Key { get; set;}
- ///
- /// new value to set. Set to null to remove a value
- ///
- public string Value { get; set;}
- }
-
- [Serializable]
- public class SetTitleDataResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class SetupPushNotificationRequest : PlayFabRequestCommon
- {
- ///
- /// name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long)
- ///
- public string Name { get; set;}
- ///
- /// supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android
- ///
- public string Platform { get; set;}
- ///
- /// for APNS, this is the PlatformPrincipal (SSL Certificate)
- ///
- public string Key { get; set;}
- ///
- /// Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM
- ///
- public string Credential { get; set;}
- ///
- /// replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform.
- ///
- public bool OverwriteOldARN { get; set;}
- }
-
- [Serializable]
- public class SetupPushNotificationResult : PlayFabResultCommon
- {
- ///
- /// Amazon Resource Name for the created notification topic.
- ///
- public string ARN { get; set;}
- }
-
- public enum SourceType
- {
- Admin,
- BackEnd,
- GameClient,
- GameServer,
- Partner
- }
-
- public enum StatisticAggregationMethod
- {
- Last,
- Min,
- Max,
- Sum
- }
-
- public enum StatisticResetIntervalOption
- {
- Never,
- Hour,
- Day,
- Week,
- Month
- }
-
- public enum StatisticVersionArchivalStatus
- {
- NotScheduled,
- Scheduled,
- Queued,
- InProgress,
- Complete
- }
-
- ///
- /// A store entry that list a catalog item at a particular price
- ///
- [Serializable]
- public class StoreItem
- {
- ///
- /// Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog
- ///
- public string ItemId { get; set;}
- ///
- /// Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies)
- ///
- public Dictionary VirtualCurrencyPrices { get; set;}
- ///
- /// Override prices for this item for specific currencies
- ///
- public Dictionary RealCurrencyPrices { get; set;}
- ///
- /// Store specific custom data. The data only exists as part of this store; it is not transferred to item instances
- ///
- public object CustomData { get; set;}
- ///
- /// Intended display position for this item. Note that 0 is the first position
- ///
- public uint? DisplayPosition { get; set;}
- }
-
- ///
- /// Marketing data about a specific store
- ///
- [Serializable]
- public class StoreMarketingModel
- {
- ///
- /// Display name of a store as it will appear to users.
- ///
- public string DisplayName { get; set;}
- ///
- /// Tagline for a store.
- ///
- public string Description { get; set;}
- ///
- /// Custom data about a store.
- ///
- public object Metadata { get; set;}
- }
-
- [Serializable]
- public class SubtractUserVirtualCurrencyRequest : PlayFabRequestCommon
- {
- ///
- /// PlayFab unique identifier of the user whose virtual currency balance is to be decreased.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Name of the virtual currency which is to be decremented.
- ///
- public string VirtualCurrency { get; set;}
- ///
- /// Amount to be subtracted from the user balance of the specified virtual currency.
- ///
- public int Amount { get; set;}
- }
-
- public enum TitleActivationStatus
- {
- None,
- ActivatedTitleKey,
- PendingSteam,
- ActivatedSteam,
- RevokedSteam
- }
-
- ///
- /// Represents a single update ban request.
- ///
- [Serializable]
- public class UpdateBanRequest : PlayFabRequestCommon
- {
- ///
- /// The id of the ban to be updated.
- ///
- public string BanId { get; set;}
- ///
- /// The updated reason for the ban to be updated. Maximum 140 characters. Null for no change.
- ///
- public string Reason { get; set;}
- ///
- /// The updated expiration date for the ban. Null for no change.
- ///
- public DateTime? Expires { get; set;}
- ///
- /// The updated IP address for the ban. Null for no change.
- ///
- public string IPAddress { get; set;}
- ///
- /// The updated MAC address for the ban. Null for no change.
- ///
- public string MACAddress { get; set;}
- ///
- /// Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state.
- ///
- public bool? Permanent { get; set;}
- ///
- /// The updated active state for the ban. Null for no change.
- ///
- public bool? Active { get; set;}
- }
-
- [Serializable]
- public class UpdateBansRequest : PlayFabRequestCommon
- {
- ///
- /// List of bans to be updated. Maximum 100.
- ///
- public List Bans { get; set;}
- }
-
- [Serializable]
- public class UpdateBansResult : PlayFabResultCommon
- {
- ///
- /// Information on the bans that were updated
- ///
- public List BanData { get; set;}
- }
-
- [Serializable]
- public class UpdateCatalogItemsRequest : PlayFabRequestCommon
- {
- ///
- /// Which catalog is being updated. If null, uses the default catalog.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it.
- ///
- public bool? SetAsDefaultCatalog { get; set;}
- ///
- /// Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call.
- ///
- public List Catalog { get; set;}
- }
-
- [Serializable]
- public class UpdateCatalogItemsResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class UpdateCloudScriptRequest : PlayFabRequestCommon
- {
- ///
- /// Deprecated - Do not use
- ///
- [Obsolete("No longer available", true)]
- public int? Version { get; set;}
- ///
- /// List of Cloud Script files to upload to create the new revision. Must have at least one file.
- ///
- public List Files { get; set;}
- ///
- /// Immediately publish the new revision
- ///
- public bool Publish { get; set;}
- ///
- /// PlayFab user ID of the developer initiating the request.
- ///
- public string DeveloperPlayFabId { get; set;}
- }
-
- [Serializable]
- public class UpdateCloudScriptResult : PlayFabResultCommon
- {
- ///
- /// Cloud Script version updated
- ///
- public int Version { get; set;}
- ///
- /// New revision number created
- ///
- public int Revision { get; set;}
- }
-
- [Serializable]
- public class UpdatePlayerStatisticDefinitionRequest : PlayFabRequestCommon
- {
- ///
- /// unique name of the statistic
- ///
- public string StatisticName { get; set;}
- ///
- /// interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary)
- ///
- public StatisticResetIntervalOption? VersionChangeInterval { get; set;}
- ///
- /// the aggregation method to use in updating the statistic (defaults to last)
- ///
- public StatisticAggregationMethod? AggregationMethod { get; set;}
- }
-
- [Serializable]
- public class UpdatePlayerStatisticDefinitionResult : PlayFabResultCommon
- {
- ///
- /// updated statistic definition
- ///
- public PlayerStatisticDefinition Statistic { get; set;}
- }
-
- [Serializable]
- public class UpdateRandomResultTablesRequest : PlayFabRequestCommon
- {
- ///
- /// which catalog is being updated. If null, update the current default catalog version
- ///
- public string CatalogVersion { get; set;}
- ///
- /// array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that table, while any others will be added to the available set)
- ///
- public List Tables { get; set;}
- }
-
- [Serializable]
- public class UpdateRandomResultTablesResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class UpdateStoreItemsRequest : PlayFabRequestCommon
- {
- ///
- /// Catalog version of the store to update. If null, uses the default catalog.
- ///
- public string CatalogVersion { get; set;}
- ///
- /// Unique identifier for the store which is to be updated
- ///
- public string StoreId { get; set;}
- ///
- /// Additional data about the store
- ///
- public StoreMarketingModel MarketingData { get; set;}
- ///
- /// Array of store items - references to catalog items, with specific pricing - to be added
- ///
- public List Store { get; set;}
- }
-
- [Serializable]
- public class UpdateStoreItemsResult : PlayFabResultCommon
- {
- }
-
- [Serializable]
- public class UpdateUserDataRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character.
- ///
- public Dictionary Data { get; set;}
- ///
- /// Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly.
- ///
- public List KeysToRemove { get; set;}
- ///
- /// Permission to be applied to all user data keys written in this request. Defaults to "private" if not set.
- ///
- public UserDataPermission? Permission { get; set;}
- }
-
- [Serializable]
- public class UpdateUserDataResult : PlayFabResultCommon
- {
- ///
- /// Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data.
- ///
- public uint DataVersion { get; set;}
- }
-
- [Serializable]
- public class UpdateUserInternalDataRequest : PlayFabRequestCommon
- {
- ///
- /// Unique PlayFab assigned ID of the user on whom the operation will be performed.
- ///
- public string PlayFabId { get; set;}
- ///
- /// Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character.
- ///
- public Dictionary Data { get; set;}
- ///
- /// Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly.
- ///
- public List KeysToRemove { get; set;}
- }
-
- [Serializable]
- public class UpdateUserTitleDisplayNameRequest : PlayFabRequestCommon
- {
- ///
- /// PlayFab unique identifier of the user whose title specific display name is to be changed
- ///
- public string PlayFabId { get; set;}
- ///
- /// new title display name for the user - must be between 3 and 25 characters
- ///
- public string DisplayName { get; set;}
- }
-
- [Serializable]
- public class UpdateUserTitleDisplayNameResult : PlayFabResultCommon
- {
- ///
- /// current title display name for the user (this will be the original display name if the rename attempt failed)
- ///
- public string DisplayName { get; set;}
- }
-
- [Serializable]
- public class UserAccountInfo
- {
- ///
- /// Unique identifier for the user account
- ///
- public string PlayFabId { get; set;}
- ///
- /// Timestamp indicating when the user account was created
- ///
- public DateTime Created { get; set;}
- ///
- /// User account name in the PlayFab service
- ///
- public string Username { get; set;}
- ///
- /// Title-specific information for the user account
- ///
- public UserTitleInfo TitleInfo { get; set;}
- ///
- /// Personal information for the user which is considered more sensitive
- ///
- public UserPrivateAccountInfo PrivateInfo { get; set;}
- ///
- /// User Facebook information, if a Facebook account has been linked
- ///
- public UserFacebookInfo FacebookInfo { get; set;}
- ///
- /// User Steam information, if a Steam account has been linked
- ///
- public UserSteamInfo SteamInfo { get; set;}
- ///
- /// User Gamecenter information, if a Gamecenter account has been linked
- ///
- public UserGameCenterInfo GameCenterInfo { get; set;}
- ///
- /// User iOS device information, if an iOS device has been linked
- ///
- public UserIosDeviceInfo IosDeviceInfo { get; set;}
- ///
- /// User Android device information, if an Android device has been linked
- ///
- public UserAndroidDeviceInfo AndroidDeviceInfo { get; set;}
- ///
- /// User Kongregate account information, if a Kongregate account has been linked
- ///
- public UserKongregateInfo KongregateInfo { get; set;}
- ///
- /// User Twitch account information, if a Twitch account has been linked
- ///
- public UserTwitchInfo TwitchInfo { get; set;}
- ///
- /// User PSN account information, if a PSN account has been linked
- ///
- public UserPsnInfo PsnInfo { get; set;}
- ///
- /// User Google account information, if a Google account has been linked
- ///
- public UserGoogleInfo GoogleInfo { get; set;}
- ///
- /// User XBox account information, if a XBox account has been linked
- ///
- public UserXboxInfo XboxInfo { get; set;}
- ///
- /// Custom ID information, if a custom ID has been assigned
- ///
- public UserCustomIdInfo CustomIdInfo { get; set;}
- }
-
- [Serializable]
- public class UserAndroidDeviceInfo
- {
- ///
- /// Android device ID
- ///
- public string AndroidDeviceId { get; set;}
- }
-
- [Serializable]
- public class UserCredentials
- {
- ///
- /// Username of user to reset
- ///
- public string Username { get; set;}
- ///
- /// Password for the PlayFab account (6-100 characters)
- ///
- public string Password { get; set;}
- }
-
- [Serializable]
- public class UserCustomIdInfo
- {
- ///
- /// Custom ID
- ///
- public string CustomId { get; set;}
- }
-
- ///
- /// Indicates whether a given data key is private (readable only by the player) or public (readable by all players). When a player makes a GetUserData request about another player, only keys marked Public will be returned.
- ///
- public enum UserDataPermission
- {
- Private,
- Public
- }
-
- [Serializable]
- public class UserDataRecord
- {
- ///
- /// Data stored for the specified user data key.
- ///
- public string Value { get; set;}
- ///
- /// Timestamp for when this data was last updated.
- ///
- public DateTime LastUpdated { get; set;}
- ///
- /// Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player.
- ///
- public UserDataPermission? Permission { get; set;}
- }
-
- [Serializable]
- public class UserFacebookInfo
- {
- ///
- /// Facebook identifier
- ///
- public string FacebookId { get; set;}
- ///
- /// Facebook full name
- ///
- public string FullName { get; set;}
- }
-
- [Serializable]
- public class UserGameCenterInfo
- {
- ///
- /// Gamecenter identifier
- ///
- public string GameCenterId { get; set;}
- }
-
- [Serializable]
- public class UserGoogleInfo
- {
- ///
- /// Google ID
- ///
- public string GoogleId { get; set;}
- ///
- /// Email address of the Google account
- ///
- public string GoogleEmail { get; set;}
- ///
- /// Locale of the Google account
- ///
- public string GoogleLocale { get; set;}
- ///
- /// Gender information of the Google account
- ///
- public string GoogleGender { get; set;}
- }
-
- [Serializable]
- public class UserIosDeviceInfo
- {
- ///
- /// iOS device ID
- ///
- public string IosDeviceId { get; set;}
- }
-
- [Serializable]
- public class UserKongregateInfo
- {
- ///
- /// Kongregate ID
- ///
- public string KongregateId { get; set;}
- ///
- /// Kongregate Username
- ///
- public string KongregateName { get; set;}
- }
-
- public enum UserOrigination
- {
- Organic,
- Steam,
- Google,
- Amazon,
- Facebook,
- Kongregate,
- GamersFirst,
- Unknown,
- IOS,
- LoadTest,
- Android,
- PSN,
- GameCenter,
- CustomId,
- XboxLive,
- Parse,
- Twitch
- }
-
- [Serializable]
- public class UserPrivateAccountInfo
- {
- ///
- /// user email address
- ///
- public string Email { get; set;}
- }
-
- [Serializable]
- public class UserPsnInfo
- {
- ///
- /// PSN account ID
- ///
- public string PsnAccountId { get; set;}
- ///
- /// PSN online ID
- ///
- public string PsnOnlineId { get; set;}
- }
-
- [Serializable]
- public class UserSteamInfo
- {
- ///
- /// Steam identifier
- ///
- public string SteamId { get; set;}
- ///
- /// the country in which the player resides, from Steam data
- ///
- public string SteamCountry { get; set;}
- ///
- /// currency type set in the user Steam account
- ///
- public Currency? SteamCurrency { get; set;}
- ///
- /// what stage of game ownership the user is listed as being in, from Steam
- ///
- public TitleActivationStatus? SteamActivationStatus { get; set;}
- }
-
- [Serializable]
- public class UserTitleInfo
- {
- ///
- /// name of the user, as it is displayed in-game
- ///
- public string DisplayName { get; set;}
- ///
- /// source by which the user first joined the game, if known
- ///
- public UserOrigination? Origination { get; set;}
- ///
- /// timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab)
- ///
- public DateTime Created { get; set;}
- ///
- /// timestamp for the last user login for this title
- ///
- public DateTime? LastLogin { get; set;}
- ///
- /// timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user)
- ///
- public DateTime? FirstLogin { get; set;}
- ///
- /// boolean indicating whether or not the user is currently banned for a title
- ///
- public bool? isBanned { get; set;}
- }
-
- [Serializable]
- public class UserTwitchInfo
- {
- ///
- /// Twitch ID
- ///
- public string TwitchId { get; set;}
- ///
- /// Twitch Username
- ///
- public string TwitchUserName { get; set;}
- }
-
- [Serializable]
- public class UserXboxInfo
- {
- ///
- /// XBox user ID
- ///
- public string XboxUserId { get; set;}
- }
-
- [Serializable]
- public class VirtualCurrencyData
- {
- ///
- /// unique one- or two-character identifier for this currency type (e.g.: "CC", "G")
- ///
- public string CurrencyCode { get; set;}
- ///
- /// friendly name to show in the developer portal, reports, etc.
- ///
- public string DisplayName { get; set;}
- ///
- /// amount to automatically grant users upon first login to the title
- ///
- public int? InitialDeposit { get; set;}
- ///
- /// rate at which the currency automatically be added to over time, in units per day (24 hours)
- ///
- public int? RechargeRate { get; set;}
- ///
- /// maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less)
- ///
- public int? RechargeMax { get; set;}
- }
-
- [Serializable]
- public class VirtualCurrencyRechargeTime
- {
- ///
- /// Time remaining (in seconds) before the next recharge increment of the virtual currency.
- ///
- public int SecondsToRecharge { get; set;}
- ///
- /// Server timestamp in UTC indicating the next time the virtual currency will be incremented.
- ///
- public DateTime RechargeTime { get; set;}
- ///
- /// Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value.
- ///
- public int RechargeMax { get; set;}
- }
-}
-#endif
diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminModels.cs.meta b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminModels.cs.meta
deleted file mode 100755
index 98594459..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabAdminModels.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 5d7a769446de4b7459591c36c05197ed
-timeCreated: 1468524875
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabEvents.cs b/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabEvents.cs
deleted file mode 100755
index 5d70835a..00000000
--- a/Recipes/PrizeWheel/Example-Unity3d/PrizeWheel/Assets/PlayFabSdk/Admin/PlayFabEvents.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-#if ENABLE_PLAYFABADMIN_API
-using PlayFab.AdminModels;
-
-namespace PlayFab.Events
-{
- public partial class PlayFabEvents
- {
- public event PlayFabRequestEvent OnAdminBanUsersRequestEvent;
- public event PlayFabResultEvent OnAdminBanUsersResultEvent;
- public event PlayFabRequestEvent OnAdminGetUserAccountInfoRequestEvent;
- public event PlayFabResultEvent OnAdminGetUserAccountInfoResultEvent;
- public event PlayFabRequestEvent OnAdminGetUserBansRequestEvent;
- public event PlayFabResultEvent OnAdminGetUserBansResultEvent;
- public event PlayFabRequestEvent OnAdminResetUsersRequestEvent;
- public event PlayFabResultEvent OnAdminResetUsersResultEvent;
- public event PlayFabRequestEvent OnAdminRevokeAllBansForUserRequestEvent;
- public event PlayFabResultEvent OnAdminRevokeAllBansForUserResultEvent;
- public event PlayFabRequestEvent OnAdminRevokeBansRequestEvent;
- public event PlayFabResultEvent OnAdminRevokeBansResultEvent;
- public event PlayFabRequestEvent OnAdminSendAccountRecoveryEmailRequestEvent;
- public event PlayFabResultEvent