Skip to content

Commit 17ac7df

Browse files
committed
add identify_google_play_games() api
1 parent 01fd986 commit 17ac7df

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Talo is the easiest way to add leaderboards, player authentication, peer-to-peer
1919
- 💬 [Game channels](https://trytalo.com/channels): Send real-time messages between players subscribed to specific topics.
2020
- ⚙️ [Live config](https://trytalo.com/live-config): Update game settings from the web with zero downtime.
2121
- 🔧 [Steamworks integration](https://trytalo.com/steamworks-integration): Hook into Steamworks for authentication and ownership checks.
22+
- ▶️ [Google Play Games integration](https://trytalo.com/google-play-games-integration): Use Google Play to authenticate players.
2223
- 🗣️ [Game feedback](https://trytalo.com/feedback): Collect and manage feedback from your players.
2324
- 🛡️ [Continuity](https://trytalo.com/continuity): Keep your data in-sync even when your players are offline.
2425
- 🔔 [Player presence](https://trytalo.com/players#presence): See if players are online and set custom statuses.

addons/talo/apis/players_api.gd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ func identify_steam(ticket: String, identity: String = "") -> TaloPlayer:
6363
else:
6464
return await identify("steam", "%s:%s" % [identity, ticket])
6565

66+
## Identify a player using a Google Play Games auth code.
67+
func identify_google_play_games(auth_code: String) -> TaloPlayer:
68+
return await identify("google_play_games", auth_code)
69+
6670
## Queue a debounced update to the current player. The timer will reset every time this method is called.
6771
func debounce_update() -> void:
6872
_update_timer.debounce()

0 commit comments

Comments
 (0)