Navigation
API > API/Plugins > API/Plugins/Party
Slash Command Component.
| Name | FRegisteredSlashCommands |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Chat/ChatSlashCommands.h |
| Include Path | #include "Chat/ChatSlashCommands.h" |
Syntax
class FRegisteredSlashCommands : public TSharedFromThis< FRegisteredSlashCommands >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FRegisteredSlashCommands
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRegisteredSlashCommands
(
FRegisteredSlashCommands&& move |
Chat/ChatSlashCommands.h | ||
FRegisteredSlashCommands
(
const FRegisteredSlashCommands& copy |
Chat/ChatSlashCommands.h | ||
| Chat/ChatSlashCommands.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoCompleteData | TArray< TSharedPtr< FAutoCompleteStruct > > | Chat/ChatSlashCommands.h | ||
| bValidUsersCached | bool | Chat/ChatSlashCommands.h | ||
| LastQueryTextLen | uint32 | Chat/ChatSlashCommands.h | ||
| MyToolkit | TWeakObjectPtr< USocialToolkit > | Once set, this should always be valid since lifetime of SocialManager is tied to game instance | Chat/ChatSlashCommands.h | |
| RegisteredCustomSlashCommands | TArray< TSharedPtr< FChatSlashCommand > > | Chat/ChatSlashCommands.h | ||
| RegisteredInteractionSlashCommands | TArray< TSharedPtr< FInteractionCommandWrapper > > | Chat/ChatSlashCommands.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< TSharedPtr< FAutoCompleteStruct > > & GetAutoCompleteStrings() |
Chat/ChatSlashCommands.h | ||
bool HasAutoCompleteSuggestions() |
Chat/ChatSlashCommands.h | ||
void Init
(
USocialToolkit& Toolkit |
Chat/ChatSlashCommands.h | ||
bool IsEnabled() |
Chat/ChatSlashCommands.h | ||
bool NotifyUserTextChanged
(
const FText& InText |
Main entry point for class encapsulated behavior; returns true if command executed | Chat/ChatSlashCommands.h | |
void RegisterCommand
(
const TSharedPtr< FChatSlashCommand >& NewSlashCommand |
Chat/ChatSlashCommands.h | ||
bool TryExecuteCommandByMatchingText
(
const FString& UserTypedText |
Chat/ChatSlashCommands.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chat/ChatSlashCommands.h | |||
| Chat/ChatSlashCommands.h | |||
| Chat/ChatSlashCommands.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRegisteredSlashCommands & operator=
(
FRegisteredSlashCommands&& move |
Chat/ChatSlashCommands.h | ||
FRegisteredSlashCommands & operator=
(
const FRegisteredSlashCommands& copy |
Chat/ChatSlashCommands.h |