Skip to content

Commit

Permalink
Merge pull request #7 from PlayFab/master
Browse files Browse the repository at this point in the history
Updating all SDKs after changes to API_Specs
  • Loading branch information
Paul Gilmore committed Sep 21, 2015
2 parents df80158 + fec6458 commit 7930ae1
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 10 deletions.
18 changes: 15 additions & 3 deletions PlayFabClientSDK/src/playfab/PlayFabClientModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public String ItemClass;
/**
* catalog item for this item
* catalog version for this item
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -239,6 +239,10 @@ public static class CatalogItem implements Comparable<CatalogItem> {
* if true, then an item instance of this type can be traded between players using the trading APIs
*/
public Boolean IsTradable;
/**
* URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
*/
public String ItemImageUrl;

public int compareTo(CatalogItem other) {
if (other == null || other.ItemId == null) return 1;
Expand Down Expand Up @@ -874,6 +878,10 @@ public static class GetCharacterInventoryResult {
* Array of virtual currency balance(s) belonging to the character.
*/
public Map<String,Integer> VirtualCurrency;
/**
* Array of remaining times and timestamps for virtual currencies.
*/
public Map<String,VirtualCurrencyRechargeTime> VirtualCurrencyRechargeTimes;

}

Expand Down Expand Up @@ -1660,6 +1668,10 @@ public static class LinkFacebookAccountRequest {
* Unique identifier from Facebook for the user.
*/
public String AccessToken;
/**
* If this Facebook account is already linked to a Playfab account, this will unlink the old account before linking the new one. Be careful when using this call, as it may orphan the old account. Defaults to false.
*/
public Boolean ForceLink;

}

Expand Down Expand Up @@ -1715,7 +1727,7 @@ public static class LinkKongregateAccountRequest {
/**
* Numeric user ID assigned by Kongregate
*/
public Long KongregateId;
public String KongregateId;
/**
* Valid session auth ticket issued by Kongregate
*/
Expand Down Expand Up @@ -1933,7 +1945,7 @@ public static class LoginWithKongregateRequest {
/**
* Unique identifier from Kongregate for the user.
*/
public Long KongregateId;
public String KongregateId;
/**
* Token issued by Kongregate's client API for the user.
*/
Expand Down
6 changes: 5 additions & 1 deletion PlayFabSDK/src/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public String ItemClass;
/**
* catalog item for this item
* catalog version for this item
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -189,6 +189,10 @@ public static class CatalogItem implements Comparable<CatalogItem> {
* if true, then an item instance of this type can be traded between players using the trading APIs
*/
public Boolean IsTradable;
/**
* URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
*/
public String ItemImageUrl;

public int compareTo(CatalogItem other) {
if (other == null || other.ItemId == null) return 1;
Expand Down
18 changes: 15 additions & 3 deletions PlayFabSDK/src/playfab/PlayFabClientModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public String ItemClass;
/**
* catalog item for this item
* catalog version for this item
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -239,6 +239,10 @@ public static class CatalogItem implements Comparable<CatalogItem> {
* if true, then an item instance of this type can be traded between players using the trading APIs
*/
public Boolean IsTradable;
/**
* URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
*/
public String ItemImageUrl;

public int compareTo(CatalogItem other) {
if (other == null || other.ItemId == null) return 1;
Expand Down Expand Up @@ -874,6 +878,10 @@ public static class GetCharacterInventoryResult {
* Array of virtual currency balance(s) belonging to the character.
*/
public Map<String,Integer> VirtualCurrency;
/**
* Array of remaining times and timestamps for virtual currencies.
*/
public Map<String,VirtualCurrencyRechargeTime> VirtualCurrencyRechargeTimes;

}

Expand Down Expand Up @@ -1660,6 +1668,10 @@ public static class LinkFacebookAccountRequest {
* Unique identifier from Facebook for the user.
*/
public String AccessToken;
/**
* If this Facebook account is already linked to a Playfab account, this will unlink the old account before linking the new one. Be careful when using this call, as it may orphan the old account. Defaults to false.
*/
public Boolean ForceLink;

}

Expand Down Expand Up @@ -1715,7 +1727,7 @@ public static class LinkKongregateAccountRequest {
/**
* Numeric user ID assigned by Kongregate
*/
public Long KongregateId;
public String KongregateId;
/**
* Valid session auth ticket issued by Kongregate
*/
Expand Down Expand Up @@ -1933,7 +1945,7 @@ public static class LoginWithKongregateRequest {
/**
* Unique identifier from Kongregate for the user.
*/
public Long KongregateId;
public String KongregateId;
/**
* Token issued by Kongregate's client API for the user.
*/
Expand Down
10 changes: 9 additions & 1 deletion PlayFabSDK/src/playfab/PlayFabServerModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public String ItemClass;
/**
* catalog item for this item
* catalog version for this item
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -193,6 +193,10 @@ public static class CatalogItem implements Comparable<CatalogItem> {
* if true, then an item instance of this type can be traded between players using the trading APIs
*/
public Boolean IsTradable;
/**
* URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
*/
public String ItemImageUrl;

public int compareTo(CatalogItem other) {
if (other == null || other.ItemId == null) return 1;
Expand Down Expand Up @@ -651,6 +655,10 @@ public static class GetCharacterInventoryResult {
* Array of virtual currency balance(s) belonging to the character.
*/
public Map<String,Integer> VirtualCurrency;
/**
* Array of remaining times and timestamps for virtual currencies.
*/
public Map<String,VirtualCurrencyRechargeTime> VirtualCurrencyRechargeTimes;

}

Expand Down
6 changes: 5 additions & 1 deletion PlayFabServerSDK/src/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public String ItemClass;
/**
* catalog item for this item
* catalog version for this item
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -189,6 +189,10 @@ public static class CatalogItem implements Comparable<CatalogItem> {
* if true, then an item instance of this type can be traded between players using the trading APIs
*/
public Boolean IsTradable;
/**
* URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
*/
public String ItemImageUrl;

public int compareTo(CatalogItem other) {
if (other == null || other.ItemId == null) return 1;
Expand Down
10 changes: 9 additions & 1 deletion PlayFabServerSDK/src/playfab/PlayFabServerModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static class CatalogItem implements Comparable<CatalogItem> {
*/
public String ItemClass;
/**
* catalog item for this item
* catalog version for this item
*/
public String CatalogVersion;
/**
Expand Down Expand Up @@ -193,6 +193,10 @@ public static class CatalogItem implements Comparable<CatalogItem> {
* if true, then an item instance of this type can be traded between players using the trading APIs
*/
public Boolean IsTradable;
/**
* URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL.
*/
public String ItemImageUrl;

public int compareTo(CatalogItem other) {
if (other == null || other.ItemId == null) return 1;
Expand Down Expand Up @@ -651,6 +655,10 @@ public static class GetCharacterInventoryResult {
* Array of virtual currency balance(s) belonging to the character.
*/
public Map<String,Integer> VirtualCurrency;
/**
* Array of remaining times and timestamps for virtual currencies.
*/
public Map<String,VirtualCurrencyRechargeTime> VirtualCurrencyRechargeTimes;

}

Expand Down

0 comments on commit 7930ae1

Please sign in to comment.