LEAP Documentation 40220
Documentation for the LEAP project
TransportObjectiveSpawnPoint.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2022. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "TransportObjectiveSpawnPoint.generated.h"
9
12
13UCLASS()
15{
16 GENERATED_UCLASS_BODY()
17public:
18 virtual void ObjectiveStateUpdated(AProjectXSpawnerObjective* ObjectiveController, const FObjectiveStatus& State) override;
19 virtual bool CanSpawnPlayer(const AProjectXPlayerState* InInstigator) const override { return false;}
20 virtual float GetSpawnScoreForInstigator(const AActor* const QueryInstigator, FVector& TargetLocation, bool bUseDistanceToTargetLocation = false) const override { return 0;}
21
22protected:
23 virtual void OnOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult) override;
24 virtual void CollectPlayerStartList() override{}
25 virtual void OnFlagPickedUp(AFlag* FlagPickedUp, AProjectXCharacter* Character, int32 FlagTeam) override;
26public:
27 TSubclassOf<UAfflictionInstance> CarrierAffliction;
28};
Definition: Flag.h:43
Definition: FlagSpawn.h:33
Definition: ProjectXCharacter.h:128
Definition: ProjectXPlayerState.h:238
Definition: ProjectXSpawnerObjective.h:53
Definition: TransportObjectiveSpawnPoint.h:15
virtual void CollectPlayerStartList() override
Definition: TransportObjectiveSpawnPoint.h:24
virtual bool CanSpawnPlayer(const AProjectXPlayerState *InInstigator) const override
Definition: TransportObjectiveSpawnPoint.h:19
virtual float GetSpawnScoreForInstigator(const AActor *const QueryInstigator, FVector &TargetLocation, bool bUseDistanceToTargetLocation=false) const override
Definition: TransportObjectiveSpawnPoint.h:20
TSubclassOf< UAfflictionInstance > CarrierAffliction
Definition: TransportObjectiveSpawnPoint.h:27
Definition: ReactsToObjectiveInterface.h:18
Definition: ProjectXSpawnerObjective.h:39