Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#241014
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Oct 14, 2024
2 parents 519982f + 69954fe commit 33cb724
Show file tree
Hide file tree
Showing 38 changed files with 91 additions and 51 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.225.240913.jar -Destination ../../builds/client-sdk-0.225.240913.jar
Copy-Item client-sdk-0.226.241014.jar -Destination ../../builds/client-sdk-0.226.241014.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.225.240913.jar ../../builds/client-sdk-0.225.240913.jar
cp client-sdk-0.226.241014.jar ../../builds/client-sdk-0.226.241014.jar
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ public static enum PlayFabErrorCode {
TrueSkillInvalidPlayerId(20063),
TrueSkillInvalidSquadSize(20064),
TrueSkillConditionSetNotInModel(20065),
TrueSkillModelStateInvalidForOperation(20066),
TrueSkillScenarioContainsActiveModel(20067),
GameSaveManifestNotFound(20300),
GameSaveManifestVersionAlreadyExists(20301),
GameSaveConflictUpdatingManifest(20302),
Expand All @@ -867,6 +869,8 @@ public static enum PlayFabErrorCode {
GameSaveUnknownFileInManifest(20306),
GameSaveFileExceededReportedSize(20307),
GameSaveFileNotUploaded(20308),
GameSaveBadRequest(20309),
GameSaveOperationNotAllowed(20310),
StateShareForbidden(21000),
StateShareTitleNotInFlight(21001),
StateShareStateNotFound(21002),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2366,7 +2366,7 @@ public static enum PartyInvitationRevocability {
public static class PartyNetworkConfiguration {
/** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */
public String DirectPeerConnectivityOptions;
/** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */
/** The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive. */
public Long MaxDevices;
/** The maximum number of devices allowed per user. Must be greater than 0. */
public Long MaxDevicesPerUser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ private static PlayFabResult<DeleteStatisticsResponse> privateDeleteStatisticsAs
}

/**
* Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard.
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
* @param request GetFriendLeaderboardForEntityRequest
* @return Async Task will return GetEntityLeaderboardResponse
*/
Expand All @@ -400,7 +400,7 @@ public PlayFabResult<GetEntityLeaderboardResponse> call() throws Exception {
}

/**
* Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard.
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
* @param request GetFriendLeaderboardForEntityRequest
* @return GetEntityLeaderboardResponse
*/
Expand All @@ -421,7 +421,7 @@ public PlayFabResult<GetEntityLeaderboardResponse> call() throws Exception {
}
}

/** Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. */
/** Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard. */
@SuppressWarnings("unchecked")
private static PlayFabResult<GetEntityLeaderboardResponse> privateGetFriendLeaderboardForEntityAsync(final GetFriendLeaderboardForEntityRequest request) throws Exception {
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static class CreateStatisticDefinitionRequest {
public Map<String,String> CustomTags;
/** The entity type allowed to have score(s) for this statistic. */
public String EntityType;
/** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */
/** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */
public String Name;
/** The version reset configuration for the statistic definition. */
public VersionConfiguration VersionConfiguration;
Expand Down Expand Up @@ -156,8 +156,10 @@ public static class GetEntityLeaderboardRequest {

/** Leaderboard response */
public static class GetEntityLeaderboardResponse {
/** Leaderboard columns describing the sort directions, */
/** Leaderboard columns describing the sort directions. */
public ArrayList<LeaderboardColumn> Columns;
/** The number of entries on the leaderboard. */
public Long EntryCount;
/** Individual entity rankings in the leaderboard, in sorted order by rank. */
public ArrayList<EntityLeaderboardEntry> Rankings;
/** Version of the leaderboard being returned. */
Expand Down Expand Up @@ -252,7 +254,7 @@ public static class GetLeaderboardForEntitiesRequest {
public static class GetStatisticDefinitionRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** Name of the statistic. Must be less than 50 characters. */
/** Name of the statistic. Must be less than 150 characters. */
public String Name;

}
Expand Down
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.225.240913";
public static String BuildIdentifier = "adobuild_javasdk_118";
public static String SdkVersionString = "JavaSDK-0.225.240913";
public static String SdkVersion = "0.226.241014";
public static String BuildIdentifier = "adobuild_javasdk_117";
public static String SdkVersionString = "JavaSDK-0.226.241014";

public static Map<String, String> RequestGetParams;
static {
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.225.240913.jar -Destination ../../builds/client-sdk-0.225.240913.jar
Copy-Item client-sdk-0.226.241014.jar -Destination ../../builds/client-sdk-0.226.241014.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.225.240913.jar ../../builds/client-sdk-0.225.240913.jar
cp client-sdk-0.226.241014.jar ../../builds/client-sdk-0.226.241014.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.225.240913</version>
<version>0.226.241014</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
4 changes: 4 additions & 0 deletions PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ public static enum PlayFabErrorCode {
TrueSkillInvalidPlayerId(20063),
TrueSkillInvalidSquadSize(20064),
TrueSkillConditionSetNotInModel(20065),
TrueSkillModelStateInvalidForOperation(20066),
TrueSkillScenarioContainsActiveModel(20067),
GameSaveManifestNotFound(20300),
GameSaveManifestVersionAlreadyExists(20301),
GameSaveConflictUpdatingManifest(20302),
Expand All @@ -867,6 +869,8 @@ public static enum PlayFabErrorCode {
GameSaveUnknownFileInManifest(20306),
GameSaveFileExceededReportedSize(20307),
GameSaveFileNotUploaded(20308),
GameSaveBadRequest(20309),
GameSaveOperationNotAllowed(20310),
StateShareForbidden(21000),
StateShareTitleNotInFlight(21001),
StateShareStateNotFound(21002),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2366,7 +2366,7 @@ public static enum PartyInvitationRevocability {
public static class PartyNetworkConfiguration {
/** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */
public String DirectPeerConnectivityOptions;
/** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */
/** The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive. */
public Long MaxDevices;
/** The maximum number of devices allowed per user. Must be greater than 0. */
public Long MaxDevicesPerUser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ private static PlayFabResult<DeleteStatisticsResponse> privateDeleteStatisticsAs
}

/**
* Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard.
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
* @param request GetFriendLeaderboardForEntityRequest
* @return Async Task will return GetEntityLeaderboardResponse
*/
Expand All @@ -400,7 +400,7 @@ public PlayFabResult<GetEntityLeaderboardResponse> call() throws Exception {
}

/**
* Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard.
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
* @param request GetFriendLeaderboardForEntityRequest
* @return GetEntityLeaderboardResponse
*/
Expand All @@ -421,7 +421,7 @@ public PlayFabResult<GetEntityLeaderboardResponse> call() throws Exception {
}
}

/** Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. */
/** Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard. */
@SuppressWarnings("unchecked")
private static PlayFabResult<GetEntityLeaderboardResponse> privateGetFriendLeaderboardForEntityAsync(final GetFriendLeaderboardForEntityRequest request) throws Exception {
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static class CreateStatisticDefinitionRequest {
public Map<String,String> CustomTags;
/** The entity type allowed to have score(s) for this statistic. */
public String EntityType;
/** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */
/** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */
public String Name;
/** The version reset configuration for the statistic definition. */
public VersionConfiguration VersionConfiguration;
Expand Down Expand Up @@ -156,8 +156,10 @@ public static class GetEntityLeaderboardRequest {

/** Leaderboard response */
public static class GetEntityLeaderboardResponse {
/** Leaderboard columns describing the sort directions, */
/** Leaderboard columns describing the sort directions. */
public ArrayList<LeaderboardColumn> Columns;
/** The number of entries on the leaderboard. */
public Long EntryCount;
/** Individual entity rankings in the leaderboard, in sorted order by rank. */
public ArrayList<EntityLeaderboardEntry> Rankings;
/** Version of the leaderboard being returned. */
Expand Down Expand Up @@ -252,7 +254,7 @@ public static class GetLeaderboardForEntitiesRequest {
public static class GetStatisticDefinitionRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** Name of the statistic. Must be less than 50 characters. */
/** Name of the statistic. Must be less than 150 characters. */
public String Name;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import com.playfab.PlayFabErrors.ErrorCallback;

public class PlayFabSettings {
public static String SdkVersion = "0.225.240913";
public static String BuildIdentifier = "adobuild_javasdk_118";
public static String SdkVersionString = "JavaSDK-0.225.240913";
public static String SdkVersion = "0.226.241014";
public static String BuildIdentifier = "adobuild_javasdk_117";
public static String SdkVersionString = "JavaSDK-0.226.241014";

public static Map<String, String> RequestGetParams;
static {
Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/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 combo-sdk-0.225.240913.jar -Destination ../../builds/combo-sdk-0.225.240913.jar
Copy-Item combo-sdk-0.226.241014.jar -Destination ../../builds/combo-sdk-0.226.241014.jar
2 changes: 1 addition & 1 deletion PlayFabSDK/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 combo-sdk-0.225.240913.jar ../../builds/combo-sdk-0.225.240913.jar
cp combo-sdk-0.226.241014.jar ../../builds/combo-sdk-0.226.241014.jar
2 changes: 1 addition & 1 deletion PlayFabSDK/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>combo-sdk</artifactId>
<version>0.225.240913</version>
<version>0.226.241014</version>
<name>PlayFab Combo 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
4 changes: 4 additions & 0 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -2351,6 +2351,8 @@ public static enum GenericErrorCodes {
TrueSkillInvalidPlayerId,
TrueSkillInvalidSquadSize,
TrueSkillConditionSetNotInModel,
TrueSkillModelStateInvalidForOperation,
TrueSkillScenarioContainsActiveModel,
GameSaveManifestNotFound,
GameSaveManifestVersionAlreadyExists,
GameSaveConflictUpdatingManifest,
Expand All @@ -2360,6 +2362,8 @@ public static enum GenericErrorCodes {
GameSaveUnknownFileInManifest,
GameSaveFileExceededReportedSize,
GameSaveFileNotUploaded,
GameSaveBadRequest,
GameSaveOperationNotAllowed,
StateShareForbidden,
StateShareTitleNotInFlight,
StateShareStateNotFound,
Expand Down
4 changes: 4 additions & 0 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ public static enum PlayFabErrorCode {
TrueSkillInvalidPlayerId(20063),
TrueSkillInvalidSquadSize(20064),
TrueSkillConditionSetNotInModel(20065),
TrueSkillModelStateInvalidForOperation(20066),
TrueSkillScenarioContainsActiveModel(20067),
GameSaveManifestNotFound(20300),
GameSaveManifestVersionAlreadyExists(20301),
GameSaveConflictUpdatingManifest(20302),
Expand All @@ -867,6 +869,8 @@ public static enum PlayFabErrorCode {
GameSaveUnknownFileInManifest(20306),
GameSaveFileExceededReportedSize(20307),
GameSaveFileNotUploaded(20308),
GameSaveBadRequest(20309),
GameSaveOperationNotAllowed(20310),
StateShareForbidden(21000),
StateShareTitleNotInFlight(21001),
StateShareStateNotFound(21002),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2366,7 +2366,7 @@ public static enum PartyInvitationRevocability {
public static class PartyNetworkConfiguration {
/** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */
public String DirectPeerConnectivityOptions;
/** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */
/** The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive. */
public Long MaxDevices;
/** The maximum number of devices allowed per user. Must be greater than 0. */
public Long MaxDevicesPerUser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ private static PlayFabResult<DeleteStatisticsResponse> privateDeleteStatisticsAs
}

/**
* Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard.
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
* @param request GetFriendLeaderboardForEntityRequest
* @return Async Task will return GetEntityLeaderboardResponse
*/
Expand All @@ -400,7 +400,7 @@ public PlayFabResult<GetEntityLeaderboardResponse> call() throws Exception {
}

/**
* Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard.
* Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard.
* @param request GetFriendLeaderboardForEntityRequest
* @return GetEntityLeaderboardResponse
*/
Expand All @@ -421,7 +421,7 @@ public PlayFabResult<GetEntityLeaderboardResponse> call() throws Exception {
}
}

/** Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. */
/** Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard. */
@SuppressWarnings("unchecked")
private static PlayFabResult<GetEntityLeaderboardResponse> privateGetFriendLeaderboardForEntityAsync(final GetFriendLeaderboardForEntityRequest request) throws Exception {
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static class CreateStatisticDefinitionRequest {
public Map<String,String> CustomTags;
/** The entity type allowed to have score(s) for this statistic. */
public String EntityType;
/** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */
/** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */
public String Name;
/** The version reset configuration for the statistic definition. */
public VersionConfiguration VersionConfiguration;
Expand Down Expand Up @@ -156,8 +156,10 @@ public static class GetEntityLeaderboardRequest {

/** Leaderboard response */
public static class GetEntityLeaderboardResponse {
/** Leaderboard columns describing the sort directions, */
/** Leaderboard columns describing the sort directions. */
public ArrayList<LeaderboardColumn> Columns;
/** The number of entries on the leaderboard. */
public Long EntryCount;
/** Individual entity rankings in the leaderboard, in sorted order by rank. */
public ArrayList<EntityLeaderboardEntry> Rankings;
/** Version of the leaderboard being returned. */
Expand Down Expand Up @@ -252,7 +254,7 @@ public static class GetLeaderboardForEntitiesRequest {
public static class GetStatisticDefinitionRequest {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** Name of the statistic. Must be less than 50 characters. */
/** Name of the statistic. Must be less than 150 characters. */
public String Name;

}
Expand Down
4 changes: 4 additions & 0 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,8 @@ public static enum GenericErrorCodes {
TrueSkillInvalidPlayerId,
TrueSkillInvalidSquadSize,
TrueSkillConditionSetNotInModel,
TrueSkillModelStateInvalidForOperation,
TrueSkillScenarioContainsActiveModel,
GameSaveManifestNotFound,
GameSaveManifestVersionAlreadyExists,
GameSaveConflictUpdatingManifest,
Expand All @@ -1968,6 +1970,8 @@ public static enum GenericErrorCodes {
GameSaveUnknownFileInManifest,
GameSaveFileExceededReportedSize,
GameSaveFileNotUploaded,
GameSaveBadRequest,
GameSaveOperationNotAllowed,
StateShareForbidden,
StateShareTitleNotInFlight,
StateShareStateNotFound,
Expand Down
Loading

0 comments on commit 33cb724

Please sign in to comment.