diff --git a/src/ecom_interface.cpp b/src/ecom_interface.cpp index f79f423..40cfd5c 100644 --- a/src/ecom_interface.cpp +++ b/src/ecom_interface.cpp @@ -563,3 +563,83 @@ Dictionary IEOS::ecom_interface_copy_last_redeemed_entitlement_by_index(Ref p_options) { + CharString local_user_id = VARIANT_TO_CHARSTRING(p_options->get("local_user_id")); + + EOS_Ecom_QueryEntitlementTokenOptions options; + memset(&options, 0, sizeof(options)); + options.ApiVersion = EOS_ECOM_QUERYENTITLEMENTTOKEN_API_LATEST; + options.LocalUserId = eosg_string_to_epic_account_id(local_user_id.get_data()); + + TypedArray p_entitlement_names = p_options->get("entitlement_names"); + options.EntitlementNameCount = static_cast(p_entitlement_names.size()); + EOS_Ecom_EntitlementName *entitlementNames = nullptr; + if (options.EntitlementNameCount > 0) { + entitlementNames = (EOS_Ecom_EntitlementName *)memalloc(sizeof(EOS_Ecom_EntitlementName) * p_entitlement_names.size()); + + for (int i = 0; i < options.EntitlementNameCount; i++) { + entitlementNames[i] = VARIANT_TO_CHARSTRING(p_entitlement_names[i]).get_data(); + } + } + options.EntitlementNames = entitlementNames; + p_options->reference(); + + EOS_Ecom_QueryEntitlementToken(s_ecomInterface, &options, (void *)*p_options, [](const EOS_Ecom_QueryEntitlementTokenCallbackInfo *data) { + Dictionary ret; + ret["result_code"] = static_cast(data->ResultCode); + Ref client_data = reinterpret_cast(data->ClientData); + client_data->unreference(); + ret["client_data"] = client_data->get("client_data"); + ret["local_user_id"] = eosg_epic_account_id_to_string(data->LocalUserId); + ret["entitlement_token"] = EOSG_GET_STRING(data->EntitlementToken); + IEOS::get_singleton()->emit_signal("ecom_interface_query_entitlement_token_callback", ret); + }); +} + +void IEOS::ecom_interface_query_ownership_by_sandbox_ids(Ref p_options) { + CharString local_user_id = VARIANT_TO_CHARSTRING(p_options->get("local_user_id")); + + EOS_Ecom_QueryOwnershipBySandboxIdsOptions options; + memset(&options, 0, sizeof(options)); + options.ApiVersion = EOS_ECOM_QUERYOWNERSHIPBYSANDBOXIDSOPTIONS_API_LATEST; + options.LocalUserId = eosg_string_to_epic_account_id(local_user_id.get_data()); + + TypedArray p_sandbox_ids = p_options->get("sandbox_ids"); + options.SandboxIdsCount = static_cast(p_sandbox_ids.size()); + EOS_Ecom_SandboxId *sandbox_ids = nullptr; + if (options.SandboxIdsCount > 0) { + sandbox_ids = (EOS_Ecom_SandboxId *)memalloc(sizeof(EOS_Ecom_SandboxId) * p_sandbox_ids.size()); + for (int i = 0; i < options.SandboxIdsCount; i++) { + sandbox_ids[i] = VARIANT_TO_CHARSTRING(p_sandbox_ids[i]).get_data(); + } + } + options.SandboxIds = sandbox_ids; + p_options->reference(); + + EOS_Ecom_QueryOwnershipBySandboxIds(s_ecomInterface, &options, (void *)*p_options, [](const EOS_Ecom_QueryOwnershipBySandboxIdsCallbackInfo *data) { + Dictionary ret; + ret["result_code"] = static_cast(data->ResultCode); + Ref client_data = reinterpret_cast(data->ClientData); + client_data->unreference(); + ret["client_data"] = client_data->get("client_data"); + ret["local_user_id"] = eosg_epic_account_id_to_string(data->LocalUserId); + + Array sandbox_id_item_ownership_array = Array(); + for (int i = 0; i < data->SandboxIdItemOwnershipsCount; i++) { + Dictionary sandbox_id_item_ownership; + sandbox_id_item_ownership["sandbox_id"] = EOSG_GET_STRING(data->SandboxIdItemOwnerships[i].SandboxId); + + Array owned_catalog_item_ids_array = Array(); + for (int j = 0; j < data->SandboxIdItemOwnerships[i].OwnedCatalogItemIdsCount; j++) { + owned_catalog_item_ids_array.append(EOSG_GET_STRING(data->SandboxIdItemOwnerships[i].OwnedCatalogItemIds[j])); + } + sandbox_id_item_ownership["owned_catalog_item_ids"] = owned_catalog_item_ids_array; + + sandbox_id_item_ownership_array.append(sandbox_id_item_ownership); + } + ret["sandbox_id_item_ownership"] = sandbox_id_item_ownership_array; + + IEOS::get_singleton()->emit_signal("ecom_interface_query_ownership_by_sandbox_ids_callback", ret); + }); +} \ No newline at end of file diff --git a/src/eosg_transaction.h b/src/eosg_transaction.h index d257399..9a017bf 100644 --- a/src/eosg_transaction.h +++ b/src/eosg_transaction.h @@ -12,9 +12,9 @@ class EOSGTransaction : public RefCounted { static void _bind_methods(); public: - String get_id(); - int get_entitlement_count(); Dictionary copy_entitlement_by_index(int p_entitlement_index); + int get_entitlement_count(); + String get_id(); EOSGTransaction(){}; ~EOSGTransaction() { diff --git a/src/ieos.cpp b/src/ieos.cpp index 9a68e9e..f9bc5d8 100644 --- a/src/ieos.cpp +++ b/src/ieos.cpp @@ -6,31 +6,19 @@ using namespace godot; void IEOS::_bind_methods() { ClassDB::bind_static_method("IEOS", D_METHOD("tick"), &IEOS::tick); - IEOS_BIND_METHOD(shutdown); IEOS_BIND_METHOD(is_operation_complete); + IEOS_BIND_METHOD(shutdown); // EOS Methods - IEOS_BIND_METHOD(platform_interface_create); - IEOS_BIND_METHOD(platform_interface_get_active_country_code); - IEOS_BIND_METHOD(platform_interface_get_active_locale_code); - IEOS_BIND_METHOD(platform_interface_get_override_country_code); - IEOS_BIND_METHOD(platform_interface_get_override_locale_code); - IEOS_BIND_METHOD(platform_interface_set_override_country_code); - IEOS_BIND_METHOD(platform_interface_set_override_locale_code); - IEOS_BIND_METHOD(platform_interface_check_for_launcher_and_restart); - IEOS_BIND_METHOD(platform_interface_initialize); - IEOS_BIND_METHOD(platform_interface_get_desktop_crossplay_status_info); - IEOS_BIND_METHOD(platform_interface_set_application_status); - IEOS_BIND_METHOD(platform_interface_get_application_status); - IEOS_BIND_METHOD(platform_interface_set_network_status); - IEOS_BIND_METHOD(platform_interface_get_network_status); - IEOS_BIND_METHOD(platform_interface_release); - IEOS_BIND_METHOD(platform_interface_shutdown); - IEOS_BIND_METHOD(logging_interface_set_log_level); - IEOS_BIND_METHOD(version_interface_get_version); - IEOS_BIND_METHOD(version_interface_get_constants); - IEOS_BIND_METHOD(auth_interface_login); - IEOS_BIND_METHOD(auth_interface_logout); + IEOS_BIND_METHOD(achievements_interface_copy_achievement_definition_v2_by_achievement_id); + IEOS_BIND_METHOD(achievements_interface_copy_achievement_definition_v2_by_index); + IEOS_BIND_METHOD(achievements_interface_copy_player_achievement_by_achievement_id); + IEOS_BIND_METHOD(achievements_interface_copy_player_achievement_by_index); + IEOS_BIND_METHOD(achievements_interface_get_achievement_definition_count); + IEOS_BIND_METHOD(achievements_interface_get_player_achievement_count); + IEOS_BIND_METHOD(achievements_interface_query_definitions); + IEOS_BIND_METHOD(achievements_interface_query_player_achievements); + IEOS_BIND_METHOD(achievements_interface_unlock_achievements); IEOS_BIND_METHOD(auth_interface_copy_id_token); IEOS_BIND_METHOD(auth_interface_copy_user_auth_token); IEOS_BIND_METHOD(auth_interface_delete_persistent_auth); @@ -40,83 +28,38 @@ void IEOS::_bind_methods() { IEOS_BIND_METHOD(auth_interface_get_merged_account_by_index); IEOS_BIND_METHOD(auth_interface_get_merged_accounts_count); IEOS_BIND_METHOD(auth_interface_get_selected_account_id); + IEOS_BIND_METHOD(auth_interface_link_account); + IEOS_BIND_METHOD(auth_interface_login); + IEOS_BIND_METHOD(auth_interface_logout); IEOS_BIND_METHOD(auth_interface_query_id_token); IEOS_BIND_METHOD(auth_interface_verify_id_token); - IEOS_BIND_METHOD(auth_interface_link_account); IEOS_BIND_METHOD(auth_interface_verify_user_auth); - IEOS_BIND_METHOD(connect_interface_login); IEOS_BIND_METHOD(connect_interface_copy_id_token); IEOS_BIND_METHOD(connect_interface_copy_product_user_external_account_by_account_id); IEOS_BIND_METHOD(connect_interface_copy_product_user_external_account_by_account_type); IEOS_BIND_METHOD(connect_interface_copy_product_user_external_account_by_index); IEOS_BIND_METHOD(connect_interface_copy_product_user_info); IEOS_BIND_METHOD(connect_interface_create_device_id); - IEOS_BIND_METHOD(connect_interface_delete_device_id); IEOS_BIND_METHOD(connect_interface_create_user); + IEOS_BIND_METHOD(connect_interface_delete_device_id); IEOS_BIND_METHOD(connect_interface_get_external_account_mapping); IEOS_BIND_METHOD(connect_interface_get_logged_in_user_by_index); IEOS_BIND_METHOD(connect_interface_get_logged_in_users_count); IEOS_BIND_METHOD(connect_interface_get_login_status); IEOS_BIND_METHOD(connect_interface_get_product_user_external_account_count); - IEOS_BIND_METHOD(connect_interface_query_product_user_id_mapping); IEOS_BIND_METHOD(connect_interface_get_product_user_id_mapping); IEOS_BIND_METHOD(connect_interface_link_account); - IEOS_BIND_METHOD(connect_interface_verify_id_token); + IEOS_BIND_METHOD(connect_interface_login); + IEOS_BIND_METHOD(connect_interface_query_product_user_id_mapping); IEOS_BIND_METHOD(connect_interface_transfer_device_id_account); IEOS_BIND_METHOD(connect_interface_unlink_account); - IEOS_BIND_METHOD(achievements_interface_copy_achievement_definition_v2_by_achievement_id); - IEOS_BIND_METHOD(achievements_interface_copy_achievement_definition_v2_by_index); - IEOS_BIND_METHOD(achievements_interface_copy_player_achievement_by_achievement_id); - IEOS_BIND_METHOD(achievements_interface_copy_player_achievement_by_index); - IEOS_BIND_METHOD(achievements_interface_get_achievement_definition_count); - IEOS_BIND_METHOD(achievements_interface_query_definitions); - IEOS_BIND_METHOD(achievements_interface_get_player_achievement_count); - IEOS_BIND_METHOD(achievements_interface_query_player_achievements); - IEOS_BIND_METHOD(achievements_interface_unlock_achievements); + IEOS_BIND_METHOD(connect_interface_verify_id_token); + IEOS_BIND_METHOD(custom_invites_interface_accept_request_to_join); IEOS_BIND_METHOD(custom_invites_interface_finalize_invite); + IEOS_BIND_METHOD(custom_invites_interface_reject_request_to_join); IEOS_BIND_METHOD(custom_invites_interface_send_custom_invite); - IEOS_BIND_METHOD(custom_invites_interface_set_custom_invite); IEOS_BIND_METHOD(custom_invites_interface_send_request_to_join); - IEOS_BIND_METHOD(custom_invites_interface_accept_request_to_join); - IEOS_BIND_METHOD(custom_invites_interface_reject_request_to_join); - IEOS_BIND_METHOD(stats_interface_copy_stat_by_index); - IEOS_BIND_METHOD(stats_interface_copy_stat_by_name); - IEOS_BIND_METHOD(stats_interface_get_stats_count); - IEOS_BIND_METHOD(stats_interface_ingest_stat); - IEOS_BIND_METHOD(stats_interface_query_stats); - IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_definition_by_index); - IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_definition_by_leaderboard_id); - IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_record_by_index); - IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_record_by_user_id); - IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_user_score_by_index); - IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_user_score_by_user_id); - IEOS_BIND_METHOD(leaderboards_interface_get_leaderboard_definition_count); - IEOS_BIND_METHOD(leaderboards_interface_get_leaderboard_record_count); - IEOS_BIND_METHOD(leaderboards_interface_get_leaderboard_user_score_count); - IEOS_BIND_METHOD(leaderboards_interface_query_leaderboard_definitions); - IEOS_BIND_METHOD(leaderboards_interface_query_leaderboard_ranks); - IEOS_BIND_METHOD(leaderboards_interface_query_leaderboard_user_scores); - IEOS_BIND_METHOD(friends_interface_accept_invite); - IEOS_BIND_METHOD(friends_interface_get_friend_at_index); - IEOS_BIND_METHOD(friends_interface_get_friends_count); - IEOS_BIND_METHOD(friends_interface_get_status); - IEOS_BIND_METHOD(friends_interface_query_friends); - IEOS_BIND_METHOD(friends_interface_reject_invite); - IEOS_BIND_METHOD(friends_interface_send_invite); - IEOS_BIND_METHOD(friends_interface_get_blocked_users_count); - IEOS_BIND_METHOD(friends_interface_get_blocked_user_at_index); - IEOS_BIND_METHOD(user_info_interface_copy_external_user_info_by_account_id); - IEOS_BIND_METHOD(user_info_interface_copy_external_user_info_by_account_type); - IEOS_BIND_METHOD(user_info_interface_copy_external_user_info_by_index); - IEOS_BIND_METHOD(user_info_interface_copy_user_info); - IEOS_BIND_METHOD(user_info_interface_get_external_user_info_count); - IEOS_BIND_METHOD(user_info_interface_query_user_info); - IEOS_BIND_METHOD(user_info_interface_query_user_info_by_display_name); - IEOS_BIND_METHOD(user_info_interface_query_user_info_by_external_account); - IEOS_BIND_METHOD(user_info_interface_copy_best_display_name); - IEOS_BIND_METHOD(user_info_interface_copy_best_display_name_with_platform); - IEOS_BIND_METHOD(user_info_interface_get_local_platform_type); - + IEOS_BIND_METHOD(custom_invites_interface_set_custom_invite); IEOS_BIND_METHOD(ecom_interface_checkout); IEOS_BIND_METHOD(ecom_interface_copy_entitlement_by_id); IEOS_BIND_METHOD(ecom_interface_copy_entitlement_by_index); @@ -124,6 +67,7 @@ void IEOS::_bind_methods() { IEOS_BIND_METHOD(ecom_interface_copy_item_by_id); IEOS_BIND_METHOD(ecom_interface_copy_item_image_info_by_index); IEOS_BIND_METHOD(ecom_interface_copy_item_release_by_index); + IEOS_BIND_METHOD(ecom_interface_copy_last_redeemed_entitlement_by_index); IEOS_BIND_METHOD(ecom_interface_copy_offer_by_id); IEOS_BIND_METHOD(ecom_interface_copy_offer_by_index); IEOS_BIND_METHOD(ecom_interface_copy_offer_image_info_by_index); @@ -134,37 +78,27 @@ void IEOS::_bind_methods() { IEOS_BIND_METHOD(ecom_interface_get_entitlements_count); IEOS_BIND_METHOD(ecom_interface_get_item_image_info_count); IEOS_BIND_METHOD(ecom_interface_get_item_release_count); + IEOS_BIND_METHOD(ecom_interface_get_last_redeemed_entitlements_count); IEOS_BIND_METHOD(ecom_interface_get_offer_count); IEOS_BIND_METHOD(ecom_interface_get_offer_image_info_count); IEOS_BIND_METHOD(ecom_interface_get_offer_item_count); IEOS_BIND_METHOD(ecom_interface_get_transaction_count); + IEOS_BIND_METHOD(ecom_interface_query_entitlement_token); IEOS_BIND_METHOD(ecom_interface_query_entitlements); IEOS_BIND_METHOD(ecom_interface_query_offers); - IEOS_BIND_METHOD(ecom_interface_query_ownership); + IEOS_BIND_METHOD(ecom_interface_query_ownership_by_sandbox_ids); IEOS_BIND_METHOD(ecom_interface_query_ownership_token); + IEOS_BIND_METHOD(ecom_interface_query_ownership); IEOS_BIND_METHOD(ecom_interface_redeem_entitlements); - IEOS_BIND_METHOD(ecom_interface_get_last_redeemed_entitlements_count); - IEOS_BIND_METHOD(ecom_interface_copy_last_redeemed_entitlement_by_index); - IEOS_BIND_METHOD(ui_interface_acknowledge_event_id); - IEOS_BIND_METHOD(ui_interface_get_friends_visible); - IEOS_BIND_METHOD(ui_interface_get_notification_location_preference); - IEOS_BIND_METHOD(ui_interface_get_toggle_friends_key); - IEOS_BIND_METHOD(ui_interface_hide_friends); - IEOS_BIND_METHOD(ui_interface_is_valid_key_combination); - IEOS_BIND_METHOD(ui_interface_set_display_preference); - IEOS_BIND_METHOD(ui_interface_set_toggle_friends_key); - IEOS_BIND_METHOD(ui_interface_show_friends); - IEOS_BIND_METHOD(ui_interface_get_friends_exclusive_input); - IEOS_BIND_METHOD(ui_interface_show_block_player); - IEOS_BIND_METHOD(ui_interface_show_report_player); - IEOS_BIND_METHOD(ui_interface_pause_social_overlay); - IEOS_BIND_METHOD(ui_interface_is_social_overlay_paused); - IEOS_BIND_METHOD(ui_interface_set_toggle_friends_button); - IEOS_BIND_METHOD(ui_interface_get_toggle_friends_button); - IEOS_BIND_METHOD(ui_interface_is_valid_button_combination); - IEOS_BIND_METHOD(ui_interface_report_input_state); - IEOS_BIND_METHOD(ui_interface_pre_present); - IEOS_BIND_METHOD(ui_interface_show_native_profile); + IEOS_BIND_METHOD(friends_interface_accept_invite); + IEOS_BIND_METHOD(friends_interface_get_blocked_user_at_index); + IEOS_BIND_METHOD(friends_interface_get_blocked_users_count); + IEOS_BIND_METHOD(friends_interface_get_friend_at_index); + IEOS_BIND_METHOD(friends_interface_get_friends_count); + IEOS_BIND_METHOD(friends_interface_get_status); + IEOS_BIND_METHOD(friends_interface_query_friends); + IEOS_BIND_METHOD(friends_interface_reject_invite); + IEOS_BIND_METHOD(friends_interface_send_invite); IEOS_BIND_METHOD(kws_interface_copy_permission_by_index); IEOS_BIND_METHOD(kws_interface_create_user); IEOS_BIND_METHOD(kws_interface_get_permission_by_key); @@ -173,219 +107,267 @@ void IEOS::_bind_methods() { IEOS_BIND_METHOD(kws_interface_query_permissions); IEOS_BIND_METHOD(kws_interface_request_permissions); IEOS_BIND_METHOD(kws_interface_update_parent_email); - IEOS_BIND_METHOD(metrics_interface_begin_player_session); - IEOS_BIND_METHOD(metrics_interface_end_player_session); - IEOS_BIND_METHOD(mods_interface_copy_mod_info); - IEOS_BIND_METHOD(mods_interface_enumerate_mods); - IEOS_BIND_METHOD(mods_interface_install_mod); - IEOS_BIND_METHOD(mods_interface_uninstall_mod); - IEOS_BIND_METHOD(mods_interface_update_mod); - IEOS_BIND_METHOD(reports_interface_send_player_behavior_report); - IEOS_BIND_METHOD(progression_snapshot_interface_begin_snapshot); - IEOS_BIND_METHOD(progression_snapshot_interface_add_progression); - IEOS_BIND_METHOD(progression_snapshot_interface_submit_snapshot); - IEOS_BIND_METHOD(progression_snapshot_interface_delete_snapshot); - IEOS_BIND_METHOD(progression_snapshot_interface_end_snapshot); - IEOS_BIND_METHOD(presence_interface_copy_presence); - IEOS_BIND_METHOD(presence_interface_create_presence_modification); - IEOS_BIND_METHOD(presence_interface_get_join_info); - IEOS_BIND_METHOD(presence_interface_has_presence); - IEOS_BIND_METHOD(presence_interface_query_presence); - IEOS_BIND_METHOD(presence_interface_set_presence); + IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_definition_by_index); + IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_definition_by_leaderboard_id); + IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_record_by_index); + IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_record_by_user_id); + IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_user_score_by_index); + IEOS_BIND_METHOD(leaderboards_interface_copy_leaderboard_user_score_by_user_id); + IEOS_BIND_METHOD(leaderboards_interface_get_leaderboard_definition_count); + IEOS_BIND_METHOD(leaderboards_interface_get_leaderboard_record_count); + IEOS_BIND_METHOD(leaderboards_interface_get_leaderboard_user_score_count); + IEOS_BIND_METHOD(leaderboards_interface_query_leaderboard_definitions); + IEOS_BIND_METHOD(leaderboards_interface_query_leaderboard_ranks); + IEOS_BIND_METHOD(leaderboards_interface_query_leaderboard_user_scores); + IEOS_BIND_METHOD(lobby_interface_copy_lobby_details_by_invite_id); + IEOS_BIND_METHOD(lobby_interface_copy_lobby_details_by_ui_event_id); + IEOS_BIND_METHOD(lobby_interface_copy_lobby_details); + IEOS_BIND_METHOD(lobby_interface_create_lobby_search); IEOS_BIND_METHOD(lobby_interface_create_lobby); IEOS_BIND_METHOD(lobby_interface_destroy_lobby); - IEOS_BIND_METHOD(lobby_interface_join_lobby); - IEOS_BIND_METHOD(lobby_interface_join_lobby_by_id); - IEOS_BIND_METHOD(lobby_interface_leave_lobby); - IEOS_BIND_METHOD(lobby_interface_update_lobby_modification); - IEOS_BIND_METHOD(lobby_interface_update_lobby); - IEOS_BIND_METHOD(lobby_interface_promote_member); - IEOS_BIND_METHOD(lobby_interface_kick_member); - IEOS_BIND_METHOD(lobby_interface_hard_mute_member); - IEOS_BIND_METHOD(lobby_interface_send_invite); - IEOS_BIND_METHOD(lobby_interface_reject_invite); - IEOS_BIND_METHOD(lobby_interface_query_invites); + IEOS_BIND_METHOD(lobby_interface_get_connect_string); IEOS_BIND_METHOD(lobby_interface_get_invite_count); IEOS_BIND_METHOD(lobby_interface_get_invite_id_by_index); - IEOS_BIND_METHOD(lobby_interface_create_lobby_search); - IEOS_BIND_METHOD(lobby_interface_copy_lobby_details_by_invite_id); - IEOS_BIND_METHOD(lobby_interface_copy_lobby_details_by_ui_event_id); - IEOS_BIND_METHOD(lobby_interface_copy_lobby_details); IEOS_BIND_METHOD(lobby_interface_get_rtc_room_name); + IEOS_BIND_METHOD(lobby_interface_hard_mute_member); IEOS_BIND_METHOD(lobby_interface_is_rtc_room_connected); - IEOS_BIND_METHOD(lobby_interface_get_connect_string); + IEOS_BIND_METHOD(lobby_interface_join_lobby_by_id); + IEOS_BIND_METHOD(lobby_interface_join_lobby); + IEOS_BIND_METHOD(lobby_interface_kick_member); + IEOS_BIND_METHOD(lobby_interface_leave_lobby); IEOS_BIND_METHOD(lobby_interface_parse_connect_string); - IEOS_BIND_METHOD(p2p_query_nat_type); + IEOS_BIND_METHOD(lobby_interface_promote_member); + IEOS_BIND_METHOD(lobby_interface_query_invites); + IEOS_BIND_METHOD(lobby_interface_reject_invite); + IEOS_BIND_METHOD(lobby_interface_send_invite); + IEOS_BIND_METHOD(lobby_interface_update_lobby_modification); + IEOS_BIND_METHOD(lobby_interface_update_lobby); + IEOS_BIND_METHOD(logging_interface_set_log_level); + IEOS_BIND_METHOD(metrics_interface_begin_player_session); + IEOS_BIND_METHOD(metrics_interface_end_player_session); + IEOS_BIND_METHOD(mods_interface_copy_mod_info); + IEOS_BIND_METHOD(mods_interface_enumerate_mods); + IEOS_BIND_METHOD(mods_interface_install_mod); + IEOS_BIND_METHOD(mods_interface_uninstall_mod); + IEOS_BIND_METHOD(mods_interface_update_mod); IEOS_BIND_METHOD(p2p_get_nat_type); - IEOS_BIND_METHOD(p2p_set_relay_control); - IEOS_BIND_METHOD(p2p_get_relay_control); - IEOS_BIND_METHOD(p2p_set_port_range); + IEOS_BIND_METHOD(p2p_get_packet_queue_info); IEOS_BIND_METHOD(p2p_get_port_range); + IEOS_BIND_METHOD(p2p_get_relay_control); + IEOS_BIND_METHOD(p2p_query_nat_type); IEOS_BIND_METHOD(p2p_set_packet_queue_size); - IEOS_BIND_METHOD(p2p_get_packet_queue_info); - IEOS_BIND_METHOD(playerdatastorage_interface_query_file); - IEOS_BIND_METHOD(playerdatastorage_interface_query_file_list); - IEOS_BIND_METHOD(playerdatastorage_interface_copy_file_metadata_by_filename); - IEOS_BIND_METHOD(playerdatastorage_interface_get_file_metadata_count); + IEOS_BIND_METHOD(p2p_set_port_range); + IEOS_BIND_METHOD(p2p_set_relay_control); + IEOS_BIND_METHOD(platform_interface_check_for_launcher_and_restart); + IEOS_BIND_METHOD(platform_interface_create); + IEOS_BIND_METHOD(platform_interface_get_active_country_code); + IEOS_BIND_METHOD(platform_interface_get_active_locale_code); + IEOS_BIND_METHOD(platform_interface_get_application_status); + IEOS_BIND_METHOD(platform_interface_get_desktop_crossplay_status_info); + IEOS_BIND_METHOD(platform_interface_get_network_status); + IEOS_BIND_METHOD(platform_interface_get_override_country_code); + IEOS_BIND_METHOD(platform_interface_get_override_locale_code); + IEOS_BIND_METHOD(platform_interface_initialize); + IEOS_BIND_METHOD(platform_interface_release); + IEOS_BIND_METHOD(platform_interface_set_application_status); + IEOS_BIND_METHOD(platform_interface_set_network_status); + IEOS_BIND_METHOD(platform_interface_set_override_country_code); + IEOS_BIND_METHOD(platform_interface_set_override_locale_code); + IEOS_BIND_METHOD(platform_interface_shutdown); IEOS_BIND_METHOD(playerdatastorage_interface_copy_file_metadata_at_index); - IEOS_BIND_METHOD(playerdatastorage_interface_duplicate_file); - IEOS_BIND_METHOD(playerdatastorage_interface_delete_file); + IEOS_BIND_METHOD(playerdatastorage_interface_copy_file_metadata_by_filename); IEOS_BIND_METHOD(playerdatastorage_interface_delete_cache); + IEOS_BIND_METHOD(playerdatastorage_interface_delete_file); + IEOS_BIND_METHOD(playerdatastorage_interface_duplicate_file); + IEOS_BIND_METHOD(playerdatastorage_interface_get_file_metadata_count); + IEOS_BIND_METHOD(playerdatastorage_interface_query_file_list); + IEOS_BIND_METHOD(playerdatastorage_interface_query_file); IEOS_BIND_METHOD(playerdatastorage_interface_read_file); IEOS_BIND_METHOD(playerdatastorage_interface_write_file); - IEOS_BIND_METHOD(titlestorage_interface_query_file); - IEOS_BIND_METHOD(titlestorage_interface_query_file_list); + IEOS_BIND_METHOD(presence_interface_copy_presence); + IEOS_BIND_METHOD(presence_interface_create_presence_modification); + IEOS_BIND_METHOD(presence_interface_get_join_info); + IEOS_BIND_METHOD(presence_interface_has_presence); + IEOS_BIND_METHOD(presence_interface_query_presence); + IEOS_BIND_METHOD(presence_interface_set_presence); + IEOS_BIND_METHOD(progression_snapshot_interface_add_progression); + IEOS_BIND_METHOD(progression_snapshot_interface_begin_snapshot); + IEOS_BIND_METHOD(progression_snapshot_interface_delete_snapshot); + IEOS_BIND_METHOD(progression_snapshot_interface_end_snapshot); + IEOS_BIND_METHOD(progression_snapshot_interface_submit_snapshot); + IEOS_BIND_METHOD(reports_interface_send_player_behavior_report); + IEOS_BIND_METHOD(sanctions_interface_copy_player_sanction_by_index); + IEOS_BIND_METHOD(sanctions_interface_get_player_sanction_count); + IEOS_BIND_METHOD(sanctions_interface_query_active_player_sanctions); + IEOS_BIND_METHOD(stats_interface_copy_stat_by_index); + IEOS_BIND_METHOD(stats_interface_copy_stat_by_name); + IEOS_BIND_METHOD(stats_interface_get_stats_count); + IEOS_BIND_METHOD(stats_interface_ingest_stat); + IEOS_BIND_METHOD(stats_interface_query_stats); + IEOS_BIND_METHOD(titlestorage_interface_copy_file_metadata_at_index); IEOS_BIND_METHOD(titlestorage_interface_copy_file_metadata_by_filename); + IEOS_BIND_METHOD(titlestorage_interface_delete_cache); IEOS_BIND_METHOD(titlestorage_interface_get_file_metadata_count); - IEOS_BIND_METHOD(titlestorage_interface_copy_file_metadata_at_index); + IEOS_BIND_METHOD(titlestorage_interface_query_file_list); + IEOS_BIND_METHOD(titlestorage_interface_query_file); IEOS_BIND_METHOD(titlestorage_interface_read_file); - IEOS_BIND_METHOD(titlestorage_interface_delete_cache); - - IEOS_BIND_METHOD(sanctions_interface_query_active_player_sanctions); - IEOS_BIND_METHOD(sanctions_interface_get_player_sanction_count); - IEOS_BIND_METHOD(sanctions_interface_copy_player_sanction_by_index); - - ADD_SIGNAL(MethodInfo("logging_interface_callback", PropertyInfo(Variant::DICTIONARY, "log_message"))); + IEOS_BIND_METHOD(ui_interface_acknowledge_event_id); + IEOS_BIND_METHOD(ui_interface_get_friends_exclusive_input); + IEOS_BIND_METHOD(ui_interface_get_friends_visible); + IEOS_BIND_METHOD(ui_interface_get_notification_location_preference); + IEOS_BIND_METHOD(ui_interface_get_toggle_friends_button); + IEOS_BIND_METHOD(ui_interface_get_toggle_friends_key); + IEOS_BIND_METHOD(ui_interface_hide_friends); + IEOS_BIND_METHOD(ui_interface_is_social_overlay_paused); + IEOS_BIND_METHOD(ui_interface_is_valid_button_combination); + IEOS_BIND_METHOD(ui_interface_is_valid_key_combination); + IEOS_BIND_METHOD(ui_interface_pause_social_overlay); + IEOS_BIND_METHOD(ui_interface_pre_present); + IEOS_BIND_METHOD(ui_interface_report_input_state); + IEOS_BIND_METHOD(ui_interface_set_display_preference); + IEOS_BIND_METHOD(ui_interface_set_toggle_friends_button); + IEOS_BIND_METHOD(ui_interface_set_toggle_friends_key); + IEOS_BIND_METHOD(ui_interface_show_block_player); + IEOS_BIND_METHOD(ui_interface_show_friends); + IEOS_BIND_METHOD(ui_interface_show_native_profile); + IEOS_BIND_METHOD(ui_interface_show_report_player); + IEOS_BIND_METHOD(user_info_interface_copy_best_display_name_with_platform); + IEOS_BIND_METHOD(user_info_interface_copy_best_display_name); + IEOS_BIND_METHOD(user_info_interface_copy_external_user_info_by_account_id); + IEOS_BIND_METHOD(user_info_interface_copy_external_user_info_by_account_type); + IEOS_BIND_METHOD(user_info_interface_copy_external_user_info_by_index); + IEOS_BIND_METHOD(user_info_interface_copy_user_info); + IEOS_BIND_METHOD(user_info_interface_get_external_user_info_count); + IEOS_BIND_METHOD(user_info_interface_get_local_platform_type); + IEOS_BIND_METHOD(user_info_interface_query_user_info_by_display_name); + IEOS_BIND_METHOD(user_info_interface_query_user_info_by_external_account); + IEOS_BIND_METHOD(user_info_interface_query_user_info); + IEOS_BIND_METHOD(version_interface_get_constants); + IEOS_BIND_METHOD(version_interface_get_version); + ADD_SIGNAL(MethodInfo("achievements_interface_achievements_unlocked_v2_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("achievements_interface_query_definitions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("achievements_interface_query_player_achievements_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("achievements_interface_unlock_achievements_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("auth_interface_delete_persistent_auth_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("auth_interface_link_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("auth_interface_login_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("auth_interface_logout_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("auth_interface_login_status_changed", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("auth_interface_delete_persistent_auth_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("auth_interface_logout_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("auth_interface_query_id_token_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("auth_interface_verify_id_token_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("auth_interface_verify_user_auth_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("auth_interface_link_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("connect_interface_login_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("connect_interface_auth_expiration", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("connect_interface_login_status_changed", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("connect_interface_create_device_id_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("connect_interface_delete_device_id_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("connect_interface_create_user_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("connect_interface_query_product_user_id_mappings_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("connect_interface_delete_device_id_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("connect_interface_link_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("connect_interface_verify_id_token_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("connect_interface_login_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("connect_interface_login_status_changed", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("connect_interface_query_product_user_id_mappings_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("connect_interface_transfer_device_id_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("connect_interface_unlink_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("achievements_interface_achievements_unlocked_v2_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("achievements_interface_query_definitions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("achievements_interface_query_player_achievements_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("achievements_interface_unlock_achievements_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("custom_invites_interface_custom_invite_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("connect_interface_verify_id_token_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("custom_invites_interface_accept_request_to_join_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_custom_invite_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("custom_invites_interface_custom_invite_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_custom_invite_rejected_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("custom_invites_interface_request_to_join_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("custom_invites_interface_reject_request_to_join_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_request_to_join_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("custom_invites_interface_request_to_join_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_request_to_join_rejected_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_request_to_join_response_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_send_custom_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("custom_invites_interface_send_request_to_join_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("custom_invites_interface_accept_request_to_join_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("custom_invites_interface_reject_request_to_join_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("stats_interface_ingest_stat_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("stats_interface_query_stats_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("leaderboards_interface_query_leaderboard_definitions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("leaderboards_interface_query_leaderboard_ranks_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("leaderboards_interface_query_leaderboard_user_scores_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("friends_interface_accept_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("friends_interface_friends_update_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("friends_interface_blocked_users_update_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("friends_interface_query_friends_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("friends_interface_reject_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("friends_interface_send_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("user_info_interface_query_user_info_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("user_info_interface_query_user_info_by_display_name_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("user_info_interface_query_user_info_by_external_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ecom_interface_checkout_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ecom_interface_query_entitlement_token_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("ecom_interface_query_entitlements_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("ecom_interface_query_offers_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ecom_interface_query_ownership_by_sandbox_ids_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("ecom_interface_query_ownership_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("ecom_interface_query_ownership_token_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("ecom_interface_redeem_entitlements_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("ui_interface_display_settings_updated_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ui_interface_hide_friends_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ui_interface_show_friends_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ui_interface_show_block_player_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ui_interface_show_report_player_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ui_interface_show_native_profile_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("ui_interface_memory_monitor_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("kws_interface_permissions_update_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("friends_interface_accept_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("friends_interface_blocked_users_update_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("friends_interface_friends_update_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("friends_interface_query_friends_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("friends_interface_reject_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("friends_interface_send_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("kws_interface_create_user_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("kws_interface_permissions_update_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("kws_interface_query_age_gate_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("kws_interface_query_permissions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("kws_interface_request_permissions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("kws_interface_update_parent_email_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("mods_interface_enumerate_mods_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("mods_interface_install_mod_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("mods_interface_uninstall_mod_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("mods_interface_update_mod_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("reports_interface_send_player_behavior_report_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("progression_snapshot_interface_submit_snapshot_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("progression_snapshot_interface_delete_snapshot_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("presence_interface_join_game_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("presence_interface_presence_changed_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("presence_interface_query_presence_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("presence_interface_set_presence_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("lobby_interface_lobby_update_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_lobby_member_update_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_lobby_member_status_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_lobby_invite_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_lobby_invite_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_lobby_invite_rejected_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_join_lobby_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_send_lobby_native_invite_requested_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_rtc_room_connection_changed_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_leave_lobby_requested_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("leaderboards_interface_query_leaderboard_definitions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("leaderboards_interface_query_leaderboard_ranks_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("leaderboards_interface_query_leaderboard_user_scores_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_interface_create_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_interface_destroy_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_join_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_hard_mute_member_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_join_lobby_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_interface_join_lobby_by_id_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_join_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_kick_member_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_interface_leave_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_update_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_leave_lobby_requested_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_lobby_invite_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_lobby_invite_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_lobby_invite_rejected_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_lobby_member_status_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_lobby_member_update_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_lobby_update_received_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_interface_promote_member_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_kick_member_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_hard_mute_member_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_send_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("lobby_interface_reject_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_interface_query_invites_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_reject_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_rtc_room_connection_changed_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_send_invite_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_send_lobby_native_invite_requested_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("lobby_interface_update_lobby_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("lobby_search_find_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("p2p_query_nat_type_callback", PropertyInfo(Variant::INT, "nat_type"))); + ADD_SIGNAL(MethodInfo("logging_interface_callback", PropertyInfo(Variant::DICTIONARY, "log_message"))); + ADD_SIGNAL(MethodInfo("mods_interface_enumerate_mods_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("mods_interface_install_mod_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("mods_interface_uninstall_mod_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("mods_interface_update_mod_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("p2p_incoming_packet_queue_full", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - + ADD_SIGNAL(MethodInfo("p2p_query_nat_type_callback", PropertyInfo(Variant::INT, "nat_type"))); + ADD_SIGNAL(MethodInfo("playerdatastorage_interface_delete_cache_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("playerdatastorage_interface_delete_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("playerdatastorage_interface_duplicate_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("playerdatastorage_interface_file_transfer_progress_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("playerdatastorage_interface_query_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("playerdatastorage_interface_query_file_list_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("playerdatastorage_interface_duplicate_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("playerdatastorage_interface_delete_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("playerdatastorage_interface_delete_cache_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("playerdatastorage_interface_read_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("playerdatastorage_interface_read_file_data_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("playerdatastorage_interface_file_transfer_progress_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("playerdatastorage_interface_write_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("playerdatastorage_interface_write_file_data_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - + ADD_SIGNAL(MethodInfo("presence_interface_join_game_accepted_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("presence_interface_presence_changed_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("presence_interface_query_presence_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("presence_interface_set_presence_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("progression_snapshot_interface_delete_snapshot_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("progression_snapshot_interface_submit_snapshot_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("reports_interface_send_player_behavior_report_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("sanctions_interface_query_active_player_sanctions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("stats_interface_ingest_stat_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("stats_interface_query_stats_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("titlestorage_interface_delete_cache_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("titlestorage_interface_file_transfer_progress_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("titlestorage_interface_query_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("titlestorage_interface_query_file_list_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("titlestorage_interface_delete_cache_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("titlestorage_interface_read_file_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); ADD_SIGNAL(MethodInfo("titlestorage_interface_read_file_data_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - ADD_SIGNAL(MethodInfo("titlestorage_interface_file_transfer_progress_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); - - ADD_SIGNAL(MethodInfo("sanctions_interface_query_active_player_sanctions_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_display_settings_updated_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_hide_friends_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_memory_monitor_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_show_block_player_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_show_friends_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_show_native_profile_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("ui_interface_show_report_player_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("user_info_interface_query_user_info_by_display_name_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("user_info_interface_query_user_info_by_external_account_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); + ADD_SIGNAL(MethodInfo("user_info_interface_query_user_info_callback", PropertyInfo(Variant::DICTIONARY, "callback_data"))); } int IEOS::shutdown() { diff --git a/src/ieos.h b/src/ieos.h index 25267ac..0758b75 100644 --- a/src/ieos.h +++ b/src/ieos.h @@ -86,19 +86,19 @@ class IEOS : public RefCounted { bool platform_interface_create(Ref options); Dictionary platform_interface_get_active_country_code(const String &local_user_id); Dictionary platform_interface_get_active_locale_code(const String &local_user_id); + Dictionary platform_interface_get_desktop_crossplay_status_info(); Dictionary platform_interface_get_override_country_code(); Dictionary platform_interface_get_override_locale_code(); - int platform_interface_set_override_country_code(const String &country_code); - int platform_interface_set_override_locale_code(const String &locale_code); int platform_interface_check_for_launcher_and_restart(); + int platform_interface_get_application_status(); + int platform_interface_get_network_status(); int platform_interface_initialize(Ref options); - Dictionary platform_interface_get_desktop_crossplay_status_info(); int platform_interface_set_application_status(int status); - int platform_interface_get_application_status(); int platform_interface_set_network_status(int status); - int platform_interface_get_network_status(); - void platform_interface_release(); + int platform_interface_set_override_country_code(const String &country_code); + int platform_interface_set_override_locale_code(const String &locale_code); int platform_interface_shutdown(); + void platform_interface_release(); // ----- // Logging Interface @@ -108,51 +108,51 @@ class IEOS : public RefCounted { // ----- // Version Interface // ----- - String version_interface_get_version(); Dictionary version_interface_get_constants(); + String version_interface_get_version(); // ----- // Auth interface // ----- - void auth_interface_login(Ref options); - void auth_interface_logout(Ref options); Dictionary auth_interface_copy_id_token(Ref options); Dictionary auth_interface_copy_user_auth_token(Ref options, const String &local_user_id); - void auth_interface_delete_persistent_auth(Ref options); - String auth_interface_get_logged_in_account_by_index(int index); + Dictionary auth_interface_get_selected_account_id(const String &local_user_id); int auth_interface_get_logged_in_accounts_count(); int auth_interface_get_login_status(const String &local_user_id); - String auth_interface_get_merged_account_by_index(const String &local_user_id, int index); int auth_interface_get_merged_accounts_count(const String &local_user_id); - Dictionary auth_interface_get_selected_account_id(const String &local_user_id); + String auth_interface_get_logged_in_account_by_index(int index); + String auth_interface_get_merged_account_by_index(const String &local_user_id, int index); + void auth_interface_delete_persistent_auth(Ref options); + void auth_interface_link_account(Ref options); + void auth_interface_login(Ref options); + void auth_interface_logout(Ref options); void auth_interface_query_id_token(Ref options); void auth_interface_verify_id_token(Ref options); - void auth_interface_link_account(Ref options); void auth_interface_verify_user_auth(Ref _options); // ----- // Connect Interface // ----- - void connect_interface_login(Ref options); Dictionary connect_interface_copy_id_token(Ref options); Dictionary connect_interface_copy_product_user_external_account_by_account_id(Ref options); Dictionary connect_interface_copy_product_user_external_account_by_account_type(Ref options); Dictionary connect_interface_copy_product_user_external_account_by_index(Ref options); Dictionary connect_interface_copy_product_user_info(Ref options); - void connect_interface_create_device_id(Ref options); - void connect_interface_delete_device_id(Ref options); - void connect_interface_create_user(Ref options); - String connect_interface_get_external_account_mapping(Ref options); - String connect_interface_get_logged_in_user_by_index(int index); + Dictionary connect_interface_get_product_user_id_mapping(Ref options); int connect_interface_get_logged_in_users_count(); int connect_interface_get_login_status(const String &local_user_id); int connect_interface_get_product_user_external_account_count(Ref options); - void connect_interface_query_product_user_id_mapping(Ref options); - Dictionary connect_interface_get_product_user_id_mapping(Ref options); + String connect_interface_get_external_account_mapping(Ref options); + String connect_interface_get_logged_in_user_by_index(int index); + void connect_interface_create_device_id(Ref options); + void connect_interface_create_user(Ref options); + void connect_interface_delete_device_id(Ref options); void connect_interface_link_account(Ref options); - void connect_interface_verify_id_token(Ref options); + void connect_interface_login(Ref options); + void connect_interface_query_product_user_id_mapping(Ref options); void connect_interface_transfer_device_id_account(Ref options); void connect_interface_unlink_account(Ref options); + void connect_interface_verify_id_token(Ref options); // ----- // Achievement Interface @@ -162,8 +162,8 @@ class IEOS : public RefCounted { Dictionary achievements_interface_copy_player_achievement_by_achievement_id(Ref options); Dictionary achievements_interface_copy_player_achievement_by_index(Ref options); int achievements_interface_get_achievement_definition_count(Ref options); - void achievements_interface_query_definitions(Ref options); int achievements_interface_get_player_achievement_count(Ref options); + void achievements_interface_query_definitions(Ref options); void achievements_interface_query_player_achievements(Ref options); void achievements_interface_unlock_achievements(Ref options); @@ -171,11 +171,11 @@ class IEOS : public RefCounted { // Custom Invites Interface // ----- int custom_invites_interface_finalize_invite(Ref options); - void custom_invites_interface_send_custom_invite(Ref options); int custom_invites_interface_set_custom_invite(Ref options); - void custom_invites_interface_send_request_to_join(Ref options); void custom_invites_interface_accept_request_to_join(Ref options); void custom_invites_interface_reject_request_to_join(Ref options); + void custom_invites_interface_send_custom_invite(Ref options); + void custom_invites_interface_send_request_to_join(Ref options); // ----- // Stats Interface @@ -205,41 +205,41 @@ class IEOS : public RefCounted { // ----- // Friends Interface // ----- - void friends_interface_accept_invite(Ref options); - String friends_interface_get_friend_at_index(Ref options); + int friends_interface_get_blocked_users_count(Ref options); int friends_interface_get_friends_count(Ref options); int friends_interface_get_status(Ref options); + String friends_interface_get_blocked_user_at_index(Ref options); + String friends_interface_get_friend_at_index(Ref options); + void friends_interface_accept_invite(Ref options); void friends_interface_query_friends(Ref options); void friends_interface_reject_invite(Ref options); void friends_interface_send_invite(Ref options); - int friends_interface_get_blocked_users_count(Ref options); - String friends_interface_get_blocked_user_at_index(Ref options); // ----- // Userinfo Interface // ----- + Dictionary user_info_interface_copy_best_display_name_with_platform(Ref options); + Dictionary user_info_interface_copy_best_display_name(Ref options); Dictionary user_info_interface_copy_external_user_info_by_account_id(Ref options); Dictionary user_info_interface_copy_external_user_info_by_account_type(Ref options); Dictionary user_info_interface_copy_external_user_info_by_index(Ref options); Dictionary user_info_interface_copy_user_info(Ref options); int user_info_interface_get_external_user_info_count(Ref options); - void user_info_interface_query_user_info(Ref options); + int user_info_interface_get_local_platform_type(Ref options); void user_info_interface_query_user_info_by_display_name(Ref options); void user_info_interface_query_user_info_by_external_account(Ref options); - Dictionary user_info_interface_copy_best_display_name(Ref options); - Dictionary user_info_interface_copy_best_display_name_with_platform(Ref options); - int user_info_interface_get_local_platform_type(Ref options); + void user_info_interface_query_user_info(Ref options); // ----- // Ecom Interface // ----- - void ecom_interface_checkout(Ref options); Dictionary ecom_interface_copy_entitlement_by_id(Ref options); Dictionary ecom_interface_copy_entitlement_by_index(Ref options); Dictionary ecom_interface_copy_entitlement_by_name_and_index(Ref options); Dictionary ecom_interface_copy_item_by_id(Ref options); Dictionary ecom_interface_copy_item_image_info_by_index(Ref options); Dictionary ecom_interface_copy_item_release_by_index(Ref options); + Dictionary ecom_interface_copy_last_redeemed_entitlement_by_index(Ref options); Dictionary ecom_interface_copy_offer_by_id(Ref options); Dictionary ecom_interface_copy_offer_by_index(Ref options); Dictionary ecom_interface_copy_offer_image_info_by_index(Ref options); @@ -250,49 +250,51 @@ class IEOS : public RefCounted { int ecom_interface_get_entitlements_count(Ref options); int ecom_interface_get_item_image_info_count(Ref options); int ecom_interface_get_item_release_count(Ref options); + int ecom_interface_get_last_redeemed_entitlements_count(Ref options); int ecom_interface_get_offer_count(Ref options); int ecom_interface_get_offer_image_info_count(Ref options); int ecom_interface_get_offer_item_count(Ref options); int ecom_interface_get_transaction_count(Ref options); + void ecom_interface_checkout(Ref options); void ecom_interface_query_entitlements(Ref options); void ecom_interface_query_offers(Ref options); - void ecom_interface_query_ownership(Ref options); void ecom_interface_query_ownership_token(Ref options); + void ecom_interface_query_ownership(Ref options); void ecom_interface_redeem_entitlements(Ref options); - int ecom_interface_get_last_redeemed_entitlements_count(Ref options); - Dictionary ecom_interface_copy_last_redeemed_entitlement_by_index(Ref options); + void ecom_interface_query_entitlement_token(Ref options); + void ecom_interface_query_ownership_by_sandbox_ids(Ref options); // ----- // UI Interface // ----- - int ui_interface_acknowledge_event_id(Ref options); + bool ui_interface_get_friends_exclusive_input(Ref options); bool ui_interface_get_friends_visible(Ref options); + bool ui_interface_is_social_overlay_paused(Ref options); + bool ui_interface_is_valid_button_combination(int button_combination); + bool ui_interface_is_valid_key_combination(int key_combination); + int ui_interface_acknowledge_event_id(Ref options); int ui_interface_get_notification_location_preference(); + int ui_interface_get_toggle_friends_button(Ref options); int ui_interface_get_toggle_friends_key(Ref options); - void ui_interface_hide_friends(Ref options); - bool ui_interface_is_valid_key_combination(int key_combination); + int ui_interface_pause_social_overlay(Ref options); + int ui_interface_pre_present(Ref options); + int ui_interface_report_input_state(Ref options); int ui_interface_set_display_preference(Ref options); + int ui_interface_set_toggle_friends_button(Ref options); int ui_interface_set_toggle_friends_key(Ref options); - void ui_interface_show_friends(Ref options); - bool ui_interface_get_friends_exclusive_input(Ref options); + void ui_interface_hide_friends(Ref options); void ui_interface_show_block_player(Ref options); - void ui_interface_show_report_player(Ref options); - int ui_interface_pause_social_overlay(Ref options); - bool ui_interface_is_social_overlay_paused(Ref options); - int ui_interface_set_toggle_friends_button(Ref options); - int ui_interface_get_toggle_friends_button(Ref options); - bool ui_interface_is_valid_button_combination(int button_combination); - int ui_interface_report_input_state(Ref options); - int ui_interface_pre_present(Ref options); + void ui_interface_show_friends(Ref options); void ui_interface_show_native_profile(Ref options); + void ui_interface_show_report_player(Ref options); // ----- // KWS Interface // ----- Dictionary kws_interface_copy_permission_by_index(Ref options); - void kws_interface_create_user(Ref options); Dictionary kws_interface_get_permission_by_key(Ref options); int kws_interface_get_permissions_count(Ref options); + void kws_interface_create_user(Ref options); void kws_interface_query_age_gate(Ref options); void kws_interface_query_permissions(Ref options); void kws_interface_request_permissions(Ref options); @@ -323,114 +325,109 @@ class IEOS : public RefCounted { // ----- Dictionary progression_snapshot_interface_begin_snapshot(Ref options); int progression_snapshot_interface_add_progression(Ref options); - void progression_snapshot_interface_submit_snapshot(Ref options); - void progression_snapshot_interface_delete_snapshot(Ref options); int progression_snapshot_interface_end_snapshot(Ref options); + void progression_snapshot_interface_delete_snapshot(Ref options); + void progression_snapshot_interface_submit_snapshot(Ref options); // ----- // Presence Interface // ----- + bool presence_interface_has_presence(Ref options); Dictionary presence_interface_copy_presence(Ref options); Dictionary presence_interface_create_presence_modification(Ref options); Dictionary presence_interface_get_join_info(Ref options); - bool presence_interface_has_presence(Ref options); void presence_interface_query_presence(Ref options); void presence_interface_set_presence(Ref options); // ----- // Lobby Interface // ----- - void lobby_interface_create_lobby(Ref options); - void lobby_interface_destroy_lobby(Ref options); - void lobby_interface_join_lobby(Ref options); - void lobby_interface_join_lobby_by_id(Ref options); - void lobby_interface_leave_lobby(Ref options); - Dictionary lobby_interface_update_lobby_modification(Ref options); - void lobby_interface_update_lobby(Ref options); - void lobby_interface_promote_member(Ref options); - void lobby_interface_kick_member(Ref options); - void lobby_interface_hard_mute_member(Ref options); - void lobby_interface_send_invite(Ref options); - void lobby_interface_reject_invite(Ref options); - void lobby_interface_query_invites(Ref options); - int lobby_interface_get_invite_count(Ref options); - Dictionary lobby_interface_get_invite_id_by_index(Ref options); - Dictionary lobby_interface_create_lobby_search(Ref options); Dictionary lobby_interface_copy_lobby_details_by_invite_id(Ref options); Dictionary lobby_interface_copy_lobby_details_by_ui_event_id(Ref options); Dictionary lobby_interface_copy_lobby_details(Ref options); + Dictionary lobby_interface_create_lobby_search(Ref options); + Dictionary lobby_interface_get_connect_string(Ref options); + Dictionary lobby_interface_get_invite_id_by_index(Ref options); Dictionary lobby_interface_get_rtc_room_name(Ref options); Dictionary lobby_interface_is_rtc_room_connected(Ref options); - Dictionary lobby_interface_get_connect_string(Ref options); Dictionary lobby_interface_parse_connect_string(Ref options); + Dictionary lobby_interface_update_lobby_modification(Ref options); + int lobby_interface_get_invite_count(Ref options); + void lobby_interface_create_lobby(Ref options); + void lobby_interface_destroy_lobby(Ref options); + void lobby_interface_hard_mute_member(Ref options); + void lobby_interface_join_lobby_by_id(Ref options); + void lobby_interface_join_lobby(Ref options); + void lobby_interface_kick_member(Ref options); + void lobby_interface_leave_lobby(Ref options); + void lobby_interface_promote_member(Ref options); + void lobby_interface_query_invites(Ref options); + void lobby_interface_reject_invite(Ref options); + void lobby_interface_send_invite(Ref options); + void lobby_interface_update_lobby(Ref options); // ----- // P2P Interface // ----- // Available in Godot functions - void p2p_query_nat_type(); + Dictionary p2p_get_packet_queue_info(); + Dictionary p2p_get_port_range(); int p2p_get_nat_type(); - void p2p_set_relay_control(int control); int p2p_get_relay_control(); - void p2p_set_port_range(Ref options); - Dictionary p2p_get_port_range(); + void p2p_query_nat_type(); void p2p_set_packet_queue_size(Ref options); - Dictionary p2p_get_packet_queue_info(); + void p2p_set_port_range(Ref options); + void p2p_set_relay_control(int control); // Not available in Godot. Called by EOSGMultiplayerPeer - EOS_EResult p2p_send_packet(const EOS_P2P_SendPacketOptions *options); - EOS_EResult p2p_receive_packet(const EOS_P2P_ReceivePacketOptions *options, void *out_packet_data, uint32_t *out_packet_size, - uint8_t *out_channel, EOS_ProductUserId *remote_user, EOS_P2P_SocketId *out_socket); EOS_EResult p2p_accept_connection(const EOS_P2P_AcceptConnectionOptions *options); - EOS_EResult p2p_close_connection(const EOS_P2P_CloseConnectionOptions *options); + EOS_EResult p2p_clear_packet_queue(const EOS_P2P_ClearPacketQueueOptions *options); EOS_EResult p2p_close_all_connections(const EOS_P2P_CloseConnectionsOptions *options); + EOS_EResult p2p_close_connection(const EOS_P2P_CloseConnectionOptions *options); EOS_EResult p2p_get_next_packet_size(const EOS_P2P_GetNextReceivedPacketSizeOptions *options, uint32_t *out_size); - EOS_EResult p2p_clear_packet_queue(const EOS_P2P_ClearPacketQueueOptions *options); - EOS_NotificationId p2p_add_notify_peer_connection_established(const EOS_P2P_AddNotifyPeerConnectionEstablishedOptions *options, - EOS_P2P_OnPeerConnectionEstablishedCallback callback); - EOS_NotificationId p2p_add_notify_peer_connection_closed(const EOS_P2P_AddNotifyPeerConnectionClosedOptions *options, - EOS_P2P_OnRemoteConnectionClosedCallback callback); - EOS_NotificationId p2p_add_notify_peer_connection_request(const EOS_P2P_AddNotifyPeerConnectionRequestOptions *options, - EOS_P2P_OnIncomingConnectionRequestCallback callback); - EOS_NotificationId p2p_add_notify_peer_connection_interrupted(const EOS_P2P_AddNotifyPeerConnectionInterruptedOptions *options, - EOS_P2P_OnPeerConnectionInterruptedCallback callback); + EOS_EResult p2p_receive_packet(const EOS_P2P_ReceivePacketOptions *options, void *out_packet_data, uint32_t *out_packet_size, uint8_t *out_channel, EOS_ProductUserId *remote_user, EOS_P2P_SocketId *out_socket); + EOS_EResult p2p_send_packet(const EOS_P2P_SendPacketOptions *options); + EOS_NotificationId p2p_add_notify_peer_connection_closed(const EOS_P2P_AddNotifyPeerConnectionClosedOptions *options, EOS_P2P_OnRemoteConnectionClosedCallback callback); + EOS_NotificationId p2p_add_notify_peer_connection_established(const EOS_P2P_AddNotifyPeerConnectionEstablishedOptions *options, EOS_P2P_OnPeerConnectionEstablishedCallback callback); + EOS_NotificationId p2p_add_notify_peer_connection_interrupted(const EOS_P2P_AddNotifyPeerConnectionInterruptedOptions *options, EOS_P2P_OnPeerConnectionInterruptedCallback callback); + EOS_NotificationId p2p_add_notify_peer_connection_request(const EOS_P2P_AddNotifyPeerConnectionRequestOptions *options, EOS_P2P_OnIncomingConnectionRequestCallback callback); + void p2p_remove_notify_peer_connection_closed(EOS_NotificationId callback_id); void p2p_remove_notify_peer_connection_established(EOS_NotificationId callback_id); void p2p_remove_notify_peer_connection_interrupted(EOS_NotificationId callback_id); - void p2p_remove_notify_peer_connection_closed(EOS_NotificationId callback_id); void p2p_remove_notify_peer_connection_request(EOS_NotificationId callback_id); // ----- // PlayerDataStorage Interface // ----- - void playerdatastorage_interface_query_file(Ref options); - void playerdatastorage_interface_query_file_list(Ref options); + Dictionary playerdatastorage_interface_copy_file_metadata_at_index(Ref options); Dictionary playerdatastorage_interface_copy_file_metadata_by_filename(Ref options); Dictionary playerdatastorage_interface_get_file_metadata_count(Ref options); - Dictionary playerdatastorage_interface_copy_file_metadata_at_index(Ref options); - void playerdatastorage_interface_duplicate_file(Ref options); - void playerdatastorage_interface_delete_file(Ref options); int playerdatastorage_interface_delete_cache(Ref options); Variant playerdatastorage_interface_read_file(Ref options); Variant playerdatastorage_interface_write_file(Ref options); + void playerdatastorage_interface_delete_file(Ref options); + void playerdatastorage_interface_duplicate_file(Ref options); + void playerdatastorage_interface_query_file_list(Ref options); + void playerdatastorage_interface_query_file(Ref options); // ----- // TitleStorage Interface // ----- - void titlestorage_interface_query_file(Ref options); - void titlestorage_interface_query_file_list(Ref options); + Dictionary titlestorage_interface_copy_file_metadata_at_index(Ref options); Dictionary titlestorage_interface_copy_file_metadata_by_filename(Ref options); + int titlestorage_interface_delete_cache(Ref options); int titlestorage_interface_get_file_metadata_count(Ref options); - Dictionary titlestorage_interface_copy_file_metadata_at_index(Ref options); Variant titlestorage_interface_read_file(Ref options); - int titlestorage_interface_delete_cache(Ref options); + void titlestorage_interface_query_file_list(Ref options); + void titlestorage_interface_query_file(Ref options); // ----- // Sanctions Interface // ----- - void sanctions_interface_query_active_player_sanctions(Ref options); - int sanctions_interface_get_player_sanction_count(Ref options); Dictionary sanctions_interface_copy_player_sanction_by_index(Ref options); + int sanctions_interface_get_player_sanction_count(Ref options); + void sanctions_interface_query_active_player_sanctions(Ref options); }; } // namespace godot