Skip to content

Commit

Permalink
Merge pull request #12 from defold/documentation_fixes
Browse files Browse the repository at this point in the history
Documentation fixes
  • Loading branch information
AGulev committed Jan 5, 2020
2 parents cd7dc60 + c90bae8 commit 4ab4b64
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
7 changes: 3 additions & 4 deletions docs/_data/api.yml
Expand Up @@ -120,8 +120,7 @@

- name: get_server_auth_code
type: function
desc: Get the current GPGS player id token. Available only if "gpgs.client_id" is configured in game.project
and "gpgs.request_server_auth_code = 1".
desc: Returns a one-time server auth code to send to your web server which can be exchanged for access token

returns:
- name: server_auth_code
Expand Down Expand Up @@ -342,7 +341,7 @@

- name: snapshot_open
type: function
desc: Provides a default saved games selection user interface.
desc: Opens a snapshot with the given `saveName`. If `createIfNotFound` is set to `true`, the specified snapshot will be created if it does not already exist.

parameters:
- name: saveName
Expand Down Expand Up @@ -460,7 +459,7 @@

- name: snapshot_set_data
type: function
desc: Returns the currently opened snapshot data.
desc: Sets the data for the currently opened snapshot.

returns:
- name: bytes
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Expand Up @@ -22,9 +22,9 @@ The extension has the following dependencies:
https://github.com/defold/android-base-extensions/releases/download/1.0.0/support-v4-27.0.2.zip

## Google App Setup
In order to use Google Play Game Services your application needs to be added to the Google Play store. It doesn't have to be published but it must be registered. Read more about how to sign up for and use the Google Play store in [https://support.google.com/googleplay/android-developer/answer/6112435](the official documentation).
In order to use Google Play Game Services your application needs to be added to the Google Play store. It doesn't have to be published but it must be registered. Read more about how to sign up for and use the Google Play store in [the official documentation](https://support.google.com/googleplay/android-developer/answer/6112435).

Once the application is registered you also need to enable Google Play Game Services for the application. Follow the official documentation to [https://developers.google.com/games/services/console/enabling](enable Google Play Game Services).
Once the application is registered you also need to enable Google Play Game Services for the application. Follow the official documentation to [enable Google Play Game Services](https://developers.google.com/games/services/console/enabling).

## Defold Setup

Expand Down
7 changes: 3 additions & 4 deletions gpgs/api/gpg.script_api
Expand Up @@ -120,8 +120,7 @@

- name: get_server_auth_code
type: function
desc: Get the current GPGS player id token. Available only if "gpgs.client_id" is configured in game.project
and "gpgs.request_server_auth_code = 1".
desc: Returns a one-time server auth code to send to your web server which can be exchanged for access token

returns:
- name: server_auth_code
Expand Down Expand Up @@ -342,7 +341,7 @@

- name: snapshot_open
type: function
desc: Provides a default saved games selection user interface.
desc: Opens a snapshot with the given `saveName`. If `createIfNotFound` is set to `true`, the specified snapshot will be created if it does not already exist.

parameters:
- name: saveName
Expand Down Expand Up @@ -460,7 +459,7 @@

- name: snapshot_set_data
type: function
desc: Returns the currently opened snapshot data.
desc: Sets the data for the currently opened snapshot.

returns:
- name: bytes
Expand Down

0 comments on commit 4ab4b64

Please sign in to comment.