Browse Source

Fix iOS GameCenter interface docs

Supersedes and closes #2383.
Rémi Verschelde 6 năm trước cách đây
mục cha
commit
501e3e44f4

+ 9 - 7
tutorials/platform/services_for_ios.rst

@@ -61,7 +61,7 @@ The pending event interface consists of two methods:
 Store Kit
 Store Kit
 ---------
 ---------
 
 
-Implemented in platform/iphone/in_app_store.mm
+Implemented in ``platform/iphone/in_app_store.mm``.
 
 
 The Store Kit API is accessible through the "InAppStore" singleton (will
 The Store Kit API is accessible through the "InAppStore" singleton (will
 always be available from gdscript). It is initialized automatically. It
 always be available from gdscript). It is initialized automatically. It
@@ -173,17 +173,19 @@ The response events will be dictionaries with the following fields:
 Game Center
 Game Center
 -----------
 -----------
 
 
-Implemented in platform/iphone/game_center.mm
+Implemented in ``platform/iphone/game_center.mm``.
 
 
 The Game Center API is available through the "GameCenter" singleton. It
 The Game Center API is available through the "GameCenter" singleton. It
-has 6 methods:
+has 8 methods:
 
 
+-  ``bool is_authenticated();``
 -  ``Error post_score(Variant p_score);``
 -  ``Error post_score(Variant p_score);``
--  ``Erroraward_achievement(Variant p_params);``
--  ``Error reset_achievements();``
--  ``Error request_achievements();``
--  ``Error request_achievement_descriptions();``
+-  ``Error award_achievement(Variant p_params);``
+-  ``void reset_achievements();``
+-  ``void request_achievements();``
+-  ``void request_achievement_descriptions();``
 -  ``Error show_game_center(Variant p_params);``
 -  ``Error show_game_center(Variant p_params);``
+-  ``Error request_identity_verification_signature();``
 
 
 plus the standard pending event interface.
 plus the standard pending event interface.