Skip to main content

Basic Settings

To prevent duplicate account usage, the application begins checking for duplicate account status. When a duplicate account usage event occurs, subsequent actions such as account logout must be handled directly by the developer.

Call Information

ChectAliveStart(int time);

Call Details

ParameterDescriptionType
timeCheck interval
Default: 300 seconds
Integer

Source Code

using PlayNANOO;

public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;

void Start()
{
plugin = Plugin.GetInstance();
plugin.AccountManagerV20240401.CheckAliveStart(300);
}

void Update()
{
plugin.AccountManagerV20240401.CheckDuplicate(OnCheckAccountDuplicate);
}

void OnCheckAccountDuplicate(bool isDuplicate)
{
if (isDuplicate)
{
Debug.LogError("Duplicate connection has been detected.");
}
}
}