Navigation
API > API/Plugins > API/Plugins/ConsoleVariablesEditor
References
| Module | ConsoleVariablesEditor |
| Header | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditor/Public/ConsoleVariablesEditorCommandInfo.h |
| Include | #include "ConsoleVariablesEditorCommandInfo.h" |
Syntax
struct FConsoleVariablesEditorCommandInfo
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSetInCurrentSession | If the variable was last changed by the current preset | |
| FString | Command | The actual string key or name | |
| IConsoleObject * | ConsoleObjectPtr | This object is periodically refreshed to mitigate the occurrence of stale pointers. | |
| double | ConsoleObjectRefreshThreshold | ||
| EConsoleObjectType | ObjectType | ||
| FOnDetectConsoleObjectUnregistered | OnDetectConsoleObjectUnregistered | When commands are unregistered change, this callback is broadcasted. | |
| FDelegateHandle | OnDetectConsoleObjectUnregisteredHandle | ||
| FDelegateHandle | OnVariableChangedCallbackHandle | When variables change, this callback is executed. | |
| EConsoleVariableFlags | StartupSource | The source of this variable's (if Variable object type) last setting as recorded when the plugin was loaded. | |
| FString | StartupValueAsString | The value of this variable (if Variable object type) when the module started in this session after it may have been set by an ini file. | |
| FDateTime | TimeOfLastConsoleObjectRefresh |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FConsoleVariablesEditorCommandInfo
(
const FString& InCommand |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FText | ConvertConsoleVariableSetByFlagToText
(
const EConsoleVariableFlags InFlag |
||
| void | ExecuteCommand
(
const FString& NewValueAsString, |
Sets a variable to the specified value whilst maintaining its SetBy flag. | |
| IConsoleCommand * | Return the console object as a console command object if applicable. | ||
| IConsoleObject * | Get a reference to the cached console object. May return nullptr if unregistered. | ||
| IConsoleVariable * | Return the console object as a console variable object if applicable. | ||
| bool | GetCurrentValueAsString
(
FString& OutValueAsString |
If this console object is a variable, get its value as string via OutValueAsString. | |
| UWorld * | |||
| FString | GetHelpText () |
||
| EConsoleVariableFlags | GetSource () |
||
| FText | |||
| bool | IsCurrentValueDifferentFromInputValue
(
const FString& InValueToCompare |
||
| void | Prints the current value or state of the command, similar to the text generated in teh output log when entering a command manually. | ||
| void | SetIfChangedInCurrentPreset
(
const bool bNewSetting |
||
| void | SetSourceFlag
(
const EConsoleVariableFlags InSource |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FConsoleVariablesEditorCommandInfo& Comparator |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FStaticConsoleVariableFlagInfo |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EConsoleObjectType |
Constants
| Name | Description |
|---|---|
| SupportedFlags | A mapping of SetBy console variable flags to information like the associated display text. |