Space Plunder
Loading...
Searching...
No Matches
FInteractionActor Struct Reference

#include <InteractableActorComponent.h>

Public Member Functions

 FInteractionActor ()
 
 FInteractionActor (AActor *InActor)
 
bool operator== (const FInteractionActor &Other) const
 
bool operator== (const AActor *Other) const
 
bool IsValid () const
 

Public Attributes

AActor * Actor = nullptr
 
bool bOverlapping = false
 
bool bFocused = false
 
bool bInteracting = false
 

Constructor & Destructor Documentation

◆ FInteractionActor() [1/2]

FInteractionActor::FInteractionActor ( )
inline
37{}

◆ FInteractionActor() [2/2]

FInteractionActor::FInteractionActor ( AActor * InActor)
inlineexplicit
39 : Actor(InActor)
40 {
41
42 }
AActor * Actor
Definition InteractableActorComponent.h:28

Member Function Documentation

◆ IsValid()

bool FInteractionActor::IsValid ( ) const
inline
53 {
54 return Actor != nullptr;
55 }

◆ operator==() [1/2]

bool FInteractionActor::operator== ( const AActor * Other) const
inline
49 {
50 return Actor == Other;
51 }

◆ operator==() [2/2]

bool FInteractionActor::operator== ( const FInteractionActor & Other) const
inline
45 {
46 return Actor == Other.Actor;
47 }

Member Data Documentation

◆ Actor

AActor* FInteractionActor::Actor = nullptr

◆ bFocused

bool FInteractionActor::bFocused = false

◆ bInteracting

bool FInteractionActor::bInteracting = false

◆ bOverlapping

bool FInteractionActor::bOverlapping = false

The documentation for this struct was generated from the following file: