From f3d2868fc5d7d5cf17eb8f7b6348d7f4823d3049 Mon Sep 17 00:00:00 2001 From: Constantin Date: Fri, 28 Aug 2020 19:00:06 +0300 Subject: [PATCH] Add player info functionality --- .idea/codeStyles/Project.xml | 9 +++ .idea/jarRepositories.xml | 25 +++++++ .idea/misc.xml | 4 ++ README.md | 38 +++++++++- app/build.gradle | 5 +- .../godot/gpgs/PlayGameServicesGodot.kt | 29 +++++++- .../gpgs/accountinfo/PlayerInfoController.kt | 66 ++++++++++++++++++ .../gpgs/accountinfo/PlayerInfoListener.kt | 6 ++ .../io/cgisca/godot/gpgs/model/PlayerInfo.kt | 28 ++++++++ .../io/cgisca/godot/gpgs/model/PlayerStats.kt | 12 ++++ .../godot/gpgs/stats/PlayerStatsController.kt | 26 ++++--- build.gradle | 2 +- demo/Main.gd | 18 ++++- .../plugins/GodotPlayGamesServices.gdap | 2 +- .../GodotPlayGamesServices.release.aar | Bin 67501 -> 79013 bytes 15 files changed, 247 insertions(+), 23 deletions(-) create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml create mode 100644 app/src/main/java/io/cgisca/godot/gpgs/accountinfo/PlayerInfoController.kt create mode 100644 app/src/main/java/io/cgisca/godot/gpgs/accountinfo/PlayerInfoListener.kt create mode 100644 app/src/main/java/io/cgisca/godot/gpgs/model/PlayerInfo.kt create mode 100644 app/src/main/java/io/cgisca/godot/gpgs/model/PlayerStats.kt diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f9bd542..f16e3c1 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -4,6 +4,15 @@ +