Hello,
I'm trying to switch my game to PlayFab, but I'm stuck on one functionality that we'll need.
I want to generate a unique string ID different than the user's PlayFabId and set it as DisplayName. People later will share this ID for friend invitation purposes.
The conditions for the ID in short:
1. It should be unique
2. It should not be editable via client
3. Friend invitation should work with the field that I use.
4. If possible, I don't want to use any external services for this.
My current logic would be as follows -but it fails due to API limitation-:
1. Client -> Server: User registration with custom id.
2. Server -> Client: Success, return playfab id.
3. Client -> Server: Call cloud script to generate display name.
The implementation is generate id, try to set it as display name, if fails due to name already in use, retry again.
But It fails in 3rd step because "Server" scripts does not have access to "UpdateUserTitleDisplayName" function.
So my question is, is there any other way that I'm missing to implement this functionality? And are there any plans to bring "UpdateUserTitleDisplayName" to Server APIs?
Thanks.