Navigation
API > API/Runtime > API/Runtime/Core
Basic message token that defaults its activated method to find a file Intended to hook into things like the content browser.
| Name | FAssetNameToken |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/TokenizedMessage.h |
| Include Path | #include "Logging/TokenizedMessage.h" |
Syntax
class FAssetNameToken : public IMessageToken
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetNameToken
(
const FString& InAssetName, |
Private constructor | Logging/TokenizedMessage.h | |
FAssetNameToken
(
FPrivateToken, |
Private constructor | Logging/TokenizedMessage.h |
Structs
| Name | Remarks |
|---|---|
| FPrivateToken | The private token allows only members or friends to call MakeShared. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnGotoAsset | TBaseDelegate_OneParam< void, const FString & > | Logging/TokenizedMessage.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| GotoAsset | FOnGotoAsset | The delegate we will use to go to our file | Logging/TokenizedMessage.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetName | FString | The asset name we will find | Logging/TokenizedMessage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetAssetName() |
End IMessageToken interface Get the filename used by this token | Logging/TokenizedMessage.h |
Overridden from IMessageToken
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMessageToken::Type GetType() |
Begin IMessageToken interface | Logging/TokenizedMessage.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FAssetNameToken > Create
(
const FString& InAssetName, |
Factory method, tokens can only be constructed as shared refs | Logging/TokenizedMessage.h | |
static void FindAsset
(
const TSharedRef< IMessageToken >& Token, |
Delegate used to find a file | Logging/TokenizedMessage.h | |
static FOnGotoAsset & OnGotoAsset() |
Logging/TokenizedMessage.h |