#include <InteractionPingActor.h>
|
| virtual void | BeginPlay () override |
| |
| virtual void | ReceiveOnInteract (AActor *Caller, const EInteractionType InteractionType) override |
| |
| virtual void | ReceiveOnOverlap (AActor *Caller) override |
| |
| virtual void | Tick (float DeltaTime) override |
| |
| virtual void | SetMeshOutline (const bool bValue) |
| |
| void | LogDebugError (const FString &Message) const |
| |
| void | LogDebugError (const FString &Message, const int32 Value) const |
| |
| void | LogDebugError (const FString &Message, const float Value) const |
| |
| void | LogDebugWarning (const FString &Message) const |
| |
| void | LogDebugWarning (const FString &Message, const int32 Value) const |
| |
| void | LogDebugWarning (const FString &Message, const float Value) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const |
| |
| void | LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const |
| |
| void | SetCategoryName (const FLogCategoryBase &Category) |
| |
◆ AInteractionPingActor()
| AInteractionPingActor::AInteractionPingActor |
( |
| ) |
|
11{
12 PrimaryActorTick.bCanEverTick = false;
13 const ConstructorHelpers::FClassFinder<UUserWidget> InteractionPingBP(TEXT("/Interaction/Widgets/WBP_InteractionPing"));
14 if (!ensure(InteractionPingBP.Class != nullptr)) return;
16
17 SceneComponent = CreateDefaultSubobject<USceneComponent>(TEXT(
"Scene Component"));
19
23
24 CapsuleComponent = CreateDefaultSubobject<UCapsuleComponent>(TEXT(
"Capsule"));
26
27 bReplicates = true;
28}
TSubclassOf< UUserWidget > PingWidgetClass
Definition InteractionPingActor.h:52
class USceneComponent * SceneComponent
Definition InteractionPingActor.h:36
class UCapsuleComponent * CapsuleComponent
Definition InteractionPingActor.h:38
class UScreenFacingWidgetComponent * ScreenFacingWidgetComponent
Definition InteractionPingActor.h:40
◆ BeginPlay()
| void AInteractionPingActor::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
50{
51 Super::BeginPlay();
54 {
55 UE_LOG(LogTemp,
Warning, TEXT(
"Interaction Widget NULL in Interaction Ping Actor"));
58 Destroy();
59 }
60 else
61 {
63 }
64}
UInteractionPingWidget * InteractionPingWidget
Definition InteractionPingActor.h:44
◆ ReceiveOnInteract()
| void AInteractionPingActor::ReceiveOnInteract |
( |
AActor * | Caller, |
|
|
const EInteractionType | InteractionType ) |
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
67{
68 Super::ReceiveOnInteract(Caller, InteractionType);
70 {
71 Destroy();
72 }
73
74
75
76
77}
◆ ReceiveOnOverlap()
| void AInteractionPingActor::ReceiveOnOverlap |
( |
AActor * | Caller | ) |
|
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
80{
81 Super::ReceiveOnOverlap(Caller);
83 {
84 Destroy();
85 }
86}
AActor * SenderActor
Definition InteractionPingActor.h:48
◆ SetPingData()
| void AInteractionPingActor::SetPingData |
( |
const FPingData & | Ping, |
|
|
AActor * | Sender ) |
|
overridevirtual |
◆ CapsuleComponent
| class UCapsuleComponent* AInteractionPingActor::CapsuleComponent |
|
protected |
◆ InteractionPingWidget
◆ PingWidgetClass
| TSubclassOf<UUserWidget> AInteractionPingActor::PingWidgetClass |
|
private |
◆ SceneComponent
| class USceneComponent* AInteractionPingActor::SceneComponent |
|
protected |
◆ ScreenFacingWidgetComponent
| class UScreenFacingWidgetComponent* AInteractionPingActor::ScreenFacingWidgetComponent |
|
protected |
◆ SenderActor
| AActor* AInteractionPingActor::SenderActor = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/Interaction/Source/Interaction/Public/Actors/InteractionPingActor.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/Interaction/Source/Interaction/Private/Actors/InteractionPingActor.cpp