diff --git a/Defold/PlayFabClientSdk.zip b/Defold/PlayFabClientSdk.zip index dee423fb..b7c195c6 100644 Binary files a/Defold/PlayFabClientSdk.zip and b/Defold/PlayFabClientSdk.zip differ diff --git a/Defold/PlayFabClientTestExample.zip b/Defold/PlayFabClientTestExample.zip index 5c5eca59..1351991e 100644 Binary files a/Defold/PlayFabClientTestExample.zip and b/Defold/PlayFabClientTestExample.zip differ diff --git a/Defold/PlayFabComboSdk.zip b/Defold/PlayFabComboSdk.zip index 7bd84bdc..43ff8bde 100644 Binary files a/Defold/PlayFabComboSdk.zip and b/Defold/PlayFabComboSdk.zip differ diff --git a/Defold/PlayFabServerSdk.zip b/Defold/PlayFabServerSdk.zip index 800ca3c0..7d81259d 100644 Binary files a/Defold/PlayFabServerSdk.zip and b/Defold/PlayFabServerSdk.zip differ diff --git a/PlayFabClientSDK/PlayFab/PlayFabExperimentationApi.lua b/PlayFabClientSDK/PlayFab/PlayFabExperimentationApi.lua index fc12529e..839e4a9c 100644 --- a/PlayFabClientSDK/PlayFab/PlayFabExperimentationApi.lua +++ b/PlayFabClientSDK/PlayFab/PlayFabExperimentationApi.lua @@ -12,6 +12,15 @@ local PlayFabExperimentationApi = { settings = PlayFabSettings.settings } +-- Creates a new experiment exclusion group for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup#createexclusiongrouprequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup#createexclusiongroupresult +function PlayFabExperimentationApi.CreateExclusionGroup(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/CreateExclusionGroup", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Creates a new experiment for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment#createexperimentrequest @@ -21,6 +30,15 @@ function PlayFabExperimentationApi.CreateExperiment(request, onSuccess, onError) IPlayFabHttps.MakePlayFabApiCall("/Experimentation/CreateExperiment", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) end +-- Deletes an existing exclusion group for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup#deleteexclusiongrouprequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup#emptyresponse +function PlayFabExperimentationApi.DeleteExclusionGroup(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/DeleteExclusionGroup", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Deletes an existing experiment for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment#deleteexperimentrequest @@ -30,6 +48,24 @@ function PlayFabExperimentationApi.DeleteExperiment(request, onSuccess, onError) IPlayFabHttps.MakePlayFabApiCall("/Experimentation/DeleteExperiment", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) end +-- Gets the details of all exclusion groups for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups#getexclusiongroupsrequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups#getexclusiongroupsresult +function PlayFabExperimentationApi.GetExclusionGroups(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/GetExclusionGroups", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + +-- Gets the details of all exclusion groups for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic#getexclusiongrouptrafficrequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic#getexclusiongrouptrafficresult +function PlayFabExperimentationApi.GetExclusionGroupTraffic(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/GetExclusionGroupTraffic", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Gets the details of all experiments for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments#getexperimentsrequest @@ -75,6 +111,15 @@ function PlayFabExperimentationApi.StopExperiment(request, onSuccess, onError) IPlayFabHttps.MakePlayFabApiCall("/Experimentation/StopExperiment", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) end +-- Updates an existing exclusion group for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup#updateexclusiongrouprequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup#emptyresponse +function PlayFabExperimentationApi.UpdateExclusionGroup(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/UpdateExclusionGroup", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Updates an existing experiment for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment#updateexperimentrequest diff --git a/PlayFabClientSDK/PlayFab/PlayFabSettings.lua b/PlayFabClientSDK/PlayFab/PlayFabSettings.lua index 6c37ca22..e9f0e9a6 100644 --- a/PlayFabClientSDK/PlayFab/PlayFabSettings.lua +++ b/PlayFabClientSDK/PlayFab/PlayFabSettings.lua @@ -13,9 +13,9 @@ local PlayFabSettings = { _internalSettings = { sessionTicket = nil, - sdkVersionString = "LuaSdk_0.86.200914", - buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_0", - requestGetParams = {["sdk"] = "LuaSdk_0.86.200914"} + sdkVersionString = "LuaSdk_0.88.201014", + buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1", + requestGetParams = {["sdk"] = "LuaSdk_0.88.201014"} }, settings = { productionUrl = ".playfabapi.com", diff --git a/PlayFabSDK/PlayFab/PlayFabExperimentationApi.lua b/PlayFabSDK/PlayFab/PlayFabExperimentationApi.lua index fc12529e..839e4a9c 100644 --- a/PlayFabSDK/PlayFab/PlayFabExperimentationApi.lua +++ b/PlayFabSDK/PlayFab/PlayFabExperimentationApi.lua @@ -12,6 +12,15 @@ local PlayFabExperimentationApi = { settings = PlayFabSettings.settings } +-- Creates a new experiment exclusion group for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup#createexclusiongrouprequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup#createexclusiongroupresult +function PlayFabExperimentationApi.CreateExclusionGroup(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/CreateExclusionGroup", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Creates a new experiment for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment#createexperimentrequest @@ -21,6 +30,15 @@ function PlayFabExperimentationApi.CreateExperiment(request, onSuccess, onError) IPlayFabHttps.MakePlayFabApiCall("/Experimentation/CreateExperiment", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) end +-- Deletes an existing exclusion group for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup#deleteexclusiongrouprequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup#emptyresponse +function PlayFabExperimentationApi.DeleteExclusionGroup(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/DeleteExclusionGroup", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Deletes an existing experiment for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment#deleteexperimentrequest @@ -30,6 +48,24 @@ function PlayFabExperimentationApi.DeleteExperiment(request, onSuccess, onError) IPlayFabHttps.MakePlayFabApiCall("/Experimentation/DeleteExperiment", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) end +-- Gets the details of all exclusion groups for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups#getexclusiongroupsrequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups#getexclusiongroupsresult +function PlayFabExperimentationApi.GetExclusionGroups(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/GetExclusionGroups", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + +-- Gets the details of all exclusion groups for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic#getexclusiongrouptrafficrequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic#getexclusiongrouptrafficresult +function PlayFabExperimentationApi.GetExclusionGroupTraffic(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/GetExclusionGroupTraffic", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Gets the details of all experiments for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments#getexperimentsrequest @@ -75,6 +111,15 @@ function PlayFabExperimentationApi.StopExperiment(request, onSuccess, onError) IPlayFabHttps.MakePlayFabApiCall("/Experimentation/StopExperiment", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) end +-- Updates an existing exclusion group for a title. +-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup +-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup#updateexclusiongrouprequest +-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup#emptyresponse +function PlayFabExperimentationApi.UpdateExclusionGroup(request, onSuccess, onError) + if (not PlayFabSettings.settings.titleId or not PlayFabSettings._internalSettings.entityToken) then error("Must call GetEntityToken first, to call this method") end + IPlayFabHttps.MakePlayFabApiCall("/Experimentation/UpdateExclusionGroup", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError) +end + -- Updates an existing experiment for a title. -- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment -- Request Documentation: https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment#updateexperimentrequest diff --git a/PlayFabSDK/PlayFab/PlayFabSettings.lua b/PlayFabSDK/PlayFab/PlayFabSettings.lua index 6c37ca22..e9f0e9a6 100644 --- a/PlayFabSDK/PlayFab/PlayFabSettings.lua +++ b/PlayFabSDK/PlayFab/PlayFabSettings.lua @@ -13,9 +13,9 @@ local PlayFabSettings = { _internalSettings = { sessionTicket = nil, - sdkVersionString = "LuaSdk_0.86.200914", - buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_0", - requestGetParams = {["sdk"] = "LuaSdk_0.86.200914"} + sdkVersionString = "LuaSdk_0.88.201014", + buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1", + requestGetParams = {["sdk"] = "LuaSdk_0.88.201014"} }, settings = { productionUrl = ".playfabapi.com", diff --git a/PlayFabServerSDK/PlayFab/PlayFabSettings.lua b/PlayFabServerSDK/PlayFab/PlayFabSettings.lua index e17d83d8..269805f8 100644 --- a/PlayFabServerSDK/PlayFab/PlayFabSettings.lua +++ b/PlayFabServerSDK/PlayFab/PlayFabSettings.lua @@ -13,9 +13,9 @@ local PlayFabSettings = { _internalSettings = { sessionTicket = nil, - sdkVersionString = "LuaSdk_0.86.200914", - buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_0", - requestGetParams = {["sdk"] = "LuaSdk_0.86.200914"} + sdkVersionString = "LuaSdk_0.88.201014", + buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1", + requestGetParams = {["sdk"] = "LuaSdk_0.88.201014"} }, settings = { productionUrl = ".playfabapi.com",