Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220328
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Mar 28, 2022
2 parents bfe0d08 + 12a938f commit 502ede2
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 9 deletions.
18 changes: 18 additions & 0 deletions PlayFabClientSDK/PlayFab/PlayFabMultiplayerApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,15 @@ function PlayFabMultiplayerApi.SubscribeToLobbyResource(request, onSuccess, onEr
IPlayFabHttps.MakePlayFabApiCall("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Subscribe to match resource notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource#subscribetomatchresourcerequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource#subscribetomatchresourceresult
function PlayFabMultiplayerApi.SubscribeToMatchmakingResource(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("/Match/SubscribeToMatchmakingResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Unsubscribe from lobby notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/lobby/lobby/unsubscribefromlobbyresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/lobby/lobby/unsubscribefromlobbyresource#unsubscribefromlobbyresourcerequest
Expand All @@ -659,6 +668,15 @@ function PlayFabMultiplayerApi.UnsubscribeFromLobbyResource(request, onSuccess,
IPlayFabHttps.MakePlayFabApiCall("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Unsubscribe from match resource notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource#unsubscribefrommatchresourcerequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource#unsubscribefrommatchresourceresult
function PlayFabMultiplayerApi.UnsubscribeFromMatchmakingResource(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("/Match/UnsubscribeFromMatchmakingResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Untags a container image.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/untagcontainerimage
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/untagcontainerimage#untagcontainerimagerequest
Expand Down
6 changes: 3 additions & 3 deletions PlayFabClientSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
local PlayFabSettings = {
_internalSettings = {
sessionTicket = nil,
sdkVersionString = "LuaSdk_0.117.220317",
buildIdentifier = "adobuild_luasdk_115",
requestGetParams = {["sdk"] = "LuaSdk_0.117.220317"}
sdkVersionString = "LuaSdk_0.119.220328",
buildIdentifier = "adobuild_luasdk_116",
requestGetParams = {["sdk"] = "LuaSdk_0.119.220328"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down
18 changes: 18 additions & 0 deletions PlayFabSDK/PlayFab/PlayFabMultiplayerApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,15 @@ function PlayFabMultiplayerApi.SubscribeToLobbyResource(request, onSuccess, onEr
IPlayFabHttps.MakePlayFabApiCall("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Subscribe to match resource notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource#subscribetomatchresourcerequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource#subscribetomatchresourceresult
function PlayFabMultiplayerApi.SubscribeToMatchmakingResource(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("/Match/SubscribeToMatchmakingResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Unsubscribe from lobby notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/lobby/lobby/unsubscribefromlobbyresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/lobby/lobby/unsubscribefromlobbyresource#unsubscribefromlobbyresourcerequest
Expand All @@ -659,6 +668,15 @@ function PlayFabMultiplayerApi.UnsubscribeFromLobbyResource(request, onSuccess,
IPlayFabHttps.MakePlayFabApiCall("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Unsubscribe from match resource notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource#unsubscribefrommatchresourcerequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource#unsubscribefrommatchresourceresult
function PlayFabMultiplayerApi.UnsubscribeFromMatchmakingResource(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("/Match/UnsubscribeFromMatchmakingResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Untags a container image.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/untagcontainerimage
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/untagcontainerimage#untagcontainerimagerequest
Expand Down
6 changes: 3 additions & 3 deletions PlayFabSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
local PlayFabSettings = {
_internalSettings = {
sessionTicket = nil,
sdkVersionString = "LuaSdk_0.117.220317",
buildIdentifier = "adobuild_luasdk_115",
requestGetParams = {["sdk"] = "LuaSdk_0.117.220317"}
sdkVersionString = "LuaSdk_0.119.220328",
buildIdentifier = "adobuild_luasdk_116",
requestGetParams = {["sdk"] = "LuaSdk_0.119.220328"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down
18 changes: 18 additions & 0 deletions PlayFabServerSDK/PlayFab/PlayFabMultiplayerApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,15 @@ function PlayFabMultiplayerApi.SubscribeToLobbyResource(request, onSuccess, onEr
IPlayFabHttps.MakePlayFabApiCall("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Subscribe to match resource notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource#subscribetomatchresourcerequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/subscribetomatchmakingresource#subscribetomatchresourceresult
function PlayFabMultiplayerApi.SubscribeToMatchmakingResource(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("/Match/SubscribeToMatchmakingResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Unsubscribe from lobby notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/lobby/lobby/unsubscribefromlobbyresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/lobby/lobby/unsubscribefromlobbyresource#unsubscribefromlobbyresourcerequest
Expand All @@ -659,6 +668,15 @@ function PlayFabMultiplayerApi.UnsubscribeFromLobbyResource(request, onSuccess,
IPlayFabHttps.MakePlayFabApiCall("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Unsubscribe from match resource notifications.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource#unsubscribefrommatchresourcerequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/match/matchmaking/unsubscribefrommatchmakingresource#unsubscribefrommatchresourceresult
function PlayFabMultiplayerApi.UnsubscribeFromMatchmakingResource(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("/Match/UnsubscribeFromMatchmakingResource", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Untags a container image.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/untagcontainerimage
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/untagcontainerimage#untagcontainerimagerequest
Expand Down
6 changes: 3 additions & 3 deletions PlayFabServerSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
local PlayFabSettings = {
_internalSettings = {
sessionTicket = nil,
sdkVersionString = "LuaSdk_0.117.220317",
buildIdentifier = "adobuild_luasdk_115",
requestGetParams = {["sdk"] = "LuaSdk_0.117.220317"}
sdkVersionString = "LuaSdk_0.119.220328",
buildIdentifier = "adobuild_luasdk_116",
requestGetParams = {["sdk"] = "LuaSdk_0.119.220328"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down

0 comments on commit 502ede2

Please sign in to comment.