Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new Nakama 3 APIs. #73

Merged
merged 1 commit into from
Jul 17, 2021
Merged

Implement new Nakama 3 APIs. #73

merged 1 commit into from
Jul 17, 2021

Conversation

Faless
Copy link
Contributor

@Faless Faless commented Jun 25, 2021

Add new client API functions:

  • authenticate_apple_async
  • demote_group_users_async
  • import_steam_friends_async
  • link_apple_async
  • session_logout_async
  • session_refresh_async
  • unlink_apple_async
  • validate_purchase_apple_async
  • validate_purchase_google_async
  • validate_purchase_huawei_async

(updated):

  • authenticate_steam_async
  • link_steam_async
  • list_groups_async (extra optional parameters)

Add new socket API functions (Party APIs):

  • accept_party_member_async
  • add_matchmaker_party_async
  • close_party_async
  • create_party_async
  • join_party_async
  • leave_party_async
  • list_party_join_requests_async
  • promote_party_member
  • remove_matchmaker_party_async
  • remove_party_member_async
  • send_party_data_async

(updated)

  • MatchmakerUser to contain optional party_id

Add a test for most Party functions.

@CLAassistant
Copy link

CLAassistant commented Jun 25, 2021

CLA assistant check
All committers have signed the CLA.

# @param p_invalidate_auth - If true (default) the authentication token will be invalidated.
# @param p_invalidate_refresh_token - If true (default) the refresh token will be invalidated.
# Returns a task which represents the asynchronous operation.
func session_logout_async(p_session : NakamaSession, p_invalidate_auth : bool = true, p_invalidate_refresh : bool = true) -> NakamaAsyncResult:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to not parameterize the tokens here because if we pass false to this function then it isn't really a "logout".

@lugehorsam
Copy link
Contributor

One comment but otherwise LGTM 👍

Using swagger json from nakama v3.4.0.
@Faless Faless merged commit b6272c4 into heroiclabs:master Jul 17, 2021
@Faless Faless deleted the nakama3 branch July 17, 2021 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants