Download LyraStarterGame/Source/LyraGame/Messages/LyraNotificationMessage.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Messages/LyraNotificationMessage.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/Messages/LyraNotificationMessage.h
-
curl -L -o LyraNotificationMessage.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Messages/LyraNotificationMessage.h
1.24 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class UObject; | |
| LYRAGAME_API UE_DECLARE_GAMEPLAY_TAG_EXTERN(TAG_Lyra_AddNotification_Message); | |
| class APlayerState; | |
| // A message destined for a transient log (e.g., an elimination feed or inventory pickup stream) | |
| USTRUCT(BlueprintType) | |
| struct FLyraNotificationMessage | |
| { | |
| GENERATED_BODY() | |
| // The destination channel | |
| UPROPERTY(BlueprintReadWrite, Category=Notification) | |
| FGameplayTag TargetChannel; | |
| // The target player (if none is set then it will display for all local players) | |
| UPROPERTY(BlueprintReadWrite, Category=Notification) | |
| TObjectPtr<APlayerState> TargetPlayer = nullptr; | |
| // The message to display | |
| UPROPERTY(BlueprintReadWrite, Category=Notification) | |
| FText PayloadMessage; | |
| // Extra payload specific to the target channel (e.g., a style or definition asset) | |
| UPROPERTY(BlueprintReadWrite, Category=Notification) | |
| FGameplayTag PayloadTag; | |
| // Extra payload specific to the target channel (e.g., a style or definition asset) | |
| UPROPERTY(BlueprintReadWrite, Category=Notification) | |
| TObjectPtr<UObject> PayloadObject = nullptr; | |
| }; | |