You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,16 @@ The main files you may want to look at would be instance.js
135
135
| Set rich presence | Set the rich presence of the local player. | Key *(string)* <br>Value *(string)* <br> |
136
136
| Set activity (synchronous) | Set the discord activity (aka Rich presence). (synchronous) | Details *(string)* <br>State *(string)* <br>Start Timestamp *(string)* <br>Large image key *(string)* <br>Large image text *(string)* <br>Small image key *(string)* <br>Small image text *(string)* <br>Tag *(string)* <br> |
137
137
| Set activity | Set the discord activity (aka Rich presence). | Details *(string)* <br>State *(string)* <br>Start Timestamp *(string)* <br>Large image key *(string)* <br>Large image text *(string)* <br>Small image key *(string)* <br>Small image text *(string)* <br> |
138
+
| Upload score (synchronous) | Upload a score to a leaderboard (synchronous) | Leaderboard *(string)* <br>Score *(number)* <br>Upload type *(combo)* <br>Tag *(string)* <br> |
139
+
| Upload score | Upload a score to a leaderboard | Leaderboard *(string)* <br>Score *(number)* <br>Upload type *(combo)* <br> |
140
+
| Upload score with metadata (synchronous) | Upload a score to a leaderboard with metadata (synchronous) | Leaderboard *(string)* <br>Score *(number)* <br>Metadata *(object)* <br>Upload type *(combo)* <br>Tag *(string)* <br> |
141
+
| Upload score with metadata | Upload a score to a leaderboard with metadata | Leaderboard *(string)* <br>Score *(number)* <br>Metadata *(object)* <br>Upload type *(combo)* <br> |
142
+
| Download scores (synchronous) | Download scores from a leaderboard
143
+
When Download type is Regular, offset are absolute.
144
+
When Download type is Around the user, the offsets are the amount of entries around the user to fetch. (synchronous) | Leaderboard *(string)* <br>Download type *(combo)* <br>Start *(number)* <br>End *(number)* <br>Output *(object)* <br>Tag *(string)* <br> |
145
+
| Download scores | Download scores from a leaderboard
146
+
When Download type is Regular, offset are absolute.
147
+
When Download type is Around the user, the offsets are the amount of entries around the user to fetch. | Leaderboard *(string)* <br>Download type *(combo)* <br>Start *(number)* <br>End *(number)* <br>Output *(object)* <br> |
138
148
139
149
140
150
---
@@ -313,6 +323,18 @@ The main files you may want to look at would be instance.js
313
323
| On any "DiscordSetActivity" success | Trigger when any of the "DiscordSetActivity" are executed with success. ||
314
324
| On "DiscordSetActivity" error | Trigger when the "DiscordSetActivity" failed to execute. | Tag *(string)* <br> |
315
325
| On any "DiscordSetActivity" error | Trigger when any of the "DiscordSetActivity" failed to execute. ||
326
+
| On "LeaderboardUploadScore" success | Trigger when the "LeaderboardUploadScore" is executed with success. | Tag *(string)* <br> |
327
+
| On any "LeaderboardUploadScore" success | Trigger when any of the "LeaderboardUploadScore" are executed with success. ||
328
+
| On "LeaderboardUploadScore" error | Trigger when the "LeaderboardUploadScore" failed to execute. | Tag *(string)* <br> |
329
+
| On any "LeaderboardUploadScore" error | Trigger when any of the "LeaderboardUploadScore" failed to execute. ||
330
+
| On "LeaderboardUploadScoreWithMetadata" success | Trigger when the "LeaderboardUploadScoreWithMetadata" is executed with success. | Tag *(string)* <br> |
331
+
| On any "LeaderboardUploadScoreWithMetadata" success | Trigger when any of the "LeaderboardUploadScoreWithMetadata" are executed with success. ||
332
+
| On "LeaderboardUploadScoreWithMetadata" error | Trigger when the "LeaderboardUploadScoreWithMetadata" failed to execute. | Tag *(string)* <br> |
333
+
| On any "LeaderboardUploadScoreWithMetadata" error | Trigger when any of the "LeaderboardUploadScoreWithMetadata" failed to execute. ||
334
+
| On "LeaderboardDownloadScore" success | Trigger when the "LeaderboardDownloadScore" is executed with success. | Tag *(string)* <br> |
335
+
| On any "LeaderboardDownloadScore" success | Trigger when any of the "LeaderboardDownloadScore" are executed with success. ||
336
+
| On "LeaderboardDownloadScore" error | Trigger when the "LeaderboardDownloadScore" failed to execute. | Tag *(string)* <br> |
337
+
| On any "LeaderboardDownloadScore" error | Trigger when any of the "LeaderboardDownloadScore" failed to execute. ||
316
338
| Is engine | Return true if the engine running the app is the one selected | Engine *(combo)* <br> |
317
339
| Is full screen | Returns true if the window is in full screen mode. | State *(combo)* <br> |
318
340
| Last checked path exists | Returns true if the last checked path exists. ||
@@ -408,6 +430,12 @@ The main files you may want to look at would be instance.js
408
430
| SetRichPresenceResult | The result of the "SetRichPresence last call" | string ||
409
431
| DiscordSetActivityError | The error of the "DiscordSetActivity last call" | string ||
410
432
| DiscordSetActivityResult | The result of the "DiscordSetActivity last call" | string ||
433
+
| LeaderboardUploadScoreError | The error of the "LeaderboardUploadScore last call" | string ||
434
+
| LeaderboardUploadScoreResult | The result of the "LeaderboardUploadScore last call" | string ||
435
+
| LeaderboardUploadScoreWithMetadataError | The error of the "LeaderboardUploadScoreWithMetadata last call" | string ||
436
+
| LeaderboardUploadScoreWithMetadataResult | The result of the "LeaderboardUploadScoreWithMetadata last call" | string ||
437
+
| LeaderboardDownloadScoreError | The error of the "LeaderboardDownloadScore last call" | string ||
438
+
| LeaderboardDownloadScoreResult | The result of the "LeaderboardDownloadScore last call" | string ||
411
439
| ArgumentAt | Get the argument at the given index. | string | Index *(number)* <br> |
412
440
| ArgumentCount | Get the number of arguments. | number ||
413
441
| AppFolderURL | Return the URL of the folder of the current app. | string ||
0 commit comments