LEAP Documentation 40220
Documentation for the LEAP project
ADesignatorMarker Class Reference

#include <DesignatorMarker.h>

Inheritance diagram for ADesignatorMarker:
IOwnedInterface ITeamInterface

Public Member Functions

float GetDesignatorRadius () const
 
void SetTargetTransform (const FTransform NewTargetTransform)
 
virtual bool ApplyDepenetrationAdjustment ()
 
virtual void StartCharge (float TotalTime, float ElapsedTime)
 
virtual void EndCharge (float TotalTime, float ElapsedTime)
 
virtual void ToggleValidDesignator (bool bValid)
 
void Complete ()
 
APlayerState * GetOwnedPlayerState () const override
 
int32 GetTeam () const override
 
virtual void OnOwnerLeave () override
 
bool IsLocallyOwned () const
 
- Public Member Functions inherited from IOwnedInterface
template<class T >
T * GetOwnedPlayerState () const
 
virtual APlayerState * GetOwnedPlayerState () const
 
template<class T >
T * GetOwningController () const
 
virtual AController * GetOwningController () const
 
virtual void OnOwnerLeave ()
 
virtual void OnOwnerDied ()
 
- Public Member Functions inherited from ITeamInterface
virtual int32 GetTeam () const
 
virtual int32 SetTeam (int32 NewTeam)
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void Tick (float DeltaTime) override
 
void K2_StartCharge (float TotalTime, float ElapsedTime)
 
void K2_EndCharge (float TotalTime, float ElapsedTime)
 
void K2_UpdateValidDesignator (bool bValidDesignator)
 
void InitializeForTeam (int32 Team)
 

Protected Attributes

APlayerState * PlayerOwner = NULL
 
class USphereComponent * SceneComponent
 
class UShapeComponent * ShapeComponent = NULL
 
float DesignatorRadius = 100.f
 
float DesignatorLocationLerpSpeed = 5.f
 
FTransform TargetTransform = FTransform::Identity
 

Additional Inherited Members

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

Member Function Documentation

◆ ApplyDepenetrationAdjustment()

bool ADesignatorMarker::ApplyDepenetrationAdjustment ( )
virtual

◆ BeginPlay()

void ADesignatorMarker::BeginPlay ( )
overrideprotectedvirtual

◆ Complete()

void ADesignatorMarker::Complete ( )

◆ EndCharge()

void ADesignatorMarker::EndCharge ( float  TotalTime,
float  ElapsedTime 
)
virtual

◆ GetDesignatorRadius()

float ADesignatorMarker::GetDesignatorRadius ( ) const
inline

◆ GetOwnedPlayerState()

APlayerState * ADesignatorMarker::GetOwnedPlayerState ( ) const
inlineoverridevirtual

Reimplemented from IOwnedInterface.

◆ GetTeam()

int32 ADesignatorMarker::GetTeam ( ) const
overridevirtual

Reimplemented from ITeamInterface.

◆ InitializeForTeam()

void ADesignatorMarker::InitializeForTeam ( int32  Team)
protected

◆ IsLocallyOwned()

bool ADesignatorMarker::IsLocallyOwned ( ) const

◆ K2_EndCharge()

void ADesignatorMarker::K2_EndCharge ( float  TotalTime,
float  ElapsedTime 
)
protected

◆ K2_StartCharge()

void ADesignatorMarker::K2_StartCharge ( float  TotalTime,
float  ElapsedTime 
)
protected

◆ K2_UpdateValidDesignator()

void ADesignatorMarker::K2_UpdateValidDesignator ( bool  bValidDesignator)
protected

◆ OnOwnerLeave()

void ADesignatorMarker::OnOwnerLeave ( )
overridevirtual

Reimplemented from IOwnedInterface.

◆ SetTargetTransform()

void ADesignatorMarker::SetTargetTransform ( const FTransform  NewTargetTransform)
inline

◆ StartCharge()

void ADesignatorMarker::StartCharge ( float  TotalTime,
float  ElapsedTime 
)
virtual

◆ Tick()

void ADesignatorMarker::Tick ( float  DeltaTime)
overrideprotectedvirtual

◆ ToggleValidDesignator()

void ADesignatorMarker::ToggleValidDesignator ( bool  bValid)
virtual

Member Data Documentation

◆ DesignatorLocationLerpSpeed

float ADesignatorMarker::DesignatorLocationLerpSpeed = 5.f
protected

◆ DesignatorRadius

float ADesignatorMarker::DesignatorRadius = 100.f
protected

◆ PlayerOwner

APlayerState* ADesignatorMarker::PlayerOwner = NULL
protected

◆ SceneComponent

class USphereComponent* ADesignatorMarker::SceneComponent
protected

◆ ShapeComponent

class UShapeComponent* ADesignatorMarker::ShapeComponent = NULL
protected

◆ TargetTransform

FTransform ADesignatorMarker::TargetTransform = FTransform::Identity
protected

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