From c82f9bccca4ca74a42bc6062b3a73309b673e20e Mon Sep 17 00:00:00 2001 From: UE4SS Date: Sat, 18 May 2024 13:24:05 +0200 Subject: [PATCH] fix(Live View): Renamed & fixed description of "Apply when not searching" --- UE4SS/src/GUI/LiveView.cpp | 6 +++--- docs/feature-overview/live-view.md | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/UE4SS/src/GUI/LiveView.cpp b/UE4SS/src/GUI/LiveView.cpp index 0b59ee955..ff7da8c13 100644 --- a/UE4SS/src/GUI/LiveView.cpp +++ b/UE4SS/src/GUI/LiveView.cpp @@ -2877,7 +2877,7 @@ namespace RC::GUI auto typed_this = static_cast(data->UserData); if (LiveView::s_apply_search_filters_when_not_searching) { - static constexpr auto message = std::string_view{"Searching is disabled while 'Apply when not searching' is enabled.'"}; + static constexpr auto message = std::string_view{"Searching is disabled while 'Apply filters when not searching' is enabled.'"}; strncpy_s(data->Buf, message.size() + 1, message.data(), message.size() + 1); data->BufTextLen = message.size(); data->BufDirty = true; @@ -3096,7 +3096,7 @@ namespace RC::GUI } else { - ImGui::Text("You can't search with 'Apply when not searching' enabled."); + ImGui::Text("You can't search with 'Apply filters when not searching' enabled."); ImGui::Text("Right click to bring up the menu and disable this option."); } ImGui::EndTooltip(); @@ -3118,7 +3118,7 @@ namespace RC::GUI { ImGui::BeginDisabled(); } - ImGui::Checkbox("Apply when not searching", &s_apply_search_filters_when_not_searching); + ImGui::Checkbox("Apply filters when not searching", &s_apply_search_filters_when_not_searching); if (is_searching_by_name) { ImGui::EndDisabled(); diff --git a/docs/feature-overview/live-view.md b/docs/feature-overview/live-view.md index e130361eb..3002b7da1 100644 --- a/docs/feature-overview/live-view.md +++ b/docs/feature-overview/live-view.md @@ -18,22 +18,22 @@ You can right-click the search bar to show options. -| Setting | Explanation | -|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Refresh search | Refreshes the search results. | -| Save filters | Saves the current search filters to `Win64/UE4SS-config/liveview/filters.meta.json`. Saved filters are loaded when the game is next launched. | -| Apply when not searching | Changes the search results automatically, otherwise, you need to press refresh settings. | -| Include inheritance | Includes any child objects of any search results. | +| Setting | Explanation | +|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Refresh search | Refreshes the search results. | +| Save filters | Saves the current search filters to `Win64/UE4SS-config/liveview/filters.meta.json`. Saved filters are loaded when the game is next launched. | +| Apply when not searching | Applies the filters while not searching for any objects by name. | +| Include inheritance | Includes any child objects of any search results. | | Instances only | Only includes object instances. These are objects present in the level as part of actors (actors themselves, widgets, components etc.), and their properties are a reflection of the real-time values. Examples include `_C` or `_C_`. | -| Non-instances only | Only includes the default state of object packages, which are loaded in memory but are not present in the level. You cannot change the values of these properties. | -| CDOs only | Only includes the class default objects (CDOs), which are the reflected properties inherited by non-instances from a UClass object. Examples include `_GEN_VARIABLE` or `.Default__`. | -| Include CDOs | Includes CDOs in any of your search criteria. | -| Use Regex for search | Allows you to use regex to make more specific searches. | -| Exclude class names | Allows you to exclude specific class names, e.g., `CanvasPanelSlot` or `StaticMeshComponent`. Comma seperated list, e.g., `CanvasPanelSlot, StaticMeshComponent,Package , Function`. | -| Include class names | Accessible by exclude class names dropdown. Allows you to include only specific class names, e.g., `CanvasPanelSlot` or `StaticMeshComponent`. Comma seperated list, e.g., `CanvasPanelSlot, StaticMeshComponent,Package , Function`. | -| Has property | Finds objects only if they have a property of a specific name, e.g., `Player Name`. This setting is applied only if you have entered any value in the search bar. | -| Has property type | Finds objects only if they have a property of a specific type, such as `BoolProperty` or `MulticastInlineDelegateProperty`. | -| Function parameter flags | Clicking on this checkbox opens a new popup. Allows you to select any number of flags to filter functions by and whether or not you want it to use your selected flags to check for the return flag | +| Non-instances only | Only includes the default state of object packages, which are loaded in memory but are not present in the level. You cannot change the values of these properties. | +| CDOs only | Only includes the class default objects (CDOs), which are the reflected properties inherited by non-instances from a UClass object. Examples include `_GEN_VARIABLE` or `.Default__`. | +| Include CDOs | Includes CDOs in any of your search criteria. | +| Use Regex for search | Allows you to use regex to make more specific searches. | +| Exclude class names | Allows you to exclude specific class names, e.g., `CanvasPanelSlot` or `StaticMeshComponent`. Comma seperated list, e.g., `CanvasPanelSlot, StaticMeshComponent,Package , Function`. | +| Include class names | Accessible by exclude class names dropdown. Allows you to include only specific class names, e.g., `CanvasPanelSlot` or `StaticMeshComponent`. Comma seperated list, e.g., `CanvasPanelSlot, StaticMeshComponent,Package , Function`. | +| Has property | Finds objects only if they have a property of a specific name, e.g., `Player Name`. This setting is applied only if you have entered any value in the search bar. | +| Has property type | Finds objects only if they have a property of a specific type, such as `BoolProperty` or `MulticastInlineDelegateProperty`. | +| Function parameter flags | Clicking on this checkbox opens a new popup. Allows you to select any number of flags to filter functions by and whether or not you want it to use your selected flags to check for the return flag | In the property viewer pane at the bottom, there are three sub-controls: - `<<` which goes backwards through your history.