谷歌玩游戏实时多人如何获得quickmatch球员的名字? [英] google play game realtime multiplayer how to get quickmatch player's name?
问题描述
我正在尝试使用google API来制作我的实时多人游戏。我注意到,每次玩家使用随机匹配选项玩对方时,他们的ID都与他们的实际Google ID不同......
是否有方法可以随机匹配来检索其实际的Google ID,而不是使用这些奇怪的ID?
至于我发现你不能自动匹配。 b
$ b
自 - https://developers.google .com / games / services / android / realtimeMultiplayer#quick_game_option
然而,为了保持匿名性,自动匹配只会有参与者ID(而不是玩家ID)。
然而,如果您将个人名称发送给其他人设备作为消息 - 这可能是一个选项
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?
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
这篇关于谷歌玩游戏实时多人如何获得quickmatch球员的名字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!