Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201014
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Oct 14, 2020
2 parents 8c13e60 + 7b372fa commit 38fa50f
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 9 deletions.
Binary file modified Defold/PlayFabClientSdk.zip
Binary file not shown.
Binary file modified Defold/PlayFabClientTestExample.zip
Binary file not shown.
Binary file modified Defold/PlayFabComboSdk.zip
Binary file not shown.
Binary file modified Defold/PlayFabServerSdk.zip
Binary file not shown.
45 changes: 45 additions & 0 deletions PlayFabClientSDK/PlayFab/PlayFabExperimentationApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions PlayFabClientSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
45 changes: 45 additions & 0 deletions PlayFabSDK/PlayFab/PlayFabExperimentationApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions PlayFabSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions PlayFabServerSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 38fa50f

Please sign in to comment.