Skip to content

Commit

Permalink
Added missing api methods
Browse files Browse the repository at this point in the history
Fixes #42
  • Loading branch information
britzl committed Dec 2, 2021
1 parent 356512c commit f786c59
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions gpgs/api/gpgs.script_api
Expand Up @@ -717,6 +717,73 @@
type: number
desc: One of the gpgs.COLLECTION_ constants

#*****************************************************************************************************

- name: achievement_reveal
type: function
desc: Reveal achievement

parameters:
- name: achievementId
type: string

#*****************************************************************************************************
- name: achievement_unlock
type: function
desc: Unlock achievement

parameters:
- name: achievementId
type: string

#*****************************************************************************************************
- name: achievement_set
type: function
desc: Set achievement progress

parameters:
- name: achievementId
type: string

- name: steps
type: number

#*****************************************************************************************************
- name: achievement_increment
type: function
desc: Increase achievement progress

parameters:
- name: achievementId
type: string

- name: steps
type: number

#*****************************************************************************************************
- name: achievement_show
type: function
desc: Show achivements

#*****************************************************************************************************
- name: achievement_get
type: function

#*****************************************************************************************************
- name: event_increment
type: function

parameters:
- name: eventId
type: string

- name: amount
type: number

#*****************************************************************************************************
- name: event_get
type: function

#*****************************************************************************************************

- name: POPUP_POS_TOP_LEFT
Expand Down

0 comments on commit f786c59

Please sign in to comment.