|
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <FlagSpawn.h>
Public Member Functions | |
| virtual FORCEINLINE int32 | GetTeam () const override |
| virtual int32 | SetTeam (int32 NewTeam) override |
| AFlag * | GetFlag () const |
| bool | IsFlagHome () const |
| void | ResetFlag (AFlag *FlagReset, AProjectXCharacter *Character, int32 FlagTeam) |
| void | UpdateBehaviour (EFlagSpawnBehaviour NewSpawnBehaviour) |
| virtual bool | CanSpawnPlayer (const AProjectXPlayerState *Instigator) const override |
| virtual float | GetSpawnScoreForInstigator (const AActor *const QueryInstigator, FVector &TargetLocation, bool bUseDistanceToTargetLocation=false) const override |
| virtual TSoftObjectPtr< UTexture2D > | GetRadarIcon () const override |
| virtual float | GetRadarIconOpacity () const |
| virtual void | SetRadarIconOpacity (float Opacity) override |
| virtual bool | CanFlagBeCaptured () const |
| virtual bool | CanFlagBeSpawned () const |
Public Member Functions inherited from IReactsToMatchEvents | |
| void | OnMatchStarted () |
| virtual void | MatchStarted () |
| void | OnMatchEnded () |
| virtual void | MatchEnded () |
| virtual int32 | GetTeam () const |
| virtual int32 | SetTeam (int32 NewTeam) |
Public Member Functions inherited from ISpawnTargetInterface | |
| 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 |
Public Member Functions inherited from ITrackableInterface | |
| 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 |
Public Attributes | |
| FFlagSpawnEventSignature | OnFlagUpdatedEvent |
| FFlagCarrierEventSignature | OnFlagCapturedEvent |
| FFlagStateUpdatedEventSignature | OnFlagStateUpdatedEvent |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | CollectPlayerStartList () |
| AFlag * | SpawnFlag () |
| virtual bool | GetSpawnLocation (AProjectXPlayerState *Instigator, FTransform &Transform) const override |
| virtual AActor * | GetPlayerStart (class AController *Player) const |
| virtual AActor * | GetTrackableInterfaceActor () override |
| void | OnFlagReset () |
| virtual void | OnFlagPickedUp (AFlag *FlagPickedUp, AProjectXCharacter *Character, int32 FlagTeam) |
| void | OnRep_Flag () |
| void | OnRep_FlagState () |
| virtual void | OnOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult) |
| void | Multicast_OnFlagCaptured () |
| void | OnFlagCaptured () |
Protected Attributes | |
| TArray< AActor * > | PlayerStartList |
| bool | bFlagIsHome = false |
| AFlag * | Flag |
| TSoftObjectPtr< UTexture2D > | RadarIcon = nullptr |
| float | RadarIconOpacity = 0.3f |
| float | FlagSpawnDistanceScoringWeight = 10000.f |
| TSubclassOf< AFlag > | FlagClass |
| TArray< class AStartPointVolume * > | StartPointVolumes |
| int32 | Team = MAX_uint8 |
| USphereComponent * | Sphere |
| bool | bDoesFlagResetIfCaptured = true |
| bool | bCanFlagBeCapturedWhenNotHome = false |
| EFlagSpawnBehaviour | FlagBehaviour = EFlagSpawnBehaviour::Both |
Additional Inherited Members | |
Static Public Member Functions inherited from ITeamInterface | |
| static bool | IsValidTeam (const ITeamInterface *const TeamInferface) |
Static Public Member Functions inherited from ISpawnTargetInterface | |
| 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) |
|
overrideprotectedvirtual |
|
virtual |
|
virtual |
|
overridevirtual |
Reimplemented from ISpawnTargetInterface.
Reimplemented in ATransportObjectiveSpawnPoint.
|
protectedvirtual |
Reimplemented in ATransportObjectiveSpawnPoint.
|
inline |
|
protectedvirtual |
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
inlinevirtual |
Reimplemented from ITrackableInterface.
|
overrideprotectedvirtual |
Reimplemented from ISpawnTargetInterface.
|
overridevirtual |
Reimplemented from ISpawnTargetInterface.
Reimplemented in ATransportObjectiveSpawnPoint.
|
inlineoverridevirtual |
Reimplemented from ITeamInterface.
|
inlineoverrideprotectedvirtual |
Reimplemented from ITrackableInterface.
|
inline |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in ATransportObjectiveSpawnPoint.
|
protected |
|
protectedvirtual |
Reimplemented in ATransportObjectiveSpawnPoint.
|
protected |
|
protected |
| void AFlagSpawn::ResetFlag | ( | AFlag * | FlagReset, |
| AProjectXCharacter * | Character, | ||
| int32 | FlagTeam | ||
| ) |
|
inlineoverridevirtual |
Reimplemented from ITrackableInterface.
|
inlineoverridevirtual |
Reimplemented from ITeamInterface.
|
protected |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| FFlagCarrierEventSignature AFlagSpawn::OnFlagCapturedEvent |
| FFlagStateUpdatedEventSignature AFlagSpawn::OnFlagStateUpdatedEvent |
| FFlagSpawnEventSignature AFlagSpawn::OnFlagUpdatedEvent |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |