Skip to content

Commit

Permalink
https://api.playfab.com/releaseNotes/#181218
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Dec 18, 2018
2 parents 49232e6 + 6309ba1 commit 7fc47f8
Show file tree
Hide file tree
Showing 35 changed files with 1,721 additions and 59 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,21 @@ public static class ConsumeItemResult {

}

public static class ConsumePSNEntitlementsRequest {
/** Which catalog to match granted entitlements against. If null, defaults to title default catalog */
public String CatalogVersion;
/** Id of the PSN service label to consume entitlements from */
public Integer ServiceLabel;

}

public static class ConsumePSNEntitlementsResult {
/** Array of items granted to the player as a result of consuming entitlements. */
@Unordered("ItemInstanceId")
public ArrayList<ItemInstance> ItemsGranted;

}

public static class ConsumeXboxEntitlementsRequest {
/** Catalog version to use */
public String CatalogVersion;
Expand Down Expand Up @@ -1810,6 +1825,21 @@ public static class GetPlayFabIDsFromNintendoSwitchDeviceIdsResult {

}

public static class GetPlayFabIDsFromPSNAccountIDsRequest {
/** Id of the PSN issuer environment. If null, defaults to 256 (production) */
public Integer IssuerId;
/** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */
public ArrayList<String> PSNAccountIDs;

}

/** For PlayStation Network identifiers which have not been linked to PlayFab accounts, null will be returned. */
public static class GetPlayFabIDsFromPSNAccountIDsResult {
/** Mapping of PlayStation Network identifiers to PlayFab identifiers. */
public ArrayList<PSNAccountPlayFabIdPair> Data;

}

public static class GetPlayFabIDsFromSteamIDsRequest {
/** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */
public ArrayList<String> SteamStringIDs;
Expand Down Expand Up @@ -2387,6 +2417,22 @@ public static class LinkOpenIdConnectRequest {

}

public static class LinkPSNAccountRequest {
/** Authentication code provided by the PlayStation Network. */
public String AuthCode;
/** If another user is already linked to the account, unlink the other user and re-link. */
public Boolean ForceLink;
/** Id of the PSN issuer environment. If null, defaults to 256 (production) */
public Integer IssuerId;
/** Redirect URI supplied to PSN when requesting an auth code */
public String RedirectUri;

}

public static class LinkPSNAccountResult {

}

/**
* Steam authentication is accomplished with the Steam Session Ticket. More information on the Ticket can be
* found in the Steamworks SDK, here: https://partner.steamgames.com/documentation/auth (requires sign-in). NOTE: For Steam
Expand Down Expand Up @@ -2955,6 +3001,43 @@ public static class LoginWithPlayFabRequest {

}

/**
* If this is the first time a user has signed in with the PlayStation Network account and CreateAccount
* is set to true, a new PlayFab account will be created and linked to the PSN account. In this case, no email or username
* will be
* associated with the PlayFab account. Otherwise, if no PlayFab account is linked to the PSN account, an error indicating
* this will
* be returned, so that the title can guide the user through creation of a PlayFab account.
*/
public static class LoginWithPSNRequest {
/** Auth code provided by the PSN OAuth provider. */
public String AuthCode;
/** Automatically create a PlayFab account if one is not currently linked to this ID. */
public Boolean CreateAccount;
/** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */
public String EncryptedRequest;
/** Flags for which pieces of info to return for the user. */
public GetPlayerCombinedInfoRequestParams InfoRequestParameters;
/** Id of the PSN issuer environment. If null, defaults to 256 (production) */
public Integer IssuerId;
/**
* Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on.
* @deprecated Do not use
*/
@Deprecated
public Boolean LoginTitlePlayerAccountEntity;
/** Player secret that is used to verify API request signatures (Enterprise Only). */
public String PlayerSecret;
/** Redirect URI supplied to PSN when requesting an auth code */
public String RedirectUri;
/**
* Unique identifier for the title, found in the Settings &gt; Game Properties section of the PlayFab developer site when a
* title has been selected.
*/
public String TitleId;

}

/**
* Steam sign-in is accomplished with the Steam Session Ticket. More information on the Ticket can be
* found in the Steamworks SDK, here: https://partner.steamgames.com/documentation/auth (requires sign-in). NOTE: For Steam
Expand Down Expand Up @@ -3375,6 +3458,14 @@ public static class PlayerStatisticVersion {

}

public static class PSNAccountPlayFabIdPair {
/** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */
public String PlayFabId;
/** Unique PlayStation Network identifier for a user. */
public String PSNAccountId;

}

/**
* Please note that the processing time for inventory grants and purchases increases fractionally
* the more items are in the inventory, and the more items are in the grant/purchase operation (with each item in a bundle
Expand Down Expand Up @@ -3438,6 +3529,16 @@ public static class RedeemCouponResult {

}

public static class RefreshPSNAuthTokenRequest {
/** Auth code returned by PSN OAuth system. */
public String AuthCode;
/** Id of the PSN issuer environment. If null, defaults to 256 (production) */
public Integer IssuerId;
/** Redirect URI supplied to PSN when requesting an auth code */
public String RedirectUri;

}

public static enum Region {
USCentral,
USEast,
Expand Down Expand Up @@ -4115,6 +4216,14 @@ public static class UnlinkNintendoSwitchDeviceIdResult {

}

public static class UnlinkPSNAccountRequest {

}

public static class UnlinkPSNAccountResult {

}

public static class UnlinkSteamAccountRequest {

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,23 @@ public static enum PlayFabErrorCode {
StatisticTagRequired(1401),
StatisticTagInvalid(1402),
DataIntegrityError(1403),
VirtualCurrencyCannotBeSetToOlderVersion(1404),
VirtualCurrencyMustBeWithinIntegerRange(1405),
EmailTemplateInvalidSyntax(1406),
EmailTemplateMissingCallback(1407),
PushNotificationTemplateInvalidPayload(1408),
InvalidLocalizedPushNotificationLanguage(1409),
MissingLocalizedPushNotificationMessage(1410),
PushNotificationTemplateMissingPlatformPayload(1411),
PushNotificationTemplatePayloadContainsInvalidJson(1412),
PushNotificationTemplateContainsInvalidIosPayload(1413),
PushNotificationTemplateContainsInvalidAndroidPayload(1414),
PushNotificationTemplateIosPayloadMissingNotificationBody(1415),
PushNotificationTemplateAndroidPayloadMissingNotificationBody(1416),
PushNotificationTemplateNotFound(1417),
PushNotificationTemplateMissingDefaultVersion(1418),
PushNotificationTemplateInvalidSyntax(1419),
PushNotificationTemplateNoCustomPayloadForV1(1420),
MatchmakingEntityInvalid(2001),
MatchmakingPlayerAttributesInvalid(2002),
MatchmakingCreateRequestMissing(2003),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ public static enum AzureVmSize {
Standard_A2_v2,
Standard_A4_v2,
Standard_A8_v2,
Standard_F1,
Standard_F2,
Standard_F4,
Standard_F8,
Standard_F16,
Standard_F2s_v2,
Standard_F4s_v2,
Standard_F8s_v2,
Standard_F16s_v2,
Standard_A1,
Standard_A2,
Standard_A3,
Expand All @@ -70,7 +79,10 @@ public static class BuildRegion {
public AzureRegion Region;
/** The number of standby multiplayer servers for the region. */
public Integer StandbyServers;
/** The status of multiplayer servers in the build region. */
/**
* The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed,
* Unhealthy.
*/
public String Status;

}
Expand Down Expand Up @@ -154,7 +166,10 @@ public static class CreateBuildWithCustomContainerRequest {
public ArrayList<AssetReferenceParams> GameAssetReferences;
/** The game certificates for the build. */
public ArrayList<GameCertificateReferenceParams> GameCertificateReferences;
/** Metadata to tag the build. */
/**
* Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through
* Game Server SDK (GSDK).
*/
public Map<String,String> Metadata;
/** The number of multiplayer servers to host on a single VM. */
public Integer MultiplayerServerCountPerVm;
Expand Down Expand Up @@ -207,7 +222,10 @@ public static class CreateBuildWithManagedContainerRequest {
public ArrayList<AssetReferenceParams> GameAssetReferences;
/** The game certificates for the build. */
public ArrayList<GameCertificateReferenceParams> GameCertificateReferences;
/** Metadata to tag the build. */
/**
* Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through
* Game Server SDK (GSDK).
*/
public Map<String,String> Metadata;
/** The number of multiplayer servers to host on a single VM. */
public Integer MultiplayerServerCountPerVm;
Expand Down Expand Up @@ -394,7 +412,7 @@ public static class GetBuildResponse {
public String BuildId;
/** The build name. */
public String BuildName;
/** The current build status. */
/** The current build status. Valid values are - Deploying, Deployed, DeletingRegion, Unhealthy. */
public String BuildStatus;
/** The flavor of container of he build. */
public ContainerFlavor ContainerFlavor;
Expand All @@ -411,7 +429,10 @@ public static class GetBuildResponse {
public ArrayList<AssetReference> GameAssetReferences;
/** The game certificates for the build. */
public ArrayList<GameCertificateReference> GameCertificateReferences;
/** The metadata of the build. */
/**
* Metadata of the build. The keys are case insensitive. The build metadata is made available to the server through Game
* Server SDK (GSDK).
*/
public Map<String,String> Metadata;
/** The number of multiplayer servers to hosted on a single VM of the build. */
public Integer MultiplayerServerCountPerVm;
Expand Down Expand Up @@ -714,16 +735,18 @@ public static class RequestMultiplayerServerRequest {
/** The guid string build ID of the multiplayer server to request. */
public String BuildId;
/**
* Initial list of players (potentially matchmade) allowed to connect to the game. The game server can use this list to
* validate players connecting to it.
* Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server
* when requested (via GSDK) and can be used to validate players connecting to it.
*/
public ArrayList<String> InitialPlayers;
/** The preferred regions to request a multiplayer server from. */
/**
* The preferred regions to request a multiplayer server from. The Multiplayer Service will iterate through the regions in
* the specified order and allocate a server from the first one that has servers available.
*/
public ArrayList<AzureRegion> PreferredRegions;
/**
* Data encoded as a string that is passed to the game server when requested. This can be used to share a cryptographic
* secret for servers to authenticate clients or to communicate information such as game mode or map through the request
* flow.
* Data encoded as a string that is passed to the game server when requested. This can be used to to communicate
* information such as game mode or map through the request flow.
*/
public String SessionCookie;
/** A guid string session ID created track the multiplayer server session over its life. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import com.playfab.PlayFabErrors.ErrorCallback;

public class PlayFabSettings {
public static String SdkVersion = "0.81.181204";
public static String BuildIdentifier = "jbuild_javasdk__sdk-slave2016-2_2";
public static String SdkVersionString = "JavaSDK-0.81.181204";
public static String SdkVersion = "0.82.181218";
public static String BuildIdentifier = "jbuild_javasdk__sdk-slave2016-1_0";
public static String SdkVersionString = "JavaSDK-0.82.181218";

public static Map<String, String> RequestGetParams;
static {
Expand Down
2 changes: 1 addition & 1 deletion PlayFabClientSDK/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- GAV & Meta -->
<groupId>com.playfab</groupId>
<artifactId>client-sdk</artifactId>
<version>0.81.181204</version>
<version>0.82.181218</version>
<name>PlayFab Client API</name>
<description>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. </description>
<url>http://api.playfab.com/</url>
Expand Down
Loading

0 comments on commit 7fc47f8

Please sign in to comment.