Skip to content

Commit dc33f9d

Browse files
PlayFab SDK TeamPlayFab SDK Team
authored andcommitted
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251205
2 parents 1a814e8 + 0b0bbac commit dc33f9d

34 files changed

Lines changed: 704 additions & 30 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.226.251121"; } }
1+
namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.227.251205"; } }

ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static void AddVirtualCurrencyTypes(AddVirtualCurrencyTypesRequest reques
106106
}
107107

108108
/// <summary>
109-
/// Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
109+
/// Bans users by PlayFab ID with optional IP address for the provided game.
110110
/// </summary>
111111
public static void BanUsers(BanUsersRequest request, Action<BanUsersResult> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
112112
{

ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void AddVirtualCurrencyTypes(AddVirtualCurrencyTypesRequest request, Acti
116116
}
117117

118118
/// <summary>
119-
/// Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
119+
/// Bans users by PlayFab ID with optional IP address for the provided game.
120120
/// </summary>
121121
public void BanUsers(BanUsersRequest request, Action<BanUsersResult> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
122122
{

ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ public class BanRequest : PlayFabBaseModel
481481
}
482482

483483
/// <summary>
484-
/// The existence of each user will not be verified. When banning by IP or MAC address, multiple players may be affected, so
485-
/// use this feature with caution. Returns information about the new bans.
484+
/// The existence of each user will not be verified. When banning by IP, multiple players may be affected, so use this
485+
/// feature with caution. Returns information about the new bans.
486486
/// </summary>
487487
[Serializable]
488488
public class BanUsersRequest : PlayFabRequestCommon
@@ -3140,6 +3140,7 @@ public enum GenericErrorCodes
31403140
UnsupportedEntityType,
31413141
EntityTypeSpecifiedRequiresAggregationSource,
31423142
PlayFabErrorEventNotSupportedForEntityType,
3143+
MetadataLengthExceeded,
31433144
StoreMetricsRequestInvalidInput,
31443145
StoreMetricsErrorRetrievingMetrics
31453146
}

ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientAPI.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,21 @@ public static void GetPlayFabIDsFromNintendoSwitchDeviceIds(GetPlayFabIDsFromNin
827827
PlayFabHttp.MakeApiCall("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, AuthType.LoginSession, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
828828
}
829829

830+
/// <summary>
831+
/// Retrieves the unique PlayFab identifiers for the given set of OpenId subject identifiers. A OpenId identifier is the
832+
/// service name plus the service-specific ID for the player, as specified by the title when the OpenId identifier was added
833+
/// to the player account.
834+
/// </summary>
835+
public static void GetPlayFabIDsFromOpenIdSubjectIdentifiers(GetPlayFabIDsFromOpenIdsRequest request, Action<GetPlayFabIDsFromOpenIdsResult> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
836+
{
837+
var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
838+
var callSettings = PlayFabSettings.staticSettings;
839+
if (!context.IsClientLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
840+
841+
842+
PlayFabHttp.MakeApiCall("/Client/GetPlayFabIDsFromOpenIdSubjectIdentifiers", request, AuthType.LoginSession, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
843+
}
844+
830845
/// <summary>
831846
/// Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
832847
/// </summary>

ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientInstanceAPI.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,19 @@ public void GetPlayFabIDsFromNintendoSwitchDeviceIds(GetPlayFabIDsFromNintendoSw
741741
PlayFabHttp.MakeApiCall("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, AuthType.LoginSession, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
742742
}
743743

744+
/// <summary>
745+
/// Retrieves the unique PlayFab identifiers for the given set of OpenId subject identifiers. A OpenId identifier is the
746+
/// service name plus the service-specific ID for the player, as specified by the title when the OpenId identifier was added
747+
/// to the player account.
748+
/// </summary>
749+
public void GetPlayFabIDsFromOpenIdSubjectIdentifiers(GetPlayFabIDsFromOpenIdsRequest request, Action<GetPlayFabIDsFromOpenIdsResult> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
750+
{
751+
var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
752+
var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
753+
if (!context.IsClientLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
754+
PlayFabHttp.MakeApiCall("/Client/GetPlayFabIDsFromOpenIdSubjectIdentifiers", request, AuthType.LoginSession, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
755+
}
756+
744757
/// <summary>
745758
/// Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
746759
/// </summary>

ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2758,6 +2758,28 @@ public class GetPlayFabIDsFromNintendoSwitchDeviceIdsResult : PlayFabResultCommo
27582758
public List<NintendoSwitchPlayFabIdPair> Data;
27592759
}
27602760

2761+
[Serializable]
2762+
public class GetPlayFabIDsFromOpenIdsRequest : PlayFabRequestCommon
2763+
{
2764+
/// <summary>
2765+
/// Array of unique OpenId Connect identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed
2766+
/// 10 in length.
2767+
/// </summary>
2768+
public List<OpenIdSubjectIdentifier> OpenIdSubjectIdentifiers;
2769+
}
2770+
2771+
/// <summary>
2772+
/// For OpenId identifiers which have not been linked to PlayFab accounts, null will be returned.
2773+
/// </summary>
2774+
[Serializable]
2775+
public class GetPlayFabIDsFromOpenIdsResult : PlayFabResultCommon
2776+
{
2777+
/// <summary>
2778+
/// Mapping of OpenId Connect identifiers to PlayFab identifiers.
2779+
/// </summary>
2780+
public List<OpenIdSubjectIdentifierPlayFabIdPair> Data;
2781+
}
2782+
27612783
[Serializable]
27622784
public class GetPlayFabIDsFromPSNAccountIDsRequest : PlayFabRequestCommon
27632785
{
@@ -5042,6 +5064,32 @@ public class NintendoSwitchPlayFabIdPair : PlayFabBaseModel
50425064
public string PlayFabId;
50435065
}
50445066

5067+
[Serializable]
5068+
public class OpenIdSubjectIdentifier : PlayFabBaseModel
5069+
{
5070+
/// <summary>
5071+
/// The issuer URL for the OpenId Connect provider, or the override URL if an override exists.
5072+
/// </summary>
5073+
public string Issuer;
5074+
/// <summary>
5075+
/// The unique subject identifier within the context of the issuer.
5076+
/// </summary>
5077+
public string Subject;
5078+
}
5079+
5080+
[Serializable]
5081+
public class OpenIdSubjectIdentifierPlayFabIdPair : PlayFabBaseModel
5082+
{
5083+
/// <summary>
5084+
/// Unique OpenId Connect identifier for a user.
5085+
/// </summary>
5086+
public OpenIdSubjectIdentifier OpenIdSubjectIdentifier;
5087+
/// <summary>
5088+
/// Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the OpenId Connect identifier.
5089+
/// </summary>
5090+
public string PlayFabId;
5091+
}
5092+
50455093
[Serializable]
50465094
public class OpenTradeRequest : PlayFabRequestCommon
50475095
{

ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabEvents.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ public partial class PlayFabEvents
119119
public event PlayFabResultEvent<GetPlayFabIDsFromNintendoServiceAccountIdsResult> OnGetPlayFabIDsFromNintendoServiceAccountIdsResultEvent;
120120
public event PlayFabRequestEvent<GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest> OnGetPlayFabIDsFromNintendoSwitchDeviceIdsRequestEvent;
121121
public event PlayFabResultEvent<GetPlayFabIDsFromNintendoSwitchDeviceIdsResult> OnGetPlayFabIDsFromNintendoSwitchDeviceIdsResultEvent;
122+
public event PlayFabRequestEvent<GetPlayFabIDsFromOpenIdsRequest> OnGetPlayFabIDsFromOpenIdSubjectIdentifiersRequestEvent;
123+
public event PlayFabResultEvent<GetPlayFabIDsFromOpenIdsResult> OnGetPlayFabIDsFromOpenIdSubjectIdentifiersResultEvent;
122124
public event PlayFabRequestEvent<GetPlayFabIDsFromPSNAccountIDsRequest> OnGetPlayFabIDsFromPSNAccountIDsRequestEvent;
123125
public event PlayFabResultEvent<GetPlayFabIDsFromPSNAccountIDsResult> OnGetPlayFabIDsFromPSNAccountIDsResultEvent;
124126
public event PlayFabRequestEvent<GetPlayFabIDsFromPSNOnlineIDsRequest> OnGetPlayFabIDsFromPSNOnlineIDsRequestEvent;

ExampleMacProject/Assets/PlayFabSDK/Progression/PlayFabProgressionModels.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,7 @@ public class LeaderboardEntryUpdate : PlayFabBaseModel
698698
/// </summary>
699699
public string EntityId;
700700
/// <summary>
701-
/// Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. Must be less
702-
/// than 50 UTF8 encoded characters.
701+
/// Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs.
703702
/// </summary>
704703
public string Metadata;
705704
/// <summary>
@@ -939,8 +938,7 @@ public class StatisticsUpdateEventConfig : PlayFabBaseModel
939938
public class StatisticUpdate : PlayFabBaseModel
940939
{
941940
/// <summary>
942-
/// Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50
943-
/// UTF8 encoded characters.
941+
/// Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs.
944942
/// </summary>
945943
public string Metadata;
946944
/// <summary>

ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabEvents.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public partial class PlayFabEvents
101101
public event PlayFabResultEvent<GetPlayFabIDsFromNintendoServiceAccountIdsResult> OnServerGetPlayFabIDsFromNintendoServiceAccountIdsResultEvent;
102102
public event PlayFabRequestEvent<GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest> OnServerGetPlayFabIDsFromNintendoSwitchDeviceIdsRequestEvent;
103103
public event PlayFabResultEvent<GetPlayFabIDsFromNintendoSwitchDeviceIdsResult> OnServerGetPlayFabIDsFromNintendoSwitchDeviceIdsResultEvent;
104+
public event PlayFabRequestEvent<GetPlayFabIDsFromOpenIdsRequest> OnServerGetPlayFabIDsFromOpenIdSubjectIdentifiersRequestEvent;
105+
public event PlayFabResultEvent<GetPlayFabIDsFromOpenIdsResult> OnServerGetPlayFabIDsFromOpenIdSubjectIdentifiersResultEvent;
104106
public event PlayFabRequestEvent<GetPlayFabIDsFromPSNAccountIDsRequest> OnServerGetPlayFabIDsFromPSNAccountIDsRequestEvent;
105107
public event PlayFabResultEvent<GetPlayFabIDsFromPSNAccountIDsResult> OnServerGetPlayFabIDsFromPSNAccountIDsResultEvent;
106108
public event PlayFabRequestEvent<GetPlayFabIDsFromPSNOnlineIDsRequest> OnServerGetPlayFabIDsFromPSNOnlineIDsRequestEvent;
@@ -173,6 +175,8 @@ public partial class PlayFabEvents
173175
public event PlayFabResultEvent<LinkServerCustomIdResult> OnServerLinkServerCustomIdResultEvent;
174176
public event PlayFabRequestEvent<LinkSteamIdRequest> OnServerLinkSteamIdRequestEvent;
175177
public event PlayFabResultEvent<LinkSteamIdResult> OnServerLinkSteamIdResultEvent;
178+
public event PlayFabRequestEvent<LinkTwitchAccountRequest> OnServerLinkTwitchAccountRequestEvent;
179+
public event PlayFabResultEvent<EmptyResult> OnServerLinkTwitchAccountResultEvent;
176180
public event PlayFabRequestEvent<LinkXboxAccountRequest> OnServerLinkXboxAccountRequestEvent;
177181
public event PlayFabResultEvent<LinkXboxAccountResult> OnServerLinkXboxAccountResultEvent;
178182
public event PlayFabRequestEvent<LinkXboxIdRequest> OnServerLinkXboxIdRequestEvent;
@@ -193,6 +197,8 @@ public partial class PlayFabEvents
193197
public event PlayFabResultEvent<ServerLoginResult> OnServerLoginWithServerCustomIdResultEvent;
194198
public event PlayFabRequestEvent<LoginWithSteamIdRequest> OnServerLoginWithSteamIdRequestEvent;
195199
public event PlayFabResultEvent<ServerLoginResult> OnServerLoginWithSteamIdResultEvent;
200+
public event PlayFabRequestEvent<LoginWithTwitchRequest> OnServerLoginWithTwitchRequestEvent;
201+
public event PlayFabResultEvent<ServerLoginResult> OnServerLoginWithTwitchResultEvent;
196202
public event PlayFabRequestEvent<LoginWithXboxRequest> OnServerLoginWithXboxRequestEvent;
197203
public event PlayFabResultEvent<ServerLoginResult> OnServerLoginWithXboxResultEvent;
198204
public event PlayFabRequestEvent<LoginWithXboxIdRequest> OnServerLoginWithXboxIdRequestEvent;
@@ -261,6 +267,8 @@ public partial class PlayFabEvents
261267
public event PlayFabResultEvent<UnlinkServerCustomIdResult> OnServerUnlinkServerCustomIdResultEvent;
262268
public event PlayFabRequestEvent<UnlinkSteamIdRequest> OnServerUnlinkSteamIdRequestEvent;
263269
public event PlayFabResultEvent<UnlinkSteamIdResult> OnServerUnlinkSteamIdResultEvent;
270+
public event PlayFabRequestEvent<UnlinkTwitchAccountRequest> OnServerUnlinkTwitchAccountRequestEvent;
271+
public event PlayFabResultEvent<EmptyResult> OnServerUnlinkTwitchAccountResultEvent;
264272
public event PlayFabRequestEvent<UnlinkXboxAccountRequest> OnServerUnlinkXboxAccountRequestEvent;
265273
public event PlayFabResultEvent<UnlinkXboxAccountResult> OnServerUnlinkXboxAccountResultEvent;
266274
public event PlayFabRequestEvent<UnlockContainerInstanceRequest> OnServerUnlockContainerInstanceRequestEvent;

0 commit comments

Comments
 (0)