Skip to content

Commit

Permalink
https://api.playfab.com/releaseNotes/#161107
Browse files Browse the repository at this point in the history
  • Loading branch information
Playfab Jenkins Bot committed Nov 7, 2016
2 parents a75d484 + 88a19b5 commit cc40800
Show file tree
Hide file tree
Showing 17 changed files with 3,527 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public Boolean IsLimitedEdition;
/**
* BETA: If IsLImitedEdition is true, then this determines amount of the item initially available. Note that this fieldis ignored if the catalog item already existed in this catalog, or the field is less than 1.
* If IsLImitedEdition is true, then this determines amount of the item initially available. Note that this fieldis ignored if the catalog item already existed in this catalog, or the field is less than 1.
*/
public Integer InitialLimitedEditionCount;

Expand Down Expand Up @@ -898,6 +898,14 @@ public static class GameInfo {
* last heartbeat of the game server instance, used in external game server provider mode
*/
public Date LastHeartbeat;
/**
* IP address of the server
*/
public String ServerHostname;
/**
* port number to use for non-http communications with the server
*/
public Integer ServerPort;

}

Expand Down Expand Up @@ -964,7 +972,7 @@ public static class GetAccountInfoRequest {
*/
public String Email;
/**
* Title-specific username for the account to find (if no Email is set).
* Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound.
*/
public String TitleDisplayName;

Expand Down Expand Up @@ -2906,6 +2914,10 @@ public static class RedeemCouponRequest {
* Catalog version of the coupon. If null, uses the default catalog
*/
public String CatalogVersion;
/**
* Optional identifier for the Character that should receive the item. If null, item is added to the player
*/
public String CharacterId;

}

Expand Down Expand Up @@ -4177,7 +4189,7 @@ public static class WriteClientPlayerEventRequest {

public static class WriteEventResponse {
/**
* The unique identifier of the event. This can be used to retrieve the event's properties using the GetEvent API. The values of this identifier consist of ASCII characters and are not constrained to any particular format.
* The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format.
*/
public String EventId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ public static enum PlayFabErrorCode {
ScheduledTaskCreateConflict(1255),
InvalidScheduledTaskName(1256),
InvalidTaskSchedule(1257),
SteamNotEnabledForTitle(1258);
SteamNotEnabledForTitle(1258),
LimitNotAnUpgradeOption(1259),
NoSecretKeyEnabledForCloudScript(1260),
TaskNotFound(1261),
TaskInstanceNotFound(1262);

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.39.161017";
public static String SdkVersion = "0.40.161107";
public static String BuildIdentifier = "jbuild_javasdk_1";
public static String SdkVersionString = "JavaSDK-0.39.161017";
public static String SdkVersionString = "JavaSDK-0.40.161107";

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
18 changes: 15 additions & 3 deletions PlayFabClientSDK/src/com/playfab/PlayFabClientModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public Boolean IsLimitedEdition;
/**
* BETA: If IsLImitedEdition is true, then this determines amount of the item initially available. Note that this fieldis ignored if the catalog item already existed in this catalog, or the field is less than 1.
* If IsLImitedEdition is true, then this determines amount of the item initially available. Note that this fieldis ignored if the catalog item already existed in this catalog, or the field is less than 1.
*/
public Integer InitialLimitedEditionCount;

Expand Down Expand Up @@ -898,6 +898,14 @@ public static class GameInfo {
* last heartbeat of the game server instance, used in external game server provider mode
*/
public Date LastHeartbeat;
/**
* IP address of the server
*/
public String ServerHostname;
/**
* port number to use for non-http communications with the server
*/
public Integer ServerPort;

}

Expand Down Expand Up @@ -964,7 +972,7 @@ public static class GetAccountInfoRequest {
*/
public String Email;
/**
* Title-specific username for the account to find (if no Email is set).
* Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound.
*/
public String TitleDisplayName;

Expand Down Expand Up @@ -2906,6 +2914,10 @@ public static class RedeemCouponRequest {
* Catalog version of the coupon. If null, uses the default catalog
*/
public String CatalogVersion;
/**
* Optional identifier for the Character that should receive the item. If null, item is added to the player
*/
public String CharacterId;

}

Expand Down Expand Up @@ -4177,7 +4189,7 @@ public static class WriteClientPlayerEventRequest {

public static class WriteEventResponse {
/**
* The unique identifier of the event. This can be used to retrieve the event's properties using the GetEvent API. The values of this identifier consist of ASCII characters and are not constrained to any particular format.
* The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format.
*/
public String EventId;

Expand Down
6 changes: 5 additions & 1 deletion PlayFabClientSDK/src/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ public static enum PlayFabErrorCode {
ScheduledTaskCreateConflict(1255),
InvalidScheduledTaskName(1256),
InvalidTaskSchedule(1257),
SteamNotEnabledForTitle(1258);
SteamNotEnabledForTitle(1258),
LimitNotAnUpgradeOption(1259),
NoSecretKeyEnabledForCloudScript(1260),
TaskNotFound(1261),
TaskInstanceNotFound(1262);

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.39.161017";
public static String SdkVersion = "0.40.161107";
public static String BuildIdentifier = "jbuild_javasdk_1";
public static String SdkVersionString = "JavaSDK-0.39.161017";
public static String SdkVersionString = "JavaSDK-0.40.161107";

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
Loading

0 comments on commit cc40800

Please sign in to comment.