Skip to content

UInteractableComponent

#include <InteractableComponent.h>

Inherits from UActorComponent, IReplicatedSubobjectInterface, IDisplayComponentInterface

Inherited by UDestroyableComponent, URepairableComponent, UWeaponRackComponent

Public Functions

Name
bool CanShowUI(APawn * Pawn) const
bool GetEnabled()
UInteractableComponent * GetInteractableComponent()
[[EInteractionType]] GetInteractionType()
virtual void [[GetLifetimeReplicatedProps]](TArray< FLifetimeProperty > & OutLifetimeProps) const override
[[EInteractableRechargeRule]] GetRechargeRule()
[[EFaction]] GetUseableByTeam()
int32 GetUses()
TArray< UPrimitiveComponent * > GetValidCollisionComponents() const
bool IsValidCollisionComponent(UPrimitiveComponent * Component)
void OnRep_InitiateUseDuration()
void OnRep_InteractionType()
void OnRep_RechargeRule()
void OnRep_Uses()
void RestartRechargeTimer()
void SetEnabled(bool Enabled, bool bForceClient)
void SetInitiateUseDuration(float InInitiateUseDuration)
void SetInteractionType([[EInteractionType]] InInteractionType)
void SetOnlyAllowOwningPlayer(bool bInOnlyAllowOwningPlayer)
void SetRechargeRule([[EInteractableRechargeRule]] InRechargeRule)
void SetUseableByTeam([[EFaction]] EFaction)
void StopRechargeTimer()
UInteractableComponent()
void Use(APawn * Pawn)

Public Attributes

Name
[[FText]] ActorName
[[EFaction]] AllowedTeam
TSubclassOf< ATBLCharacter > CharacterClassRequiredToUse
TSoftClassPtr< UHUDContainerSubWidget > ConfigWidgetClass
float Cooldown
float CurrentCooldownTime
float CurrentUseTime
FReplicated_AActorPtr CurrentUsingPawn
float DecayRate
[[FText]] Description
int32 InitialUses
float InitiateUseDuration
[[EInteractCombatState]] InteractCombatState
[[EInteractionType]] InteractionType
TSubclassOf< AInventoryItem > ItemRequiredToUse
FName KeyBind
int32 MaxUses
[[FInteractableComponentCanBeUsed]] OnCanBeUsed
[[FInteractableComponentCanShowUI]] OnCanShowUI
FInteractableComponentOnCooldownSignature OnCooldown
FInteractableComponentOnUsesChangedSignature OnInteracbleUsesUpdated
FInteractableComponentOnInteractableEnabled OnInteractableEnabled
FInteractableComponentOnInteractableFocusedSignature OnInteractableFocused
FInteractableComponentOnInteractableLostFocusSignature OnInteractableLostFocus
FInteractableComponentOnInteractableReachableSignature OnInteractableReachable
FInteractableComponentOnInteractableUnreachableSignature OnInteractableUnreachable
FUsingPawnChangedSignature OnPawnChanged
FInteractableComponentOnUseSignature OnUse
FInteractableComponentOnUseHeldSignature OnUseHeld
FInteractableComponentOnUseHeldInitiatedSignature OnUseHeldInitiated
FInteractableComponentOnUseReleasedSignature OnUseReleased
FInteractableComponentOnUseSignature OnUseSyncFailed
UInteractableComponent * OverrideInteractable
[[EInteractableRechargeRule]] RechargeRule
int32 RechargeStacks
FReplicated_Float ReplicatedInitiateUseDuration
FReplicated_EInteractionType ReplicatedInteractionType
FReplicated_EInteractableRechargeRule ReplicatedRechargeRule
FStageActorAction StageActorAction
[[EInteractableUILocation]] UILocation
float UseRechargeTime
FReplicated_EFaction UseableByTeam
FReplicated_Int32 Uses
APawn * UsingPawn
TSet< UPrimitiveComponent * > ValidCollisionComponentSet
TArray< FName > ValidCollisionComponents
TSoftClassPtr< UHUDContainerSubWidget > WidgetClass
bool bAllowProximityCheck
bool bAutoPickupOnly
bool bCheckValidEquipState
bool bHideInteractablePrompt
bool bIsUseHeld
bool bOnCooldown
bool bOnlyAllowOwningPlayer
bool bShouldHaveHudMarker

Updated on 2025-01-21 at 09:02:24 +0100