Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210521
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed May 21, 2021
2 parents d8de793 + c503a36 commit 7b1a063
Show file tree
Hide file tree
Showing 76 changed files with 81 additions and 1,664 deletions.
2 changes: 1 addition & 1 deletion AndroidStudioExample/app/packageMe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds
popd

cd target
Copy-Item client-sdk-0.131.210511.jar -Destination ../../builds/client-sdk-0.131.210511.jar
Copy-Item client-sdk-0.132.210521.jar -Destination ../../builds/client-sdk-0.132.210521.jar
2 changes: 1 addition & 1 deletion AndroidStudioExample/app/packageMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mkdir -p ./builds
popd

cd target
cp client-sdk-0.131.210511.jar ../../builds/client-sdk-0.131.210511.jar
cp client-sdk-0.132.210521.jar ../../builds/client-sdk-0.132.210521.jar
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ private static PlayFabResult<ValidateEntityTokenResponse> privateValidateEntityT
pfResult.Result = result;
return pfResult;
}

}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2266,30 +2266,6 @@ public static class GetUserInventoryResult {

}

/**
* Requires the SHA256 hash of the user's public key.
* @deprecated Do not use
*/
@Deprecated
public static class GetWindowsHelloChallengeRequest {
/** SHA256 hash of the PublicKey generated by Windows Hello. */
public String PublicKeyHint;
/**
* 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;

}

/** @deprecated Do not use */
@Deprecated
public static class GetWindowsHelloChallengeResponse {
/** Server generated challenge to be signed by the user. */
public String Challenge;

}

public static class GooglePlayFabIdPair {
/** Unique Google identifier for a user. */
public String GoogleId;
Expand Down Expand Up @@ -2672,31 +2648,6 @@ public static class LinkTwitchAccountResult {

}

/**
* PublicKey must be generated using the Windows Hello Passport service.
* @deprecated Do not use
*/
@Deprecated
public static class LinkWindowsHelloAccountRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** Device name. */
public String DeviceName;
/** If another user is already linked to the account, unlink the other user and re-link. */
public Boolean ForceLink;
/** PublicKey generated by Windows Hello. */
public String PublicKey;
/** Player's user named used by Windows Hello. */
public String UserName;

}

/** @deprecated Do not use */
@Deprecated
public static class LinkWindowsHelloAccountResponse {

}

public static class LinkXboxAccountRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
Expand Down Expand Up @@ -3288,28 +3239,6 @@ public static class LoginWithTwitchRequest {

}

/**
* Requires both the SHA256 hash of the user's public key as well as the signed response from GetWindowsHelloChallenge
* @deprecated Do not use
*/
@Deprecated
public static class LoginWithWindowsHelloRequest {
/** The signed response from the user for the Challenge. */
public String ChallengeSignature;
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** Flags for which pieces of info to return for the user. */
public GetPlayerCombinedInfoRequestParams InfoRequestParameters;
/** SHA256 hash of the PublicKey generated by Windows Hello. */
public String PublicKeyHint;
/**
* 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;

}

/**
* If this is the first time a user has signed in with the Xbox Live account and CreateAccount is set to true, a new
* PlayFab account will be created and linked to the Xbox Live account. In this case, no email or username will be
Expand Down Expand Up @@ -3857,34 +3786,6 @@ public static class RegisterPlayFabUserResult {

}

/**
* PublicKey must be generated using the Windows Hello Passport service.
* @deprecated Do not use
*/
@Deprecated
public static class RegisterWithWindowsHelloRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** Device name. */
public String DeviceName;
/** 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;
/** Player secret that is used to verify API request signatures (Enterprise Only). */
public String PlayerSecret;
/** PublicKey generated by Windows Hello. */
public String PublicKey;
/**
* 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;
/** Player's user name used by Windows Hello. */
public String UserName;

}

/** This API removes an existing contact email from the player's profile. */
public static class RemoveContactEmailRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
Expand Down Expand Up @@ -4575,25 +4476,6 @@ public static class UnlinkTwitchAccountResult {

}

/**
* Must include the Public Key Hint
* @deprecated Do not use
*/
@Deprecated
public static class UnlinkWindowsHelloAccountRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** SHA256 hash of the PublicKey generated by Windows Hello. */
public String PublicKeyHint;

}

/** @deprecated Do not use */
@Deprecated
public static class UnlinkWindowsHelloAccountResponse {

}

public static class UnlinkXboxAccountRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -766,4 +766,5 @@ private static PlayFabResult<EmptyResult> privateUnregisterFunctionAsync(final U
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -451,4 +451,5 @@ private static PlayFabResult<SetObjectsResponse> privateSetObjectsAsync(final Se
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,8 @@ public static enum PlayFabErrorCode {
UpdateSegmentRateLimitExceeded(10009),
GetSegmentsRateLimitExceeded(10010),
AsyncExportNotInFlight(10011),
AsyncExportNotFound(10012),
AsyncExportRateLimitExceeded(10013),
SnapshotNotFound(11000),
InventoryApiNotImplemented(12000);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -818,4 +818,5 @@ private static PlayFabResult<EmptyResponse> privateUpdateExperimentAsync(final U
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -1566,4 +1566,5 @@ private static PlayFabResult<UpdateGroupRoleResponse> privateUpdateRoleAsync(fin
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,5 @@ private static PlayFabResult<InsightsOperationResponse> privateSetStorageRetenti
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ private static PlayFabResult<GetLanguageListResponse> privateGetLanguageListAsyn
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -3764,4 +3764,5 @@ private static PlayFabResult<EmptyResponse> privateUploadCertificateAsync(final
pfResult.Result = result;
return pfResult;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,5 @@ private static PlayFabResult<SetEntityProfilePolicyResponse> privateSetProfilePo
pfResult.Result = result;
return pfResult;
}

}
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.131.210511";
public static String BuildIdentifier = "jbuild_javasdk_sdk-generic-2_2";
public static String SdkVersionString = "JavaSDK-0.131.210511";
public static String SdkVersion = "0.132.210521";
public static String BuildIdentifier = "jbuild_javasdk_sdk-generic-2_0";
public static String SdkVersionString = "JavaSDK-0.132.210521";

public static Map<String, String> RequestGetParams;
static {
Expand All @@ -27,15 +27,8 @@ public class PlayFabSettings {
public static String EntityToken = null; // Set by GetEntityToken
public static String DeveloperSecretKey = 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 String ClientSessionTicket = null; // Set by any Client Login Call
public static String AdvertisingIdType = null; // Set this to the appropriate AD_TYPE_X constant below
public static String AdvertisingIdValue = null; // Set this to corresponding device value
public static Context androidContext = null; // Context object for android devices

// DisableAdvertising is provided for completeness, but changing it is not suggested
// Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
public static Boolean DisableAdvertising = false;
public static final String AD_TYPE_IDFA = "Idfa";
public static final String AD_TYPE_ANDROID_ID = "Adid";

public static String GetURL(String apiCall) {
StringBuilder sb = new StringBuilder(1000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,25 +160,6 @@ public void LoginOrRegister()
playFabId = result.Result.PlayFabId;
}

/**
* CLIENT API
* Test that the login call sequence sends the AdvertisingId when set
*/
@Test
public void LoginWithAdvertisingId()
{
PlayFabSettings.AdvertisingIdType = PlayFabSettings.AD_TYPE_ANDROID_ID;
PlayFabSettings.AdvertisingIdValue = "PlayFabTestId";

PlayFabClientModels.LoginWithCustomIDRequest request = new PlayFabClientModels.LoginWithCustomIDRequest();
request.TitleId = PlayFabSettings.TitleId;
request.CustomId = PlayFabSettings.BuildIdentifier;
request.CreateAccount = true;
PlayFabResult<PlayFabClientModels.LoginResult> result = PlayFabClientAPI.LoginWithCustomID(request);

assertEquals(PlayFabSettings.AD_TYPE_ANDROID_ID, PlayFabSettings.AdvertisingIdType);
}

/**
* CLIENT API
* Test a sequence of calls that modifies saved data,
Expand Down
2 changes: 1 addition & 1 deletion PlayFabClientSDK/packageMe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds
popd

cd target
Copy-Item client-sdk-0.131.210511.jar -Destination ../../builds/client-sdk-0.131.210511.jar
Copy-Item client-sdk-0.132.210521.jar -Destination ../../builds/client-sdk-0.132.210521.jar
2 changes: 1 addition & 1 deletion PlayFabClientSDK/packageMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mkdir -p ./builds
popd

cd target
cp client-sdk-0.131.210511.jar ../../builds/client-sdk-0.131.210511.jar
cp client-sdk-0.132.210521.jar ../../builds/client-sdk-0.132.210521.jar
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.131.210511</version>
<version>0.132.210521</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>https://docs.microsoft.com/gaming/playfab/</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ private static PlayFabResult<ValidateEntityTokenResponse> privateValidateEntityT
pfResult.Result = result;
return pfResult;
}

}
Loading

0 comments on commit 7b1a063

Please sign in to comment.