Skip to content

Commit

Permalink
https://api.playfab.com/releaseNotes/#170403
Browse files Browse the repository at this point in the history
  • Loading branch information
Playfab Jenkins Bot committed Apr 4, 2017
1 parent 0d86633 commit c300a21
Show file tree
Hide file tree
Showing 33 changed files with 3,688 additions and 267 deletions.
550 changes: 529 additions & 21 deletions AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientAPI.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public static enum CloudScriptRevisionOption {
}

/**
* Collection filter to include and/or exclude collections with certain key-value pairs. The filter generates a collection set defined by Includes rules and then remove collections that matches the Excludes rules. A collection is considered matching a rule if the rule describes a subset of the collection.
* Collection filter to include and/or exclude collections with certain key-value pairs. The filter generates a collection set defined by Includes rules and then remove collections that matches the Excludes rules. A collection is considered matching a rule if the rule describes a subset of the collection.
*/
public static class CollectionFilter {
/**
Expand Down Expand Up @@ -1193,7 +1193,7 @@ public static class GameServerRegionsRequest {
*/
public String BuildVersion;
/**
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
* 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;

Expand Down Expand Up @@ -1434,6 +1434,14 @@ public static class GetFriendLeaderboardAroundPlayerRequest {
* Indicates whether Facebook friends should be included in the response. Default is true.
*/
public Boolean IncludeFacebookFriends;
/**
* The version of the leaderboard to get, when UseSpecificVersion is true.
*/
public Integer Version;
/**
* If true, uses the specified version. If false, gets the most recent version.
*/
public Boolean UseSpecificVersion;
/**
* If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
*/
Expand Down Expand Up @@ -1478,6 +1486,14 @@ public static class GetFriendLeaderboardRequest {
* Indicates whether Facebook friends should be included in the response. Default is true.
*/
public Boolean IncludeFacebookFriends;
/**
* The version of the leaderboard to get, when UseSpecificVersion is true.
*/
public Integer Version;
/**
* If true, uses the specified version. If false, gets the most recent version.
*/
public Boolean UseSpecificVersion;
/**
* If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
*/
Expand Down Expand Up @@ -1546,6 +1562,14 @@ public static class GetLeaderboardAroundPlayerRequest {
* Maximum number of entries to retrieve. Default 10, maximum 100.
*/
public Integer MaxResultsCount;
/**
* The version of the leaderboard to get, when UseSpecificVersion is true.
*/
public Integer Version;
/**
* If true, uses the specified version. If false, gets the most recent version.
*/
public Boolean UseSpecificVersion;
/**
* If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
*/
Expand Down Expand Up @@ -1602,6 +1626,14 @@ public static class GetLeaderboardRequest {
* Maximum number of entries to retrieve. Default 10, maximum 100.
*/
public Integer MaxResultsCount;
/**
* The version of the leaderboard to get, when UseSpecificVersion is true.
*/
public Integer Version;
/**
* If true, uses the specified version. If false, gets the most recent version.
*/
public Boolean UseSpecificVersion;
/**
* If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
*/
Expand Down Expand Up @@ -1643,7 +1675,7 @@ public static class GetPhotonAuthenticationTokenResult {

public static class GetPlayerCombinedInfoRequest {
/**
* PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player.
* PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player.
*/
public String PlayFabId;
/**
Expand Down Expand Up @@ -1980,7 +2012,7 @@ public static class GetPlayFabIDsFromTwitchIDsResult {

public static class GetPublisherDataRequest {
/**
* array of keys to get back data from the Publisher data blob, set by the admin tools
* array of keys to get back data from the Publisher data blob, set by the admin tools
*/
public ArrayList<String> Keys;

Expand Down Expand Up @@ -2024,7 +2056,7 @@ public static class GetPurchaseResult {
*/
public Date PurchaseDate;
/**
* @deprecated Please use instead.
* @deprecated Please use instead.
*/
@Deprecated
public ArrayList<ItemInstance> Items;
Expand Down Expand Up @@ -2227,7 +2259,7 @@ public static class GetUserInventoryResult {

public static class GetWindowsHelloChallengeRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand Down Expand Up @@ -2688,7 +2720,7 @@ public static class LoginResult {

public static class LoginWithAndroidDeviceIDRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand Down Expand Up @@ -2716,7 +2748,7 @@ public static class LoginWithAndroidDeviceIDRequest {

public static class LoginWithCustomIDRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2727,6 +2759,14 @@ public static class LoginWithCustomIDRequest {
* Automatically create a PlayFab account if one is not currently linked to this Custom ID.
*/
public Boolean CreateAccount;
/**
* Player secret that is used to verify API request signatures
*/
public String PlayerSecret;
/**
* Base64 encoded body that is encrypted with the Title's public RSA key
*/
public String EncryptedRequest;
/**
* Flags for which pieces of info to return for the user.
*/
Expand All @@ -2736,7 +2776,7 @@ public static class LoginWithCustomIDRequest {

public static class LoginWithEmailAddressRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2756,7 +2796,7 @@ public static class LoginWithEmailAddressRequest {

public static class LoginWithFacebookRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2776,7 +2816,7 @@ public static class LoginWithFacebookRequest {

public static class LoginWithGameCenterRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2796,7 +2836,7 @@ public static class LoginWithGameCenterRequest {

public static class LoginWithGoogleAccountRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2816,7 +2856,7 @@ public static class LoginWithGoogleAccountRequest {

public static class LoginWithIOSDeviceIDRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand Down Expand Up @@ -2844,7 +2884,7 @@ public static class LoginWithIOSDeviceIDRequest {

public static class LoginWithKongregateRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2868,7 +2908,7 @@ public static class LoginWithKongregateRequest {

public static class LoginWithPlayFabRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2888,7 +2928,7 @@ public static class LoginWithPlayFabRequest {

public static class LoginWithSteamRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2908,7 +2948,7 @@ public static class LoginWithSteamRequest {

public static class LoginWithTwitchRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand All @@ -2928,7 +2968,7 @@ public static class LoginWithTwitchRequest {

public static class LoginWithWindowsHelloRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand Down Expand Up @@ -3489,7 +3529,7 @@ public static class RegisterForIOSPushNotificationResult {

public static class RegisterPlayFabUserRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand Down Expand Up @@ -3537,7 +3577,7 @@ public static class RegisterPlayFabUserResult {

public static class RegisterWithWindowsHelloRequest {
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;
/**
Expand Down Expand Up @@ -3657,7 +3697,7 @@ public static class SendAccountRecoveryEmailRequest {
*/
public String Email;
/**
* Unique identifier for the title, found in the Settings &GT; Game Properties section of the PlayFab developer site when a title has been selected.
* 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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,15 @@ public static enum PlayFabErrorCode {
ExpressionInvokeFailure(1285),
ExpressionTooLong(1286),
DataUpdateRateExceeded(1287),
RestrictedEmailDomain(1288);
RestrictedEmailDomain(1288),
EncryptionKeyDisabled(1289),
EncryptionKeyMissing(1290),
EncryptionKeyBroken(1291),
NoSharedSecretKeyConfigured(1292),
SecretKeyNotFound(1293),
PlayerSecretAlreadyConfigured(1294),
APIRequestsDisabledForTitle(1295),
InvalidSharedSecretKey(1296);

public int id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import com.playfab.PlayFabErrors.ErrorCallback;

public class PlayFabSettings {
public static String SdkVersion = "0.46.170313";
public static String BuildIdentifier = "javasdk_manual";
public static String SdkVersionString = "JavaSDK-0.46.170313";
public static String SdkVersion = "0.47.170403";
public static String BuildIdentifier = "jbuild_javasdk_1";
public static String SdkVersionString = "JavaSDK-0.47.170403";

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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void LoginWithAdvertisingId()
* Test a sequence of calls that modifies saved data,
* and verifies that the next sequential API call contains updated data.
* Verify that the data is correctly modified on the next call.
* Parameter types tested: string, Dictionary<string, string>, DateTime
* Parameter types tested: string, Dictionary(string, string), DateTime
*/
@Test
public void UserDataApi()
Expand Down Expand Up @@ -220,7 +220,7 @@ public void UserDataApi()
* Test a sequence of calls that modifies saved data,
* and verifies that the next sequential API call contains updated data.
* Verify that the data is saved correctly, and that specific types are tested
* Parameter types tested: Dictionary<string, int>
* Parameter types tested: Dictionary(string,int)
*/
@Test
public void PlayerStatisticsApi()
Expand Down
Loading

0 comments on commit c300a21

Please sign in to comment.