Skip to content

Commit 3a6f813

Browse files
author
Playfab Jenkins Bot
committed
https://api.playfab.com/releaseNotes/#170411
1 parent 8906dee commit 3a6f813

File tree

18 files changed

+474
-182
lines changed

18 files changed

+474
-182
lines changed

AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java

Lines changed: 139 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,10 +2719,6 @@ public static class LoginResult {
27192719
}
27202720

27212721
public static class LoginWithAndroidDeviceIDRequest {
2722-
/**
2723-
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
2724-
*/
2725-
public String TitleId;
27262722
/**
27272723
* Android device identifier for the user's device.
27282724
*/
@@ -2736,9 +2732,21 @@ public static class LoginWithAndroidDeviceIDRequest {
27362732
*/
27372733
public String AndroidDevice;
27382734
/**
2739-
* Automatically create a PlayFab account if one is not currently linked to this Android device.
2735+
* Automatically create a PlayFab account if one is not currently linked to this ID.
27402736
*/
27412737
public Boolean CreateAccount;
2738+
/**
2739+
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
2740+
*/
2741+
public String TitleId;
2742+
/**
2743+
* Base64 encoded body that is encrypted with the Title's public RSA key
2744+
*/
2745+
public String EncryptedRequest;
2746+
/**
2747+
* Player secret that is used to verify API request signatures
2748+
*/
2749+
public String PlayerSecret;
27422750
/**
27432751
* Flags for which pieces of info to return for the user.
27442752
*/
@@ -2747,26 +2755,26 @@ public static class LoginWithAndroidDeviceIDRequest {
27472755
}
27482756

27492757
public static class LoginWithCustomIDRequest {
2750-
/**
2751-
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
2752-
*/
2753-
public String TitleId;
27542758
/**
27552759
* Custom unique identifier for the user, generated by the title.
27562760
*/
27572761
public String CustomId;
27582762
/**
2759-
* Automatically create a PlayFab account if one is not currently linked to this Custom ID.
2763+
* Automatically create a PlayFab account if one is not currently linked to this ID.
27602764
*/
27612765
public Boolean CreateAccount;
27622766
/**
2763-
* Player secret that is used to verify API request signatures
2767+
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
27642768
*/
2765-
public String PlayerSecret;
2769+
public String TitleId;
27662770
/**
27672771
* Base64 encoded body that is encrypted with the Title's public RSA key
27682772
*/
27692773
public String EncryptedRequest;
2774+
/**
2775+
* Player secret that is used to verify API request signatures
2776+
*/
2777+
public String PlayerSecret;
27702778
/**
27712779
* Flags for which pieces of info to return for the user.
27722780
*/
@@ -2795,18 +2803,26 @@ public static class LoginWithEmailAddressRequest {
27952803
}
27962804

27972805
public static class LoginWithFacebookRequest {
2806+
/**
2807+
* Unique identifier from Facebook for the user.
2808+
*/
2809+
public String AccessToken;
2810+
/**
2811+
* Automatically create a PlayFab account if one is not currently linked to this ID.
2812+
*/
2813+
public Boolean CreateAccount;
27982814
/**
27992815
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
28002816
*/
28012817
public String TitleId;
28022818
/**
2803-
* Unique identifier from Facebook for the user.
2819+
* Base64 encoded body that is encrypted with the Title's public RSA key
28042820
*/
2805-
public String AccessToken;
2821+
public String EncryptedRequest;
28062822
/**
2807-
* Automatically create a PlayFab account if one is not currently linked to this Facebook account.
2823+
* Player secret that is used to verify API request signatures
28082824
*/
2809-
public Boolean CreateAccount;
2825+
public String PlayerSecret;
28102826
/**
28112827
* Flags for which pieces of info to return for the user.
28122828
*/
@@ -2815,18 +2831,26 @@ public static class LoginWithFacebookRequest {
28152831
}
28162832

28172833
public static class LoginWithGameCenterRequest {
2834+
/**
2835+
* Unique Game Center player id.
2836+
*/
2837+
public String PlayerId;
2838+
/**
2839+
* Automatically create a PlayFab account if one is not currently linked to this ID.
2840+
*/
2841+
public Boolean CreateAccount;
28182842
/**
28192843
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
28202844
*/
28212845
public String TitleId;
28222846
/**
2823-
* Unique Game Center player id.
2847+
* Base64 encoded body that is encrypted with the Title's public RSA key
28242848
*/
2825-
public String PlayerId;
2849+
public String EncryptedRequest;
28262850
/**
2827-
* Automatically create a PlayFab account if one is not currently linked to this Game Center id.
2851+
* Player secret that is used to verify API request signatures
28282852
*/
2829-
public Boolean CreateAccount;
2853+
public String PlayerSecret;
28302854
/**
28312855
* Flags for which pieces of info to return for the user.
28322856
*/
@@ -2835,18 +2859,26 @@ public static class LoginWithGameCenterRequest {
28352859
}
28362860

28372861
public static class LoginWithGoogleAccountRequest {
2862+
/**
2863+
* OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
2864+
*/
2865+
public String ServerAuthCode;
2866+
/**
2867+
* Automatically create a PlayFab account if one is not currently linked to this ID.
2868+
*/
2869+
public Boolean CreateAccount;
28382870
/**
28392871
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
28402872
*/
28412873
public String TitleId;
28422874
/**
2843-
* OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
2875+
* Base64 encoded body that is encrypted with the Title's public RSA key
28442876
*/
2845-
public String ServerAuthCode;
2877+
public String EncryptedRequest;
28462878
/**
2847-
* Automatically create a PlayFab account if one is not currently linked to this Google account.
2879+
* Player secret that is used to verify API request signatures
28482880
*/
2849-
public Boolean CreateAccount;
2881+
public String PlayerSecret;
28502882
/**
28512883
* Flags for which pieces of info to return for the user.
28522884
*/
@@ -2855,10 +2887,6 @@ public static class LoginWithGoogleAccountRequest {
28552887
}
28562888

28572889
public static class LoginWithIOSDeviceIDRequest {
2858-
/**
2859-
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
2860-
*/
2861-
public String TitleId;
28622890
/**
28632891
* Vendor-specific iOS identifier for the user's device.
28642892
*/
@@ -2872,21 +2900,29 @@ public static class LoginWithIOSDeviceIDRequest {
28722900
*/
28732901
public String DeviceModel;
28742902
/**
2875-
* Flags for which pieces of info to return for the user.
2903+
* Automatically create a PlayFab account if one is not currently linked to this ID.
28762904
*/
2877-
public GetPlayerCombinedInfoRequestParams InfoRequestParameters;
2905+
public Boolean CreateAccount;
28782906
/**
2879-
* Automatically create a PlayFab account if one is not currently linked to this iOS device.
2907+
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
28802908
*/
2881-
public Boolean CreateAccount;
2909+
public String TitleId;
2910+
/**
2911+
* Base64 encoded body that is encrypted with the Title's public RSA key
2912+
*/
2913+
public String EncryptedRequest;
2914+
/**
2915+
* Player secret that is used to verify API request signatures
2916+
*/
2917+
public String PlayerSecret;
2918+
/**
2919+
* Flags for which pieces of info to return for the user.
2920+
*/
2921+
public GetPlayerCombinedInfoRequestParams InfoRequestParameters;
28822922

28832923
}
28842924

28852925
public static class LoginWithKongregateRequest {
2886-
/**
2887-
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
2888-
*/
2889-
public String TitleId;
28902926
/**
28912927
* Numeric user ID assigned by Kongregate
28922928
*/
@@ -2896,13 +2932,25 @@ public static class LoginWithKongregateRequest {
28962932
*/
28972933
public String AuthTicket;
28982934
/**
2899-
* Automatically create a PlayFab account if one is not currently linked to this Kongregate account.
2935+
* Automatically create a PlayFab account if one is not currently linked to this ID.
29002936
*/
29012937
public Boolean CreateAccount;
29022938
/**
29032939
* Flags for which pieces of info to return for the user.
29042940
*/
29052941
public GetPlayerCombinedInfoRequestParams InfoRequestParameters;
2942+
/**
2943+
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
2944+
*/
2945+
public String TitleId;
2946+
/**
2947+
* Base64 encoded body that is encrypted with the Title's public RSA key
2948+
*/
2949+
public String EncryptedRequest;
2950+
/**
2951+
* Player secret that is used to verify API request signatures
2952+
*/
2953+
public String PlayerSecret;
29062954

29072955
}
29082956

@@ -2927,18 +2975,26 @@ public static class LoginWithPlayFabRequest {
29272975
}
29282976

29292977
public static class LoginWithSteamRequest {
2978+
/**
2979+
* Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08").
2980+
*/
2981+
public String SteamTicket;
2982+
/**
2983+
* Automatically create a PlayFab account if one is not currently linked to this ID.
2984+
*/
2985+
public Boolean CreateAccount;
29302986
/**
29312987
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
29322988
*/
29332989
public String TitleId;
29342990
/**
2935-
* Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08").
2991+
* Base64 encoded body that is encrypted with the Title's public RSA key
29362992
*/
2937-
public String SteamTicket;
2993+
public String EncryptedRequest;
29382994
/**
2939-
* Automatically create a PlayFab account if one is not currently linked to this Steam account.
2995+
* Player secret that is used to verify API request signatures
29402996
*/
2941-
public Boolean CreateAccount;
2997+
public String PlayerSecret;
29422998
/**
29432999
* Flags for which pieces of info to return for the user.
29443000
*/
@@ -2947,18 +3003,26 @@ public static class LoginWithSteamRequest {
29473003
}
29483004

29493005
public static class LoginWithTwitchRequest {
3006+
/**
3007+
* Token issued by Twitch's API for the user.
3008+
*/
3009+
public String AccessToken;
3010+
/**
3011+
* Automatically create a PlayFab account if one is not currently linked to this ID.
3012+
*/
3013+
public Boolean CreateAccount;
29503014
/**
29513015
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
29523016
*/
29533017
public String TitleId;
29543018
/**
2955-
* Token issued by Twitch's API for the user.
3019+
* Base64 encoded body that is encrypted with the Title's public RSA key
29563020
*/
2957-
public String AccessToken;
3021+
public String EncryptedRequest;
29583022
/**
2959-
* Automatically create a PlayFab account if one is not currently linked to this Twitch account.
3023+
* Player secret that is used to verify API request signatures
29603024
*/
2961-
public Boolean CreateAccount;
3025+
public String PlayerSecret;
29623026
/**
29633027
* Flags for which pieces of info to return for the user.
29643028
*/
@@ -3334,7 +3398,7 @@ public static class PlayerProfileViewConstraints {
33343398
*/
33353399
public Boolean ShowBannedUntil;
33363400
/**
3337-
* Whether to show statistics, the most recent version of each stat. Defaults to false
3401+
* Reserved for future development
33383402
*/
33393403
public Boolean ShowStatistics;
33403404
/**
@@ -3528,10 +3592,6 @@ public static class RegisterForIOSPushNotificationResult {
35283592
}
35293593

35303594
public static class RegisterPlayFabUserRequest {
3531-
/**
3532-
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
3533-
*/
3534-
public String TitleId;
35353595
/**
35363596
* PlayFab username for the account (3-20 characters)
35373597
*/
@@ -3552,6 +3612,22 @@ public static class RegisterPlayFabUserRequest {
35523612
* An optional parameter for setting the display name for this title.
35533613
*/
35543614
public String DisplayName;
3615+
/**
3616+
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
3617+
*/
3618+
public String TitleId;
3619+
/**
3620+
* Base64 encoded body that is encrypted with the Title's public RSA key
3621+
*/
3622+
public String EncryptedRequest;
3623+
/**
3624+
* Player secret that is used to verify API request signatures
3625+
*/
3626+
public String PlayerSecret;
3627+
/**
3628+
* Flags for which pieces of info to return for the user.
3629+
*/
3630+
public GetPlayerCombinedInfoRequestParams InfoRequestParameters;
35553631

35563632
}
35573633

@@ -3577,11 +3653,7 @@ public static class RegisterPlayFabUserResult {
35773653

35783654
public static class RegisterWithWindowsHelloRequest {
35793655
/**
3580-
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
3581-
*/
3582-
public String TitleId;
3583-
/**
3584-
* Player's user named used by Windows Hello.
3656+
* Player's user name used by Windows Hello.
35853657
*/
35863658
public String UserName;
35873659
/**
@@ -3592,6 +3664,18 @@ public static class RegisterWithWindowsHelloRequest {
35923664
* Device name.
35933665
*/
35943666
public String DeviceName;
3667+
/**
3668+
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
3669+
*/
3670+
public String TitleId;
3671+
/**
3672+
* Base64 encoded body that is encrypted with the Title's public RSA key
3673+
*/
3674+
public String EncryptedRequest;
3675+
/**
3676+
* Player secret that is used to verify API request signatures
3677+
*/
3678+
public String PlayerSecret;
35953679
/**
35963680
* Flags for which pieces of info to return for the user.
35973681
*/

AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ public static enum PlayFabErrorCode {
296296
SecretKeyNotFound(1293),
297297
PlayerSecretAlreadyConfigured(1294),
298298
APIRequestsDisabledForTitle(1295),
299-
InvalidSharedSecretKey(1296);
299+
InvalidSharedSecretKey(1296),
300+
PrizeTableHasNoRanks(1297);
300301

301302
public int id;
302303

AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import com.playfab.PlayFabErrors.ErrorCallback;
55

66
public class PlayFabSettings {
7-
public static String SdkVersion = "0.47.170403";
7+
public static String SdkVersion = "0.48.170411";
88
public static String BuildIdentifier = "jbuild_javasdk_1";
9-
public static String SdkVersionString = "JavaSDK-0.47.170403";
9+
public static String SdkVersionString = "JavaSDK-0.48.170411";
1010

1111
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)
1212
public static ErrorCallback GlobalErrorHandler;

0 commit comments

Comments
 (0)