Skip to content

Commit d9feb9d

Browse files
PlayFab SDK TeamPlayFab SDK Team
authored andcommitted
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260327
2 parents cc76530 + 74b20d4 commit d9feb9d

13 files changed

Lines changed: 165 additions & 21 deletions

PlayFabSDK/source/PlayFabAdminModels.cs

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,6 +2986,7 @@ public enum GenericErrorCodes
29862986
ParentCustomerAccountNotFound,
29872987
AccountLinkedToABannedPlayer,
29882988
AzureSubscriptionNotEligibleForLinking,
2989+
EntityIsNotAMember,
29892990
MatchmakingEntityInvalid,
29902991
MatchmakingPlayerAttributesInvalid,
29912992
MatchmakingQueueNotFound,
@@ -3103,6 +3104,8 @@ public enum GenericErrorCodes
31033104
ExperimentationExclusionGroupInvalidName,
31043105
ExperimentationLegacyExperimentInvalidOperation,
31053106
ExperimentationExperimentStopFailed,
3107+
ExperimentationExperimentDeleteFailed,
3108+
ExperimentationExperimentStartFailed,
31063109
MaxActionDepthExceeded,
31073110
TitleNotOnUpdatedPricingPlan,
31083111
SegmentManagementTitleNotInFlight,
@@ -3300,6 +3303,7 @@ public enum GenericErrorCodes
33003303
GameSaveConflict,
33013304
GameSaveManifestNotEligibleForRollback,
33023305
GameSaveTitleClientAnonymousAccountCreationNotDisabled,
3306+
GameSaveTitleConfigNoUpdatesRequested,
33033307
StateShareForbidden,
33043308
StateShareTitleNotInFlight,
33053309
StateShareStateNotFound,
@@ -3896,14 +3900,20 @@ public class GetPlayerTagsResult : PlayFabResultCommon
38963900
public class GetPolicyRequest : PlayFabRequestCommon
38973901
{
38983902
/// <summary>
3899-
/// The name of the policy to read. Only supported name is 'ApiPolicy'.
3903+
/// The name of the policy to read. Only 'ApiPolicy' is supported. This parameter is optional and defaults to 'ApiPolicy' if
3904+
/// omitted.
39003905
/// </summary>
39013906
public string PolicyName ;
39023907

39033908
}
39043909

39053910
public class GetPolicyResponse : PlayFabResultCommon
39063911
{
3912+
/// <summary>
3913+
/// The UTC date and time when the policy was last updated. Null if the policy has never been customized.
3914+
/// </summary>
3915+
public DateTime? LastUpdated ;
3916+
39073917
/// <summary>
39083918
/// The name of the policy read.
39093919
/// </summary>
@@ -5118,7 +5128,7 @@ public class OpenIdIssuerInformation
51185128
public class PermissionStatement
51195129
{
51205130
/// <summary>
5121-
/// The action this statement effects. The only supported action is 'Execute'.
5131+
/// The action this statement effects. May only be '*'. This parameter is optional and defaults to '*' if omitted.
51225132
/// </summary>
51235133
public string Action ;
51245134

@@ -5138,7 +5148,8 @@ public class PermissionStatement
51385148
public EffectType Effect ;
51395149

51405150
/// <summary>
5141-
/// The principal this statement will effect. The only supported principal is '*'.
5151+
/// The principal this statement will effect. May be '*' to match all callers, or a JSON object targeting a specific entity
5152+
/// type, e.g. {"title_player_account":"*"} for players or {"master_player_account":"*"} for master player accounts.
51425153
/// </summary>
51435154
public string Principal ;
51445155

@@ -7895,7 +7906,8 @@ public class UpdatePolicyRequest : PlayFabRequestCommon
78957906
public bool OverwritePolicy ;
78967907

78977908
/// <summary>
7898-
/// The name of the policy being updated. Only supported name is 'ApiPolicy'
7909+
/// The name of the policy being updated. Only 'ApiPolicy' is supported. This parameter is optional and defaults to
7910+
/// 'ApiPolicy' if omitted.
78997911
/// </summary>
79007912
public string PolicyName ;
79017913

@@ -7923,6 +7935,12 @@ public class UpdatePolicyResponse : PlayFabResultCommon
79237935
/// </summary>
79247936
public List<PermissionStatement> Statements ;
79257937

7938+
/// <summary>
7939+
/// Optional warnings about policy statements that may not have the intended effect. For example, resource paths that don't
7940+
/// match any known API endpoint. The policy update still succeeds when warnings are present.
7941+
/// </summary>
7942+
public List<string> Warnings ;
7943+
79267944
}
79277945

79287946
public class UpdateProperty

PlayFabSDK/source/PlayFabErrors.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ public enum PlayFabErrorCode
614614
ParentCustomerAccountNotFound = 1612,
615615
AccountLinkedToABannedPlayer = 1613,
616616
AzureSubscriptionNotEligibleForLinking = 1614,
617+
EntityIsNotAMember = 1615,
617618
MatchmakingEntityInvalid = 2001,
618619
MatchmakingPlayerAttributesInvalid = 2002,
619620
MatchmakingQueueNotFound = 2016,
@@ -731,6 +732,8 @@ public enum PlayFabErrorCode
731732
ExperimentationExclusionGroupInvalidName = 7022,
732733
ExperimentationLegacyExperimentInvalidOperation = 7023,
733734
ExperimentationExperimentStopFailed = 7024,
735+
ExperimentationExperimentDeleteFailed = 7025,
736+
ExperimentationExperimentStartFailed = 7026,
734737
MaxActionDepthExceeded = 8000,
735738
TitleNotOnUpdatedPricingPlan = 9000,
736739
SegmentManagementTitleNotInFlight = 10000,
@@ -928,6 +931,7 @@ public enum PlayFabErrorCode
928931
GameSaveConflict = 20328,
929932
GameSaveManifestNotEligibleForRollback = 20329,
930933
GameSaveTitleClientAnonymousAccountCreationNotDisabled = 20330,
934+
GameSaveTitleConfigNoUpdatesRequested = 20331,
931935
StateShareForbidden = 21000,
932936
StateShareTitleNotInFlight = 21001,
933937
StateShareStateNotFound = 21002,

PlayFabSDK/source/PlayFabProfilesModels.cs

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ public class EntityProfileBody
181181
/// </summary>
182182
public Dictionary<string,EntityStatisticValue> Statistics ;
183183

184+
/// <summary>
185+
/// A mapping of statistic name to the columns defined in the corresponding definition.
186+
/// </summary>
187+
public Dictionary<string,StatisticColumnCollection> StatisticsColumnDetails ;
188+
184189
/// <summary>
185190
/// The version number of the profile in persistent storage at the time of the read. Used for optional optimistic
186191
/// concurrency during update.
@@ -265,6 +270,11 @@ public class GetEntityProfileRequest : PlayFabRequestCommon
265270
/// </summary>
266271
public EntityKey Entity ;
267272

273+
/// <summary>
274+
/// Determines whether the entity statistics will be returned in the entity profile. Default is false.
275+
/// </summary>
276+
public bool IncludeStatistics ;
277+
268278
}
269279

270280
public class GetEntityProfileResponse : PlayFabResultCommon
@@ -298,6 +308,11 @@ public class GetEntityProfilesRequest : PlayFabRequestCommon
298308
/// </summary>
299309
public List<EntityKey> Entities ;
300310

311+
/// <summary>
312+
/// Determines whether the entity statistics will be returned in the entity profile. Default is false.
313+
/// </summary>
314+
public bool IncludeStatistics ;
315+
301316
}
302317

303318
public class GetEntityProfilesResponse : PlayFabResultCommon
@@ -555,4 +570,35 @@ public class SetProfileLanguageResponse : PlayFabResultCommon
555570
public int? VersionNumber ;
556571

557572
}
573+
574+
public enum StatisticAggregationMethod
575+
{
576+
Last,
577+
Min,
578+
Max,
579+
Sum
580+
}
581+
582+
public class StatisticColumn
583+
{
584+
/// <summary>
585+
/// Aggregation method for calculating new value of a statistic.
586+
/// </summary>
587+
public StatisticAggregationMethod AggregationMethod ;
588+
589+
/// <summary>
590+
/// Name of the statistic column, as originally configured.
591+
/// </summary>
592+
public string Name ;
593+
594+
}
595+
596+
public class StatisticColumnCollection
597+
{
598+
/// <summary>
599+
/// Columns for the statistic defining the aggregation method for each column.
600+
/// </summary>
601+
public List<StatisticColumn> Columns ;
602+
603+
}
558604
}

PlayFabSDK/source/PlayFabSDK.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<FileAlignment>512</FileAlignment>
99

1010
<PackageId>PlayFabAllSDK</PackageId>
11-
<Version>1.220.260313</Version>
11+
<Version>1.221.260327</Version>
1212
<Title>PlayFab CSharp Sdk</Title>
1313
<Authors>Microsoft</Authors>
1414
<Owners>Microsoft</Owners>
@@ -21,7 +21,7 @@
2121
<Company>PlayFab</Company>
2222
<Product>PlayFabSDK</Product>
2323
<PackageTags>PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native</PackageTags>
24-
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#260313</PackageReleaseNotes>
24+
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#260327</PackageReleaseNotes>
2525
<NeutralLanguage>en</NeutralLanguage>
2626
<AssemblyVersion>1</AssemblyVersion>
2727
<FileVersion>1</FileVersion>

PlayFabSDK/source/PlayFabServerModels.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2272,6 +2272,7 @@ public enum GenericErrorCodes
22722272
ParentCustomerAccountNotFound,
22732273
AccountLinkedToABannedPlayer,
22742274
AzureSubscriptionNotEligibleForLinking,
2275+
EntityIsNotAMember,
22752276
MatchmakingEntityInvalid,
22762277
MatchmakingPlayerAttributesInvalid,
22772278
MatchmakingQueueNotFound,
@@ -2389,6 +2390,8 @@ public enum GenericErrorCodes
23892390
ExperimentationExclusionGroupInvalidName,
23902391
ExperimentationLegacyExperimentInvalidOperation,
23912392
ExperimentationExperimentStopFailed,
2393+
ExperimentationExperimentDeleteFailed,
2394+
ExperimentationExperimentStartFailed,
23922395
MaxActionDepthExceeded,
23932396
TitleNotOnUpdatedPricingPlan,
23942397
SegmentManagementTitleNotInFlight,
@@ -2586,6 +2589,7 @@ public enum GenericErrorCodes
25862589
GameSaveConflict,
25872590
GameSaveManifestNotEligibleForRollback,
25882591
GameSaveTitleClientAnonymousAccountCreationNotDisabled,
2592+
GameSaveTitleConfigNoUpdatesRequested,
25892593
StateShareForbidden,
25902594
StateShareTitleNotInFlight,
25912595
StateShareStateNotFound,

PlayFabSDK/source/PlayFabSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ namespace PlayFab
66
{
77
public class PlayFabSettings
88
{
9-
public const string SdkVersion = "1.220.260313";
10-
public const string BuildIdentifier = "adobuild_csharpsdk_118";
11-
public const string SdkVersionString = "CSharpSDK-1.220.260313";
9+
public const string SdkVersion = "1.221.260327";
10+
public const string BuildIdentifier = "adobuild_csharpsdk_289";
11+
public const string SdkVersionString = "CSharpSDK-1.221.260327";
1212
/// <summary> This is only for customers running a private cluster. Generally you shouldn't touch this </summary>
1313
public static string DefaultProductionEnvironmentUrl = "playfabapi.com";
1414

Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<FileAlignment>512</FileAlignment>
99

1010
<PackageId>PlayFabCloudScriptPlugin</PackageId>
11-
<Version>1.220.260313-alpha</Version>
11+
<Version>1.221.260327-alpha</Version>
1212
<Title>PlayFab CSharp CloudScript Plugin</Title>
1313
<Authors>Microsoft</Authors>
1414
<Owners>Microsoft</Owners>
@@ -21,7 +21,7 @@
2121
<Product>PlayFabCloudScriptPlugin</Product>
2222
<Copyright>Copyright 2026</Copyright>
2323
<PackageTags>PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native</PackageTags>
24-
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#260313</PackageReleaseNotes>
24+
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#260327</PackageReleaseNotes>
2525
<NeutralLanguage>en</NeutralLanguage>
2626
<AssemblyVersion>1</AssemblyVersion>
2727
<FileVersion>1</FileVersion>
@@ -45,7 +45,7 @@
4545
</PropertyGroup>
4646

4747
<ItemGroup>
48-
<PackageReference Include="PlayFabAllSDK" Version="1.220.260313" />
48+
<PackageReference Include="PlayFabAllSDK" Version="1.221.260327" />
4949
</ItemGroup>
5050

5151
</Project>

XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,6 +2986,7 @@ public enum GenericErrorCodes
29862986
ParentCustomerAccountNotFound,
29872987
AccountLinkedToABannedPlayer,
29882988
AzureSubscriptionNotEligibleForLinking,
2989+
EntityIsNotAMember,
29892990
MatchmakingEntityInvalid,
29902991
MatchmakingPlayerAttributesInvalid,
29912992
MatchmakingQueueNotFound,
@@ -3103,6 +3104,8 @@ public enum GenericErrorCodes
31033104
ExperimentationExclusionGroupInvalidName,
31043105
ExperimentationLegacyExperimentInvalidOperation,
31053106
ExperimentationExperimentStopFailed,
3107+
ExperimentationExperimentDeleteFailed,
3108+
ExperimentationExperimentStartFailed,
31063109
MaxActionDepthExceeded,
31073110
TitleNotOnUpdatedPricingPlan,
31083111
SegmentManagementTitleNotInFlight,
@@ -3300,6 +3303,7 @@ public enum GenericErrorCodes
33003303
GameSaveConflict,
33013304
GameSaveManifestNotEligibleForRollback,
33023305
GameSaveTitleClientAnonymousAccountCreationNotDisabled,
3306+
GameSaveTitleConfigNoUpdatesRequested,
33033307
StateShareForbidden,
33043308
StateShareTitleNotInFlight,
33053309
StateShareStateNotFound,
@@ -3896,14 +3900,20 @@ public class GetPlayerTagsResult : PlayFabResultCommon
38963900
public class GetPolicyRequest : PlayFabRequestCommon
38973901
{
38983902
/// <summary>
3899-
/// The name of the policy to read. Only supported name is 'ApiPolicy'.
3903+
/// The name of the policy to read. Only 'ApiPolicy' is supported. This parameter is optional and defaults to 'ApiPolicy' if
3904+
/// omitted.
39003905
/// </summary>
39013906
public string PolicyName ;
39023907

39033908
}
39043909

39053910
public class GetPolicyResponse : PlayFabResultCommon
39063911
{
3912+
/// <summary>
3913+
/// The UTC date and time when the policy was last updated. Null if the policy has never been customized.
3914+
/// </summary>
3915+
public DateTime? LastUpdated ;
3916+
39073917
/// <summary>
39083918
/// The name of the policy read.
39093919
/// </summary>
@@ -5118,7 +5128,7 @@ public class OpenIdIssuerInformation
51185128
public class PermissionStatement
51195129
{
51205130
/// <summary>
5121-
/// The action this statement effects. The only supported action is 'Execute'.
5131+
/// The action this statement effects. May only be '*'. This parameter is optional and defaults to '*' if omitted.
51225132
/// </summary>
51235133
public string Action ;
51245134

@@ -5138,7 +5148,8 @@ public class PermissionStatement
51385148
public EffectType Effect ;
51395149

51405150
/// <summary>
5141-
/// The principal this statement will effect. The only supported principal is '*'.
5151+
/// The principal this statement will effect. May be '*' to match all callers, or a JSON object targeting a specific entity
5152+
/// type, e.g. {"title_player_account":"*"} for players or {"master_player_account":"*"} for master player accounts.
51425153
/// </summary>
51435154
public string Principal ;
51445155

@@ -7895,7 +7906,8 @@ public class UpdatePolicyRequest : PlayFabRequestCommon
78957906
public bool OverwritePolicy ;
78967907

78977908
/// <summary>
7898-
/// The name of the policy being updated. Only supported name is 'ApiPolicy'
7909+
/// The name of the policy being updated. Only 'ApiPolicy' is supported. This parameter is optional and defaults to
7910+
/// 'ApiPolicy' if omitted.
78997911
/// </summary>
79007912
public string PolicyName ;
79017913

@@ -7923,6 +7935,12 @@ public class UpdatePolicyResponse : PlayFabResultCommon
79237935
/// </summary>
79247936
public List<PermissionStatement> Statements ;
79257937

7938+
/// <summary>
7939+
/// Optional warnings about policy statements that may not have the intended effect. For example, resource paths that don't
7940+
/// match any known API endpoint. The policy update still succeeds when warnings are present.
7941+
/// </summary>
7942+
public List<string> Warnings ;
7943+
79267944
}
79277945

79287946
public class UpdateProperty

XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ public enum PlayFabErrorCode
614614
ParentCustomerAccountNotFound = 1612,
615615
AccountLinkedToABannedPlayer = 1613,
616616
AzureSubscriptionNotEligibleForLinking = 1614,
617+
EntityIsNotAMember = 1615,
617618
MatchmakingEntityInvalid = 2001,
618619
MatchmakingPlayerAttributesInvalid = 2002,
619620
MatchmakingQueueNotFound = 2016,
@@ -731,6 +732,8 @@ public enum PlayFabErrorCode
731732
ExperimentationExclusionGroupInvalidName = 7022,
732733
ExperimentationLegacyExperimentInvalidOperation = 7023,
733734
ExperimentationExperimentStopFailed = 7024,
735+
ExperimentationExperimentDeleteFailed = 7025,
736+
ExperimentationExperimentStartFailed = 7026,
734737
MaxActionDepthExceeded = 8000,
735738
TitleNotOnUpdatedPricingPlan = 9000,
736739
SegmentManagementTitleNotInFlight = 10000,
@@ -928,6 +931,7 @@ public enum PlayFabErrorCode
928931
GameSaveConflict = 20328,
929932
GameSaveManifestNotEligibleForRollback = 20329,
930933
GameSaveTitleClientAnonymousAccountCreationNotDisabled = 20330,
934+
GameSaveTitleConfigNoUpdatesRequested = 20331,
931935
StateShareForbidden = 21000,
932936
StateShareTitleNotInFlight = 21001,
933937
StateShareStateNotFound = 21002,

0 commit comments

Comments
 (0)