Skip to content

Commit 9910f0c

Browse files
authored
Update for v71 of the Platform SDK (#3)
1 parent f0eb449 commit 9910f0c

File tree

42 files changed

+272
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+272
-6
lines changed

.github/workflows/build-addon-on-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313
# Only used for the cache key. Increment version to force clean build.
1414
GODOT_BASE_BRANCH: main
1515
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
16-
# Meta Platform SDK v67.0.
17-
META_PLATFORM_SDK_URL: "https://securecdn.oculus.com/binaries/download/?id=6176126005844383"
16+
# Meta Platform SDK v71.0.
17+
META_PLATFORM_SDK_URL: "https://securecdn.oculus.com/binaries/download/?id=6945981485525494"
1818

1919
jobs:
2020
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ git submodule update --init --recursive
1515
Then download the [Oculus Platform SDK](https://developer.oculus.com/downloads/package/oculus-platform-sdk/) and extract
1616
it into `thirdparty/ovr_platform_sdk`, such that `thirdparty/ovr_platform_sdk/Include/OVR_Platform.h` exists.
1717

18-
We've tested with v67 of the Platform SDK.
18+
We've tested with v71 of the Platform SDK.
1919

2020
### Build the toolkit
2121

doc_classes/MetaPlatformSDK.xml

Lines changed: 75 additions & 0 deletions
Large diffs are not rendered by default.

doc_classes/MetaPlatformSDK_AchievementUpdate.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
</tutorials>
1111
<members>
1212
<member name="just_unlocked" type="bool" setter="" getter="get_just_unlocked" default="false">
13+
This indicates if this update caused the achievement to unlock.
1314
</member>
1415
<member name="name" type="String" setter="" getter="get_name" default="&quot;&quot;">
16+
The unique name used to reference the updated achievement, as specified in the developer dashboard.
1517
</member>
1618
</members>
1719
</class>

doc_classes/MetaPlatformSDK_ApplicationInvite.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@
1313
This may be [code]null[/code], which indicates that the value is not present or that the curent app or user is not permitted to access it.
1414
</member>
1515
<member name="id" type="int" setter="" getter="get_id" default="0">
16+
The ID of the application invite.
1617
</member>
1718
<member name="is_active" type="bool" setter="" getter="get_is_active" default="false">
19+
A boolean value indicating whether the invite is still active or not.
1820
</member>
1921
<member name="lobby_session_id" type="String" setter="" getter="get_lobby_session_id" default="&quot;&quot;">
22+
The lobby session id to which the recipient is invited.
2023
</member>
2124
<member name="match_session_id" type="String" setter="" getter="get_match_session_id" default="&quot;&quot;">
25+
The match session id to which the recipient is invited.
2226
</member>
2327
<member name="recipient" type="MetaPlatformSDK_User" setter="" getter="get_recipient">
2428
This may be [code]null[/code], which indicates that the value is not present or that the curent app or user is not permitted to access it.

doc_classes/MetaPlatformSDK_Challenge.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
A displayable string of the challenge's description.
1717
</member>
1818
<member name="end_date" type="int" setter="" getter="get_end_date" default="0">
19+
The timestamp when this challenge ends. You can retrieve this field from the response of the challenge creation request.
1920
</member>
2021
<member name="id" type="int" setter="" getter="get_id" default="0">
22+
The ID of the challenge. This is an unique string that the application will refer to this challenge in your app.
2123
</member>
2224
<member name="invited_users" type="MetaPlatformSDK_UserArray" setter="" getter="get_invited_users">
2325
This may be [code]null[/code], which indicates that the value is not present or that the curent app or user is not permitted to access it.
@@ -29,6 +31,7 @@
2931
This may be [code]null[/code], which indicates that the value is not present or that the curent app or user is not permitted to access it.
3032
</member>
3133
<member name="start_date" type="int" setter="" getter="get_start_date" default="0">
34+
The timestamp when this challenge begins. You can retrieve this field from the response of the challenge creation request.
3235
</member>
3336
<member name="title" type="String" setter="" getter="get_title" default="&quot;&quot;">
3437
A displayable string of the challenge's title.

doc_classes/MetaPlatformSDK_ChallengeEntry.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,27 @@
1010
</tutorials>
1111
<members>
1212
<member name="display_score" type="String" setter="" getter="get_display_score" default="&quot;&quot;">
13+
A displayable score for this challenge entry. The score is formatted with thousands separators and the relevant units are appended based on the associated leaderboard's score type.
1314
</member>
1415
<member name="extra_data" type="String" setter="" getter="get_extra_data" default="&quot;&quot;">
16+
A 2KB custom data field that is associated with the challenge entry.
1517
</member>
1618
<member name="extra_data_length" type="int" setter="" getter="get_extra_data_length" default="0">
1719
</member>
1820
<member name="id" type="int" setter="" getter="get_id" default="0">
21+
The unique identifier of this challenge entry which can be used by [method MetaPlatformSDK.challenges_get_entries_by_ids_async] and [method MetaPlatformSDK.challenges_get_entries_async].
1922
</member>
2023
<member name="rank" type="int" setter="" getter="get_rank" default="0">
24+
Challenges can be ranked by highest or lowest scores within a time period. This indicates the position of this challenge entry.
2125
</member>
2226
<member name="score" type="int" setter="" getter="get_score" default="0">
27+
The raw underlying value of the challenge entry score. It is a type of string that is returned by a long integer.
2328
</member>
2429
<member name="timestamp" type="int" setter="" getter="get_timestamp" default="0">
30+
The timestamp of the creation of this entry in the challenge.
2531
</member>
2632
<member name="user" type="MetaPlatformSDK_User" setter="" getter="get_user">
33+
The user corresponding to this entry within the challenge.
2734
</member>
2835
</members>
2936
</class>

doc_classes/MetaPlatformSDK_ChallengeOptions.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,35 @@
1313
<return type="void" />
1414
<param index="0" name="value" type="String" />
1515
<description>
16+
The description of the challenge is a detailed and informative text that provides a comprehensive overview of the challenge's objectives, rules, and requirements.
1617
</description>
1718
</method>
1819
<method name="set_end_date">
1920
<return type="void" />
2021
<param index="0" name="value" type="int" />
2122
<description>
23+
The challenge end date is the timestamp when this challenge ends.
2224
</description>
2325
</method>
2426
<method name="set_include_active_challenges">
2527
<return type="void" />
2628
<param index="0" name="value" type="bool" />
2729
<description>
30+
This option indicates whether to include challenges that are currently active in the search results. By default, this is set to true, meaning that only active challenges will be returned.
2831
</description>
2932
</method>
3033
<method name="set_include_future_challenges">
3134
<return type="void" />
3235
<param index="0" name="value" type="bool" />
3336
<description>
37+
This option indicates whether to include challenges that have not yet started in the search results. By default, this is set to false, meaning that only active will be returned.
3438
</description>
3539
</method>
3640
<method name="set_include_past_challenges">
3741
<return type="void" />
3842
<param index="0" name="value" type="bool" />
3943
<description>
44+
This option indicates whether to include challenges that have already ended in the search results. By default, this is set to false, meaning that only active will be returned.
4045
</description>
4146
</method>
4247
<method name="set_leaderboard_name">
@@ -50,24 +55,29 @@
5055
<return type="void" />
5156
<param index="0" name="value" type="int" />
5257
<description>
58+
The challenge start date is the timestamp when this challenge begins.
5359
</description>
5460
</method>
5561
<method name="set_title">
5662
<return type="void" />
5763
<param index="0" name="value" type="String" />
5864
<description>
65+
The title of the challenge is a descriptive label that provides a concise summary of the challenge's purpose and objectives.
5966
</description>
6067
</method>
6168
<method name="set_viewer_filter">
6269
<return type="void" />
6370
<param index="0" name="value" type="int" enum="MetaPlatformSDK.ChallengeViewerFilter" />
6471
<description>
72+
An enum that specifies what filter to apply to the list of returned challenges.
73+
Returns all public and invite-only challenges in which the user is a participant or invitee. Excludes private challenges.
6574
</description>
6675
</method>
6776
<method name="set_visibility">
6877
<return type="void" />
6978
<param index="0" name="value" type="int" enum="MetaPlatformSDK.ChallengeVisibility" />
7079
<description>
80+
The challenge visibility setting specifies who can see and participate in this challenge.
7181
</description>
7282
</method>
7383
</methods>

doc_classes/MetaPlatformSDK_DataStore.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,27 @@
1313
<return type="int" />
1414
<param index="0" name="key" type="String" />
1515
<description>
16+
It's a method that takes a string key as a parameter and returns a boolean value indicating whether the key exists in the data store.
1617
</description>
1718
</method>
1819
<method name="get_key" qualifiers="const">
1920
<return type="String" />
2021
<param index="0" name="index" type="int" />
2122
<description>
23+
It's a string that represents a single key in the data store. It allows you to retrieve a specific key from the data store by its index
2224
</description>
2325
</method>
2426
<method name="get_value" qualifiers="const">
2527
<return type="String" />
2628
<param index="0" name="key" type="String" />
2729
<description>
30+
It's a generic field that can hold any type of data. It allows you to store and retrieve data using a string key, and it can be used to store a variety of data types
2831
</description>
2932
</method>
3033
</methods>
3134
<members>
3235
<member name="num_keys" type="int" setter="" getter="get_num_keys" default="0">
36+
It's an integer that represents the number of keys in the data store.
3337
</member>
3438
</members>
3539
</class>

doc_classes/MetaPlatformSDK_Destination.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
The information that will be in [member MetaPlatformSDK_LaunchDetails.deeplink_message] when a user enters via deeplink. Alternatively will be in [member MetaPlatformSDK_User.presence_deeplink_message] if the rich presence is set for the user.
1717
</member>
1818
<member name="display_name" type="String" setter="" getter="get_display_name" default="&quot;&quot;">
19+
A displayable string of the destination name.
1920
</member>
2021
<member name="shareable_uri" type="String" setter="" getter="get_shareable_uri" default="&quot;&quot;">
2122
A URL that allows the user to deeplink directly to this destination.

0 commit comments

Comments
 (0)