是否可以上传成就定义

is it possible to upload achievement definitions

我想在我自己的数据库中定义成就,然后将它们上传到 google play。这将使我能够更好地控制如何管理我的成就。这可能吗?我在文档中找不到任何内容。

您可以使用 Publishing API to upload Achievements and Leaderboards. There is a command line sample in https://github.com/playgameservices/management-tools/tree/master/publishing-sample

在 google play 中上传成就时,您可以使用“Play 游戏服务发布 API”。 要管理您的成就,您可以使用“OnAchievementsLoadedListener”此侦听器在加载成就数据时调用。

可能的状态码,请参考下方link:https://developers.google.com/games/services/android/api/com/google/android/gms/games/achievement/OnAchievementsLoadedListener?hl=en

这是一个演示如何管理成就的示例演示应用程序:https://github.com/playgameservices/management-tools