Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201027
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Nov 4, 2020
2 parents 38fa50f + b04c201 commit debf043
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 6 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.
9 changes: 9 additions & 0 deletions PlayFabClientSDK/PlayFab/PlayFabClientApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ function PlayFabClientApi.ConsumeItem(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Client/ConsumeItem", request, "X-Authorization", PlayFabSettings._internalSettings.sessionTicket, onSuccess, onError)
end

-- Grants the player's current entitlements from Microsoft Store's Collection API
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements#consumemicrosoftstoreentitlementsrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements#consumemicrosoftstoreentitlementsresponse
function PlayFabClientApi.ConsumeMicrosoftStoreEntitlements(request, onSuccess, onError)
if (not PlayFabClientApi.IsClientLoggedIn()) then error("Must be logged in to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", PlayFabSettings._internalSettings.sessionTicket, onSuccess, onError)
end

-- Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements#consumepsnentitlementsrequest
Expand Down
4 changes: 2 additions & 2 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.88.201014",
sdkVersionString = "LuaSdk_0.89.201027",
buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.88.201014"}
requestGetParams = {["sdk"] = "LuaSdk_0.89.201027"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down
9 changes: 9 additions & 0 deletions PlayFabSDK/PlayFab/PlayFabClientApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ function PlayFabClientApi.ConsumeItem(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Client/ConsumeItem", request, "X-Authorization", PlayFabSettings._internalSettings.sessionTicket, onSuccess, onError)
end

-- Grants the player's current entitlements from Microsoft Store's Collection API
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements#consumemicrosoftstoreentitlementsrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements#consumemicrosoftstoreentitlementsresponse
function PlayFabClientApi.ConsumeMicrosoftStoreEntitlements(request, onSuccess, onError)
if (not PlayFabClientApi.IsClientLoggedIn()) then error("Must be logged in to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", PlayFabSettings._internalSettings.sessionTicket, onSuccess, onError)
end

-- Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements#consumepsnentitlementsrequest
Expand Down
4 changes: 2 additions & 2 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.88.201014",
sdkVersionString = "LuaSdk_0.89.201027",
buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.88.201014"}
requestGetParams = {["sdk"] = "LuaSdk_0.89.201027"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down
4 changes: 2 additions & 2 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.88.201014",
sdkVersionString = "LuaSdk_0.89.201027",
buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.88.201014"}
requestGetParams = {["sdk"] = "LuaSdk_0.89.201027"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down

0 comments on commit debf043

Please sign in to comment.