Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过 Gamesparks 保存了我的朋友姓名和 playerId 列表。我想知道他们是否在线/离线。我可以使用他们各自的 playerIds 来做到这一点吗?
要使用他们的 ID 查找玩家的在线状态:
Spark.loadPlayer(myPlayerID).isOnline()
SparkPlayer文件
SparkPlayer