Skip to content

Commit

Permalink
https://api.playfab.com/releaseNotes/#160815
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gilmore authored Aug 15, 2016
1 parent 4cc6a36 commit 4b98cde
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ private static PlayFabResult<AddGenericIDResult> privateAddGenericIDAsync(final
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
public static FutureTask<PlayFabResult<AddUsernamePasswordResult>> AddUsernamePasswordAsync(final AddUsernamePasswordRequest request) {
Expand All @@ -878,7 +878,7 @@ public PlayFabResult<AddUsernamePasswordResult> call() throws Exception {
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
public static PlayFabResult<AddUsernamePasswordResult> AddUsernamePassword(final AddUsernamePasswordRequest request) {
Expand All @@ -896,7 +896,7 @@ public PlayFabResult<AddUsernamePasswordResult> call() throws Exception {
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
private static PlayFabResult<AddUsernamePasswordResult> privateAddUsernamePasswordAsync(final AddUsernamePasswordRequest request) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ public static class GetAccountInfoResult {

public static class GetCatalogItemsRequest {
/**
* Which catalog is being requested.
* Which catalog is being requested. If null, uses the default catalog.
*/
public String CatalogVersion;

Expand Down Expand Up @@ -2048,7 +2048,7 @@ public static class GrantCharacterToUserResult {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ public static enum PlayFabErrorCode {
ExpiredContinuationToken(1241),
InvalidSegment(1242),
InvalidSessionId(1243),
SessionLogNotFound(1244);
SessionLogNotFound(1244),
InvalidSearchTerm(1245);

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.32.160801";
public static String SdkVersion = "0.33.160815";
public static String BuildIdentifier = "jbuild_javasdk_0";
public static String SdkVersionString = "JavaSDK-0.32.160801";
public static String SdkVersionString = "JavaSDK-0.33.160815";

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
6 changes: 3 additions & 3 deletions PlayFabClientSDK/src/com/playfab/PlayFabClientAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ private static PlayFabResult<AddGenericIDResult> privateAddGenericIDAsync(final
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
public static FutureTask<PlayFabResult<AddUsernamePasswordResult>> AddUsernamePasswordAsync(final AddUsernamePasswordRequest request) {
Expand All @@ -877,7 +877,7 @@ public PlayFabResult<AddUsernamePasswordResult> call() throws Exception {
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
public static PlayFabResult<AddUsernamePasswordResult> AddUsernamePassword(final AddUsernamePasswordRequest request) {
Expand All @@ -895,7 +895,7 @@ public PlayFabResult<AddUsernamePasswordResult> call() throws Exception {
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
private static PlayFabResult<AddUsernamePasswordResult> privateAddUsernamePasswordAsync(final AddUsernamePasswordRequest request) throws Exception {
Expand Down
4 changes: 2 additions & 2 deletions PlayFabClientSDK/src/com/playfab/PlayFabClientModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ public static class GetAccountInfoResult {

public static class GetCatalogItemsRequest {
/**
* Which catalog is being requested.
* Which catalog is being requested. If null, uses the default catalog.
*/
public String CatalogVersion;

Expand Down Expand Up @@ -2048,7 +2048,7 @@ public static class GrantCharacterToUserResult {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down
3 changes: 2 additions & 1 deletion PlayFabClientSDK/src/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ public static enum PlayFabErrorCode {
ExpiredContinuationToken(1241),
InvalidSegment(1242),
InvalidSessionId(1243),
SessionLogNotFound(1244);
SessionLogNotFound(1244),
InvalidSearchTerm(1245);

public int id;

Expand Down
4 changes: 2 additions & 2 deletions PlayFabClientSDK/src/com/playfab/PlayFabSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import com.playfab.PlayFabErrors.ErrorCallback;

public class PlayFabSettings {
public static String SdkVersion = "0.32.160801";
public static String SdkVersion = "0.33.160815";
public static String BuildIdentifier = "jbuild_javasdk_0";
public static String SdkVersionString = "JavaSDK-0.32.160801";
public static String SdkVersionString = "JavaSDK-0.33.160815";

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
12 changes: 8 additions & 4 deletions PlayFabSDK/src/com/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ public static class GetAllSegmentsResult {

public static class GetCatalogItemsRequest {
/**
* Which catalog is being requested.
* Which catalog is being requested. If null, uses the default catalog.
*/
public String CatalogVersion;

Expand Down Expand Up @@ -1235,7 +1235,7 @@ public static class ItemGrant {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down Expand Up @@ -1546,6 +1546,10 @@ public static class PlayerProfile {
* Dictionary of player's statistics using only the latest version's value
*/
public Map<String,Integer> Statistics;
/**
* Dictionary of player's total currency purchases. The key VTD is a sum of all player_realmoney_purchase events OrderTotals.
*/
public Map<String,Long> ValuesToDate;
/**
* Dictionary of player's virtual currency balances
*/
Expand Down Expand Up @@ -1962,7 +1966,7 @@ public static enum TitleActivationStatus {

public static class UpdateCatalogItemsRequest {
/**
* Which catalog is being updated
* Which catalog is being updated. If null, uses the default catalog.
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -2050,7 +2054,7 @@ public static class UpdateRandomResultTablesResult {

public static class UpdateStoreItemsRequest {
/**
* catalog version of the store to update. Use default catalog version if null
* catalog version of the store to update. If null, uses the default catalog.
*/
public String CatalogVersion;
/**
Expand Down
6 changes: 3 additions & 3 deletions PlayFabSDK/src/com/playfab/PlayFabClientAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ private static PlayFabResult<AddGenericIDResult> privateAddGenericIDAsync(final
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
public static FutureTask<PlayFabResult<AddUsernamePasswordResult>> AddUsernamePasswordAsync(final AddUsernamePasswordRequest request) {
Expand All @@ -877,7 +877,7 @@ public PlayFabResult<AddUsernamePasswordResult> call() throws Exception {
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
public static PlayFabResult<AddUsernamePasswordResult> AddUsernamePassword(final AddUsernamePasswordRequest request) {
Expand All @@ -895,7 +895,7 @@ public PlayFabResult<AddUsernamePasswordResult> call() throws Exception {
}

/**
* Adds playfab username/password auth to an existing semi-anonymous account created via a 3rd party auth method.
* Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
*/
@SuppressWarnings("unchecked")
private static PlayFabResult<AddUsernamePasswordResult> privateAddUsernamePasswordAsync(final AddUsernamePasswordRequest request) throws Exception {
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSDK/src/com/playfab/PlayFabClientModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ public static class GetAccountInfoResult {

public static class GetCatalogItemsRequest {
/**
* Which catalog is being requested.
* Which catalog is being requested. If null, uses the default catalog.
*/
public String CatalogVersion;

Expand Down Expand Up @@ -2048,7 +2048,7 @@ public static class GrantCharacterToUserResult {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down
3 changes: 2 additions & 1 deletion PlayFabSDK/src/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ public static enum PlayFabErrorCode {
ExpiredContinuationToken(1241),
InvalidSegment(1242),
InvalidSessionId(1243),
SessionLogNotFound(1244);
SessionLogNotFound(1244),
InvalidSearchTerm(1245);

public int id;

Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/src/com/playfab/PlayFabMatchmakerModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static class AuthUserResponse {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down
8 changes: 6 additions & 2 deletions PlayFabSDK/src/com/playfab/PlayFabServerModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ public static class GetAllSegmentsResult {

public static class GetCatalogItemsRequest {
/**
* Which catalog is being requested.
* Which catalog is being requested. If null, uses the default catalog.
*/
public String CatalogVersion;

Expand Down Expand Up @@ -1687,7 +1687,7 @@ public static class ItemGrant {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down Expand Up @@ -2065,6 +2065,10 @@ public static class PlayerProfile {
* Dictionary of player's statistics using only the latest version's value
*/
public Map<String,Integer> Statistics;
/**
* Dictionary of player's total currency purchases. The key VTD is a sum of all player_realmoney_purchase events OrderTotals.
*/
public Map<String,Long> ValuesToDate;
/**
* Dictionary of player's virtual currency balances
*/
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSDK/src/com/playfab/PlayFabSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import com.playfab.PlayFabErrors.ErrorCallback;

public class PlayFabSettings {
public static String SdkVersion = "0.32.160801";
public static String SdkVersion = "0.33.160815";
public static String BuildIdentifier = "jbuild_javasdk_0";
public static String SdkVersionString = "JavaSDK-0.32.160801";
public static String SdkVersionString = "JavaSDK-0.33.160815";

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
12 changes: 8 additions & 4 deletions PlayFabServerSDK/src/com/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ public static class GetAllSegmentsResult {

public static class GetCatalogItemsRequest {
/**
* Which catalog is being requested.
* Which catalog is being requested. If null, uses the default catalog.
*/
public String CatalogVersion;

Expand Down Expand Up @@ -1235,7 +1235,7 @@ public static class ItemGrant {

}
/**
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information.
* 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 Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
*/
public static class ItemInstance implements Comparable<ItemInstance> {
/**
Expand Down Expand Up @@ -1546,6 +1546,10 @@ public static class PlayerProfile {
* Dictionary of player's statistics using only the latest version's value
*/
public Map<String,Integer> Statistics;
/**
* Dictionary of player's total currency purchases. The key VTD is a sum of all player_realmoney_purchase events OrderTotals.
*/
public Map<String,Long> ValuesToDate;
/**
* Dictionary of player's virtual currency balances
*/
Expand Down Expand Up @@ -1962,7 +1966,7 @@ public static enum TitleActivationStatus {

public static class UpdateCatalogItemsRequest {
/**
* Which catalog is being updated
* Which catalog is being updated. If null, uses the default catalog.
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -2050,7 +2054,7 @@ public static class UpdateRandomResultTablesResult {

public static class UpdateStoreItemsRequest {
/**
* catalog version of the store to update. Use default catalog version if null
* catalog version of the store to update. If null, uses the default catalog.
*/
public String CatalogVersion;
/**
Expand Down
3 changes: 2 additions & 1 deletion PlayFabServerSDK/src/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ public static enum PlayFabErrorCode {
ExpiredContinuationToken(1241),
InvalidSegment(1242),
InvalidSessionId(1243),
SessionLogNotFound(1244);
SessionLogNotFound(1244),
InvalidSearchTerm(1245);

public int id;

Expand Down
Loading

0 comments on commit 4b98cde

Please sign in to comment.