Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201207
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Dec 8, 2020
1 parent b04c201 commit 2f3641a
Show file tree
Hide file tree
Showing 12 changed files with 113 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.
10 changes: 10 additions & 0 deletions PlayFabClientSDK/PlayFab/PlayFabMultiplayerApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ function PlayFabMultiplayerApi.ListBuildSummaries(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
-- access is enabled, allows game client to request list of builds with player entity token.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2#listbuildsummariesrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2#listbuildsummariesresponse
function PlayFabMultiplayerApi.ListBuildSummariesV2(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("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Lists multiplayer server game certificates for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listcertificatesummaries
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listcertificatesummaries#listcertificatesummariesrequest
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.89.201027",
buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.89.201027"}
sdkVersionString = "LuaSdk_0.90.201207",
buildIdentifier = "jbuild_luasdk_sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.90.201207"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down
37 changes: 37 additions & 0 deletions PlayFabSDK/PlayFab/PlayFabAdminApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,16 @@ function PlayFabAdminApi.CreatePlayerStatisticDefinition(request, onSuccess, onE
IPlayFabHttps.MakePlayFabApiCall("/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player
-- segments for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment#createsegmentrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment#createsegmentresponse
function PlayFabAdminApi.CreateSegment(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/CreateSegment", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Delete a content file from the title. When deleting a file that does not exist, it returns success.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent#deletecontentrequest
Expand Down Expand Up @@ -197,6 +207,15 @@ function PlayFabAdminApi.DeletePlayerSharedSecret(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Deletes an existing player segment and its associated action(s) for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment#deletesegmentrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment#deletesegmentsresponse
function PlayFabAdminApi.DeleteSegment(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeleteSegment", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Deletes an existing virtual item store
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore#deletestorerequest
Expand Down Expand Up @@ -458,6 +477,15 @@ function PlayFabAdminApi.GetRandomResultTables(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Get detail information of a segment and its associated definition(s) and action(s) for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments#getsegmentsrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments#getsegmentsresponse
function PlayFabAdminApi.GetSegments(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/GetSegments", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Retrieves the build details for the specified game server executable
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo#getserverbuildinforequest
Expand Down Expand Up @@ -970,6 +998,15 @@ function PlayFabAdminApi.UpdateRandomResultTables(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Updates an existing player segment and its associated definition(s) and action(s) for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment#updatesegmentrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment#updatesegmentresponse
function PlayFabAdminApi.UpdateSegment(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/UpdateSegment", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Updates an existing virtual item store with new or modified items
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems#updatestoreitemsrequest
Expand Down
10 changes: 10 additions & 0 deletions PlayFabSDK/PlayFab/PlayFabMultiplayerApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ function PlayFabMultiplayerApi.ListBuildSummaries(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
-- access is enabled, allows game client to request list of builds with player entity token.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2#listbuildsummariesrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2#listbuildsummariesresponse
function PlayFabMultiplayerApi.ListBuildSummariesV2(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("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Lists multiplayer server game certificates for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listcertificatesummaries
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listcertificatesummaries#listcertificatesummariesrequest
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.89.201027",
buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.89.201027"}
sdkVersionString = "LuaSdk_0.90.201207",
buildIdentifier = "jbuild_luasdk_sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.90.201207"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down
37 changes: 37 additions & 0 deletions PlayFabServerSDK/PlayFab/PlayFabAdminApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,16 @@ function PlayFabAdminApi.CreatePlayerStatisticDefinition(request, onSuccess, onE
IPlayFabHttps.MakePlayFabApiCall("/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player
-- segments for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment#createsegmentrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment#createsegmentresponse
function PlayFabAdminApi.CreateSegment(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/CreateSegment", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Delete a content file from the title. When deleting a file that does not exist, it returns success.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent#deletecontentrequest
Expand Down Expand Up @@ -197,6 +207,15 @@ function PlayFabAdminApi.DeletePlayerSharedSecret(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Deletes an existing player segment and its associated action(s) for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment#deletesegmentrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment#deletesegmentsresponse
function PlayFabAdminApi.DeleteSegment(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeleteSegment", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Deletes an existing virtual item store
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore#deletestorerequest
Expand Down Expand Up @@ -458,6 +477,15 @@ function PlayFabAdminApi.GetRandomResultTables(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Get detail information of a segment and its associated definition(s) and action(s) for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments#getsegmentsrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments#getsegmentsresponse
function PlayFabAdminApi.GetSegments(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/GetSegments", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Retrieves the build details for the specified game server executable
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo#getserverbuildinforequest
Expand Down Expand Up @@ -970,6 +998,15 @@ function PlayFabAdminApi.UpdateRandomResultTables(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Updates an existing player segment and its associated definition(s) and action(s) for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment#updatesegmentrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment#updatesegmentresponse
function PlayFabAdminApi.UpdateSegment(request, onSuccess, onError)
if (not PlayFabSettings.settings.titleId or not PlayFabSettings.settings.devSecretKey) then error("Must have PlayFabSettings.settings.devSecretKey set to call this method") end
IPlayFabHttps.MakePlayFabApiCall("/Admin/UpdateSegment", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Updates an existing virtual item store with new or modified items
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems#updatestoreitemsrequest
Expand Down
10 changes: 10 additions & 0 deletions PlayFabServerSDK/PlayFab/PlayFabMultiplayerApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ function PlayFabMultiplayerApi.ListBuildSummaries(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
-- access is enabled, allows game client to request list of builds with player entity token.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2#listbuildsummariesrequest
-- Response Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listbuildsummariesv2#listbuildsummariesresponse
function PlayFabMultiplayerApi.ListBuildSummariesV2(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("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", PlayFabSettings._internalSettings.entityToken, onSuccess, onError)
end

-- Lists multiplayer server game certificates for a title.
-- API Method Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listcertificatesummaries
-- Request Documentation: https://docs.microsoft.com/rest/api/playfab/multiplayerserver/multiplayerserver/listcertificatesummaries#listcertificatesummariesrequest
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.89.201027",
buildIdentifier = "jbuild_luasdk__sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.89.201027"}
sdkVersionString = "LuaSdk_0.90.201207",
buildIdentifier = "jbuild_luasdk_sdk-genericslave-2_1",
requestGetParams = {["sdk"] = "LuaSdk_0.90.201207"}
},
settings = {
productionUrl = ".playfabapi.com",
Expand Down

0 comments on commit 2f3641a

Please sign in to comment.