FScriptingCommandInfo

The data defining a scripting command. At the exception of its delegates.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateScriptingCommands

Header

/Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h

Include

#include "UICommandsScriptingSubsystem.h"

Syntax

USTRUCT(BlueprintType)
struct FScriptingCommandInfo

Remarks

The data defining a scripting command. At the exception of its delegates.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FName

 

ContextName

The editor context this command is bound to

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FText

 

Description

The description of the command

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FInputChord

 

InputChord

The input chord to bound to the command

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FText

 

Label

The command label or what name will be displayed for it

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FName

 

Name

The command name. Must be unique in its set.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FName

 

Set

The command set this command belongs to.

Functions

Name Description

Public function Const

bool

 

Equals

(
    const FScriptingCommandInfo& InCom...,
    const bool bCheckInputChord
)

Compares this command info with the given one per context, set, name and optionally input chord

Public function Const

FName

 

GetFullName()

Builds a full name in the format context.set.command_name to avoid conflicts with commands registered in different contexts/sets