diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientAPI.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientAPI.java index 098eba920..230cc20ac 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientAPI.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientAPI.java @@ -6133,7 +6133,7 @@ private static PlayFabResult privateWriteTitleEventAsync(fin } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return Async Task will return AddSharedGroupMembersResult */ @@ -6147,7 +6147,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return AddSharedGroupMembersResult */ @@ -6167,7 +6167,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddSharedGroupMembersAsync(final AddSharedGroupMembersRequest request) throws Exception { @@ -6195,7 +6195,7 @@ private static PlayFabResult privateAddSharedGroupM } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return Async Task will return CreateSharedGroupResult */ @@ -6209,7 +6209,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return CreateSharedGroupResult */ @@ -6229,7 +6229,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateCreateSharedGroupAsync(final CreateSharedGroupRequest request) throws Exception { @@ -6257,7 +6257,7 @@ private static PlayFabResult privateCreateSharedGroupAs } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return Async Task will return GetSharedGroupDataResult */ @@ -6271,7 +6271,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return GetSharedGroupDataResult */ @@ -6291,7 +6291,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetSharedGroupDataAsync(final GetSharedGroupDataRequest request) throws Exception { @@ -6319,7 +6319,7 @@ private static PlayFabResult privateGetSharedGroupData } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return Async Task will return RemoveSharedGroupMembersResult */ @@ -6333,7 +6333,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return RemoveSharedGroupMembersResult */ @@ -6353,7 +6353,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateRemoveSharedGroupMembersAsync(final RemoveSharedGroupMembersRequest request) throws Exception { @@ -6381,7 +6381,7 @@ private static PlayFabResult privateRemoveShared } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return Async Task will return UpdateSharedGroupDataResult */ @@ -6395,7 +6395,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return UpdateSharedGroupDataResult */ @@ -6415,7 +6415,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateUpdateSharedGroupDataAsync(final UpdateSharedGroupDataRequest request) throws Exception { diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java index 8dab8f2e7..16c148a7d 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java @@ -502,6 +502,18 @@ public static class ConsumeItemResult { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + /** * A data container */ @@ -1167,10 +1179,15 @@ public static class GameInfo { * duration in seconds this server has been running */ public Long RunTime; + /** + * @deprecated Please use GameServerStateEnum instead. + */ + @Deprecated + public Integer GameServerState; /** * game specific string denoting server configuration */ - public GameInstanceState GameServerState; + public GameInstanceState GameServerStateEnum; /** * game session custom data */ @@ -3400,6 +3417,10 @@ public static class PlayerProfileModel { * List of all authentication systems linked to this player account */ public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; /** * List of advertising campaigns the player has been attributed to */ @@ -3460,6 +3481,10 @@ public static class PlayerProfileViewConstraints { * Whether to show the linked accounts. Defaults to false */ public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; /** * Whether to show the total value to date in usd. Defaults to false */ @@ -3783,11 +3808,6 @@ public static class ReportPlayerClientRequest { } public static class ReportPlayerClientResult { - /** - * @deprecated Do not use - */ - @Deprecated - public Boolean Updated; /** * The number of remaining reports which may be filed today. */ diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java index c73c686f3..4836bdb22 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java @@ -329,7 +329,15 @@ public static enum PlayFabErrorCode { InvalidAuthToken(1326), AuthTokenDoesNotExist(1327), AuthTokenExpired(1328), - AuthTokenAlreadyUsedToResetPassword(1329); + AuthTokenAlreadyUsedToResetPassword(1329), + MembershipNameTooLong(1330), + MembershipNotFound(1331), + GoogleServiceAccountInvalid(1332), + GoogleServiceAccountParseFailure(1333), + EntityTokenMissing(1334), + EntityTokenInvalid(1335), + EntityTokenExpired(1336), + EntityTokenRevoked(1337); public int id; diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java index 89c7b3166..7f3d6d428 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java @@ -4,9 +4,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.54.170814"; - public static String BuildIdentifier = "jbuild_javasdk_1"; - public static String SdkVersionString = "JavaSDK-0.54.170814"; + public static String SdkVersion = "0.55.170828"; + public static String BuildIdentifier = "jbuild_javasdk_2"; + public static String SdkVersionString = "JavaSDK-0.55.170828"; public static String TitleId = null; // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) public static ErrorCallback GlobalErrorHandler; diff --git a/PlayFabClientSDK/pom.xml b/PlayFabClientSDK/pom.xml index 0f3b43ffa..7b04bebfc 100644 --- a/PlayFabClientSDK/pom.xml +++ b/PlayFabClientSDK/pom.xml @@ -4,7 +4,7 @@ 2016 com.playfab client-sdk - 0.54.170814 + 0.55.170828 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. http://api.playfab.com/ diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientAPI.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientAPI.java index 7ceb682fc..bd5cb6e69 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientAPI.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientAPI.java @@ -6132,7 +6132,7 @@ private static PlayFabResult privateWriteTitleEventAsync(fin } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return Async Task will return AddSharedGroupMembersResult */ @@ -6146,7 +6146,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return AddSharedGroupMembersResult */ @@ -6166,7 +6166,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddSharedGroupMembersAsync(final AddSharedGroupMembersRequest request) throws Exception { @@ -6194,7 +6194,7 @@ private static PlayFabResult privateAddSharedGroupM } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return Async Task will return CreateSharedGroupResult */ @@ -6208,7 +6208,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return CreateSharedGroupResult */ @@ -6228,7 +6228,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateCreateSharedGroupAsync(final CreateSharedGroupRequest request) throws Exception { @@ -6256,7 +6256,7 @@ private static PlayFabResult privateCreateSharedGroupAs } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return Async Task will return GetSharedGroupDataResult */ @@ -6270,7 +6270,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return GetSharedGroupDataResult */ @@ -6290,7 +6290,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetSharedGroupDataAsync(final GetSharedGroupDataRequest request) throws Exception { @@ -6318,7 +6318,7 @@ private static PlayFabResult privateGetSharedGroupData } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return Async Task will return RemoveSharedGroupMembersResult */ @@ -6332,7 +6332,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return RemoveSharedGroupMembersResult */ @@ -6352,7 +6352,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateRemoveSharedGroupMembersAsync(final RemoveSharedGroupMembersRequest request) throws Exception { @@ -6380,7 +6380,7 @@ private static PlayFabResult privateRemoveShared } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return Async Task will return UpdateSharedGroupDataResult */ @@ -6394,7 +6394,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return UpdateSharedGroupDataResult */ @@ -6414,7 +6414,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateUpdateSharedGroupDataAsync(final UpdateSharedGroupDataRequest request) throws Exception { diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java index 8dab8f2e7..16c148a7d 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -502,6 +502,18 @@ public static class ConsumeItemResult { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + /** * A data container */ @@ -1167,10 +1179,15 @@ public static class GameInfo { * duration in seconds this server has been running */ public Long RunTime; + /** + * @deprecated Please use GameServerStateEnum instead. + */ + @Deprecated + public Integer GameServerState; /** * game specific string denoting server configuration */ - public GameInstanceState GameServerState; + public GameInstanceState GameServerStateEnum; /** * game session custom data */ @@ -3400,6 +3417,10 @@ public static class PlayerProfileModel { * List of all authentication systems linked to this player account */ public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; /** * List of advertising campaigns the player has been attributed to */ @@ -3460,6 +3481,10 @@ public static class PlayerProfileViewConstraints { * Whether to show the linked accounts. Defaults to false */ public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; /** * Whether to show the total value to date in usd. Defaults to false */ @@ -3783,11 +3808,6 @@ public static class ReportPlayerClientRequest { } public static class ReportPlayerClientResult { - /** - * @deprecated Do not use - */ - @Deprecated - public Boolean Updated; /** * The number of remaining reports which may be filed today. */ diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java index c73c686f3..4836bdb22 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -329,7 +329,15 @@ public static enum PlayFabErrorCode { InvalidAuthToken(1326), AuthTokenDoesNotExist(1327), AuthTokenExpired(1328), - AuthTokenAlreadyUsedToResetPassword(1329); + AuthTokenAlreadyUsedToResetPassword(1329), + MembershipNameTooLong(1330), + MembershipNotFound(1331), + GoogleServiceAccountInvalid(1332), + GoogleServiceAccountParseFailure(1333), + EntityTokenMissing(1334), + EntityTokenInvalid(1335), + EntityTokenExpired(1336), + EntityTokenRevoked(1337); public int id; diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java index be797cf05..76b1b88c0 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -3,9 +3,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.54.170814"; - public static String BuildIdentifier = "jbuild_javasdk_1"; - public static String SdkVersionString = "JavaSDK-0.54.170814"; + public static String SdkVersion = "0.55.170828"; + public static String BuildIdentifier = "jbuild_javasdk_2"; + public static String SdkVersionString = "JavaSDK-0.55.170828"; public static String TitleId = null; // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) public static ErrorCallback GlobalErrorHandler; diff --git a/PlayFabSDK/pom.xml b/PlayFabSDK/pom.xml index 2e906a4a4..603a889bd 100644 --- a/PlayFabSDK/pom.xml +++ b/PlayFabSDK/pom.xml @@ -4,7 +4,7 @@ 2016 com.playfab combo-sdk - 0.54.170814 + 0.55.170828 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. http://api.playfab.com/ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminAPI.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminAPI.java index ff05bdef2..7d8705728 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminAPI.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminAPI.java @@ -5107,10 +5107,11 @@ private static PlayFabResult privateAddPlayerTagAsync(final } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetTasks instead. * @param request GetAllActionGroupsRequest * @return Async Task will return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static FutureTask> GetAllActionGroupsAsync(final GetAllActionGroupsRequest request) { return new FutureTask(new Callable>() { @@ -5121,10 +5122,11 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetTasks instead. * @param request GetAllActionGroupsRequest * @return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static PlayFabResult GetAllActionGroups(final GetAllActionGroupsRequest request) { FutureTask> task = new FutureTask(new Callable>() { @@ -5141,8 +5143,9 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetTasks instead. */ + @Deprecated @SuppressWarnings("unchecked") private static PlayFabResult privateGetAllActionGroupsAsync(final GetAllActionGroupsRequest request) throws Exception { if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method"); @@ -5727,10 +5730,11 @@ private static PlayFabResult privateDeleteTaskAsync(final DeleteTas } /** - * Get information about a ActionsOnPlayersInSegment task instance. + * @deprecated Please use GetTasks instead. * @param request GetTaskInstanceRequest * @return Async Task will return GetActionsOnPlayersInSegmentTaskInstanceResult */ + @Deprecated @SuppressWarnings("unchecked") public static FutureTask> GetActionsOnPlayersInSegmentTaskInstanceAsync(final GetTaskInstanceRequest request) { return new FutureTask(new Callable>() { @@ -5741,10 +5745,11 @@ public PlayFabResult call() thro } /** - * Get information about a ActionsOnPlayersInSegment task instance. + * @deprecated Please use GetTasks instead. * @param request GetTaskInstanceRequest * @return GetActionsOnPlayersInSegmentTaskInstanceResult */ + @Deprecated @SuppressWarnings("unchecked") public static PlayFabResult GetActionsOnPlayersInSegmentTaskInstance(final GetTaskInstanceRequest request) { FutureTask> task = new FutureTask(new Callable>() { @@ -5761,8 +5766,9 @@ public PlayFabResult call() thro } /** - * Get information about a ActionsOnPlayersInSegment task instance. + * @deprecated Please use GetTasks instead. */ + @Deprecated @SuppressWarnings("unchecked") private static PlayFabResult privateGetActionsOnPlayersInSegmentTaskInstanceAsync(final GetTaskInstanceRequest request) throws Exception { if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method"); diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java index aafdefde2..7eb27ae64 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -25,6 +25,10 @@ public static class ActionsOnPlayersInSegmentTaskParameter { } + /** + * @deprecated Do not use + */ + @Deprecated public static class ActionsOnPlayersInSegmentTaskSummary { /** * ID of the task instance. @@ -93,6 +97,22 @@ public static class AdCampaignAttribution { } + public static class AdCampaignAttributionModel { + /** + * Attribution network name + */ + public String Platform; + /** + * Attribution campaign identifier + */ + public String CampaignId; + /** + * UTC time stamp of attribution + */ + public Date AttributedAt; + + } + public static class AddNewsRequest { /** * Time this news was published. If not set, defaults to now. @@ -573,6 +593,18 @@ public static class ContactEmailInfo { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + public static class ContentInfo { /** * Key of the content @@ -1273,6 +1305,10 @@ public static class GameModeInfo { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetActionGroupResult { /** * Action Group name @@ -1285,6 +1321,10 @@ public static class GetActionGroupResult { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetActionsOnPlayersInSegmentTaskInstanceResult { /** * Status summary of the actions-on-players-in-segment task instance @@ -1297,10 +1337,18 @@ public static class GetActionsOnPlayersInSegmentTaskInstanceResult { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsRequest { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsResult { /** * List of Action Groups. @@ -1539,6 +1587,26 @@ public static class GetMatchmakerGameModesResult { } + public static class GetPlayerProfileRequest { + /** + * Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + public String PlayFabId; + /** + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + public PlayerProfileViewConstraints ProfileConstraints; + + } + + public static class GetPlayerProfileResult { + /** + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + public PlayerProfileModel PlayerProfile; + + } + public static class GetPlayerSegmentsResult { /** * Array of segments the requested player currently belongs to. @@ -2199,6 +2267,26 @@ public int compareTo(ItemInstance other) { } } + public static class LinkedPlatformAccountModel { + /** + * Authentication platform + */ + public LoginIdentityProvider Platform; + /** + * Unique account identifier of the user on the platform + */ + public String PlatformUserId; + /** + * Linked account username of the user on the platform, if available + */ + public String Username; + /** + * Linked account email of the user on the platform, if available + */ + public String Email; + + } + public static class ListBuildsRequest { } @@ -2225,6 +2313,30 @@ public static class ListVirtualCurrencyTypesResult { } + public static class LocationModel { + /** + * The two-character continent code for this location + */ + public ContinentCode ContinentCode; + /** + * The two-character ISO 3166-1 country code for the country associated with the location + */ + public CountryCode CountryCode; + /** + * City name. + */ + public String City; + /** + * Latitude coordinate of the geographic location. + */ + public Double Latitude; + /** + * Longitude coordinate of the geographic location. + */ + public Double Longitude; + + } + public static enum LoginIdentityProvider { Unknown, PlayFab, @@ -2564,6 +2676,150 @@ public static class PlayerProfile { } + public static class PlayerProfileModel { + /** + * Publisher this player belongs to + */ + public String PublisherId; + /** + * Title ID this player profile applies to + */ + public String TitleId; + /** + * PlayFab player account unique identifier + */ + public String PlayerId; + /** + * Player record created + */ + public Date Created; + /** + * Player account origination + */ + public LoginIdentityProvider Origination; + /** + * UTC time when the player most recently logged in to the title + */ + public Date LastLogin; + /** + * If the player is currently banned, the UTC Date when the ban expires + */ + public Date BannedUntil; + /** + * List of geographic locations from which the player has logged in to the title + */ + public ArrayList Locations; + /** + * Player display name + */ + public String DisplayName; + /** + * URL of the player's avatar image + */ + public String AvatarUrl; + /** + * List of player's tags for segmentation + */ + public ArrayList Tags; + /** + * List of configured end points registered for sending the player push notifications + */ + public ArrayList PushNotificationRegistrations; + /** + * List of all authentication systems linked to this player account + */ + public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; + /** + * List of advertising campaigns the player has been attributed to + */ + public ArrayList AdCampaignAttributions; + /** + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + */ + public Long TotalValueToDateInUSD; + /** + * List of the player's lifetime purchase totals, summed by real-money currency + */ + public ArrayList ValuesToDate; + /** + * List of the player's virtual currency balances + */ + public ArrayList VirtualCurrencyBalances; + /** + * List of leaderboard statistic values for the player + */ + public ArrayList Statistics; + + } + + public static class PlayerProfileViewConstraints { + /** + * Whether to show the display name. Defaults to false + */ + public Boolean ShowDisplayName; + /** + * Whether to show the created date. Defaults to false + */ + public Boolean ShowCreated; + /** + * Whether to show origination. Defaults to false + */ + public Boolean ShowOrigination; + /** + * Whether to show the last login time. Defaults to false + */ + public Boolean ShowLastLogin; + /** + * Whether to show the banned until time. Defaults to false + */ + public Boolean ShowBannedUntil; + /** + * Reserved for future development + */ + public Boolean ShowStatistics; + /** + * Whether to show campaign attributions. Defaults to false + */ + public Boolean ShowCampaignAttributions; + /** + * Whether to show push notification registrations. Defaults to false + */ + public Boolean ShowPushNotificationRegistrations; + /** + * Whether to show the linked accounts. Defaults to false + */ + public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; + /** + * Whether to show the total value to date in usd. Defaults to false + */ + public Boolean ShowTotalValueToDateInUsd; + /** + * Whether to show the values to date. Defaults to false + */ + public Boolean ShowValuesToDate; + /** + * Whether to show tags. Defaults to false + */ + public Boolean ShowTags; + /** + * Whether to show player's locations. Defaults to false + */ + public Boolean ShowLocations; + /** + * Whether to show player's avatar URL. Defaults to false + */ + public Boolean ShowAvatarUrl; + + } + public static class PlayerStatistic { /** * Statistic ID @@ -2657,6 +2913,18 @@ public static class PushNotificationRegistration { } + public static class PushNotificationRegistrationModel { + /** + * Push notification platform + */ + public PushNotificationPlatform Platform; + /** + * Notification configured endpoint + */ + public String NotificationEndpointARN; + + } + public static enum PushSetupPlatform { GCM, APNS, @@ -3124,6 +3392,22 @@ public static enum StatisticAggregationMethod { Sum } + public static class StatisticModel { + /** + * Statistic name + */ + public String Name; + /** + * Statistic version (0 if not a versioned statistic) + */ + public Integer Version; + /** + * Statistic value + */ + public Integer Value; + + } + public static enum StatisticResetIntervalOption { Never, Hour, @@ -3215,6 +3499,14 @@ public static class SubtractUserVirtualCurrencyRequest { } + public static class TagModel { + /** + * Full value of the tag, including namespace + */ + public String TagValue; + + } + public static class TaskInstanceBasicSummary { /** * ID of the task instance. @@ -3872,6 +4164,34 @@ public static class UserXboxInfo { } + public static class ValueToDateModel { + /** + * ISO 4217 code of the currency used in the purchases + */ + public String Currency; + /** + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + public Long TotalValue; + /** + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + */ + public String TotalValueAsDecimal; + + } + + public static class VirtualCurrencyBalanceModel { + /** + * Name of the virtual currency + */ + public String Currency; + /** + * Balance of the virtual currency + */ + public Integer TotalValue; + + } + public static class VirtualCurrencyData { /** * unique two-character identifier for this currency type (e.g.: "CC") diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientAPI.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientAPI.java index 7ceb682fc..bd5cb6e69 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientAPI.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientAPI.java @@ -6132,7 +6132,7 @@ private static PlayFabResult privateWriteTitleEventAsync(fin } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return Async Task will return AddSharedGroupMembersResult */ @@ -6146,7 +6146,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return AddSharedGroupMembersResult */ @@ -6166,7 +6166,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddSharedGroupMembersAsync(final AddSharedGroupMembersRequest request) throws Exception { @@ -6194,7 +6194,7 @@ private static PlayFabResult privateAddSharedGroupM } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return Async Task will return CreateSharedGroupResult */ @@ -6208,7 +6208,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return CreateSharedGroupResult */ @@ -6228,7 +6228,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateCreateSharedGroupAsync(final CreateSharedGroupRequest request) throws Exception { @@ -6256,7 +6256,7 @@ private static PlayFabResult privateCreateSharedGroupAs } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return Async Task will return GetSharedGroupDataResult */ @@ -6270,7 +6270,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return GetSharedGroupDataResult */ @@ -6290,7 +6290,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetSharedGroupDataAsync(final GetSharedGroupDataRequest request) throws Exception { @@ -6318,7 +6318,7 @@ private static PlayFabResult privateGetSharedGroupData } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return Async Task will return RemoveSharedGroupMembersResult */ @@ -6332,7 +6332,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return RemoveSharedGroupMembersResult */ @@ -6352,7 +6352,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateRemoveSharedGroupMembersAsync(final RemoveSharedGroupMembersRequest request) throws Exception { @@ -6380,7 +6380,7 @@ private static PlayFabResult privateRemoveShared } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return Async Task will return UpdateSharedGroupDataResult */ @@ -6394,7 +6394,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return UpdateSharedGroupDataResult */ @@ -6414,7 +6414,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateUpdateSharedGroupDataAsync(final UpdateSharedGroupDataRequest request) throws Exception { diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java index 8dab8f2e7..16c148a7d 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -502,6 +502,18 @@ public static class ConsumeItemResult { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + /** * A data container */ @@ -1167,10 +1179,15 @@ public static class GameInfo { * duration in seconds this server has been running */ public Long RunTime; + /** + * @deprecated Please use GameServerStateEnum instead. + */ + @Deprecated + public Integer GameServerState; /** * game specific string denoting server configuration */ - public GameInstanceState GameServerState; + public GameInstanceState GameServerStateEnum; /** * game session custom data */ @@ -3400,6 +3417,10 @@ public static class PlayerProfileModel { * List of all authentication systems linked to this player account */ public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; /** * List of advertising campaigns the player has been attributed to */ @@ -3460,6 +3481,10 @@ public static class PlayerProfileViewConstraints { * Whether to show the linked accounts. Defaults to false */ public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; /** * Whether to show the total value to date in usd. Defaults to false */ @@ -3783,11 +3808,6 @@ public static class ReportPlayerClientRequest { } public static class ReportPlayerClientResult { - /** - * @deprecated Do not use - */ - @Deprecated - public Boolean Updated; /** * The number of remaining reports which may be filed today. */ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java index c73c686f3..4836bdb22 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -329,7 +329,15 @@ public static enum PlayFabErrorCode { InvalidAuthToken(1326), AuthTokenDoesNotExist(1327), AuthTokenExpired(1328), - AuthTokenAlreadyUsedToResetPassword(1329); + AuthTokenAlreadyUsedToResetPassword(1329), + MembershipNameTooLong(1330), + MembershipNotFound(1331), + GoogleServiceAccountInvalid(1332), + GoogleServiceAccountParseFailure(1333), + EntityTokenMissing(1334), + EntityTokenInvalid(1335), + EntityTokenExpired(1336), + EntityTokenRevoked(1337); public int id; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerAPI.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerAPI.java index 7ff0dbdc2..802e7edda 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerAPI.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerAPI.java @@ -4915,7 +4915,7 @@ private static PlayFabResult privateWriteTitleEventAsync(fin } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return Async Task will return AddSharedGroupMembersResult */ @@ -4929,7 +4929,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return AddSharedGroupMembersResult */ @@ -4949,7 +4949,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddSharedGroupMembersAsync(final AddSharedGroupMembersRequest request) throws Exception { @@ -4977,7 +4977,7 @@ private static PlayFabResult privateAddSharedGroupM } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return Async Task will return CreateSharedGroupResult */ @@ -4991,7 +4991,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return CreateSharedGroupResult */ @@ -5011,7 +5011,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateCreateSharedGroupAsync(final CreateSharedGroupRequest request) throws Exception { @@ -5039,7 +5039,7 @@ private static PlayFabResult privateCreateSharedGroupAs } /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request DeleteSharedGroupRequest * @return Async Task will return EmptyResult */ @@ -5053,7 +5053,7 @@ public PlayFabResult call() throws Exception { } /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request DeleteSharedGroupRequest * @return EmptyResult */ @@ -5073,7 +5073,7 @@ public PlayFabResult call() throws Exception { } /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateDeleteSharedGroupAsync(final DeleteSharedGroupRequest request) throws Exception { @@ -5101,7 +5101,7 @@ private static PlayFabResult privateDeleteSharedGroupAsync(final De } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return Async Task will return GetSharedGroupDataResult */ @@ -5115,7 +5115,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return GetSharedGroupDataResult */ @@ -5135,7 +5135,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetSharedGroupDataAsync(final GetSharedGroupDataRequest request) throws Exception { @@ -5163,7 +5163,7 @@ private static PlayFabResult privateGetSharedGroupData } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return Async Task will return RemoveSharedGroupMembersResult */ @@ -5177,7 +5177,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return RemoveSharedGroupMembersResult */ @@ -5197,7 +5197,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateRemoveSharedGroupMembersAsync(final RemoveSharedGroupMembersRequest request) throws Exception { @@ -5225,7 +5225,7 @@ private static PlayFabResult privateRemoveShared } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return Async Task will return UpdateSharedGroupDataResult */ @@ -5239,7 +5239,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return UpdateSharedGroupDataResult */ @@ -5259,7 +5259,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateUpdateSharedGroupDataAsync(final UpdateSharedGroupDataRequest request) throws Exception { @@ -6341,10 +6341,11 @@ private static PlayFabResult privateAddPlayerTagAsync(final } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetAllSegments instead. * @param request GetAllActionGroupsRequest * @return Async Task will return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static FutureTask> GetAllActionGroupsAsync(final GetAllActionGroupsRequest request) { return new FutureTask(new Callable>() { @@ -6355,10 +6356,11 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetAllSegments instead. * @param request GetAllActionGroupsRequest * @return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static PlayFabResult GetAllActionGroups(final GetAllActionGroupsRequest request) { FutureTask> task = new FutureTask(new Callable>() { @@ -6375,8 +6377,9 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetAllSegments instead. */ + @Deprecated @SuppressWarnings("unchecked") private static PlayFabResult privateGetAllActionGroupsAsync(final GetAllActionGroupsRequest request) throws Exception { if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method"); diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java index 89841d43b..fff400886 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -5,6 +5,10 @@ public class PlayFabServerModels { + /** + * @deprecated Do not use + */ + @Deprecated public static class ActionsOnPlayersInSegmentTaskSummary { /** * ID of the task instance. @@ -569,6 +573,18 @@ public static class ContactEmailInfo { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + public static enum ContinentCode { AF, AN, @@ -1229,6 +1245,10 @@ public static enum GameInstanceState { Closed } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetActionGroupResult { /** * Action Group name @@ -1241,10 +1261,18 @@ public static class GetActionGroupResult { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsRequest { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsResult { /** * List of Action Groups. @@ -2925,6 +2953,10 @@ public static class PlayerProfileModel { * List of all authentication systems linked to this player account */ public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; /** * List of advertising campaigns the player has been attributed to */ @@ -2985,6 +3017,10 @@ public static class PlayerProfileViewConstraints { * Whether to show the linked accounts. Defaults to false */ public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; /** * Whether to show the total value to date in usd. Defaults to false */ @@ -3308,11 +3344,6 @@ public static class ReportPlayerServerRequest { } public static class ReportPlayerServerResult { - /** - * @deprecated Do not use - */ - @Deprecated - public Boolean Updated; /** * The number of remaining reports which may be filed today by this reporting player. */ @@ -3419,13 +3450,17 @@ public static class SendPushNotificationRequest { */ public String Message; /** - * Defines all possible push attributes like message, title, icon, etc + * Defines all possible push attributes like message, title, icon, etc. Not supported for iOS devices. */ public PushNotificationPackage Package; /** - * Subject of message to send (may not be displayed in all platforms. + * Subject of message to send (may not be displayed in all platforms. Not supported for Android devices (use Package instead). */ public String Subject; + /** + * Platforms that should receive the message. If omitted, we will send to all available platforms. + */ + public ArrayList TargetPlatforms; } diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java index a8c8f659c..25e46d7f6 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -3,9 +3,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.54.170814"; - public static String BuildIdentifier = "jbuild_javasdk_1"; - public static String SdkVersionString = "JavaSDK-0.54.170814"; + public static String SdkVersion = "0.55.170828"; + public static String BuildIdentifier = "jbuild_javasdk_2"; + public static String SdkVersionString = "JavaSDK-0.55.170828"; public static String TitleId = null; // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) public static ErrorCallback GlobalErrorHandler; diff --git a/PlayFabServerSDK/pom.xml b/PlayFabServerSDK/pom.xml index 9149b5da6..aa77307f7 100644 --- a/PlayFabServerSDK/pom.xml +++ b/PlayFabServerSDK/pom.xml @@ -4,7 +4,7 @@ 2016 com.playfab server-sdk - 0.54.170814 + 0.55.170828 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. http://api.playfab.com/ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminAPI.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminAPI.java index ff05bdef2..7d8705728 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminAPI.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminAPI.java @@ -5107,10 +5107,11 @@ private static PlayFabResult privateAddPlayerTagAsync(final } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetTasks instead. * @param request GetAllActionGroupsRequest * @return Async Task will return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static FutureTask> GetAllActionGroupsAsync(final GetAllActionGroupsRequest request) { return new FutureTask(new Callable>() { @@ -5121,10 +5122,11 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetTasks instead. * @param request GetAllActionGroupsRequest * @return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static PlayFabResult GetAllActionGroups(final GetAllActionGroupsRequest request) { FutureTask> task = new FutureTask(new Callable>() { @@ -5141,8 +5143,9 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetTasks instead. */ + @Deprecated @SuppressWarnings("unchecked") private static PlayFabResult privateGetAllActionGroupsAsync(final GetAllActionGroupsRequest request) throws Exception { if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method"); @@ -5727,10 +5730,11 @@ private static PlayFabResult privateDeleteTaskAsync(final DeleteTas } /** - * Get information about a ActionsOnPlayersInSegment task instance. + * @deprecated Please use GetTasks instead. * @param request GetTaskInstanceRequest * @return Async Task will return GetActionsOnPlayersInSegmentTaskInstanceResult */ + @Deprecated @SuppressWarnings("unchecked") public static FutureTask> GetActionsOnPlayersInSegmentTaskInstanceAsync(final GetTaskInstanceRequest request) { return new FutureTask(new Callable>() { @@ -5741,10 +5745,11 @@ public PlayFabResult call() thro } /** - * Get information about a ActionsOnPlayersInSegment task instance. + * @deprecated Please use GetTasks instead. * @param request GetTaskInstanceRequest * @return GetActionsOnPlayersInSegmentTaskInstanceResult */ + @Deprecated @SuppressWarnings("unchecked") public static PlayFabResult GetActionsOnPlayersInSegmentTaskInstance(final GetTaskInstanceRequest request) { FutureTask> task = new FutureTask(new Callable>() { @@ -5761,8 +5766,9 @@ public PlayFabResult call() thro } /** - * Get information about a ActionsOnPlayersInSegment task instance. + * @deprecated Please use GetTasks instead. */ + @Deprecated @SuppressWarnings("unchecked") private static PlayFabResult privateGetActionsOnPlayersInSegmentTaskInstanceAsync(final GetTaskInstanceRequest request) throws Exception { if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method"); diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java index aafdefde2..7eb27ae64 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -25,6 +25,10 @@ public static class ActionsOnPlayersInSegmentTaskParameter { } + /** + * @deprecated Do not use + */ + @Deprecated public static class ActionsOnPlayersInSegmentTaskSummary { /** * ID of the task instance. @@ -93,6 +97,22 @@ public static class AdCampaignAttribution { } + public static class AdCampaignAttributionModel { + /** + * Attribution network name + */ + public String Platform; + /** + * Attribution campaign identifier + */ + public String CampaignId; + /** + * UTC time stamp of attribution + */ + public Date AttributedAt; + + } + public static class AddNewsRequest { /** * Time this news was published. If not set, defaults to now. @@ -573,6 +593,18 @@ public static class ContactEmailInfo { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + public static class ContentInfo { /** * Key of the content @@ -1273,6 +1305,10 @@ public static class GameModeInfo { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetActionGroupResult { /** * Action Group name @@ -1285,6 +1321,10 @@ public static class GetActionGroupResult { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetActionsOnPlayersInSegmentTaskInstanceResult { /** * Status summary of the actions-on-players-in-segment task instance @@ -1297,10 +1337,18 @@ public static class GetActionsOnPlayersInSegmentTaskInstanceResult { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsRequest { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsResult { /** * List of Action Groups. @@ -1539,6 +1587,26 @@ public static class GetMatchmakerGameModesResult { } + public static class GetPlayerProfileRequest { + /** + * Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + public String PlayFabId; + /** + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + public PlayerProfileViewConstraints ProfileConstraints; + + } + + public static class GetPlayerProfileResult { + /** + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + public PlayerProfileModel PlayerProfile; + + } + public static class GetPlayerSegmentsResult { /** * Array of segments the requested player currently belongs to. @@ -2199,6 +2267,26 @@ public int compareTo(ItemInstance other) { } } + public static class LinkedPlatformAccountModel { + /** + * Authentication platform + */ + public LoginIdentityProvider Platform; + /** + * Unique account identifier of the user on the platform + */ + public String PlatformUserId; + /** + * Linked account username of the user on the platform, if available + */ + public String Username; + /** + * Linked account email of the user on the platform, if available + */ + public String Email; + + } + public static class ListBuildsRequest { } @@ -2225,6 +2313,30 @@ public static class ListVirtualCurrencyTypesResult { } + public static class LocationModel { + /** + * The two-character continent code for this location + */ + public ContinentCode ContinentCode; + /** + * The two-character ISO 3166-1 country code for the country associated with the location + */ + public CountryCode CountryCode; + /** + * City name. + */ + public String City; + /** + * Latitude coordinate of the geographic location. + */ + public Double Latitude; + /** + * Longitude coordinate of the geographic location. + */ + public Double Longitude; + + } + public static enum LoginIdentityProvider { Unknown, PlayFab, @@ -2564,6 +2676,150 @@ public static class PlayerProfile { } + public static class PlayerProfileModel { + /** + * Publisher this player belongs to + */ + public String PublisherId; + /** + * Title ID this player profile applies to + */ + public String TitleId; + /** + * PlayFab player account unique identifier + */ + public String PlayerId; + /** + * Player record created + */ + public Date Created; + /** + * Player account origination + */ + public LoginIdentityProvider Origination; + /** + * UTC time when the player most recently logged in to the title + */ + public Date LastLogin; + /** + * If the player is currently banned, the UTC Date when the ban expires + */ + public Date BannedUntil; + /** + * List of geographic locations from which the player has logged in to the title + */ + public ArrayList Locations; + /** + * Player display name + */ + public String DisplayName; + /** + * URL of the player's avatar image + */ + public String AvatarUrl; + /** + * List of player's tags for segmentation + */ + public ArrayList Tags; + /** + * List of configured end points registered for sending the player push notifications + */ + public ArrayList PushNotificationRegistrations; + /** + * List of all authentication systems linked to this player account + */ + public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; + /** + * List of advertising campaigns the player has been attributed to + */ + public ArrayList AdCampaignAttributions; + /** + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + */ + public Long TotalValueToDateInUSD; + /** + * List of the player's lifetime purchase totals, summed by real-money currency + */ + public ArrayList ValuesToDate; + /** + * List of the player's virtual currency balances + */ + public ArrayList VirtualCurrencyBalances; + /** + * List of leaderboard statistic values for the player + */ + public ArrayList Statistics; + + } + + public static class PlayerProfileViewConstraints { + /** + * Whether to show the display name. Defaults to false + */ + public Boolean ShowDisplayName; + /** + * Whether to show the created date. Defaults to false + */ + public Boolean ShowCreated; + /** + * Whether to show origination. Defaults to false + */ + public Boolean ShowOrigination; + /** + * Whether to show the last login time. Defaults to false + */ + public Boolean ShowLastLogin; + /** + * Whether to show the banned until time. Defaults to false + */ + public Boolean ShowBannedUntil; + /** + * Reserved for future development + */ + public Boolean ShowStatistics; + /** + * Whether to show campaign attributions. Defaults to false + */ + public Boolean ShowCampaignAttributions; + /** + * Whether to show push notification registrations. Defaults to false + */ + public Boolean ShowPushNotificationRegistrations; + /** + * Whether to show the linked accounts. Defaults to false + */ + public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; + /** + * Whether to show the total value to date in usd. Defaults to false + */ + public Boolean ShowTotalValueToDateInUsd; + /** + * Whether to show the values to date. Defaults to false + */ + public Boolean ShowValuesToDate; + /** + * Whether to show tags. Defaults to false + */ + public Boolean ShowTags; + /** + * Whether to show player's locations. Defaults to false + */ + public Boolean ShowLocations; + /** + * Whether to show player's avatar URL. Defaults to false + */ + public Boolean ShowAvatarUrl; + + } + public static class PlayerStatistic { /** * Statistic ID @@ -2657,6 +2913,18 @@ public static class PushNotificationRegistration { } + public static class PushNotificationRegistrationModel { + /** + * Push notification platform + */ + public PushNotificationPlatform Platform; + /** + * Notification configured endpoint + */ + public String NotificationEndpointARN; + + } + public static enum PushSetupPlatform { GCM, APNS, @@ -3124,6 +3392,22 @@ public static enum StatisticAggregationMethod { Sum } + public static class StatisticModel { + /** + * Statistic name + */ + public String Name; + /** + * Statistic version (0 if not a versioned statistic) + */ + public Integer Version; + /** + * Statistic value + */ + public Integer Value; + + } + public static enum StatisticResetIntervalOption { Never, Hour, @@ -3215,6 +3499,14 @@ public static class SubtractUserVirtualCurrencyRequest { } + public static class TagModel { + /** + * Full value of the tag, including namespace + */ + public String TagValue; + + } + public static class TaskInstanceBasicSummary { /** * ID of the task instance. @@ -3872,6 +4164,34 @@ public static class UserXboxInfo { } + public static class ValueToDateModel { + /** + * ISO 4217 code of the currency used in the purchases + */ + public String Currency; + /** + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + public Long TotalValue; + /** + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + */ + public String TotalValueAsDecimal; + + } + + public static class VirtualCurrencyBalanceModel { + /** + * Name of the virtual currency + */ + public String Currency; + /** + * Balance of the virtual currency + */ + public Integer TotalValue; + + } + public static class VirtualCurrencyData { /** * unique two-character identifier for this currency type (e.g.: "CC") diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java index c73c686f3..4836bdb22 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -329,7 +329,15 @@ public static enum PlayFabErrorCode { InvalidAuthToken(1326), AuthTokenDoesNotExist(1327), AuthTokenExpired(1328), - AuthTokenAlreadyUsedToResetPassword(1329); + AuthTokenAlreadyUsedToResetPassword(1329), + MembershipNameTooLong(1330), + MembershipNotFound(1331), + GoogleServiceAccountInvalid(1332), + GoogleServiceAccountParseFailure(1333), + EntityTokenMissing(1334), + EntityTokenInvalid(1335), + EntityTokenExpired(1336), + EntityTokenRevoked(1337); public int id; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerAPI.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerAPI.java index 7ff0dbdc2..802e7edda 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerAPI.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerAPI.java @@ -4915,7 +4915,7 @@ private static PlayFabResult privateWriteTitleEventAsync(fin } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return Async Task will return AddSharedGroupMembersResult */ @@ -4929,7 +4929,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request AddSharedGroupMembersRequest * @return AddSharedGroupMembersResult */ @@ -4949,7 +4949,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddSharedGroupMembersAsync(final AddSharedGroupMembersRequest request) throws Exception { @@ -4977,7 +4977,7 @@ private static PlayFabResult privateAddSharedGroupM } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return Async Task will return CreateSharedGroupResult */ @@ -4991,7 +4991,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request CreateSharedGroupRequest * @return CreateSharedGroupResult */ @@ -5011,7 +5011,7 @@ public PlayFabResult call() throws Exception { } /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateCreateSharedGroupAsync(final CreateSharedGroupRequest request) throws Exception { @@ -5039,7 +5039,7 @@ private static PlayFabResult privateCreateSharedGroupAs } /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request DeleteSharedGroupRequest * @return Async Task will return EmptyResult */ @@ -5053,7 +5053,7 @@ public PlayFabResult call() throws Exception { } /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request DeleteSharedGroupRequest * @return EmptyResult */ @@ -5073,7 +5073,7 @@ public PlayFabResult call() throws Exception { } /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateDeleteSharedGroupAsync(final DeleteSharedGroupRequest request) throws Exception { @@ -5101,7 +5101,7 @@ private static PlayFabResult privateDeleteSharedGroupAsync(final De } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return Async Task will return GetSharedGroupDataResult */ @@ -5115,7 +5115,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request GetSharedGroupDataRequest * @return GetSharedGroupDataResult */ @@ -5135,7 +5135,7 @@ public PlayFabResult call() throws Exception { } /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetSharedGroupDataAsync(final GetSharedGroupDataRequest request) throws Exception { @@ -5163,7 +5163,7 @@ private static PlayFabResult privateGetSharedGroupData } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return Async Task will return RemoveSharedGroupMembersResult */ @@ -5177,7 +5177,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request RemoveSharedGroupMembersRequest * @return RemoveSharedGroupMembersResult */ @@ -5197,7 +5197,7 @@ public PlayFabResult call() throws Exception { } /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateRemoveSharedGroupMembersAsync(final RemoveSharedGroupMembersRequest request) throws Exception { @@ -5225,7 +5225,7 @@ private static PlayFabResult privateRemoveShared } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return Async Task will return UpdateSharedGroupDataResult */ @@ -5239,7 +5239,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * @param request UpdateSharedGroupDataRequest * @return UpdateSharedGroupDataResult */ @@ -5259,7 +5259,7 @@ public PlayFabResult call() throws Exception { } /** - * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups */ @SuppressWarnings("unchecked") private static PlayFabResult privateUpdateSharedGroupDataAsync(final UpdateSharedGroupDataRequest request) throws Exception { @@ -6341,10 +6341,11 @@ private static PlayFabResult privateAddPlayerTagAsync(final } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetAllSegments instead. * @param request GetAllActionGroupsRequest * @return Async Task will return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static FutureTask> GetAllActionGroupsAsync(final GetAllActionGroupsRequest request) { return new FutureTask(new Callable>() { @@ -6355,10 +6356,11 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetAllSegments instead. * @param request GetAllActionGroupsRequest * @return GetAllActionGroupsResult */ + @Deprecated @SuppressWarnings("unchecked") public static PlayFabResult GetAllActionGroups(final GetAllActionGroupsRequest request) { FutureTask> task = new FutureTask(new Callable>() { @@ -6375,8 +6377,9 @@ public PlayFabResult call() throws Exception { } /** - * Retrieve a list of all PlayStream actions groups. + * @deprecated Please use GetAllSegments instead. */ + @Deprecated @SuppressWarnings("unchecked") private static PlayFabResult privateGetAllActionGroupsAsync(final GetAllActionGroupsRequest request) throws Exception { if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method"); diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java index 89841d43b..fff400886 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -5,6 +5,10 @@ public class PlayFabServerModels { + /** + * @deprecated Do not use + */ + @Deprecated public static class ActionsOnPlayersInSegmentTaskSummary { /** * ID of the task instance. @@ -569,6 +573,18 @@ public static class ContactEmailInfo { } + public static class ContactEmailInfoModel { + /** + * The name of the email info data + */ + public String Name; + /** + * The email address + */ + public String EmailAddress; + + } + public static enum ContinentCode { AF, AN, @@ -1229,6 +1245,10 @@ public static enum GameInstanceState { Closed } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetActionGroupResult { /** * Action Group name @@ -1241,10 +1261,18 @@ public static class GetActionGroupResult { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsRequest { } + /** + * @deprecated Do not use + */ + @Deprecated public static class GetAllActionGroupsResult { /** * List of Action Groups. @@ -2925,6 +2953,10 @@ public static class PlayerProfileModel { * List of all authentication systems linked to this player account */ public ArrayList LinkedAccounts; + /** + * List of all contact email info associated with the player account + */ + public ArrayList ContactEmailAddresses; /** * List of advertising campaigns the player has been attributed to */ @@ -2985,6 +3017,10 @@ public static class PlayerProfileViewConstraints { * Whether to show the linked accounts. Defaults to false */ public Boolean ShowLinkedAccounts; + /** + * Whether to show contact email addresses. Defaults to false + */ + public Boolean ShowContactEmailAddresses; /** * Whether to show the total value to date in usd. Defaults to false */ @@ -3308,11 +3344,6 @@ public static class ReportPlayerServerRequest { } public static class ReportPlayerServerResult { - /** - * @deprecated Do not use - */ - @Deprecated - public Boolean Updated; /** * The number of remaining reports which may be filed today by this reporting player. */ @@ -3419,13 +3450,17 @@ public static class SendPushNotificationRequest { */ public String Message; /** - * Defines all possible push attributes like message, title, icon, etc + * Defines all possible push attributes like message, title, icon, etc. Not supported for iOS devices. */ public PushNotificationPackage Package; /** - * Subject of message to send (may not be displayed in all platforms. + * Subject of message to send (may not be displayed in all platforms. Not supported for Android devices (use Package instead). */ public String Subject; + /** + * Platforms that should receive the message. If omitted, we will send to all available platforms. + */ + public ArrayList TargetPlatforms; } diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java index 9c0433ff8..079a0f804 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -3,9 +3,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.54.170814"; - public static String BuildIdentifier = "jbuild_javasdk_1"; - public static String SdkVersionString = "JavaSDK-0.54.170814"; + public static String SdkVersion = "0.55.170828"; + public static String BuildIdentifier = "jbuild_javasdk_2"; + public static String SdkVersionString = "JavaSDK-0.55.170828"; public static String TitleId = null; // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website) public static ErrorCallback GlobalErrorHandler; diff --git a/builds/client-sdk-0.54.170814-javadoc.jar b/builds/client-sdk-0.54.170814-javadoc.jar deleted file mode 100644 index 120a9f448..000000000 Binary files a/builds/client-sdk-0.54.170814-javadoc.jar and /dev/null differ diff --git a/builds/client-sdk-0.55.170828-javadoc.jar b/builds/client-sdk-0.55.170828-javadoc.jar new file mode 100644 index 000000000..b31798a36 Binary files /dev/null and b/builds/client-sdk-0.55.170828-javadoc.jar differ diff --git a/builds/client-sdk-0.54.170814.jar b/builds/client-sdk-0.55.170828.jar similarity index 60% rename from builds/client-sdk-0.54.170814.jar rename to builds/client-sdk-0.55.170828.jar index 6a2303a8f..cc682ac19 100644 Binary files a/builds/client-sdk-0.54.170814.jar and b/builds/client-sdk-0.55.170828.jar differ diff --git a/builds/combo-sdk-0.54.170814-javadoc.jar b/builds/combo-sdk-0.54.170814-javadoc.jar deleted file mode 100644 index cbaa32f87..000000000 Binary files a/builds/combo-sdk-0.54.170814-javadoc.jar and /dev/null differ diff --git a/builds/combo-sdk-0.55.170828-javadoc.jar b/builds/combo-sdk-0.55.170828-javadoc.jar new file mode 100644 index 000000000..6023c50c8 Binary files /dev/null and b/builds/combo-sdk-0.55.170828-javadoc.jar differ diff --git a/builds/combo-sdk-0.54.170814.jar b/builds/combo-sdk-0.55.170828.jar similarity index 56% rename from builds/combo-sdk-0.54.170814.jar rename to builds/combo-sdk-0.55.170828.jar index cc0847a85..a04ace4e8 100644 Binary files a/builds/combo-sdk-0.54.170814.jar and b/builds/combo-sdk-0.55.170828.jar differ diff --git a/builds/server-sdk-0.54.170814-javadoc.jar b/builds/server-sdk-0.54.170814-javadoc.jar deleted file mode 100644 index d6105c25b..000000000 Binary files a/builds/server-sdk-0.54.170814-javadoc.jar and /dev/null differ diff --git a/builds/server-sdk-0.55.170828-javadoc.jar b/builds/server-sdk-0.55.170828-javadoc.jar new file mode 100644 index 000000000..ffa5f8caf Binary files /dev/null and b/builds/server-sdk-0.55.170828-javadoc.jar differ diff --git a/builds/server-sdk-0.54.170814.jar b/builds/server-sdk-0.55.170828.jar similarity index 51% rename from builds/server-sdk-0.54.170814.jar rename to builds/server-sdk-0.55.170828.jar index 7292331b1..d209b9740 100644 Binary files a/builds/server-sdk-0.54.170814.jar and b/builds/server-sdk-0.55.170828.jar differ