diff --git a/Assets/PlayFabEditorExtensions/Editor/Resources/MostRecentPackage.unitypackage b/Assets/PlayFabEditorExtensions/Editor/Resources/MostRecentPackage.unitypackage
index 1cd80a7e4..2d0e2d30d 100644
Binary files a/Assets/PlayFabEditorExtensions/Editor/Resources/MostRecentPackage.unitypackage and b/Assets/PlayFabEditorExtensions/Editor/Resources/MostRecentPackage.unitypackage differ
diff --git a/Assets/PlayFabEditorExtensions/Editor/Resources/PlayFabEditorPrefsSO.asset b/Assets/PlayFabEditorExtensions/Editor/Resources/PlayFabEditorPrefsSO.asset
index b312ae609..b93cfe30a 100644
--- a/Assets/PlayFabEditorExtensions/Editor/Resources/PlayFabEditorPrefsSO.asset
+++ b/Assets/PlayFabEditorExtensions/Editor/Resources/PlayFabEditorPrefsSO.asset
@@ -12,12 +12,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5d0199c11aa6f514784c5c69cd8378d8, type: 3}
m_Name: PlayFabEditorPrefsSO
m_EditorClassIdentifier:
- DevAccountEmail:
- DevAccountToken:
- SelectedStudio:
- SdkPath:
+ DevAccountEmail: kimsy198402@gmail.com
+ DevAccountToken: 4469kxx5qoc1x7seij1o41mj8omsnt3wp384uuwzxng4yhfitsop89pwoh8bgr3mzykmezqakrj6zec6s6op4nracsij8h8f153c5uc3f1caw5h6rdcmjzbtwodm5ufeuzf9qpgr4jyn9shux7bgjtisme4hraosfmy4cyh9w6og7fmfxceq7f81edmg9yqu1rmohoq9
+ SelectedStudio: "\uD544\uAD7F\uBC34\uB514\uCE20(3rd)"
+ SdkPath: Assets/ThirdParty/PlayFabSDK
EdExPath:
- LocalCloudScriptPath:
+ LocalCloudScriptPath: C:/Git/nn_himminji/Assets/PlayFabEditorExtensions/Editor/Resources/.CloudScript.js
PanelIsShown: 0
- curMainMenuIdx: 0
+ curMainMenuIdx: 1
curSubMenuIdx: 0
diff --git a/Assets/Resources/PlayFabSharedSettings.asset b/Assets/Resources/PlayFabSharedSettings.asset
index ed985f71d..d6c1df3b1 100644
--- a/Assets/Resources/PlayFabSharedSettings.asset
+++ b/Assets/Resources/PlayFabSharedSettings.asset
@@ -20,6 +20,8 @@ MonoBehaviour:
DisableFocusTimeCollection: 0
RequestTimeout: 2000
RequestKeepAlive: 1
+ CompressResponses: 0
+ DecompressWithDownloadHandler: 1
LogLevel: 12
LoggerHost:
LoggerPort: 0
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon.meta b/Assets/ThirdParty/PlayFabSDK/Addon.meta
new file mode 100644
index 000000000..11d3b967f
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4592bb1110a6b1e4dacb06b424cd2759
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonAPI.cs b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonAPI.cs
new file mode 100644
index 000000000..a1cf333d2
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonAPI.cs
@@ -0,0 +1,390 @@
+#if !DISABLE_PLAYFABENTITY_API && !DISABLE_PLAYFAB_STATIC_API
+
+using System;
+using System.Collections.Generic;
+using PlayFab.AddonModels;
+using PlayFab.Internal;
+
+namespace PlayFab
+{
+ ///
+ /// APIs for managing addons.
+ ///
+ public static class PlayFabAddonAPI
+ {
+ static PlayFabAddonAPI() {}
+
+
+ ///
+ /// Verify entity login.
+ ///
+ public static bool IsEntityLoggedIn()
+ {
+ return PlayFabSettings.staticPlayer.IsEntityLoggedIn();
+ }
+
+ ///
+ /// Clear the Client SessionToken which allows this Client to call API calls requiring login.
+ /// A new/fresh login will be required after calling this.
+ ///
+ public static void ForgetAllCredentials()
+ {
+ PlayFabSettings.staticPlayer.ForgetAllCredentials();
+ }
+
+ ///
+ /// Creates the Apple addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateApple(CreateOrUpdateAppleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateApple", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Facebook addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateFacebook(CreateOrUpdateFacebookRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateFacebook", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Facebook Instant Games addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateFacebookInstantGames(CreateOrUpdateFacebookInstantGamesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateFacebookInstantGames", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Google addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateGoogle(CreateOrUpdateGoogleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateGoogle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Kongregate addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateKongregate(CreateOrUpdateKongregateRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateKongregate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Nintendo addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateNintendo(CreateOrUpdateNintendoRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateNintendo", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the PSN addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdatePSN(CreateOrUpdatePSNRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdatePSN", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Steam addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateSteam(CreateOrUpdateSteamRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateSteam", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Creates the Twitch addon on a title, or updates it if it already exists.
+ ///
+ public static void CreateOrUpdateTwitch(CreateOrUpdateTwitchRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateTwitch", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Apple addon on a title.
+ ///
+ public static void DeleteApple(DeleteAppleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteApple", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Facebook addon on a title.
+ ///
+ public static void DeleteFacebook(DeleteFacebookRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteFacebook", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Facebook addon on a title.
+ ///
+ public static void DeleteFacebookInstantGames(DeleteFacebookInstantGamesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteFacebookInstantGames", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Google addon on a title.
+ ///
+ public static void DeleteGoogle(DeleteGoogleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteGoogle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Kongregate addon on a title.
+ ///
+ public static void DeleteKongregate(DeleteKongregateRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteKongregate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Nintendo addon on a title.
+ ///
+ public static void DeleteNintendo(DeleteNintendoRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteNintendo", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the PSN addon on a title.
+ ///
+ public static void DeletePSN(DeletePSNRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeletePSN", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Steam addon on a title.
+ ///
+ public static void DeleteSteam(DeleteSteamRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteSteam", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Deletes the Twitch addon on a title.
+ ///
+ public static void DeleteTwitch(DeleteTwitchRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/DeleteTwitch", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Apple addon on a title, omits secrets.
+ ///
+ public static void GetApple(GetAppleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetApple", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Facebook addon on a title, omits secrets.
+ ///
+ public static void GetFacebook(GetFacebookRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetFacebook", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Facebook Instant Games addon on a title, omits secrets.
+ ///
+ public static void GetFacebookInstantGames(GetFacebookInstantGamesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetFacebookInstantGames", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Google addon on a title, omits secrets.
+ ///
+ public static void GetGoogle(GetGoogleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetGoogle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Kongregate addon on a title, omits secrets.
+ ///
+ public static void GetKongregate(GetKongregateRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetKongregate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Nintendo addon on a title, omits secrets.
+ ///
+ public static void GetNintendo(GetNintendoRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetNintendo", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the PSN addon on a title, omits secrets.
+ ///
+ public static void GetPSN(GetPSNRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetPSN", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Steam addon on a title, omits secrets.
+ ///
+ public static void GetSteam(GetSteamRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetSteam", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+ ///
+ /// Gets information of the Twitch addon on a title, omits secrets.
+ ///
+ public static void GetTwitch(GetTwitchRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer;
+ var callSettings = PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+
+
+ PlayFabHttp.MakeApiCall("/Addon/GetTwitch", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings);
+ }
+
+
+ }
+}
+
+#endif
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonAPI.cs.meta b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonAPI.cs.meta
new file mode 100644
index 000000000..39ef2ec76
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonAPI.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 16e6981cbc311934bab9111885dbfc1a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonInstanceAPI.cs b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonInstanceAPI.cs
new file mode 100644
index 000000000..acba30cf0
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonInstanceAPI.cs
@@ -0,0 +1,354 @@
+#if !DISABLE_PLAYFABENTITY_API
+
+using System;
+using System.Collections.Generic;
+using PlayFab.AddonModels;
+using PlayFab.Internal;
+using PlayFab.SharedModels;
+
+namespace PlayFab
+{
+ ///
+ /// APIs for managing addons.
+ ///
+ public class PlayFabAddonInstanceAPI : IPlayFabInstanceApi
+ {
+ public readonly PlayFabApiSettings apiSettings = null;
+ public readonly PlayFabAuthenticationContext authenticationContext = null;
+
+ public PlayFabAddonInstanceAPI(PlayFabAuthenticationContext context)
+ {
+ if (context == null)
+ throw new PlayFabException(PlayFabExceptionCode.AuthContextRequired, "Context cannot be null, create a PlayFabAuthenticationContext for each player in advance, or call .GetAuthenticationContext()");
+ authenticationContext = context;
+ }
+
+ public PlayFabAddonInstanceAPI(PlayFabApiSettings settings, PlayFabAuthenticationContext context)
+ {
+ if (context == null)
+ throw new PlayFabException(PlayFabExceptionCode.AuthContextRequired, "Context cannot be null, create a PlayFabAuthenticationContext for each player in advance, or call .GetAuthenticationContext()");
+ apiSettings = settings;
+ authenticationContext = context;
+ }
+
+ ///
+ /// Verify entity login.
+ ///
+ public bool IsEntityLoggedIn()
+ {
+ return authenticationContext == null ? false : authenticationContext.IsEntityLoggedIn();
+ }
+
+ ///
+ /// Clear the Client SessionToken which allows this Client to call API calls requiring login.
+ /// A new/fresh login will be required after calling this.
+ ///
+ public void ForgetAllCredentials()
+ {
+ if (authenticationContext != null)
+ {
+ authenticationContext.ForgetAllCredentials();
+ }
+ }
+
+ ///
+ /// Creates the Apple addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateApple(CreateOrUpdateAppleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateApple", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Facebook addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateFacebook(CreateOrUpdateFacebookRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateFacebook", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Facebook Instant Games addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateFacebookInstantGames(CreateOrUpdateFacebookInstantGamesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateFacebookInstantGames", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Google addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateGoogle(CreateOrUpdateGoogleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateGoogle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Kongregate addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateKongregate(CreateOrUpdateKongregateRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateKongregate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Nintendo addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateNintendo(CreateOrUpdateNintendoRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateNintendo", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the PSN addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdatePSN(CreateOrUpdatePSNRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdatePSN", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Steam addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateSteam(CreateOrUpdateSteamRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateSteam", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Creates the Twitch addon on a title, or updates it if it already exists.
+ ///
+ public void CreateOrUpdateTwitch(CreateOrUpdateTwitchRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/CreateOrUpdateTwitch", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Apple addon on a title.
+ ///
+ public void DeleteApple(DeleteAppleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteApple", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Facebook addon on a title.
+ ///
+ public void DeleteFacebook(DeleteFacebookRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteFacebook", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Facebook addon on a title.
+ ///
+ public void DeleteFacebookInstantGames(DeleteFacebookInstantGamesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteFacebookInstantGames", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Google addon on a title.
+ ///
+ public void DeleteGoogle(DeleteGoogleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteGoogle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Kongregate addon on a title.
+ ///
+ public void DeleteKongregate(DeleteKongregateRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteKongregate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Nintendo addon on a title.
+ ///
+ public void DeleteNintendo(DeleteNintendoRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteNintendo", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the PSN addon on a title.
+ ///
+ public void DeletePSN(DeletePSNRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeletePSN", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Steam addon on a title.
+ ///
+ public void DeleteSteam(DeleteSteamRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteSteam", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Deletes the Twitch addon on a title.
+ ///
+ public void DeleteTwitch(DeleteTwitchRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/DeleteTwitch", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Apple addon on a title, omits secrets.
+ ///
+ public void GetApple(GetAppleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetApple", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Facebook addon on a title, omits secrets.
+ ///
+ public void GetFacebook(GetFacebookRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetFacebook", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Facebook Instant Games addon on a title, omits secrets.
+ ///
+ public void GetFacebookInstantGames(GetFacebookInstantGamesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetFacebookInstantGames", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Google addon on a title, omits secrets.
+ ///
+ public void GetGoogle(GetGoogleRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetGoogle", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Kongregate addon on a title, omits secrets.
+ ///
+ public void GetKongregate(GetKongregateRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetKongregate", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Nintendo addon on a title, omits secrets.
+ ///
+ public void GetNintendo(GetNintendoRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetNintendo", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the PSN addon on a title, omits secrets.
+ ///
+ public void GetPSN(GetPSNRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetPSN", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Steam addon on a title, omits secrets.
+ ///
+ public void GetSteam(GetSteamRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetSteam", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ ///
+ /// Gets information of the Twitch addon on a title, omits secrets.
+ ///
+ public void GetTwitch(GetTwitchRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
+ {
+ var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
+ var callSettings = apiSettings ?? PlayFabSettings.staticSettings;
+ if (!context.IsEntityLoggedIn()) throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn,"Must be logged in to call this method");
+ PlayFabHttp.MakeApiCall("/Addon/GetTwitch", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
+ }
+
+ }
+}
+
+#endif
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonInstanceAPI.cs.meta b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonInstanceAPI.cs.meta
new file mode 100644
index 000000000..4d4074e88
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonInstanceAPI.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: cb16ee30d77a0bd4095b94a53a375676
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonModels.cs b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonModels.cs
new file mode 100644
index 000000000..24946cf7e
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonModels.cs
@@ -0,0 +1,793 @@
+#if !DISABLE_PLAYFABENTITY_API
+using System;
+using System.Collections.Generic;
+using PlayFab.SharedModels;
+
+namespace PlayFab.AddonModels
+{
+ [Serializable]
+ public class CreateOrUpdateAppleRequest : PlayFabRequestCommon
+ {
+ ///
+ /// iOS App Bundle ID obtained after setting up your app in the App Store.
+ ///
+ public string AppBundleId;
+ ///
+ /// iOS App Shared Secret obtained after setting up your app in the App Store.
+ ///
+ public string AppSharedSecret;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ ///
+ /// Ignore expiration date for identity tokens. Be aware that when set to true this can invalidate expired tokens in the
+ /// case where Apple rotates their signing keys.
+ ///
+ public bool? IgnoreExpirationDate;
+ ///
+ /// Require secure authentication only for this app.
+ ///
+ public bool? RequireSecureAuthentication;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateAppleResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateFacebookInstantGamesRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Facebook App ID obtained after setting up your app in Facebook Instant Games.
+ ///
+ public string AppID;
+ ///
+ /// Facebook App Secret obtained after setting up your app in Facebook Instant Games.
+ ///
+ public string AppSecret;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateFacebookInstantGamesResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateFacebookRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Facebook App ID obtained after setting up your app in Facebook.
+ ///
+ public string AppID;
+ ///
+ /// Facebook App Secret obtained after setting up your app in Facebook.
+ ///
+ public string AppSecret;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ ///
+ /// Email address for purchase dispute notifications.
+ ///
+ public string NotificationEmail;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateFacebookResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateGoogleRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Google App License Key obtained after setting up your app in the Google Play developer portal. Required if using Google
+ /// receipt validation.
+ ///
+ public string AppLicenseKey;
+ ///
+ /// Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google
+ /// receipt validation.
+ ///
+ public string AppPackageID;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ ///
+ /// Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ /// Required if using Google Authentication.
+ ///
+ public string OAuthClientID;
+ ///
+ /// Google OAuth Client Secret obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ /// Required if using Google Authentication.
+ ///
+ public string OAuthClientSecret;
+ ///
+ /// Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to
+ /// https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own
+ /// domain.
+ ///
+ public string OAuthCustomRedirectUri;
+ ///
+ /// Needed to enable pending purchase handling and subscription processing.
+ ///
+ public string ServiceAccountKey;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateGoogleResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateKongregateRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ ///
+ /// Kongregate Secret API Key obtained after setting up your game in your Kongregate developer account.
+ ///
+ public string SecretAPIKey;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateKongregateResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateNintendoRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Nintendo Switch Application ID, without the "0x" prefix.
+ ///
+ public string ApplicationID;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// List of Nintendo Environments, currently supporting up to 4. Needs Catalog enabled.
+ ///
+ public List Environments;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateNintendoResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdatePSNRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Client ID obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace.
+ ///
+ public string ClientID;
+ ///
+ /// Client secret obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace.
+ ///
+ public string ClientSecret;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ ///
+ /// Client ID obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ /// includes PS5, cross-generation for PS4, and unified entitlements.
+ ///
+ public string NextGenClientID;
+ ///
+ /// Client secret obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ /// includes PS5, cross-generation for PS4, and unified entitlements.
+ ///
+ public string NextGenClientSecret;
+ }
+
+ [Serializable]
+ public class CreateOrUpdatePSNResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateSteamRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Application ID obtained after setting up your app in Valve's developer portal.
+ ///
+ public string ApplicationId;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// Enforce usage of AzurePlayFab identity in user authentication tickets.
+ ///
+ public bool? EnforceServiceSpecificTickets;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ ///
+ /// Sercet Key obtained after setting up your app in Valve's developer portal.
+ ///
+ public string SecretKey;
+ ///
+ /// Use Steam Payments sandbox endpoint for test transactions.
+ ///
+ public bool? UseSandbox;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateSteamResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class CreateOrUpdateTwitchRequest : PlayFabRequestCommon
+ {
+ ///
+ /// Client ID obtained after creating your Twitch developer account.
+ ///
+ public string ClientID;
+ ///
+ /// Client Secret obtained after creating your Twitch developer account.
+ ///
+ public string ClientSecret;
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ ///
+ /// If an error should be returned if the addon already exists.
+ ///
+ public bool? ErrorIfExists;
+ }
+
+ [Serializable]
+ public class CreateOrUpdateTwitchResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteAppleRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteAppleResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteFacebookInstantGamesRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteFacebookInstantGamesResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteFacebookRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteFacebookResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteGoogleRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteGoogleResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteKongregateRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteKongregateResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteNintendoRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteNintendoResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeletePSNRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeletePSNResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteSteamRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteSteamResponse : PlayFabResultCommon
+ {
+ }
+
+ [Serializable]
+ public class DeleteTwitchRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class DeleteTwitchResponse : PlayFabResultCommon
+ {
+ }
+
+ ///
+ /// Combined entity type and ID structure which uniquely identifies a single entity.
+ ///
+ [Serializable]
+ public class EntityKey : PlayFabBaseModel
+ {
+ ///
+ /// Unique ID of the entity.
+ ///
+ public string Id;
+ ///
+ /// Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types
+ ///
+ public string Type;
+ }
+
+ [Serializable]
+ public class GetAppleRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetAppleResponse : PlayFabResultCommon
+ {
+ ///
+ /// iOS App Bundle ID obtained after setting up your app in the App Store.
+ ///
+ public string AppBundleId;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ ///
+ /// Ignore expiration date for identity tokens.
+ ///
+ public bool? IgnoreExpirationDate;
+ ///
+ /// Require secure authentication only for this app.
+ ///
+ public bool? RequireSecureAuthentication;
+ }
+
+ [Serializable]
+ public class GetFacebookInstantGamesRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetFacebookInstantGamesResponse : PlayFabResultCommon
+ {
+ ///
+ /// Facebook App ID obtained after setting up your app in Facebook Instant Games.
+ ///
+ public string AppID;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ }
+
+ [Serializable]
+ public class GetFacebookRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetFacebookResponse : PlayFabResultCommon
+ {
+ ///
+ /// Facebook App ID obtained after setting up your app in Facebook.
+ ///
+ public string AppID;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ ///
+ /// Email address for purchase dispute notifications.
+ ///
+ public string NotificationEmail;
+ }
+
+ [Serializable]
+ public class GetGoogleRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetGoogleResponse : PlayFabResultCommon
+ {
+ ///
+ /// Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google
+ /// receipt validation.
+ ///
+ public string AppPackageID;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ ///
+ /// Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ /// Required if using Google Authentication.
+ ///
+ public string OAuthClientID;
+ ///
+ /// Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to
+ /// https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own
+ /// domain.
+ ///
+ public string OauthCustomRedirectUri;
+ }
+
+ [Serializable]
+ public class GetKongregateRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetKongregateResponse : PlayFabResultCommon
+ {
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ }
+
+ [Serializable]
+ public class GetNintendoRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetNintendoResponse : PlayFabResultCommon
+ {
+ ///
+ /// Nintendo Switch Application ID, without the "0x" prefix.
+ ///
+ public string ApplicationID;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ ///
+ /// List of Nintendo Environments, currently supporting up to 4.
+ ///
+ public List Environments;
+ }
+
+ [Serializable]
+ public class GetPSNRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetPSNResponse : PlayFabResultCommon
+ {
+ ///
+ /// Client ID obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace.
+ ///
+ public string ClientID;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ ///
+ /// Client ID obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ /// includes PS5, cross-generation for PS4, and unified entitlements.
+ ///
+ public string NextGenClientID;
+ }
+
+ [Serializable]
+ public class GetSteamRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetSteamResponse : PlayFabResultCommon
+ {
+ ///
+ /// Application ID obtained after setting up your game in Valve's developer portal.
+ ///
+ public string ApplicationId;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ ///
+ /// Enforce usage of AzurePlayFab identity in user authentication tickets.
+ ///
+ public bool? EnforceServiceSpecificTickets;
+ ///
+ /// Use Steam Payments sandbox endpoint for test transactions.
+ ///
+ public bool? UseSandbox;
+ }
+
+ [Serializable]
+ public class GetTwitchRequest : PlayFabRequestCommon
+ {
+ ///
+ /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
+ ///
+ public Dictionary CustomTags;
+ ///
+ /// The optional entity to perform this action on. Defaults to the currently logged in entity.
+ ///
+ public EntityKey Entity;
+ }
+
+ [Serializable]
+ public class GetTwitchResponse : PlayFabResultCommon
+ {
+ ///
+ /// Client ID obtained after creating your Twitch developer account.
+ ///
+ public string ClientID;
+ ///
+ /// Addon status.
+ ///
+ public bool Created;
+ }
+
+ [Serializable]
+ public class NintendoEnvironment : PlayFabBaseModel
+ {
+ ///
+ /// Client ID for the Nintendo Environment.
+ ///
+ public string ClientID;
+ ///
+ /// Client Secret for the Nintendo Environment.
+ ///
+ public string ClientSecret;
+ ///
+ /// ID for the Nintendo Environment.
+ ///
+ public string ID;
+ }
+}
+#endif
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonModels.cs.meta b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonModels.cs.meta
new file mode 100644
index 000000000..573052f25
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabAddonModels.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 87ffcc7751ee8d54a9effc1467d73c87
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabEvents.cs b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabEvents.cs
new file mode 100644
index 000000000..544f4f350
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabEvents.cs
@@ -0,0 +1,64 @@
+#if !DISABLE_PLAYFABENTITY_API
+using PlayFab.AddonModels;
+
+namespace PlayFab.Events
+{
+ public partial class PlayFabEvents
+ {
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateAppleRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateAppleResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateFacebookRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateFacebookResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateFacebookInstantGamesRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateFacebookInstantGamesResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateGoogleRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateGoogleResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateKongregateRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateKongregateResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateNintendoRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateNintendoResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdatePSNRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdatePSNResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateSteamRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateSteamResultEvent;
+ public event PlayFabRequestEvent OnAddonCreateOrUpdateTwitchRequestEvent;
+ public event PlayFabResultEvent OnAddonCreateOrUpdateTwitchResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteAppleRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteAppleResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteFacebookRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteFacebookResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteFacebookInstantGamesRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteFacebookInstantGamesResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteGoogleRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteGoogleResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteKongregateRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteKongregateResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteNintendoRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteNintendoResultEvent;
+ public event PlayFabRequestEvent OnAddonDeletePSNRequestEvent;
+ public event PlayFabResultEvent OnAddonDeletePSNResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteSteamRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteSteamResultEvent;
+ public event PlayFabRequestEvent OnAddonDeleteTwitchRequestEvent;
+ public event PlayFabResultEvent OnAddonDeleteTwitchResultEvent;
+ public event PlayFabRequestEvent OnAddonGetAppleRequestEvent;
+ public event PlayFabResultEvent OnAddonGetAppleResultEvent;
+ public event PlayFabRequestEvent OnAddonGetFacebookRequestEvent;
+ public event PlayFabResultEvent OnAddonGetFacebookResultEvent;
+ public event PlayFabRequestEvent OnAddonGetFacebookInstantGamesRequestEvent;
+ public event PlayFabResultEvent OnAddonGetFacebookInstantGamesResultEvent;
+ public event PlayFabRequestEvent OnAddonGetGoogleRequestEvent;
+ public event PlayFabResultEvent OnAddonGetGoogleResultEvent;
+ public event PlayFabRequestEvent OnAddonGetKongregateRequestEvent;
+ public event PlayFabResultEvent OnAddonGetKongregateResultEvent;
+ public event PlayFabRequestEvent OnAddonGetNintendoRequestEvent;
+ public event PlayFabResultEvent OnAddonGetNintendoResultEvent;
+ public event PlayFabRequestEvent OnAddonGetPSNRequestEvent;
+ public event PlayFabResultEvent OnAddonGetPSNResultEvent;
+ public event PlayFabRequestEvent OnAddonGetSteamRequestEvent;
+ public event PlayFabResultEvent OnAddonGetSteamResultEvent;
+ public event PlayFabRequestEvent OnAddonGetTwitchRequestEvent;
+ public event PlayFabResultEvent OnAddonGetTwitchResultEvent;
+ }
+}
+#endif
diff --git a/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabEvents.cs.meta b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabEvents.cs.meta
new file mode 100644
index 000000000..9673c4a7e
--- /dev/null
+++ b/Assets/ThirdParty/PlayFabSDK/Addon/PlayFabEvents.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d196246361876214999b16fe616a0f32
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/PlayFabSDK/Admin/PlayFabAdminAPI.cs b/Assets/ThirdParty/PlayFabSDK/Admin/PlayFabAdminAPI.cs
index 1ce12edaf..3d2d5a3da 100644
--- a/Assets/ThirdParty/PlayFabSDK/Admin/PlayFabAdminAPI.cs
+++ b/Assets/ThirdParty/PlayFabSDK/Admin/PlayFabAdminAPI.cs
@@ -77,7 +77,8 @@ namespace PlayFab
}
///
- /// Increments the specified virtual currency by the stated amount
+ /// _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ /// version 2._ Increments the specified virtual currency by the stated amount
///
public static void AddUserVirtualCurrency(AddUserVirtualCurrencyRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
{
@@ -90,8 +91,9 @@ namespace PlayFab
}
///
- /// Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum value of
- /// 2,147,483,647 when granted to a player. Any value over that will be discarded.
+ /// _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ /// version 2._ Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum
+ /// value of 2,147,483,647 when granted to a player. Any value over that will be discarded.
///
public static void AddVirtualCurrencyTypes(AddVirtualCurrencyTypesRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null)
{
@@ -117,7 +119,8 @@ namespace PlayFab
}
///
- /// Checks the global count for the limited edition item.
+ /// _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ /// version 2._ Checks the global count for the limited edition item.
///
public static void CheckLimitedEditionItemAvailability(CheckLimitedEditionItemAvailabilityRequest request, Action resultCallback, Action