Skip to content

Commit

Permalink
https://api.playfab.com/releaseNotes/#180529
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed May 29, 2018
2 parents 7d87703 + 499a161 commit 2a34020
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 3 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.
2 changes: 1 addition & 1 deletion PlayFabClientSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
local PlayFabSettings = {
_internalSettings = {
sessionTicket = nil,
sdkVersionString = "LuaSdk_0.32.180507",
sdkVersionString = "LuaSdk_0.33.180529",
buildIdentifier = "jbuild_luasdk_0"
},
settings = {
Expand Down
27 changes: 27 additions & 0 deletions PlayFabSDK/PlayFab/PlayFabAdminApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ function PlayFabAdminApi.DeleteContent(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeleteContent", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Removes a master player account entirely from all titles and deletes all associated data
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest
-- Result Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountResult
function PlayFabAdminApi.DeleteMasterPlayerAccount(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/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Removes a user's player account from a title and deletes all associated data
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/DeletePlayer
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest
Expand Down Expand Up @@ -179,6 +188,15 @@ function PlayFabAdminApi.DeleteTitle(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeleteTitle", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Exports all associated data of a master player account
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/ExportMasterPlayerData
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataRequest
-- Result Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataResult
function PlayFabAdminApi.ExportMasterPlayerData(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/ExportMasterPlayerData", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Get information about a ActionsOnPlayersInSegment task instance.
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest
Expand Down Expand Up @@ -282,6 +300,15 @@ function PlayFabAdminApi.GetMatchmakerGameModes(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Get the list of titles that the player has played
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest
-- Result Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListResult
function PlayFabAdminApi.GetPlayedTitleList(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/GetPlayedTitleList", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Gets a player's ID from an auth token.
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest
Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
local PlayFabSettings = {
_internalSettings = {
sessionTicket = nil,
sdkVersionString = "LuaSdk_0.32.180507",
sdkVersionString = "LuaSdk_0.33.180529",
buildIdentifier = "jbuild_luasdk_0"
},
settings = {
Expand Down
27 changes: 27 additions & 0 deletions PlayFabServerSDK/PlayFab/PlayFabAdminApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ function PlayFabAdminApi.DeleteContent(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeleteContent", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Removes a master player account entirely from all titles and deletes all associated data
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest
-- Result Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountResult
function PlayFabAdminApi.DeleteMasterPlayerAccount(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/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Removes a user's player account from a title and deletes all associated data
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/DeletePlayer
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest
Expand Down Expand Up @@ -179,6 +188,15 @@ function PlayFabAdminApi.DeleteTitle(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/DeleteTitle", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Exports all associated data of a master player account
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/ExportMasterPlayerData
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataRequest
-- Result Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataResult
function PlayFabAdminApi.ExportMasterPlayerData(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/ExportMasterPlayerData", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Get information about a ActionsOnPlayersInSegment task instance.
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest
Expand Down Expand Up @@ -282,6 +300,15 @@ function PlayFabAdminApi.GetMatchmakerGameModes(request, onSuccess, onError)
IPlayFabHttps.MakePlayFabApiCall("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Get the list of titles that the player has played
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest
-- Result Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListResult
function PlayFabAdminApi.GetPlayedTitleList(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/GetPlayedTitleList", request, "X-SecretKey", PlayFabSettings.settings.devSecretKey, onSuccess, onError)
end

-- Gets a player's ID from an auth token.
-- API Method Documentation: https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken
-- Request Documentation: https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest
Expand Down
2 changes: 1 addition & 1 deletion PlayFabServerSDK/PlayFab/PlayFabSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
local PlayFabSettings = {
_internalSettings = {
sessionTicket = nil,
sdkVersionString = "LuaSdk_0.32.180507",
sdkVersionString = "LuaSdk_0.33.180529",
buildIdentifier = "jbuild_luasdk_0"
},
settings = {
Expand Down

0 comments on commit 2a34020

Please sign in to comment.