Skip to content

Commit

Permalink
fix(Live View): Renamed & fixed description of "Apply when not search…
Browse files Browse the repository at this point in the history
…ing"
  • Loading branch information
UE4SS authored and Buckminsterfullerene02 committed May 19, 2024
1 parent e6e6ae5 commit c82f9bc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions UE4SS/src/GUI/LiveView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2877,7 +2877,7 @@ namespace RC::GUI
auto typed_this = static_cast<LiveView*>(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;
Expand Down Expand Up @@ -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();
Expand All @@ -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();
Expand Down
30 changes: 15 additions & 15 deletions docs/feature-overview/live-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<package name>_C` or `<package name>_C_<some instance id>`. |
| 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 `<full path>_GEN_VARIABLE` or `<package path>.Default__<package name>`. |
| 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 `<full path>_GEN_VARIABLE` or `<package path>.Default__<package name>`. |
| 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.
Expand Down

0 comments on commit c82f9bc

Please sign in to comment.