且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

保存数据的Andr​​oid游戏云

更新时间:2023-02-02 19:21:50

据我所知,谷歌保存的游戏(快照)可以用来实现自己的目标。我认为,如果你让他用code(例如获得来自谷歌prefab意向快照结果的快照),用户只能对其进行管理,也有方法来获取按标签的单个快照(字符串)对于单个用户(GoogleApiClient连接)。除了谷歌建议您使用快照用于此目的,而不是使用云另存为是在此之上的链接(黄框,说:重要)

As far as I know, Google Saved Games(Snapshots) can be used to accomplish your goals. I think user can only manage it if you let him by code(for example getting the snapshot from the result of the Google prefab Intent for snapshots), there are methods to get a single snapshot by tag(String), for a single user (GoogleApiClient connection). Besides Google suggest you to use Snapshots for this purpose instead of using Cloud Save as is said on the top of this link (yellow box where says: important!)

另外有一种方法如何处理可能的多设备接入的冲突。

Also There's a way how to handle a possible multi-device access conflict.

希望它能帮助