diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java index c7bcaed7..a935d04f 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java @@ -2547,16 +2547,6 @@ public static class ModifyUserVirtualCurrencyResult { } - /** - * Identifier by either name or ID. Note that a name may change due to renaming, or reused after being deleted. ID is - * immutable and unique. - */ - public static class NameIdentifier { - public String Id; - public String Name; - - } - public static class OpenTradeRequest { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java index 3bc0a54b..31bdca5e 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java @@ -12,6 +12,7 @@ public static enum PlayFabErrorCode { Unknown(1), ConnectionError(2), JsonParseError(3), + MatchmakingHopperIdInvalid(230), UnkownError(500), InvalidParams(1000), AccountNotFound(1001), @@ -380,16 +381,47 @@ public static enum PlayFabErrorCode { NoValidCertificateForAad(1376), InvalidCertificateForAad(1377), DuplicateDropTableId(1378), - ComputeOK(1379), - ComputeAccepted(1380), - ComputeNoContent(1381), - ComputeBadRequest(1382), - ComputeUnauthorized(1383), - ComputeForbidden(1384), - ComputeNotFound(1385), - ComputeConflict(1386), - ComputeInternalServerError(1387), - ComputeServiceUnavailable(1388); + GameServerOk(1379), + GameServerAccepted(1380), + GameServerNoContent(1381), + GameServerBadRequest(1382), + GameServerUnauthorized(1383), + GameServerForbidden(1384), + GameServerNotFound(1385), + GameServerConflict(1386), + GameServerInternalServerError(1387), + GameServerServiceUnavailable(1388), + MatchmakingInvalidEntityKeyList(2000), + MatchmakingInvalidTicketCreatorProfile(2001), + MatchmakingInvalidUserAttributes(2002), + MatchmakingCreateRequestMissing(2003), + MatchmakingCreateRequestCreatorMissing(2004), + MatchmakingCreateRequestCreatorIdMissing(2005), + MatchmakingCreateRequestUserListMissing(2006), + MatchmakingCreateRequestGiveUpAfterInvalid(2007), + MatchmakingTicketIdMissing(2008), + MatchmakingMatchIdMissing(2009), + MatchmakingMatchIdIdMissing(2010), + MatchmakingHopperIdMissing(2011), + MatchmakingTitleIdMissing(2012), + MatchmakingTicketIdIdMissing(2013), + MatchmakingUserIdMissing(2014), + MatchmakingJoinRequestUserMissing(2015), + MatchmakingHopperConfigNotFound(2016), + MatchmakingMatchNotFound(2017), + MatchmakingTicketNotFound(2018), + MatchmakingCreateTicketServerIdentityInvalid(2019), + MatchmakingCreateTicketClientIdentityInvalid(2020), + MatchmakingGetTicketUserMismatch(2021), + MatchmakingJoinTicketServerIdentityInvalid(2022), + MatchmakingJoinTicketUserIdentityMismatch(2023), + MatchmakingCancelTicketServerIdentityInvalid(2024), + MatchmakingCancelTicketUserIdentityMismatch(2025), + MatchmakingGetMatchIdentityMismatch(2026), + MatchmakingUserIdentityMismatch(2027), + MatchmakingAlreadyJoinedTicket(2028), + MatchmakingTicketAlreadyCompleted(2029), + MatchmakingHopperConfigInvalid(2031); 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 1af7a750..33781223 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.67.180529"; - public static String BuildIdentifier = "jbuild_javasdk_0"; - public static String SdkVersionString = "JavaSDK-0.67.180529"; + public static String SdkVersion = "0.68.180618"; + public static String BuildIdentifier = "jbuild_javasdk_1"; + public static String SdkVersionString = "JavaSDK-0.68.180618"; 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 152ff2a7..e60fba35 100644 --- a/PlayFabClientSDK/pom.xml +++ b/PlayFabClientSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab client-sdk - 0.67.180529 + 0.68.180618 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/PlayFabClientModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java index c7bcaed7..a935d04f 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -2547,16 +2547,6 @@ public static class ModifyUserVirtualCurrencyResult { } - /** - * Identifier by either name or ID. Note that a name may change due to renaming, or reused after being deleted. ID is - * immutable and unique. - */ - public static class NameIdentifier { - public String Id; - public String Name; - - } - public static class OpenTradeRequest { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java index 3bc0a54b..31bdca5e 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -12,6 +12,7 @@ public static enum PlayFabErrorCode { Unknown(1), ConnectionError(2), JsonParseError(3), + MatchmakingHopperIdInvalid(230), UnkownError(500), InvalidParams(1000), AccountNotFound(1001), @@ -380,16 +381,47 @@ public static enum PlayFabErrorCode { NoValidCertificateForAad(1376), InvalidCertificateForAad(1377), DuplicateDropTableId(1378), - ComputeOK(1379), - ComputeAccepted(1380), - ComputeNoContent(1381), - ComputeBadRequest(1382), - ComputeUnauthorized(1383), - ComputeForbidden(1384), - ComputeNotFound(1385), - ComputeConflict(1386), - ComputeInternalServerError(1387), - ComputeServiceUnavailable(1388); + GameServerOk(1379), + GameServerAccepted(1380), + GameServerNoContent(1381), + GameServerBadRequest(1382), + GameServerUnauthorized(1383), + GameServerForbidden(1384), + GameServerNotFound(1385), + GameServerConflict(1386), + GameServerInternalServerError(1387), + GameServerServiceUnavailable(1388), + MatchmakingInvalidEntityKeyList(2000), + MatchmakingInvalidTicketCreatorProfile(2001), + MatchmakingInvalidUserAttributes(2002), + MatchmakingCreateRequestMissing(2003), + MatchmakingCreateRequestCreatorMissing(2004), + MatchmakingCreateRequestCreatorIdMissing(2005), + MatchmakingCreateRequestUserListMissing(2006), + MatchmakingCreateRequestGiveUpAfterInvalid(2007), + MatchmakingTicketIdMissing(2008), + MatchmakingMatchIdMissing(2009), + MatchmakingMatchIdIdMissing(2010), + MatchmakingHopperIdMissing(2011), + MatchmakingTitleIdMissing(2012), + MatchmakingTicketIdIdMissing(2013), + MatchmakingUserIdMissing(2014), + MatchmakingJoinRequestUserMissing(2015), + MatchmakingHopperConfigNotFound(2016), + MatchmakingMatchNotFound(2017), + MatchmakingTicketNotFound(2018), + MatchmakingCreateTicketServerIdentityInvalid(2019), + MatchmakingCreateTicketClientIdentityInvalid(2020), + MatchmakingGetTicketUserMismatch(2021), + MatchmakingJoinTicketServerIdentityInvalid(2022), + MatchmakingJoinTicketUserIdentityMismatch(2023), + MatchmakingCancelTicketServerIdentityInvalid(2024), + MatchmakingCancelTicketUserIdentityMismatch(2025), + MatchmakingGetMatchIdentityMismatch(2026), + MatchmakingUserIdentityMismatch(2027), + MatchmakingAlreadyJoinedTicket(2028), + MatchmakingTicketAlreadyCompleted(2029), + MatchmakingHopperConfigInvalid(2031); public int id; diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java index 93ddd789..f50cba54 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.67.180529"; - public static String BuildIdentifier = "jbuild_javasdk_0"; - public static String SdkVersionString = "JavaSDK-0.67.180529"; + public static String SdkVersion = "0.68.180618"; + public static String BuildIdentifier = "jbuild_javasdk_1"; + public static String SdkVersionString = "JavaSDK-0.68.180618"; 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 aa0ca550..97fdf4d1 100644 --- a/PlayFabSDK/pom.xml +++ b/PlayFabSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab combo-sdk - 0.67.180529 + 0.68.180618 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/PlayFabAdminModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java index b77c1d79..1a9bdfee 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -1013,21 +1013,6 @@ public static class DeleteTitleResult { } - public static class DeleteUsersRequest { - /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ - public ArrayList PlayFabIds; - /** - * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a - * title has been selected. - */ - public String TitleId; - - } - - public static class DeleteUsersResult { - - } - public static enum EffectType { Allow, Deny @@ -1138,6 +1123,7 @@ public static class GameModeInfo { public static enum GenericErrorCodes { Success, + MatchmakingHopperIdInvalid, UnkownError, InvalidParams, AccountNotFound, @@ -1506,16 +1492,47 @@ public static enum GenericErrorCodes { NoValidCertificateForAad, InvalidCertificateForAad, DuplicateDropTableId, - ComputeOK, - ComputeAccepted, - ComputeNoContent, - ComputeBadRequest, - ComputeUnauthorized, - ComputeForbidden, - ComputeNotFound, - ComputeConflict, - ComputeInternalServerError, - ComputeServiceUnavailable + GameServerOk, + GameServerAccepted, + GameServerNoContent, + GameServerBadRequest, + GameServerUnauthorized, + GameServerForbidden, + GameServerNotFound, + GameServerConflict, + GameServerInternalServerError, + GameServerServiceUnavailable, + MatchmakingInvalidEntityKeyList, + MatchmakingInvalidTicketCreatorProfile, + MatchmakingInvalidUserAttributes, + MatchmakingCreateRequestMissing, + MatchmakingCreateRequestCreatorMissing, + MatchmakingCreateRequestCreatorIdMissing, + MatchmakingCreateRequestUserListMissing, + MatchmakingCreateRequestGiveUpAfterInvalid, + MatchmakingTicketIdMissing, + MatchmakingMatchIdMissing, + MatchmakingMatchIdIdMissing, + MatchmakingHopperIdMissing, + MatchmakingTitleIdMissing, + MatchmakingTicketIdIdMissing, + MatchmakingUserIdMissing, + MatchmakingJoinRequestUserMissing, + MatchmakingHopperConfigNotFound, + MatchmakingMatchNotFound, + MatchmakingTicketNotFound, + MatchmakingCreateTicketServerIdentityInvalid, + MatchmakingCreateTicketClientIdentityInvalid, + MatchmakingGetTicketUserMismatch, + MatchmakingJoinTicketServerIdentityInvalid, + MatchmakingJoinTicketUserIdentityMismatch, + MatchmakingCancelTicketServerIdentityInvalid, + MatchmakingCancelTicketUserIdentityMismatch, + MatchmakingGetMatchIdentityMismatch, + MatchmakingUserIdentityMismatch, + MatchmakingAlreadyJoinedTicket, + MatchmakingTicketAlreadyCompleted, + MatchmakingHopperConfigInvalid } public static class GetActionsOnPlayersInSegmentTaskInstanceResult { @@ -2408,7 +2425,9 @@ public static class ModifyUserVirtualCurrencyResult { * immutable and unique. */ public static class NameIdentifier { + /** Id Identifier, if present */ public String Id; + /** Name Identifier, if present */ public String Name; } @@ -2678,7 +2697,8 @@ public static class RefundPurchaseRequest { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ public String PlayFabId; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ public String Reason; @@ -2780,7 +2800,8 @@ public static class ResolvePurchaseDisputeRequest { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ public String PlayFabId; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ public String Reason; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java index c7bcaed7..a935d04f 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -2547,16 +2547,6 @@ public static class ModifyUserVirtualCurrencyResult { } - /** - * Identifier by either name or ID. Note that a name may change due to renaming, or reused after being deleted. ID is - * immutable and unique. - */ - public static class NameIdentifier { - public String Id; - public String Name; - - } - public static class OpenTradeRequest { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java index 3bc0a54b..31bdca5e 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -12,6 +12,7 @@ public static enum PlayFabErrorCode { Unknown(1), ConnectionError(2), JsonParseError(3), + MatchmakingHopperIdInvalid(230), UnkownError(500), InvalidParams(1000), AccountNotFound(1001), @@ -380,16 +381,47 @@ public static enum PlayFabErrorCode { NoValidCertificateForAad(1376), InvalidCertificateForAad(1377), DuplicateDropTableId(1378), - ComputeOK(1379), - ComputeAccepted(1380), - ComputeNoContent(1381), - ComputeBadRequest(1382), - ComputeUnauthorized(1383), - ComputeForbidden(1384), - ComputeNotFound(1385), - ComputeConflict(1386), - ComputeInternalServerError(1387), - ComputeServiceUnavailable(1388); + GameServerOk(1379), + GameServerAccepted(1380), + GameServerNoContent(1381), + GameServerBadRequest(1382), + GameServerUnauthorized(1383), + GameServerForbidden(1384), + GameServerNotFound(1385), + GameServerConflict(1386), + GameServerInternalServerError(1387), + GameServerServiceUnavailable(1388), + MatchmakingInvalidEntityKeyList(2000), + MatchmakingInvalidTicketCreatorProfile(2001), + MatchmakingInvalidUserAttributes(2002), + MatchmakingCreateRequestMissing(2003), + MatchmakingCreateRequestCreatorMissing(2004), + MatchmakingCreateRequestCreatorIdMissing(2005), + MatchmakingCreateRequestUserListMissing(2006), + MatchmakingCreateRequestGiveUpAfterInvalid(2007), + MatchmakingTicketIdMissing(2008), + MatchmakingMatchIdMissing(2009), + MatchmakingMatchIdIdMissing(2010), + MatchmakingHopperIdMissing(2011), + MatchmakingTitleIdMissing(2012), + MatchmakingTicketIdIdMissing(2013), + MatchmakingUserIdMissing(2014), + MatchmakingJoinRequestUserMissing(2015), + MatchmakingHopperConfigNotFound(2016), + MatchmakingMatchNotFound(2017), + MatchmakingTicketNotFound(2018), + MatchmakingCreateTicketServerIdentityInvalid(2019), + MatchmakingCreateTicketClientIdentityInvalid(2020), + MatchmakingGetTicketUserMismatch(2021), + MatchmakingJoinTicketServerIdentityInvalid(2022), + MatchmakingJoinTicketUserIdentityMismatch(2023), + MatchmakingCancelTicketServerIdentityInvalid(2024), + MatchmakingCancelTicketUserIdentityMismatch(2025), + MatchmakingGetMatchIdentityMismatch(2026), + MatchmakingUserIdentityMismatch(2027), + MatchmakingAlreadyJoinedTicket(2028), + MatchmakingTicketAlreadyCompleted(2029), + MatchmakingHopperConfigInvalid(2031); public int id; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java index 386b496b..4bfce3c4 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java @@ -19,16 +19,6 @@ public static class AuthUserResponse { } - public static class DeregisterGameRequest { - /** Unique identifier for the Game Server Instance that is being deregistered. */ - public String LobbyId; - - } - - public static class DeregisterGameResponse { - - } - /** * A unique instance of an item in a user's inventory. Note, to retrieve additional information for an item instance (such * as Tags, Description, or Custom Data that are set on the root catalog item), a call to GetCatalogItems is required. The @@ -117,41 +107,6 @@ public static enum Region { Australia } - public static class RegisterGameRequest { - /** Unique identifier of the build running on the Game Server Instance. */ - public String Build; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - public String GameMode; - /** Previous lobby id if re-registering an existing game. */ - public String LobbyId; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - public Region Region; - /** IPV4 address of the Game Server Instance. */ - public String ServerHost; - /** IPV6 address of the Game Server Instance. */ - public String ServerIPV6Address; - /** Port number for communication with the Game Server Instance. */ - public String ServerPort; - /** Tags for the Game Server Instance */ - public Map Tags; - - } - - public static class RegisterGameResponse { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - public String LobbyId; - - } - public static class StartGameRequest { /** Unique identifier of the previously uploaded build executable which is to be started. */ public String Build; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java index b1c69204..bdfe7b9e 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -1023,6 +1023,7 @@ public static enum GameInstanceState { public static enum GenericErrorCodes { Success, + MatchmakingHopperIdInvalid, UnkownError, InvalidParams, AccountNotFound, @@ -1391,16 +1392,47 @@ public static enum GenericErrorCodes { NoValidCertificateForAad, InvalidCertificateForAad, DuplicateDropTableId, - ComputeOK, - ComputeAccepted, - ComputeNoContent, - ComputeBadRequest, - ComputeUnauthorized, - ComputeForbidden, - ComputeNotFound, - ComputeConflict, - ComputeInternalServerError, - ComputeServiceUnavailable + GameServerOk, + GameServerAccepted, + GameServerNoContent, + GameServerBadRequest, + GameServerUnauthorized, + GameServerForbidden, + GameServerNotFound, + GameServerConflict, + GameServerInternalServerError, + GameServerServiceUnavailable, + MatchmakingInvalidEntityKeyList, + MatchmakingInvalidTicketCreatorProfile, + MatchmakingInvalidUserAttributes, + MatchmakingCreateRequestMissing, + MatchmakingCreateRequestCreatorMissing, + MatchmakingCreateRequestCreatorIdMissing, + MatchmakingCreateRequestUserListMissing, + MatchmakingCreateRequestGiveUpAfterInvalid, + MatchmakingTicketIdMissing, + MatchmakingMatchIdMissing, + MatchmakingMatchIdIdMissing, + MatchmakingHopperIdMissing, + MatchmakingTitleIdMissing, + MatchmakingTicketIdIdMissing, + MatchmakingUserIdMissing, + MatchmakingJoinRequestUserMissing, + MatchmakingHopperConfigNotFound, + MatchmakingMatchNotFound, + MatchmakingTicketNotFound, + MatchmakingCreateTicketServerIdentityInvalid, + MatchmakingCreateTicketClientIdentityInvalid, + MatchmakingGetTicketUserMismatch, + MatchmakingJoinTicketServerIdentityInvalid, + MatchmakingJoinTicketUserIdentityMismatch, + MatchmakingCancelTicketServerIdentityInvalid, + MatchmakingCancelTicketUserIdentityMismatch, + MatchmakingGetMatchIdentityMismatch, + MatchmakingUserIdentityMismatch, + MatchmakingAlreadyJoinedTicket, + MatchmakingTicketAlreadyCompleted, + MatchmakingHopperConfigInvalid } public static class GetAllSegmentsRequest { diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java index 93ddd789..f50cba54 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.67.180529"; - public static String BuildIdentifier = "jbuild_javasdk_0"; - public static String SdkVersionString = "JavaSDK-0.67.180529"; + public static String SdkVersion = "0.68.180618"; + public static String BuildIdentifier = "jbuild_javasdk_1"; + public static String SdkVersionString = "JavaSDK-0.68.180618"; 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 06ebb10d..4391b612 100644 --- a/PlayFabServerSDK/pom.xml +++ b/PlayFabServerSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab server-sdk - 0.67.180529 + 0.68.180618 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/PlayFabAdminModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java index b77c1d79..1a9bdfee 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -1013,21 +1013,6 @@ public static class DeleteTitleResult { } - public static class DeleteUsersRequest { - /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ - public ArrayList PlayFabIds; - /** - * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a - * title has been selected. - */ - public String TitleId; - - } - - public static class DeleteUsersResult { - - } - public static enum EffectType { Allow, Deny @@ -1138,6 +1123,7 @@ public static class GameModeInfo { public static enum GenericErrorCodes { Success, + MatchmakingHopperIdInvalid, UnkownError, InvalidParams, AccountNotFound, @@ -1506,16 +1492,47 @@ public static enum GenericErrorCodes { NoValidCertificateForAad, InvalidCertificateForAad, DuplicateDropTableId, - ComputeOK, - ComputeAccepted, - ComputeNoContent, - ComputeBadRequest, - ComputeUnauthorized, - ComputeForbidden, - ComputeNotFound, - ComputeConflict, - ComputeInternalServerError, - ComputeServiceUnavailable + GameServerOk, + GameServerAccepted, + GameServerNoContent, + GameServerBadRequest, + GameServerUnauthorized, + GameServerForbidden, + GameServerNotFound, + GameServerConflict, + GameServerInternalServerError, + GameServerServiceUnavailable, + MatchmakingInvalidEntityKeyList, + MatchmakingInvalidTicketCreatorProfile, + MatchmakingInvalidUserAttributes, + MatchmakingCreateRequestMissing, + MatchmakingCreateRequestCreatorMissing, + MatchmakingCreateRequestCreatorIdMissing, + MatchmakingCreateRequestUserListMissing, + MatchmakingCreateRequestGiveUpAfterInvalid, + MatchmakingTicketIdMissing, + MatchmakingMatchIdMissing, + MatchmakingMatchIdIdMissing, + MatchmakingHopperIdMissing, + MatchmakingTitleIdMissing, + MatchmakingTicketIdIdMissing, + MatchmakingUserIdMissing, + MatchmakingJoinRequestUserMissing, + MatchmakingHopperConfigNotFound, + MatchmakingMatchNotFound, + MatchmakingTicketNotFound, + MatchmakingCreateTicketServerIdentityInvalid, + MatchmakingCreateTicketClientIdentityInvalid, + MatchmakingGetTicketUserMismatch, + MatchmakingJoinTicketServerIdentityInvalid, + MatchmakingJoinTicketUserIdentityMismatch, + MatchmakingCancelTicketServerIdentityInvalid, + MatchmakingCancelTicketUserIdentityMismatch, + MatchmakingGetMatchIdentityMismatch, + MatchmakingUserIdentityMismatch, + MatchmakingAlreadyJoinedTicket, + MatchmakingTicketAlreadyCompleted, + MatchmakingHopperConfigInvalid } public static class GetActionsOnPlayersInSegmentTaskInstanceResult { @@ -2408,7 +2425,9 @@ public static class ModifyUserVirtualCurrencyResult { * immutable and unique. */ public static class NameIdentifier { + /** Id Identifier, if present */ public String Id; + /** Name Identifier, if present */ public String Name; } @@ -2678,7 +2697,8 @@ public static class RefundPurchaseRequest { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ public String PlayFabId; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ public String Reason; @@ -2780,7 +2800,8 @@ public static class ResolvePurchaseDisputeRequest { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ public String PlayFabId; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ public String Reason; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java index 3bc0a54b..31bdca5e 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -12,6 +12,7 @@ public static enum PlayFabErrorCode { Unknown(1), ConnectionError(2), JsonParseError(3), + MatchmakingHopperIdInvalid(230), UnkownError(500), InvalidParams(1000), AccountNotFound(1001), @@ -380,16 +381,47 @@ public static enum PlayFabErrorCode { NoValidCertificateForAad(1376), InvalidCertificateForAad(1377), DuplicateDropTableId(1378), - ComputeOK(1379), - ComputeAccepted(1380), - ComputeNoContent(1381), - ComputeBadRequest(1382), - ComputeUnauthorized(1383), - ComputeForbidden(1384), - ComputeNotFound(1385), - ComputeConflict(1386), - ComputeInternalServerError(1387), - ComputeServiceUnavailable(1388); + GameServerOk(1379), + GameServerAccepted(1380), + GameServerNoContent(1381), + GameServerBadRequest(1382), + GameServerUnauthorized(1383), + GameServerForbidden(1384), + GameServerNotFound(1385), + GameServerConflict(1386), + GameServerInternalServerError(1387), + GameServerServiceUnavailable(1388), + MatchmakingInvalidEntityKeyList(2000), + MatchmakingInvalidTicketCreatorProfile(2001), + MatchmakingInvalidUserAttributes(2002), + MatchmakingCreateRequestMissing(2003), + MatchmakingCreateRequestCreatorMissing(2004), + MatchmakingCreateRequestCreatorIdMissing(2005), + MatchmakingCreateRequestUserListMissing(2006), + MatchmakingCreateRequestGiveUpAfterInvalid(2007), + MatchmakingTicketIdMissing(2008), + MatchmakingMatchIdMissing(2009), + MatchmakingMatchIdIdMissing(2010), + MatchmakingHopperIdMissing(2011), + MatchmakingTitleIdMissing(2012), + MatchmakingTicketIdIdMissing(2013), + MatchmakingUserIdMissing(2014), + MatchmakingJoinRequestUserMissing(2015), + MatchmakingHopperConfigNotFound(2016), + MatchmakingMatchNotFound(2017), + MatchmakingTicketNotFound(2018), + MatchmakingCreateTicketServerIdentityInvalid(2019), + MatchmakingCreateTicketClientIdentityInvalid(2020), + MatchmakingGetTicketUserMismatch(2021), + MatchmakingJoinTicketServerIdentityInvalid(2022), + MatchmakingJoinTicketUserIdentityMismatch(2023), + MatchmakingCancelTicketServerIdentityInvalid(2024), + MatchmakingCancelTicketUserIdentityMismatch(2025), + MatchmakingGetMatchIdentityMismatch(2026), + MatchmakingUserIdentityMismatch(2027), + MatchmakingAlreadyJoinedTicket(2028), + MatchmakingTicketAlreadyCompleted(2029), + MatchmakingHopperConfigInvalid(2031); public int id; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java index 386b496b..4bfce3c4 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMatchmakerModels.java @@ -19,16 +19,6 @@ public static class AuthUserResponse { } - public static class DeregisterGameRequest { - /** Unique identifier for the Game Server Instance that is being deregistered. */ - public String LobbyId; - - } - - public static class DeregisterGameResponse { - - } - /** * A unique instance of an item in a user's inventory. Note, to retrieve additional information for an item instance (such * as Tags, Description, or Custom Data that are set on the root catalog item), a call to GetCatalogItems is required. The @@ -117,41 +107,6 @@ public static enum Region { Australia } - public static class RegisterGameRequest { - /** Unique identifier of the build running on the Game Server Instance. */ - public String Build; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - public String GameMode; - /** Previous lobby id if re-registering an existing game. */ - public String LobbyId; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - public Region Region; - /** IPV4 address of the Game Server Instance. */ - public String ServerHost; - /** IPV6 address of the Game Server Instance. */ - public String ServerIPV6Address; - /** Port number for communication with the Game Server Instance. */ - public String ServerPort; - /** Tags for the Game Server Instance */ - public Map Tags; - - } - - public static class RegisterGameResponse { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - public String LobbyId; - - } - public static class StartGameRequest { /** Unique identifier of the previously uploaded build executable which is to be started. */ public String Build; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java index b1c69204..bdfe7b9e 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -1023,6 +1023,7 @@ public static enum GameInstanceState { public static enum GenericErrorCodes { Success, + MatchmakingHopperIdInvalid, UnkownError, InvalidParams, AccountNotFound, @@ -1391,16 +1392,47 @@ public static enum GenericErrorCodes { NoValidCertificateForAad, InvalidCertificateForAad, DuplicateDropTableId, - ComputeOK, - ComputeAccepted, - ComputeNoContent, - ComputeBadRequest, - ComputeUnauthorized, - ComputeForbidden, - ComputeNotFound, - ComputeConflict, - ComputeInternalServerError, - ComputeServiceUnavailable + GameServerOk, + GameServerAccepted, + GameServerNoContent, + GameServerBadRequest, + GameServerUnauthorized, + GameServerForbidden, + GameServerNotFound, + GameServerConflict, + GameServerInternalServerError, + GameServerServiceUnavailable, + MatchmakingInvalidEntityKeyList, + MatchmakingInvalidTicketCreatorProfile, + MatchmakingInvalidUserAttributes, + MatchmakingCreateRequestMissing, + MatchmakingCreateRequestCreatorMissing, + MatchmakingCreateRequestCreatorIdMissing, + MatchmakingCreateRequestUserListMissing, + MatchmakingCreateRequestGiveUpAfterInvalid, + MatchmakingTicketIdMissing, + MatchmakingMatchIdMissing, + MatchmakingMatchIdIdMissing, + MatchmakingHopperIdMissing, + MatchmakingTitleIdMissing, + MatchmakingTicketIdIdMissing, + MatchmakingUserIdMissing, + MatchmakingJoinRequestUserMissing, + MatchmakingHopperConfigNotFound, + MatchmakingMatchNotFound, + MatchmakingTicketNotFound, + MatchmakingCreateTicketServerIdentityInvalid, + MatchmakingCreateTicketClientIdentityInvalid, + MatchmakingGetTicketUserMismatch, + MatchmakingJoinTicketServerIdentityInvalid, + MatchmakingJoinTicketUserIdentityMismatch, + MatchmakingCancelTicketServerIdentityInvalid, + MatchmakingCancelTicketUserIdentityMismatch, + MatchmakingGetMatchIdentityMismatch, + MatchmakingUserIdentityMismatch, + MatchmakingAlreadyJoinedTicket, + MatchmakingTicketAlreadyCompleted, + MatchmakingHopperConfigInvalid } public static class GetAllSegmentsRequest { diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java index ed8cb6c5..ed01745f 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.67.180529"; - public static String BuildIdentifier = "jbuild_javasdk_0"; - public static String SdkVersionString = "JavaSDK-0.67.180529"; + public static String SdkVersion = "0.68.180618"; + public static String BuildIdentifier = "jbuild_javasdk_1"; + public static String SdkVersionString = "JavaSDK-0.68.180618"; 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.67.180529-javadoc.jar b/builds/client-sdk-0.67.180529-javadoc.jar deleted file mode 100644 index a8cc8ff8..00000000 Binary files a/builds/client-sdk-0.67.180529-javadoc.jar and /dev/null differ diff --git a/builds/client-sdk-0.68.180618-javadoc.jar b/builds/client-sdk-0.68.180618-javadoc.jar new file mode 100644 index 00000000..fa45b6a1 Binary files /dev/null and b/builds/client-sdk-0.68.180618-javadoc.jar differ diff --git a/builds/client-sdk-0.67.180529.jar b/builds/client-sdk-0.68.180618.jar similarity index 74% rename from builds/client-sdk-0.67.180529.jar rename to builds/client-sdk-0.68.180618.jar index e80a1124..41b75d09 100644 Binary files a/builds/client-sdk-0.67.180529.jar and b/builds/client-sdk-0.68.180618.jar differ diff --git a/builds/combo-sdk-0.67.180529-javadoc.jar b/builds/combo-sdk-0.67.180529-javadoc.jar deleted file mode 100644 index 9382c9ed..00000000 Binary files a/builds/combo-sdk-0.67.180529-javadoc.jar and /dev/null differ diff --git a/builds/combo-sdk-0.68.180618-javadoc.jar b/builds/combo-sdk-0.68.180618-javadoc.jar new file mode 100644 index 00000000..d9e8c878 Binary files /dev/null and b/builds/combo-sdk-0.68.180618-javadoc.jar differ diff --git a/builds/combo-sdk-0.67.180529.jar b/builds/combo-sdk-0.68.180618.jar similarity index 69% rename from builds/combo-sdk-0.67.180529.jar rename to builds/combo-sdk-0.68.180618.jar index abd33e5e..fa06026e 100644 Binary files a/builds/combo-sdk-0.67.180529.jar and b/builds/combo-sdk-0.68.180618.jar differ diff --git a/builds/server-sdk-0.67.180529-javadoc.jar b/builds/server-sdk-0.67.180529-javadoc.jar deleted file mode 100644 index 808cdf35..00000000 Binary files a/builds/server-sdk-0.67.180529-javadoc.jar and /dev/null differ diff --git a/builds/server-sdk-0.68.180618-javadoc.jar b/builds/server-sdk-0.68.180618-javadoc.jar new file mode 100644 index 00000000..0e5866d0 Binary files /dev/null and b/builds/server-sdk-0.68.180618-javadoc.jar differ diff --git a/builds/server-sdk-0.67.180529.jar b/builds/server-sdk-0.68.180618.jar similarity index 65% rename from builds/server-sdk-0.67.180529.jar rename to builds/server-sdk-0.68.180618.jar index b03c1e64..416fde63 100644 Binary files a/builds/server-sdk-0.67.180529.jar and b/builds/server-sdk-0.68.180618.jar differ