LEAP Documentation 40220
Documentation for the LEAP project
AAssaultPointDestructible Class Reference

#include <AssaultPointDestructible.h>

Inheritance diagram for AAssaultPointDestructible:
ITeamInterface IInteractableInterface

Public Member Functions

 AAssaultPointDestructible ()
 
bool IsDestroyed () const
 
virtual int32 GetTeam () const override
 
const FBombInfoGetBombInfo () const
 
FORCEINLINE bool IsBombPlanted () const
 
FORCEINLINE float GetFuseTime () const
 
FORCEINLINE bool IsActivePoint () const
 
virtual void DestroyPoint ()
 
virtual int32 SetTeam (int32 NewTeam) override
 
void ToggleActive (bool bNewActiveState)
 
virtual FText GetHighlightText (const UPrimitiveComponent *Component, const APlayerController *EventSender) const override
 
virtual bool CanBeInteractedWith (const UPrimitiveComponent *Component, const APlayerController *EventSender) const override
 
virtual int32 GetTeam () const
 
virtual int32 SetTeam (int32 NewTeam)
 
- Public Member Functions inherited from IInteractableInterface
virtual FText GetHighlightText (const UPrimitiveComponent *Component, const APlayerController *EventSender) const
 
virtual bool CanBeInteractedWith (const UPrimitiveComponent *Component, const APlayerController *EventSender) const
 
virtual float GetHoldTimeMultiplier (const APlayerController *EventSender) const
 

Public Attributes

FAssaultPointDestructibleSignature OnDestructibleDestroyedEvent
 
FAssaultPointDestructibleHealthSignature OnDamageTaken
 
FBombUpdatedSignature OnBombStateUpdated
 

Protected Member Functions

void Multicast_DestroyPoint ()
 
void OnSelected (APlayerController *Sender, UPrimitiveComponent *Component)
 
void OnHoldStopped (APlayerController *Sender, UPrimitiveComponent *Component)
 
void OnHoldStarted (APlayerController *Sender, UPrimitiveComponent *Component)
 
void OnValidInteractionTargetUpdated (APlayerController *Sender, bool bValidInteraction)
 
void PlantBomb (AProjectXCharacter *Planter)
 
void DisarmBomb (AProjectXCharacter *Disarmer)
 
void OnRep_Destroyed ()
 
void OnRep_Team ()
 
void OnDestructibleDestroyed ()
 
void OnTeamUpdated (int32 NewTeam)
 
void OnRep_BombInfo ()
 

Protected Attributes

TSubclassOf< UAfflictionInstance > InteractionAffliction
 
FText BombPlantText = FText()
 
FText BombDisarmText = FText()
 
int32 TeamOwner = 0
 
bool bDestroyed = false
 
bool bActive = false
 
float BombFuseTime = 10.0f
 
FBombInfo BombInfo
 
FTimerHandle BombFuseTimer
 
UInteractableComponent * InteractableComponent
 

Additional Inherited Members

- Static Public Member Functions inherited from ITeamInterface
static bool IsValidTeam (const ITeamInterface *const TeamInferface)
 

Constructor & Destructor Documentation

◆ AAssaultPointDestructible()

AAssaultPointDestructible::AAssaultPointDestructible ( )

Member Function Documentation

◆ CanBeInteractedWith()

bool AAssaultPointDestructible::CanBeInteractedWith ( const UPrimitiveComponent *  Component,
const APlayerController *  EventSender 
) const
overridevirtual

Reimplemented from IInteractableInterface.

◆ DestroyPoint()

void AAssaultPointDestructible::DestroyPoint ( )
virtual

◆ DisarmBomb()

void AAssaultPointDestructible::DisarmBomb ( AProjectXCharacter Disarmer)
protected

◆ GetBombInfo()

const FBombInfo & AAssaultPointDestructible::GetBombInfo ( ) const
inline

◆ GetFuseTime()

FORCEINLINE float AAssaultPointDestructible::GetFuseTime ( ) const
inline

◆ GetHighlightText()

FText AAssaultPointDestructible::GetHighlightText ( const UPrimitiveComponent *  Component,
const APlayerController *  EventSender 
) const
overridevirtual

Reimplemented from IInteractableInterface.

◆ GetTeam()

virtual int32 AAssaultPointDestructible::GetTeam ( ) const
inlineoverridevirtual

Reimplemented from ITeamInterface.

◆ IsActivePoint()

FORCEINLINE bool AAssaultPointDestructible::IsActivePoint ( ) const
inline

◆ IsBombPlanted()

FORCEINLINE bool AAssaultPointDestructible::IsBombPlanted ( ) const
inline

◆ IsDestroyed()

bool AAssaultPointDestructible::IsDestroyed ( ) const

◆ Multicast_DestroyPoint()

void AAssaultPointDestructible::Multicast_DestroyPoint ( )
protected

◆ OnDestructibleDestroyed()

void AAssaultPointDestructible::OnDestructibleDestroyed ( )
protected

◆ OnHoldStarted()

void AAssaultPointDestructible::OnHoldStarted ( APlayerController *  Sender,
UPrimitiveComponent *  Component 
)
protected

◆ OnHoldStopped()

void AAssaultPointDestructible::OnHoldStopped ( APlayerController *  Sender,
UPrimitiveComponent *  Component 
)
protected

◆ OnRep_BombInfo()

void AAssaultPointDestructible::OnRep_BombInfo ( )
protected

◆ OnRep_Destroyed()

void AAssaultPointDestructible::OnRep_Destroyed ( )
protected

◆ OnRep_Team()

void AAssaultPointDestructible::OnRep_Team ( )
protected

◆ OnSelected()

void AAssaultPointDestructible::OnSelected ( APlayerController *  Sender,
UPrimitiveComponent *  Component 
)
protected

◆ OnTeamUpdated()

void AAssaultPointDestructible::OnTeamUpdated ( int32  NewTeam)
protected

◆ OnValidInteractionTargetUpdated()

void AAssaultPointDestructible::OnValidInteractionTargetUpdated ( APlayerController *  Sender,
bool  bValidInteraction 
)
protected

◆ PlantBomb()

void AAssaultPointDestructible::PlantBomb ( AProjectXCharacter Planter)
protected

◆ SetTeam()

int32 AAssaultPointDestructible::SetTeam ( int32  NewTeam)
overridevirtual

Reimplemented from ITeamInterface.

◆ ToggleActive()

void AAssaultPointDestructible::ToggleActive ( bool  bNewActiveState)

Member Data Documentation

◆ bActive

bool AAssaultPointDestructible::bActive = false
protected

◆ bDestroyed

bool AAssaultPointDestructible::bDestroyed = false
protected

◆ BombDisarmText

FText AAssaultPointDestructible::BombDisarmText = FText()
protected

◆ BombFuseTime

float AAssaultPointDestructible::BombFuseTime = 10.0f
protected

◆ BombFuseTimer

FTimerHandle AAssaultPointDestructible::BombFuseTimer
protected

◆ BombInfo

FBombInfo AAssaultPointDestructible::BombInfo
protected

◆ BombPlantText

FText AAssaultPointDestructible::BombPlantText = FText()
protected

◆ InteractableComponent

UInteractableComponent* AAssaultPointDestructible::InteractableComponent
protected

◆ InteractionAffliction

TSubclassOf<UAfflictionInstance> AAssaultPointDestructible::InteractionAffliction
protected

◆ OnBombStateUpdated

FBombUpdatedSignature AAssaultPointDestructible::OnBombStateUpdated

◆ OnDamageTaken

FAssaultPointDestructibleHealthSignature AAssaultPointDestructible::OnDamageTaken

◆ OnDestructibleDestroyedEvent

FAssaultPointDestructibleSignature AAssaultPointDestructible::OnDestructibleDestroyedEvent

◆ TeamOwner

int32 AAssaultPointDestructible::TeamOwner = 0
protected

The documentation for this class was generated from the following files: