Hello. Very good service, thank you.
I have a simple question, how I can check if name already taken for create account, but login with this name is possible. (Unity)
This is may code for login, it's standart:
public void Login() { var request = new LoginWithCustomIDRequest { CustomId = SystemInfo.deviceUniqueIdentifier, CreateAccount = true, InfoRequestParameters = new GetPlayerCombinedInfoRequestParams { GetPlayerProfile = true } }; PlayFabClientAPI.LoginWithCustomID (request, OnSucess, OnErrorMain); }
I think that I need to compare device ID with CustomID in account, because if I make without this, no one will be able to login with himself nickname. So, I need to find CustomID by entered nickname from all players and compare with device ID? How I can make this or maybe there is another way?