question

Chiran Janitha Ranathnga avatar image
Chiran Janitha Ranathnga asked

Is PlayFabClientAPI.IsClientLoggedIn() local call or is it communicate with online serer

analytics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

IsClientLoggedIn() is a method of the PlayFab SDK, it is not a REST API method. As the code fragment below shows, it does not communicate with the network. Fundamentally, its feature is to check whether the variable ClientSessionTicket contains a valid string.

public bool IsClientLoggedIn()
{
	return !string.IsNullOrEmpty(ClientSessionTicket);
}
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.