Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200629
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Jun 29, 2020
2 parents 8b4ed8d + 6066325 commit 2f8782a
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

package com.playfab.ClientModels
{
public class LinkNintendoAccountRequest
public class LinkNintendoServiceAccountRequest
{
public var ForceLink:*;
public var IdentityToken:String;

public function LinkNintendoAccountRequest(data:Object=null)
public function LinkNintendoServiceAccountRequest(data:Object=null)
{
if(data == null)
return;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package com.playfab.ClientModels
{
public class LoginWithNintendoAccountRequest
public class LoginWithNintendoServiceAccountRequest
{
public var CreateAccount:*;
public var EncryptedRequest:String;
Expand All @@ -10,7 +10,7 @@ package com.playfab.ClientModels
public var PlayerSecret:String;
public var TitleId:String;

public function LoginWithNintendoAccountRequest(data:Object=null)
public function LoginWithNintendoServiceAccountRequest(data:Object=null)
{
if(data == null)
return;
Expand Down
14 changes: 0 additions & 14 deletions PfApiTest/com/playfab/ClientModels/UnlinkNintendoAccountRequest.as

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

package com.playfab.ClientModels
{
public class UnlinkNintendoServiceAccountRequest
{

public function UnlinkNintendoServiceAccountRequest(data:Object=null)
{
if(data == null)
return;

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ package com.playfab.ClientModels
{
public class UnlinkXboxAccountRequest
{
// Deprecated
public var XboxToken:String;

public function UnlinkXboxAccountRequest(data:Object=null)
{
if(data == null)
return;
XboxToken = data.XboxToken;

}
}
Expand Down
12 changes: 6 additions & 6 deletions PfApiTest/com/playfab/PlayFabClientAPI.as
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,7 @@ package com.playfab
PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/LinkKongregate"), requetJson, "X-Authorization", PlayFabSettings.ClientSessionTicket, onPostComplete);
}

public static function LinkNintendoAccount(request:LinkNintendoAccountRequest, onComplete:Function, onError:Function):void
public static function LinkNintendoServiceAccount(request:LinkNintendoServiceAccountRequest, onComplete:Function, onError:Function):void
{
if (PlayFabSettings.ClientSessionTicket == null) throw new Error("Must be logged in to call this method");
var requetJson:String = JSON.stringify( request );
Expand All @@ -2109,7 +2109,7 @@ package com.playfab
}
}

PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/LinkNintendoAccount"), requetJson, "X-Authorization", PlayFabSettings.ClientSessionTicket, onPostComplete);
PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/LinkNintendoServiceAccount"), requetJson, "X-Authorization", PlayFabSettings.ClientSessionTicket, onPostComplete);
}

public static function LinkNintendoSwitchDeviceId(request:LinkNintendoSwitchDeviceIdRequest, onComplete:Function, onError:Function):void
Expand Down Expand Up @@ -2594,7 +2594,7 @@ package com.playfab
PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/LoginWithKongregate"), requetJson, null, null, onPostComplete);
}

public static function LoginWithNintendoAccount(request:LoginWithNintendoAccountRequest, onComplete:Function, onError:Function):void
public static function LoginWithNintendoServiceAccount(request:LoginWithNintendoServiceAccountRequest, onComplete:Function, onError:Function):void
{
request.TitleId = PlayFabSettings.TitleId != null ? PlayFabSettings.TitleId : request.TitleId;
if(request.TitleId == null) throw new Error ("Must be have PlayFabSettings.TitleId set to call this method");
Expand All @@ -2621,7 +2621,7 @@ package com.playfab
}
}

PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/LoginWithNintendoAccount"), requetJson, null, null, onPostComplete);
PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/LoginWithNintendoServiceAccount"), requetJson, null, null, onPostComplete);
}

public static function LoginWithNintendoSwitchDeviceId(request:LoginWithNintendoSwitchDeviceIdRequest, onComplete:Function, onError:Function):void
Expand Down Expand Up @@ -3729,7 +3729,7 @@ package com.playfab
PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/UnlinkKongregate"), requetJson, "X-Authorization", PlayFabSettings.ClientSessionTicket, onPostComplete);
}

public static function UnlinkNintendoAccount(request:UnlinkNintendoAccountRequest, onComplete:Function, onError:Function):void
public static function UnlinkNintendoServiceAccount(request:UnlinkNintendoServiceAccountRequest, onComplete:Function, onError:Function):void
{
if (PlayFabSettings.ClientSessionTicket == null) throw new Error("Must be logged in to call this method");
var requetJson:String = JSON.stringify( request );
Expand All @@ -3752,7 +3752,7 @@ package com.playfab
}
}

PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/UnlinkNintendoAccount"), requetJson, "X-Authorization", PlayFabSettings.ClientSessionTicket, onPostComplete);
PlayFabHTTP.post(PlayFabSettings.GetURL("/Client/UnlinkNintendoServiceAccount"), requetJson, "X-Authorization", PlayFabSettings.ClientSessionTicket, onPostComplete);
}

public static function UnlinkNintendoSwitchDeviceId(request:UnlinkNintendoSwitchDeviceIdRequest, onComplete:Function, onError:Function):void
Expand Down
4 changes: 2 additions & 2 deletions PfApiTest/com/playfab/PlayFabVersion.as
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package com.playfab
{
public class PlayFabVersion
{
public static const SdkVersion:String = "0.107.200615";
public static const BuildIdentifier:String = "jbuild_actionscriptsdk__sdk-genericslave-1_0";
public static const SdkVersion:String = "0.108.200629";
public static const BuildIdentifier:String = "jbuild_actionscriptsdk__sdk-genericslave-1_2";

public static function getVersionString():String
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ package com.playfab.ServerModels
public class UnlinkXboxAccountRequest
{
public var PlayFabId:String;
// Deprecated
public var XboxToken:String;

public function UnlinkXboxAccountRequest(data:Object=null)
{
if(data == null)
return;
PlayFabId = data.PlayFabId;
XboxToken = data.XboxToken;

}
}
Expand Down

0 comments on commit 2f8782a

Please sign in to comment.