![]() |
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <CapturePoint.h>
Public Member Functions | |
virtual void | Tick (float DeltaTime) override |
virtual void | TickCapture (float DeltaTime) |
virtual int32 | GetActorTeam (AActor *Target) const |
virtual int32 | GetTeam () const override |
virtual int32 | SetTeam (int32 NewTeam) override |
virtual float | GetRadarIconSize () const |
virtual TSoftObjectPtr< UTexture2D > | GetRadarIcon () const override |
virtual float | GetRadarIconOpacity () const override |
virtual const FText & | GetRadarLabel () const |
virtual void | SetRadarIconOpacity (float Opacity) override |
virtual bool | RegisterOnStart () const override |
virtual FStopTrackingActorSignature & | GetStopTrackingEvent () override |
int32 | GetSortOrder () const |
FText | GetPointName () const |
virtual void | SetLocked (bool bNewLocked) |
virtual bool | GetIsLocked () const |
const FCaptureInfo & | GetCaptureInfo () const |
FORCEINLINE float | GetCaptureRadius () const |
virtual void | Initialize (int32 NumberOfCheckPointsOverride=INDEX_NONE, float PerPlayerCaptureRateOverride=INDEX_NONE) |
virtual bool | CanSpawnPlayer (const AProjectXPlayerState *Instigator) const override |
virtual float | GetSpawnScoreForInstigator (const AActor *const QueryInstigator, FVector &TargetLocation, bool bUseDistanceToTargetLocation=false) const override |
virtual bool | GetSpawnLocation (AProjectXPlayerState *Instigator, FTransform &Transform) const override |
void | TriggerDelayedActivation () |
virtual AActor * | GetPlayerStart (class AController *Player) const |
virtual AActor * | GetTrackableInterfaceActor () override |
virtual void | MatchEnded () override |
![]() | |
virtual void | RegisterActorForScoring () |
virtual void | DeRegisterActorForScoring () |
virtual bool | CanSpawnPlayer (const AProjectXPlayerState *Instigator) const |
virtual bool | GetSpawnLocation (AProjectXPlayerState *Instigator, FTransform &Transform) const |
virtual float | GetSpawnScoreForInstigator (const AActor *const QueryInstigator, FVector &TargetLocation, bool bUseDistanceToTargetLocation=false) const |
virtual bool | GetCanSpawnOnCombatTarget () const |
virtual void | UpdateCanSpawnOnCombatTarget (bool bNewInCombatSpawnTarget) |
virtual bool | ShouldRegisterForScoringOnStart () const |
![]() | |
void | OnMatchStarted () |
virtual void | MatchStarted () |
void | OnMatchEnded () |
virtual void | MatchEnded () |
virtual int32 | GetTeam () const |
virtual int32 | SetTeam (int32 NewTeam) |
![]() | |
virtual void | BroadcastTrackableActor () |
virtual FStopTrackingActorSignature & | GetStopTrackingEvent () |
virtual TSoftObjectPtr< UTexture2D > | GetMapIcon () const |
virtual TSoftObjectPtr< UTexture2D > | GetRadarIcon () const |
virtual TSoftObjectPtr< UTexture2D > | GetHudIcon () const |
virtual AActor * | GetTrackableInterfaceActor () |
virtual float | GetRadarIconSize () const |
virtual float | GetRadarIconOpacity () const |
virtual float | GetRadarIconEnemyOpacity () const |
virtual bool | GetRadarIconCompensantesRotation () const |
virtual bool | GetAllyVisibilityResponse () |
virtual const FText & | GetRadarLabel () const |
virtual void | SetRadarIconOpacity (float Opacity) |
virtual bool | IsCloaked () const |
virtual bool | RegisterOnStart () const |
Static Public Member Functions | |
static void | GetAllControlPoints (const UObject *WorldContextObject, TArray< class ACapturePoint * > &CapturePointList) |
static void | GetBaseControlEventTableRow (const FBaseControlEventTableRow &TableRow, FString &AllySound, FString &EnemySound) |
![]() | |
static const void | GetAverageEnemyTeamLocation (const UObject *Caller, TArray< AActor * > &AvailableSpawnPoints, FVector &AverageEnemyLocation) |
static AActor * | GetFurthestLocationFromOtherPlayers (const UObject *Caller, TArray< AActor * > &AvailableSpawnPoints) |
static AActor * | GetRandomSafeSpawnLocation (const UObject *Caller, TArray< AActor * > &AvailableSpawnPoints, float MaximumSpawnDistance, float MinimumSpawnDistance) |
![]() | |
static bool | IsValidTeam (const ITeamInterface *const TeamInferface) |
Public Attributes | |
FControlPointOwnerChangedSignature | OnControlPointOwnerChanged |
FCaptureInfoChanged | OnCaptureInfoChanged |
FCapturePointLockChangedSignature | OnCapturePointLockChangedEvent |
FControlPointOwnerChangedSignature | OnPointBeingClaimedEvent |
FStopTrackingActorSignature | StopTrackingCapturePointEvent |
Protected Member Functions | |
virtual void | BeginPlay () override |
virtual void | CollectPlayerStartList () |
void | OnOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult) |
void | OnOverlapEnd (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex) |
void | UpdateProcessedOccupants () |
void | CollectInitialOverlaps () |
void | OnVehiclePassengerChanged (AProjectXVehicle *Vehicle, UVehicleSeatComponent *Seat=NULL, AProjectXCharacter *PreviousPassenger=NULL) |
bool | DoesOccupantHaveAnInvalidAffliction (UAfflictionComponent *AfflictionComponent) |
void | OnRep_Locked () |
void | OnRep_TeamOwner () |
void | OnRep_CaptureInfo () |
void | OnPointOwnerChanged (int LastOwner) |
void | OnCaptureComplete () |
void | OnCapturePointLockChanged (bool bIsLock) |
void | ResetPoint () |
void | ChangeCaptureProgress (float Amount) |
int32 | GetTopCapturingTeam () const |
int32 | GetSecondCapturingTeam () const |
void | UpdateCheckPoint () |
void | SetCaptureInfo (int32 &NumberOfPlayers, int32 &Direction) |
void | AwardCapture (ECaptureType Type, int32 AwardingTeam) |
const TSubclassOf< UExperienceEvent > | GetExpEventOverride (EXPEventType Type) const |
Protected Attributes | |
int32 | DefaultTeam = INDEX_NONE |
TSoftObjectPtr< UTexture2D > | RadarIcon = nullptr |
float | RadarIconOpacity = 0.3f |
bool | bRegisterOnBeginPlay = true |
bool | bIsTrackableWhenLocked = true |
TSet< uint8 > | ValidCaptureTeams = TSet<uint8>({0,1}) |
float | LockedScoringWeight = 0.5f |
float | ControlPointDistanceScoringWeight = 10000.f |
float | CaptureDecayRate = 0.05f |
float | MaxSpawnPointSearchDistance = 10000.0f |
float | MinSpawnPointSearchDistance = 3000.0f |
int32 | SortOrder = INDEX_NONE |
UCapsuleComponent * | CapsuleComponent = NULL |
TArray< class AStartPointVolume * > | StartPointVolumes |
FText | PointName = FText::FromString("X") |
TArray< TSubclassOf< UAfflictionInstance > > | InvalidAfflictionClasses |
bool | bIgnoreTeamWhenSpawning = false |
bool | bResetOnLocked = false |
float | DelayActivationTime = 0.0f |
TMap< EXPEventType, TSubclassOf< UExperienceEvent > > | ExperienceEventOverrides |
bool | bLocked = false |
int32 | TeamOwner = INDEX_NONE |
FCaptureInfo | CaptureInfo |
TArray< TWeakObjectPtr< AProjectXCharacter > > | PlayerOccupants |
TArray< AActor * > | PlayerStartList |
TMap< int32, int32 > | NumberOfOccupantsByTeam |
TArray< int32 > | TeamStandings |
TArray< float > | CaptureCheckPoints |
int32 | CapturingTeam = INDEX_NONE |
float | PerPlayerCaptureRate = 0.1f |
int32 | NumberOfCheckPoints |
FTimerHandle | DelayedUnlockHandle |
|
protected |
|
overrideprotectedvirtual |
Reimplemented in AShieldGenerator.
|
overridevirtual |
Reimplemented from ISpawnTargetInterface.
Reimplemented in AShieldGenerator.
|
protected |
|
protected |
|
protectedvirtual |
|
protected |
|
virtual |
|
static |
|
static |
|
inline |
|
inline |
|
protected |
|
inlinevirtual |
|
virtual |
|
inline |
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
inlinevirtual |
Reimplemented from ITrackableInterface.
|
inlinevirtual |
Reimplemented from ITrackableInterface.
|
inlineprotected |
|
inline |
|
overridevirtual |
Reimplemented from ISpawnTargetInterface.
|
overridevirtual |
Reimplemented from ISpawnTargetInterface.
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
inlineoverridevirtual |
Reimplemented from ITeamInterface.
|
inlineprotected |
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
virtual |
Reimplemented in AObjectiveCapturePoint, and AShieldGenerator.
|
overridevirtual |
Reimplemented from IReactsToMatchEvents.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
protected |
|
protected |
|
virtual |
Reimplemented in AShieldGenerator.
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
overridevirtual |
Reimplemented from ITeamInterface.
|
overridevirtual |
|
virtual |
void ACapturePoint::TriggerDelayedActivation | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
FCaptureInfoChanged ACapturePoint::OnCaptureInfoChanged |
FCapturePointLockChangedSignature ACapturePoint::OnCapturePointLockChangedEvent |
FControlPointOwnerChangedSignature ACapturePoint::OnControlPointOwnerChanged |
FControlPointOwnerChangedSignature ACapturePoint::OnPointBeingClaimedEvent |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
FStopTrackingActorSignature ACapturePoint::StopTrackingCapturePointEvent |
|
protected |
|
protected |
|
protected |