LEAP Documentation 40220
Documentation for the LEAP project
AProjectXSpectatorPawn Class Reference

#include <ProjectXSpectatorPawn.h>

Inheritance diagram for AProjectXSpectatorPawn:

Public Member Functions

virtual void PossessedBy (class AController *NewController) override
 
virtual void UnPossessed () override
 
virtual void SetupPlayerInputComponent (UInputComponent *InputComponent) override
 
virtual void Tick (float DeltaSeconds) override
 
virtual void PawnClientRestart () override
 
virtual void UpdateFollowTarget (AProjectXCharacter *const Character)
 

Protected Member Functions

void Turn (float Value)
 
void LookUp (float Value)
 
void MoveForward (float Value)
 
void MoveRight (float Value)
 
virtual void OnFollowTargetDied (AActor *Victim, const float Damage, struct FDamageEvent const &DamageEvent, const AController *EventInstigator, const AActor *DamageCauser, const class APlayerState *InstigatorPlayerState)
 

Protected Attributes

UCameraComponent * PawnCameraComponent = nullptr
 
USpringArmComponent * CameraBoom = nullptr
 
TWeakObjectPtr< AProjectXCharacterFollowCharacter
 

Member Function Documentation

◆ LookUp()

void AProjectXSpectatorPawn::LookUp ( float  Value)
protected

◆ MoveForward()

void AProjectXSpectatorPawn::MoveForward ( float  Value)
protected

◆ MoveRight()

void AProjectXSpectatorPawn::MoveRight ( float  Value)
protected

◆ OnFollowTargetDied()

void AProjectXSpectatorPawn::OnFollowTargetDied ( AActor *  Victim,
const float  Damage,
struct FDamageEvent const &  DamageEvent,
const AController *  EventInstigator,
const AActor *  DamageCauser,
const class APlayerState *  InstigatorPlayerState 
)
protectedvirtual

◆ PawnClientRestart()

void AProjectXSpectatorPawn::PawnClientRestart ( )
overridevirtual

◆ PossessedBy()

void AProjectXSpectatorPawn::PossessedBy ( class AController *  NewController)
overridevirtual

◆ SetupPlayerInputComponent()

void AProjectXSpectatorPawn::SetupPlayerInputComponent ( UInputComponent *  InputComponent)
overridevirtual

◆ Tick()

void AProjectXSpectatorPawn::Tick ( float  DeltaSeconds)
overridevirtual

◆ Turn()

void AProjectXSpectatorPawn::Turn ( float  Value)
protected

◆ UnPossessed()

void AProjectXSpectatorPawn::UnPossessed ( )
overridevirtual

◆ UpdateFollowTarget()

void AProjectXSpectatorPawn::UpdateFollowTarget ( AProjectXCharacter *const  Character)
virtual

Member Data Documentation

◆ CameraBoom

USpringArmComponent* AProjectXSpectatorPawn::CameraBoom = nullptr
protected

◆ FollowCharacter

TWeakObjectPtr<AProjectXCharacter> AProjectXSpectatorPawn::FollowCharacter
protected

◆ PawnCameraComponent

UCameraComponent* AProjectXSpectatorPawn::PawnCameraComponent = nullptr
protected

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