๐ฅ๏ธ Object Variable Cmdlet Handler
Short Description
Console command utilities for inspecting Object Variable registries at runtime.
Long Description
The cmdlet handler registers console commands that traverse Object Variable hierarchies, resolve variables by name or identifier, and report replication stats. Use it during debugging sessions or automated tests to validate Object Variable state.
๐ Features
- Hierarchy traversal helpers for registry inspection.
- Lookup by display name or identifier token.
- Aggregated replication statistics reporting.
๐ Usage Examples
UGorgeousObjectVariableCmdletHandler::RegisterConsoleCommands();
Use the in-editor console to run the registered commands once the handler is active.
RegisterConsoleCommands
Registers the console commands that expose Object Variable inspection and stats utilities.
UGorgeousObjectVariableCmdletHandler::RegisterConsoleCommands();
ListGorgeousVariables
Lists Object Variables based on command arguments, optionally scoped to a root or variable subtree.
| Parameter Name | Type | Description |
|---|---|---|
Args |
TArray<FString> |
Parsed console arguments. |
UGorgeousObjectVariableCmdletHandler::ListGorgeousVariables({ TEXT("Root=Default") });
Best Practices
- Register commands once during module startup.
- Use the hierarchy handler to keep output consistent with internal tooling.
Troubleshooting
- If commands do not appear, confirm the handler is registered and the module is loaded.
- If output is empty, verify a root registry exists and contains variables.