google play game realtime multiplayer how to get q

2019-07-01 11:07发布

i am trying to use google API to make my realtime multiplayer game. I noticed that everytime the players play with each other using the "random match" option, their IDs are different from their actual google IDs... Is there a way to retrieve their actual google IDs on random match and to not use these strange IDs?

1条回答
劫难
2楼-- · 2019-07-01 12:04

As far as I have found you can't for auto-match.

From - https://developers.google.com/games/services/android/realtimeMultiplayer#quick_game_option

However, to preserve anonymity, players who joined the room via auto-match will only have a participant ID (and not a player ID).

However if you sent the persons name to the other device as a message - That could be an option

查看更多
登录 后发表回答