UConsoleVariablesAsset

An asset used to track collections of console variables that can be recalled and edited using the Console Variables Editor.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UConsoleVariablesAsset

References

Module

ConsoleVariablesEditor

Header

/Engine/Plugins/Experimental/ConsoleVariables/Source/ConsoleVariablesEditor/Public/ConsoleVariablesAsset.h

Include

#include "ConsoleVariablesAsset.h"

Syntax

UCLASS(BlueprintType)
class UConsoleVariablesAsset : public UObject

Remarks

An asset used to track collections of console variables that can be recalled and edited using the Console Variables Editor.

Functions

Name Description

Public function

void

 

AddOrSetConsoleObjectSavedData

(
    const FConsoleVariablesEditorAssetS...
)

Set the value of a saved console variable if the name matches; add a new console variable to the list if a match is not found.

Public function

void

 

CopyFrom

(
    const UConsoleVariablesAsset* ...
)

Copy data from input asset to this asset

Public function Const

bool

 

FindSavedDataByCommandString

(
    const FString& InCommandString,
    FConsoleVariablesEditorAssetSaveDat...
)

Outputs the FConsoleVariablesEditorCommandInfo matching InCommand.

Public function Const

const TArray...

 

GetSavedCommands()

Returns the saved list of console variable information such as the variable name, the type and the value of the vriable at the time the asset was saved.

Public function Const

int32

 

GetSavedCommandsCount()

Returns how many console variables are serialized in this asset

Public function Const UFunction BlueprintPure, Category

FString

 

GetVariableCollectionDescription()

Public function

bool

 

RemoveConsoleVariable

(
    const FString& InCommandString
)

Returns true if the element was found and successfully removed.

Public function

void

 

ReplaceSavedCommands

(
    const TArray< FConsoleVariablesEdit...
)

Completely replaces the saved data with new saved data

Public function UFunction BlueprintCallable, Category

void

 

SetVariableCollectionDescription

(
    const FString& InVariableCollectio...
)

Sets a description for this variable collection.