diff --git a/AndroidStudioExample/app/packageMe.ps1 b/AndroidStudioExample/app/packageMe.ps1 index 96452c07..d827dd53 100644 --- a/AndroidStudioExample/app/packageMe.ps1 +++ b/AndroidStudioExample/app/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item client-sdk-0.223.240816.jar -Destination ../../builds/client-sdk-0.223.240816.jar \ No newline at end of file +Copy-Item client-sdk-0.224.240830.jar -Destination ../../builds/client-sdk-0.224.240830.jar \ No newline at end of file diff --git a/AndroidStudioExample/app/packageMe.sh b/AndroidStudioExample/app/packageMe.sh index 4b3a90ec..d88cb92c 100644 --- a/AndroidStudioExample/app/packageMe.sh +++ b/AndroidStudioExample/app/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp client-sdk-0.223.240816.jar ../../builds/client-sdk-0.223.240816.jar +cp client-sdk-0.224.240830.jar ../../builds/client-sdk-0.224.240830.jar diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAddonModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAddonModels.java index 8c01a4cc..0dc6d945 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAddonModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAddonModels.java @@ -95,6 +95,12 @@ public static class CreateOrUpdateGoogleRequest { * Required if using Google Authentication. */ public String OAuthClientSecret; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OAuthCustomRedirectUri; /** Needed to enable pending purchase handling and subscription processing. */ public String ServiceAccountKey; @@ -398,6 +404,12 @@ public static class GetGoogleResponse { * Required if using Google Authentication. */ public String OAuthClientID; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OauthCustomRedirectUri; } diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java index 05e0b425..d7d3e3c3 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java @@ -1112,20 +1112,23 @@ public static class FacebookPlayFabIdPair { } public static class FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ public UserFacebookInfo FacebookInfo; /** PlayFab unique identifier for this friend. */ public String FriendPlayFabId; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ public UserGameCenterInfo GameCenterInfo; /** The profile of the user, if requested. */ public PlayerProfileModel Profile; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ public UserPsnInfo PSNInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ public UserSteamInfo SteamInfo; /** Tags which have been associated with this friend. */ public ArrayList Tags; @@ -1133,7 +1136,7 @@ public static class FriendInfo { public String TitleDisplayName; /** PlayFab unique username for this friend. */ public String Username; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ public UserXboxInfo XboxInfo; } diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java index 878da397..542ad048 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1667,18 +1667,18 @@ public static class RedemptionFailure { public String FailureCode; /** The marketplace error details explaining why the offer failed to redeem. */ public String FailureDetails; + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; } public static class RedemptionSuccess { + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; /** The timestamp for when the redeem was completed. */ public Date SuccessTimestamp; diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java index 71cca2a3..a9d7ae45 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java @@ -589,7 +589,7 @@ public static enum PlayFabErrorCode { MultipleLinkedStatisticsNotAllowed(1588), DuplicateLinkedStatisticColumnNameFound(1589), AggregationTypeNotAllowedForMultiColumnStatistic(1590), - MaxQueryableVerionsValueNotAllowedForTier(1591), + MaxQueryableVersionsValueNotAllowedForTier(1591), StatisticDefinitionHasNullOrEmptyVersionConfiguration(1592), StatisticColumnLengthMismatch(1593), MatchmakingEntityInvalid(2001), diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMatchmakerAPI.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMatchmakerAPI.java deleted file mode 100644 index a12172be..00000000 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMatchmakerAPI.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.playfab; - -import com.playfab.internal.*; -import com.playfab.PlayFabMatchmakerModels.*; -import com.playfab.PlayFabErrors.*; -import com.playfab.PlayFabSettings; -import java.util.concurrent.*; -import java.util.*; -import com.google.gson.*; -import com.google.gson.reflect.*; - - /** Enables the use of an external match-making service in conjunction with PlayFab hosted Game Server instances */ -public class PlayFabMatchmakerAPI { - private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); - -} diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMatchmakerModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMatchmakerModels.java deleted file mode 100644 index 45431fc1..00000000 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMatchmakerModels.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.playfab; - -import java.util.*; -import com.playfab.PlayFabUtil.*; - -public class PlayFabMatchmakerModels { - -} diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java index 30b17d3c..9b3e30f6 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java @@ -9,9 +9,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.223.240816"; - public static String BuildIdentifier = "adobuild_javasdk_116"; - public static String SdkVersionString = "JavaSDK-0.223.240816"; + public static String SdkVersion = "0.224.240830"; + public static String BuildIdentifier = "adobuild_javasdk_8"; + public static String SdkVersionString = "JavaSDK-0.224.240830"; public static Map RequestGetParams; static { diff --git a/PlayFabClientSDK/packageMe.ps1 b/PlayFabClientSDK/packageMe.ps1 index 96452c07..d827dd53 100644 --- a/PlayFabClientSDK/packageMe.ps1 +++ b/PlayFabClientSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item client-sdk-0.223.240816.jar -Destination ../../builds/client-sdk-0.223.240816.jar \ No newline at end of file +Copy-Item client-sdk-0.224.240830.jar -Destination ../../builds/client-sdk-0.224.240830.jar \ No newline at end of file diff --git a/PlayFabClientSDK/packageMe.sh b/PlayFabClientSDK/packageMe.sh index 4b3a90ec..d88cb92c 100644 --- a/PlayFabClientSDK/packageMe.sh +++ b/PlayFabClientSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp client-sdk-0.223.240816.jar ../../builds/client-sdk-0.223.240816.jar +cp client-sdk-0.224.240830.jar ../../builds/client-sdk-0.224.240830.jar diff --git a/PlayFabClientSDK/pom.xml b/PlayFabClientSDK/pom.xml index 90f138dd..4c1328d5 100644 --- a/PlayFabClientSDK/pom.xml +++ b/PlayFabClientSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab client-sdk - 0.223.240816 + 0.224.240830 PlayFab Client API PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAddonModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAddonModels.java index 8c01a4cc..0dc6d945 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAddonModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAddonModels.java @@ -95,6 +95,12 @@ public static class CreateOrUpdateGoogleRequest { * Required if using Google Authentication. */ public String OAuthClientSecret; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OAuthCustomRedirectUri; /** Needed to enable pending purchase handling and subscription processing. */ public String ServiceAccountKey; @@ -398,6 +404,12 @@ public static class GetGoogleResponse { * Required if using Google Authentication. */ public String OAuthClientID; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OauthCustomRedirectUri; } diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java index 05e0b425..d7d3e3c3 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -1112,20 +1112,23 @@ public static class FacebookPlayFabIdPair { } public static class FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ public UserFacebookInfo FacebookInfo; /** PlayFab unique identifier for this friend. */ public String FriendPlayFabId; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ public UserGameCenterInfo GameCenterInfo; /** The profile of the user, if requested. */ public PlayerProfileModel Profile; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ public UserPsnInfo PSNInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ public UserSteamInfo SteamInfo; /** Tags which have been associated with this friend. */ public ArrayList Tags; @@ -1133,7 +1136,7 @@ public static class FriendInfo { public String TitleDisplayName; /** PlayFab unique username for this friend. */ public String Username; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ public UserXboxInfo XboxInfo; } diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index 878da397..542ad048 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1667,18 +1667,18 @@ public static class RedemptionFailure { public String FailureCode; /** The marketplace error details explaining why the offer failed to redeem. */ public String FailureDetails; + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; } public static class RedemptionSuccess { + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; /** The timestamp for when the redeem was completed. */ public Date SuccessTimestamp; diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java index 71cca2a3..a9d7ae45 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -589,7 +589,7 @@ public static enum PlayFabErrorCode { MultipleLinkedStatisticsNotAllowed(1588), DuplicateLinkedStatisticColumnNameFound(1589), AggregationTypeNotAllowedForMultiColumnStatistic(1590), - MaxQueryableVerionsValueNotAllowedForTier(1591), + MaxQueryableVersionsValueNotAllowedForTier(1591), StatisticDefinitionHasNullOrEmptyVersionConfiguration(1592), StatisticColumnLengthMismatch(1593), MatchmakingEntityInvalid(2001), diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java deleted file mode 100644 index a12172be..00000000 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.playfab; - -import com.playfab.internal.*; -import com.playfab.PlayFabMatchmakerModels.*; -import com.playfab.PlayFabErrors.*; -import com.playfab.PlayFabSettings; -import java.util.concurrent.*; -import java.util.*; -import com.google.gson.*; -import com.google.gson.reflect.*; - - /** Enables the use of an external match-making service in conjunction with PlayFab hosted Game Server instances */ -public class PlayFabMatchmakerAPI { - private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); - -} diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java deleted file mode 100644 index 45431fc1..00000000 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.playfab; - -import java.util.*; -import com.playfab.PlayFabUtil.*; - -public class PlayFabMatchmakerModels { - -} diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java index aa50667e..f6e506db 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.223.240816"; - public static String BuildIdentifier = "adobuild_javasdk_116"; - public static String SdkVersionString = "JavaSDK-0.223.240816"; + public static String SdkVersion = "0.224.240830"; + public static String BuildIdentifier = "adobuild_javasdk_8"; + public static String SdkVersionString = "JavaSDK-0.224.240830"; public static Map RequestGetParams; static { diff --git a/PlayFabSDK/packageMe.ps1 b/PlayFabSDK/packageMe.ps1 index 98169b16..8ff1c0c8 100644 --- a/PlayFabSDK/packageMe.ps1 +++ b/PlayFabSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item combo-sdk-0.223.240816.jar -Destination ../../builds/combo-sdk-0.223.240816.jar \ No newline at end of file +Copy-Item combo-sdk-0.224.240830.jar -Destination ../../builds/combo-sdk-0.224.240830.jar \ No newline at end of file diff --git a/PlayFabSDK/packageMe.sh b/PlayFabSDK/packageMe.sh index a518ae89..7667e0fb 100644 --- a/PlayFabSDK/packageMe.sh +++ b/PlayFabSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp combo-sdk-0.223.240816.jar ../../builds/combo-sdk-0.223.240816.jar +cp combo-sdk-0.224.240830.jar ../../builds/combo-sdk-0.224.240830.jar diff --git a/PlayFabSDK/pom.xml b/PlayFabSDK/pom.xml index 325c16c2..1289e5a6 100644 --- a/PlayFabSDK/pom.xml +++ b/PlayFabSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab combo-sdk - 0.223.240816 + 0.224.240830 PlayFab Combo API PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAddonModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAddonModels.java index 8c01a4cc..0dc6d945 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAddonModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAddonModels.java @@ -95,6 +95,12 @@ public static class CreateOrUpdateGoogleRequest { * Required if using Google Authentication. */ public String OAuthClientSecret; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OAuthCustomRedirectUri; /** Needed to enable pending purchase handling and subscription processing. */ public String ServiceAccountKey; @@ -398,6 +404,12 @@ public static class GetGoogleResponse { * Required if using Google Authentication. */ public String OAuthClientID; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OauthCustomRedirectUri; } diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java index b44782da..581f9ee8 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -2082,7 +2082,7 @@ public static enum GenericErrorCodes { MultipleLinkedStatisticsNotAllowed, DuplicateLinkedStatisticColumnNameFound, AggregationTypeNotAllowedForMultiColumnStatistic, - MaxQueryableVerionsValueNotAllowedForTier, + MaxQueryableVersionsValueNotAllowedForTier, StatisticDefinitionHasNullOrEmptyVersionConfiguration, StatisticColumnLengthMismatch, MatchmakingEntityInvalid, diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java index 05e0b425..d7d3e3c3 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -1112,20 +1112,23 @@ public static class FacebookPlayFabIdPair { } public static class FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ public UserFacebookInfo FacebookInfo; /** PlayFab unique identifier for this friend. */ public String FriendPlayFabId; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ public UserGameCenterInfo GameCenterInfo; /** The profile of the user, if requested. */ public PlayerProfileModel Profile; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ public UserPsnInfo PSNInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ public UserSteamInfo SteamInfo; /** Tags which have been associated with this friend. */ public ArrayList Tags; @@ -1133,7 +1136,7 @@ public static class FriendInfo { public String TitleDisplayName; /** PlayFab unique username for this friend. */ public String Username; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ public UserXboxInfo XboxInfo; } diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index 878da397..542ad048 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1667,18 +1667,18 @@ public static class RedemptionFailure { public String FailureCode; /** The marketplace error details explaining why the offer failed to redeem. */ public String FailureDetails; + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; } public static class RedemptionSuccess { + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; /** The timestamp for when the redeem was completed. */ public Date SuccessTimestamp; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java index 71cca2a3..a9d7ae45 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -589,7 +589,7 @@ public static enum PlayFabErrorCode { MultipleLinkedStatisticsNotAllowed(1588), DuplicateLinkedStatisticColumnNameFound(1589), AggregationTypeNotAllowedForMultiColumnStatistic(1590), - MaxQueryableVerionsValueNotAllowedForTier(1591), + MaxQueryableVersionsValueNotAllowedForTier(1591), StatisticDefinitionHasNullOrEmptyVersionConfiguration(1592), StatisticColumnLengthMismatch(1593), MatchmakingEntityInvalid(2001), diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java deleted file mode 100644 index a12172be..00000000 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.playfab; - -import com.playfab.internal.*; -import com.playfab.PlayFabMatchmakerModels.*; -import com.playfab.PlayFabErrors.*; -import com.playfab.PlayFabSettings; -import java.util.concurrent.*; -import java.util.*; -import com.google.gson.*; -import com.google.gson.reflect.*; - - /** Enables the use of an external match-making service in conjunction with PlayFab hosted Game Server instances */ -public class PlayFabMatchmakerAPI { - private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); - -} diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java deleted file mode 100644 index 45431fc1..00000000 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.playfab; - -import java.util.*; -import com.playfab.PlayFabUtil.*; - -public class PlayFabMatchmakerModels { - -} diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java index cc888bfc..de772260 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -1082,20 +1082,23 @@ public static class FacebookPlayFabIdPair { } public static class FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ public UserFacebookInfo FacebookInfo; /** PlayFab unique identifier for this friend. */ public String FriendPlayFabId; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ public UserGameCenterInfo GameCenterInfo; /** The profile of the user, if requested. */ public PlayerProfileModel Profile; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ public UserPsnInfo PSNInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ public UserSteamInfo SteamInfo; /** Tags which have been associated with this friend. */ public ArrayList Tags; @@ -1103,7 +1106,7 @@ public static class FriendInfo { public String TitleDisplayName; /** PlayFab unique username for this friend. */ public String Username; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ public UserXboxInfo XboxInfo; } @@ -1687,7 +1690,7 @@ public static enum GenericErrorCodes { MultipleLinkedStatisticsNotAllowed, DuplicateLinkedStatisticColumnNameFound, AggregationTypeNotAllowedForMultiColumnStatistic, - MaxQueryableVerionsValueNotAllowedForTier, + MaxQueryableVersionsValueNotAllowedForTier, StatisticDefinitionHasNullOrEmptyVersionConfiguration, StatisticColumnLengthMismatch, MatchmakingEntityInvalid, diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java index aa50667e..f6e506db 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.223.240816"; - public static String BuildIdentifier = "adobuild_javasdk_116"; - public static String SdkVersionString = "JavaSDK-0.223.240816"; + public static String SdkVersion = "0.224.240830"; + public static String BuildIdentifier = "adobuild_javasdk_8"; + public static String SdkVersionString = "JavaSDK-0.224.240830"; public static Map RequestGetParams; static { diff --git a/PlayFabServerSDK/packageMe.ps1 b/PlayFabServerSDK/packageMe.ps1 index 83a97219..934e605d 100644 --- a/PlayFabServerSDK/packageMe.ps1 +++ b/PlayFabServerSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item server-sdk-0.223.240816.jar -Destination ../../builds/server-sdk-0.223.240816.jar \ No newline at end of file +Copy-Item server-sdk-0.224.240830.jar -Destination ../../builds/server-sdk-0.224.240830.jar \ No newline at end of file diff --git a/PlayFabServerSDK/packageMe.sh b/PlayFabServerSDK/packageMe.sh index a457b26c..e5270ed9 100644 --- a/PlayFabServerSDK/packageMe.sh +++ b/PlayFabServerSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp server-sdk-0.223.240816.jar ../../builds/server-sdk-0.223.240816.jar +cp server-sdk-0.224.240830.jar ../../builds/server-sdk-0.224.240830.jar diff --git a/PlayFabServerSDK/pom.xml b/PlayFabServerSDK/pom.xml index 3777158d..bd18aab1 100644 --- a/PlayFabServerSDK/pom.xml +++ b/PlayFabServerSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab server-sdk - 0.223.240816 + 0.224.240830 PlayFab Server API PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAddonModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAddonModels.java index 8c01a4cc..0dc6d945 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAddonModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAddonModels.java @@ -95,6 +95,12 @@ public static class CreateOrUpdateGoogleRequest { * Required if using Google Authentication. */ public String OAuthClientSecret; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OAuthCustomRedirectUri; /** Needed to enable pending purchase handling and subscription processing. */ public String ServiceAccountKey; @@ -398,6 +404,12 @@ public static class GetGoogleResponse { * Required if using Google Authentication. */ public String OAuthClientID; + /** + * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to + * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own + * domain. + */ + public String OauthCustomRedirectUri; } diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java index b44782da..581f9ee8 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -2082,7 +2082,7 @@ public static enum GenericErrorCodes { MultipleLinkedStatisticsNotAllowed, DuplicateLinkedStatisticColumnNameFound, AggregationTypeNotAllowedForMultiColumnStatistic, - MaxQueryableVerionsValueNotAllowedForTier, + MaxQueryableVersionsValueNotAllowedForTier, StatisticDefinitionHasNullOrEmptyVersionConfiguration, StatisticColumnLengthMismatch, MatchmakingEntityInvalid, diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index 878da397..542ad048 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1667,18 +1667,18 @@ public static class RedemptionFailure { public String FailureCode; /** The marketplace error details explaining why the offer failed to redeem. */ public String FailureDetails; + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; } public static class RedemptionSuccess { + /** The Marketplace Alternate ID being redeemed. */ + public String MarketplaceAlternateId; /** The transaction id in the external marketplace. */ public String MarketplaceTransactionId; - /** The ID of the offer being redeemed. */ - public String OfferId; /** The timestamp for when the redeem was completed. */ public Date SuccessTimestamp; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java index 71cca2a3..a9d7ae45 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -589,7 +589,7 @@ public static enum PlayFabErrorCode { MultipleLinkedStatisticsNotAllowed(1588), DuplicateLinkedStatisticColumnNameFound(1589), AggregationTypeNotAllowedForMultiColumnStatistic(1590), - MaxQueryableVerionsValueNotAllowedForTier(1591), + MaxQueryableVersionsValueNotAllowedForTier(1591), StatisticDefinitionHasNullOrEmptyVersionConfiguration(1592), StatisticColumnLengthMismatch(1593), MatchmakingEntityInvalid(2001), diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java deleted file mode 100644 index a12172be..00000000 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerAPI.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.playfab; - -import com.playfab.internal.*; -import com.playfab.PlayFabMatchmakerModels.*; -import com.playfab.PlayFabErrors.*; -import com.playfab.PlayFabSettings; -import java.util.concurrent.*; -import java.util.*; -import com.google.gson.*; -import com.google.gson.reflect.*; - - /** Enables the use of an external match-making service in conjunction with PlayFab hosted Game Server instances */ -public class PlayFabMatchmakerAPI { - private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); - -} diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java deleted file mode 100644 index 45431fc1..00000000 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.playfab; - -import java.util.*; -import com.playfab.PlayFabUtil.*; - -public class PlayFabMatchmakerModels { - -} diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java index cc888bfc..de772260 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -1082,20 +1082,23 @@ public static class FacebookPlayFabIdPair { } public static class FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ public UserFacebookInfo FacebookInfo; /** PlayFab unique identifier for this friend. */ public String FriendPlayFabId; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ public UserGameCenterInfo GameCenterInfo; /** The profile of the user, if requested. */ public PlayerProfileModel Profile; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ public UserPsnInfo PSNInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ public UserSteamInfo SteamInfo; /** Tags which have been associated with this friend. */ public ArrayList Tags; @@ -1103,7 +1106,7 @@ public static class FriendInfo { public String TitleDisplayName; /** PlayFab unique username for this friend. */ public String Username; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ public UserXboxInfo XboxInfo; } @@ -1687,7 +1690,7 @@ public static enum GenericErrorCodes { MultipleLinkedStatisticsNotAllowed, DuplicateLinkedStatisticColumnNameFound, AggregationTypeNotAllowedForMultiColumnStatistic, - MaxQueryableVerionsValueNotAllowedForTier, + MaxQueryableVersionsValueNotAllowedForTier, StatisticDefinitionHasNullOrEmptyVersionConfiguration, StatisticColumnLengthMismatch, MatchmakingEntityInvalid, diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java index f157f31c..de13e7ad 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.223.240816"; - public static String BuildIdentifier = "adobuild_javasdk_116"; - public static String SdkVersionString = "JavaSDK-0.223.240816"; + public static String SdkVersion = "0.224.240830"; + public static String BuildIdentifier = "adobuild_javasdk_8"; + public static String SdkVersionString = "JavaSDK-0.224.240830"; public static Map RequestGetParams; static { diff --git a/builds/client-sdk-0.224.240830.jar b/builds/client-sdk-0.224.240830.jar new file mode 100644 index 00000000..a4fd0569 Binary files /dev/null and b/builds/client-sdk-0.224.240830.jar differ diff --git a/builds/combo-sdk-0.224.240830.jar b/builds/combo-sdk-0.224.240830.jar new file mode 100644 index 00000000..9113db0e Binary files /dev/null and b/builds/combo-sdk-0.224.240830.jar differ diff --git a/builds/server-sdk-0.224.240830.jar b/builds/server-sdk-0.224.240830.jar new file mode 100644 index 00000000..06f760c8 Binary files /dev/null and b/builds/server-sdk-0.224.240830.jar differ