Space Plunder
Loading...
Searching...
No Matches
ACampaignPlayerCharacter Class Reference

#include <CampaignPlayerCharacter.h>

Inheritance diagram for ACampaignPlayerCharacter:
ACustomPlayerCharacter ACustomCharacterBase IHitMarkerInterface AALSCharacter ICharacterWeaponPickups ICharacterInterface IBaseInterface IBaseServer AALSBaseCharacter AInteractableCharacter IALSCharacterInterface ACharacterBase ICharacterBaseInterface ISaveLoad IBaseInterface

Public Member Functions

 ACampaignPlayerCharacter (const FObjectInitializer &ObjectInitializer)
 
virtual void SetupComponents (AController *ControllerReference=nullptr, AActor *HUDReference=nullptr, const bool bIsLocallyControlled=false) override
 
virtual void OnPawnSpawned () override
 
- Public Member Functions inherited from ACustomPlayerCharacter
 ACustomPlayerCharacter (const FObjectInitializer &ObjectInitializer)
 
virtual void Tick (float DeltaTime) override
 
virtual void SetupPlayerInputComponent (class UInputComponent *PlayerInputComponent) override
 
void UseAction (const bool bValue)
 
void GrabAction (const bool bValue) const
 
void ShootAction (const bool bValue)
 
void ReloadAction (const bool bValue) const
 
void AutoModeAction (const bool bValue) const
 
void ThrowAction (const bool bValue) const
 
void SwapWeaponAction (const bool bValue) const
 
void HolsterAction (const bool bValue) const
 
void MeleeAction (const bool bValue) const
 
void QuickSaveAction (const bool bValue)
 
void QuickLoadAction (const bool bValue)
 
void PingAction (const bool bValue) const
 
void PingMenuAction () const
 
void SelectionUpAction (const bool bValue) const
 
virtual void AimAction (const bool bValue) override
 
virtual void HitMarker (const AActor *ActorHit, const float Damage, const UDamageType *DamageType, const FName HitBone, const FVector HitLocation, const bool bKillingHit=false, const bool bInjuredPart=false) override
 
virtual void Client_HitMarker (const AActor *ActorHit, const float Damage, const UDamageType *DamageType, const FName HitBone, const FVector HitLocation, const bool bKillingHit=false, const bool bInjuredPart=false)
 
virtual void StartThreatIndication (AActor *PawnThreat) override
 
virtual void UpdateThreatIndication (const FVector &Location, const float DetectionAmount) override
 
virtual void StopThreatIndication () override
 
virtual void OnCapsuleBeginOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult)
 
virtual void OnCapsuleEndOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex)
 
virtual void InteractionTraceEventHit (const FHitResult &HitResult)
 Old Method !REMOVE.
 
virtual void CameraUpAction_Implementation (float Value) override
 
virtual void CameraRightAction_Implementation (float Value) override
 
virtual EALSGait GetAllowedGait () const override
 
virtual FVector GetAimDownSightCameraTarget () const override
 
virtual float GetAimDownSightFOV () const override
 
virtual bool GetCanAimDownSights () const override
 
void CameraInputStopped ()
 
virtual void SlideStart ()
 
virtual void SlideStop ()
 
void CalculateFloorInfluence ()
 
float GetSlideTime () const
 
void SetDebugging (const FString &Component="", const bool bOn=true)
 
- Public Member Functions inherited from ACustomCharacterBase
 ACustomCharacterBase (const FObjectInitializer &ObjectInitializer)
 
bool IsCrouching () const
 
virtual void NotifyHit (UPrimitiveComponent *MyComp, AActor *Other, UPrimitiveComponent *OtherComp, bool bSelfMoved, FVector HitLocation, FVector HitNormal, FVector NormalImpulse, const FHitResult &Hit) override
 
virtual ECharacterType GetCharacterType () const override
 
virtual EFactionType GetCharacterFaction () const override
 
virtual bool GetIsDead () const override
 
void OnStartThreatIndication (AActor *PawnThreat)
 
void OnStopThreatIndication ()
 
void OnUpdateThreatIndication (const FVector &Location, const float DetectionAmount)
 
virtual USkeletalMeshComponent * GetCharacterSecondaryMesh () const override
 
virtual void SetCharacterVehicleMode (const EVehicleMode Mode) override
 
virtual bool GetCharacterHealth (float &Health, float &MaxHealth) const override
 
void OnCharacterVehicleModeChanged (const EVehicleMode Mode)
 
virtual void ForceWakeUp ()
 
virtual void ReceiveStartFocus_Implementation (AActor *Caller) override
 
virtual void ReceiveEndFocus_Implementation (AActor *Caller) override
 
virtual void SetGravityEnabled (const bool bValue) override
 
virtual FString GetObjectDisplayName () const override
 
virtual void DestroyActor (AActor *ActorToDestroy) override
 
virtual void DestroyActorOnClient (AActor *ActorToDestroy) override
 
virtual bool GetIsCharacter () const override
 
void SetPlayerName (FString Username)
 
virtual void WeaponStateChanged (const struct FPlayerWeaponState &PlayerWeaponState)
 
virtual void ForwardMovementAction (float Value) override
 
virtual void RightMovementAction (float Value) override
 
virtual void RagdollStart () override
 
virtual void RagdollEnd () override
 
virtual void Landed (const FHitResult &Hit) override
 
virtual bool CanSprint () const override
 
virtual void SprintAction (bool bValue) override
 
virtual void JumpAction (bool bValue) override
 
virtual void OnJumped_Implementation () override
 
void FlyUp ()
 
void FlyDown ()
 
void Server_OnPawnSpawn ()
 
void ReceiveOnPawnSpawn ()
 
- Public Member Functions inherited from AALSCharacter
 AALSCharacter (const FObjectInitializer &ObjectInitializer)
 
void UpdateHeldObject ()
 
void ClearHeldObject ()
 
void AttachToHand (UStaticMesh *NewStaticMesh, USkeletalMesh *NewSkeletalMesh, class UClass *NewAnimClass, bool bLeftHand, FVector Offset)
 
virtual ECollisionChannel GetThirdPersonTraceParams (FVector &TraceOrigin, float &TraceRadius) override
 
virtual FTransform GetThirdPersonPivotTarget () override
 
virtual FVector GetFirstPersonCameraTarget () override
 
- Public Member Functions inherited from AALSBaseCharacter
 AALSBaseCharacter (const FObjectInitializer &ObjectInitializer)
 
FORCEINLINE class UALSCharacterMovementComponentGetALSMovementComponent () const
 
virtual FVector GetLeftHandGoal () const override
 
virtual FVector GetRightHandGoal () const override
 
virtual EALSOverlayState GetCurrentOverlayState () const override
 
virtual bool GetIsMantling () const override
 
virtual FORCEINLINE IALSGravityMovementInterfaceGetALSGravityMovementInterface () const override
 
virtual void Ragdoll () override
 
virtual void PostInitializeComponents () override
 
virtual void GetLifetimeReplicatedProps (TArray< FLifetimeProperty > &OutLifetimeProps) const override
 
UAnimMontage * GetGetUpAnimation (bool bRagdollFaceUpState)
 
void Server_SetMeshLocationDuringRagdoll (FVector MeshLocation)
 
void SetMovementState (EALSMovementState NewState, bool bForce=false)
 
EALSMovementState GetMovementState () const
 
EALSMovementState GetPrevMovementState () const
 
void SetMovementAction (EALSMovementAction NewAction, bool bForce=false)
 
EALSMovementAction GetMovementAction () const
 
void SetStance (EALSStance NewStance, bool bForce=false)
 
EALSStance GetStance () const
 
void SetOverlayOverrideState (int32 NewState)
 
int32 GetOverlayOverrideState () const
 
void SetGait (EALSGait NewGait, bool bForce=false)
 
EALSGait GetGait () const
 
EALSGait GetDesiredGait () const
 
virtual void SetRotationMode (EALSRotationMode NewRotationMode, bool bForce=false)
 
void Server_SetRotationMode (EALSRotationMode NewRotationMode, bool bForce)
 
EALSRotationMode GetRotationMode () const
 
virtual void SetViewMode (EALSViewMode NewViewMode, bool bForce=false)
 
void Server_SetViewMode (EALSViewMode NewViewMode, bool bForce)
 
EALSViewMode GetViewMode () const
 
void SetOverlayState (EALSOverlayState NewState, bool bForce=false)
 
void SetGroundedEntryState (EALSGroundedEntryState NewState)
 
void Server_SetOverlayState (EALSOverlayState NewState, bool bForce)
 
EALSOverlayState GetOverlayState () const
 
EALSGroundedEntryState GetGroundedEntryState () const
 
void EventOnLanded ()
 
void Multicast_OnLanded ()
 
void EventOnJumped ()
 
void Multicast_OnJumped ()
 
void Server_PlayMontage (UAnimMontage *Montage, float PlayRate)
 
void Multicast_PlayMontage (UAnimMontage *Montage, float PlayRate)
 
void Server_StopMontage (const float InBlendOutTime, const UAnimMontage *Montage)
 
void Multicast_StopMontage (const float InBlendOutTime, const UAnimMontage *Montage)
 
void ReplicatedRagdollStart ()
 
void Server_RagdollStart ()
 
void Multicast_RagdollStart ()
 
void ReplicatedRagdollEnd ()
 
void Server_RagdollEnd (FVector CharacterLocation)
 
void Multicast_RagdollEnd (FVector CharacterLocation)
 
EALSStance GetDesiredStance () const
 
void SetDesiredStance (EALSStance NewStance)
 
void Server_SetDesiredStance (EALSStance NewStance)
 
void SetDesiredGait (EALSGait NewGait)
 
void Server_SetDesiredGait (EALSGait NewGait)
 
EALSRotationMode GetDesiredRotationMode () const
 
virtual void SetDesiredRotationMode (EALSRotationMode NewRotMode)
 
void Server_SetDesiredRotationMode (EALSRotationMode NewRotMode)
 
void SetActorLocationAndTargetRotation (FVector NewLocation, FRotator NewRotation)
 
bool HasMovementInput () const
 
FALSMovementSettings GetTargetMovementSettings () const
 
EALSGait GetActualGait (EALSGait AllowedGait) const
 
void OnBreakfall ()
 
virtual void OnBreakfall_Implementation ()
 
virtual float PlayReplicatedMontage (UAnimMontage *MontageToPlay, const float InPlayRate, const EMontagePlayReturnType ReturnValueType, const float InTimeToStartMontageAt, const bool bStopAllMontages) override
 
virtual void StopReplicatedMontage (const float InBlendOutTime, const UAnimMontage *Montage) override
 
void Replicated_PlayMontage (UAnimMontage *Montage, float PlayRate)
 
virtual void Replicated_PlayMontage_Implementation (UAnimMontage *Montage, float PlayRate)
 
UAnimMontage * GetRollAnimation ()
 
float GetAnimCurveValue (FName CurveName) const
 
void SetVisibleMesh (USkeletalMesh *NewSkeletalMesh)
 
void Server_SetVisibleMesh (USkeletalMesh *NewSkeletalMesh)
 
bool IsRightShoulder () const
 
void SetRightShoulder (const bool bNewRightShoulder)
 
bool IsAimingDownSights () const
 
void SetAimDownSights (const bool bNewAimDownSights)
 
void GetCameraParameters (float &TPFOVOut, float &FPFOVOut, bool &bRightShoulderOut) const
 
void SetCameraBehavior (UALSPlayerCameraBehavior *CamBeh)
 
FVector GetAcceleration () const
 
bool IsMoving () const
 
bool GetIsFlying () const
 
FVector GetMovementInput () const
 
float GetMovementInputAmount () const
 
float GetSpeed () const
 
FRotator GetAimingRotation () const
 
float GetAimYawRate () const
 
void CameraUpAction (float Value)
 
void CameraRightAction (float Value)
 
virtual void CameraTapAction ()
 
virtual void CameraHeldAction ()
 
void WalkAction ()
 
void RagdollAction ()
 
void VelocityDirectionAction ()
 
void LookingDirectionAction ()
 
- Public Member Functions inherited from AInteractableCharacter
 AInteractableCharacter (const FObjectInitializer &ObjectInitializer)
 
virtual USceneComponent * GetThrowPoint () const override
 
virtual void ReceiveStartFocus (AActor *Caller)
 
virtual void ReceiveEndFocus (AActor *Caller)
 
virtual void ReceiveOnInteract (AActor *Caller, const EInteractionType InteractionType)
 
virtual void ReceiveOnEndInteract (AActor *Caller)
 
virtual void ReceiveOnOverlap (AActor *Caller)
 
virtual void ReceiveOnEndOverlap (AActor *Caller)
 
virtual void ReceiveToggleSwitch (AActor *Caller, const bool bOn)
 
- Public Member Functions inherited from ACharacterBase
 ACharacterBase (const FObjectInitializer &ObjectInitializer)
 
virtual bool SaveGame () override
 
virtual bool LoadGame () override
 
virtual USkeletalMeshComponent * GetCharacterMesh () const override
 
virtual UPrimitiveComponent * GetPrimitiveComponent () override
 
virtual void RagdollStop () override
 
virtual FCharacterBaseSkillsGetCharacterSkills () override
 
virtual bool GetAudioSocketLocation (const FName &AudioSocket, FVector &Location) const override
 
virtual FCharacterInfo GetCharacterInfo () const override
 
virtual void GetThrowStats (FTransform &OutTransform, FVector &OutThrowForce) const override
 
virtual void CharacterModeChanged (const FGameplayTag &NewMode) override
 
virtual int32 GetStrength () const
 
virtual int32 GetPerception () const
 
virtual int32 GetEndurance () const
 
virtual int32 GetCharisma () const
 
virtual int32 GetIntelligence () const
 
virtual int32 GetAgility () const
 
virtual int32 GetWeaponSkill () const
 
virtual int32 GetStealth () const
 
virtual int32 GetLuck () const
 
virtual int32 GetSkillPoints () const
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void OnDeath (AActor *OwningActor, const EDeathType DeathType, AActor *DeathCauser, AController *DeathInstigator) override
 
- Protected Member Functions inherited from ACustomPlayerCharacter
void ServerSetFiring (const bool bFiring)
 
void Multicast_SetFiring (const bool bFiring)
 
virtual void SaveGameData () override
 
virtual void LoadGameData () override
 
virtual bool SaveCharacterData () override
 
virtual bool LoadCharacterData () override
 
virtual void LoadComponentsSaveData () override
 
virtual void SaveComponentsData () override
 
virtual void OnRotationModeChanged (EALSRotationMode PreviousRotationMode) override
 
virtual bool CanJumpInternal_Implementation () const override
 
virtual bool CanCrouch () const override
 
virtual void StanceAction () override
 
virtual void FirePressedAction () override
 
virtual void InteractionDataUpdated () const override
 
virtual int32 PickupGunEvent (const FWeaponData_T In_WeaponData) override
 
virtual bool PickupGunCheck (const FWeaponData_T &In_WeaponData) override
 
virtual bool PickupAttachmentCheck (const FWeaponAttachment &In_WeaponAttachmentData) override
 
virtual void PickupAttachmentEvent (const FString &WeaponAttachmentID) override
 
virtual void WeaponEquipped (const TArray< FWeaponData_T > &Weapons, const int32 CurrentWeaponIndex) override
 
virtual void OnFullDamageHit (AController *InstigatedBy, const float TotalDamage, const UDamageType *DamageType, const FName &HitBone, const FVector &HitLocation, const bool bKillingHit, const bool bInjuredPart) override
 
void TakeAnyDamage (AActor *DamagedActor, float Damage, const UDamageType *DamageType, AController *InstigatedBy, AActor *DamageCauser)
 
virtual void UpdateStaminaHUD () override
 
void OnStealthTakedown (const AActor *Victim, const bool bLethal=true)
 
- Protected Member Functions inherited from ACustomCharacterBase
bool GetHandsTied () const
 
virtual void SetHandsTied (const bool bValue=true)
 
virtual void AimAssistOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, const int32 OtherBodyIndex, const bool bFromSweep, const FHitResult &SweepResult)
 
void OnAimAssistOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, const int32 OtherBodyIndex, const bool bFromSweep, const FHitResult &SweepResult)
 
virtual void AimAssistRevertSize ()
 
virtual void OnHealthAndShieldChanged (float Health, float MaxHealth, float ShieldHealth, float MaxShieldHealth, const class UDamageType *DamageType)
 
virtual void OnInjuredBodyPart (const EBodyPartName InjuredBodyPart, const FVector &HitLocation, const TArray< FBodyPart > &AllBodyParts)
 
virtual void OnShieldBreak ()
 
virtual void OnKnockedOut (const class UDamageType *DamageType, const float WaitTime)
 
virtual void OnWakeUp ()
 
FPlayerDeath GetPlayerDeathInfo (const EDeathType DeathType, AActor *DeathCauser, const AController *DeathInstigator) const
 
USkeletalMeshComponent * GetCustomMesh () const
 
virtual void OnDeathReplicated ()
 
virtual void Sprinting ()
 
virtual void StopSprinting ()
 
virtual void RechargeStamina ()
 
virtual void SetMaxStamina (const float AmountToAdd)
 
void OnCharacterReadyReplicated ()
 
- Protected Member Functions inherited from AALSCharacter
virtual void OnOverlayStateChanged (EALSOverlayState PreviousState) override
 
void UpdateHeldObjectAnimations ()
 
- Protected Member Functions inherited from AALSBaseCharacter
void RagdollUpdate (float DeltaTime)
 
void SetActorLocationDuringRagdoll (float DeltaTime)
 
virtual void OnMovementModeChanged (EMovementMode PrevMovementMode, uint8 PreviousCustomMode=0) override
 
virtual void OnMovementStateChanged (EALSMovementState PreviousState)
 
virtual void OnMovementActionChanged (EALSMovementAction PreviousAction)
 
virtual void OnStanceChanged (EALSStance PreviousStance)
 
virtual void OnGaitChanged (EALSGait PreviousGait)
 
virtual void OnViewModeChanged (EALSViewMode PreviousViewMode)
 
virtual void OnVisibleMeshChanged (const USkeletalMesh *PreviousSkeletalMesh)
 
virtual void OnStartCrouch (float HalfHeightAdjust, float ScaledHalfHeightAdjust) override
 
virtual void OnEndCrouch (float HalfHeightAdjust, float ScaledHalfHeightAdjust) override
 
void OnLandFrictionReset ()
 
void SetEssentialValues (float DeltaTime)
 
void UpdateCharacterMovement ()
 
void UpdateGroundedRotation (float DeltaTime)
 
void UpdateInAirRotation (float DeltaTime)
 
void SmoothCharacterRotation (FRotator Target, float TargetInterpSpeed, float ActorInterpSpeed, float DeltaTime)
 
float CalculateGroundedRotationRate () const
 
void LimitRotation (float AimYawMin, float AimYawMax, float InterpSpeed, float DeltaTime)
 
void SetMovementModel ()
 
void ForceUpdateCharacterState ()
 
void OnRep_RotationMode (EALSRotationMode PrevRotMode)
 
void OnRep_ViewMode (EALSViewMode PrevViewMode)
 
void OnRep_OverlayState (EALSOverlayState PrevOverlayState)
 
void OnRep_VisibleMesh (const USkeletalMesh *PreviousSkeletalMesh)
 
void HandleNonMovingRotation (float DeltaTime)
 
- Protected Member Functions inherited from AInteractableCharacter
virtual void InteractionDataUpdated ()
 
- Protected Member Functions inherited from ACharacterBase
virtual void FallOver (const float WaitTime)
 
void OnFallOver (const float WaitTime)
 
virtual void GetUpFromFall ()
 
void OnGetUpFromFall ()
 
void OnRep_CharacterDeath ()
 
IPlayerControllerInterfaceGetPlayerControllerInterface ()
 
IPlayerStateInterfaceGetPlayerStateInterface ()
 
void LogDebugError (const FString &Message) const
 
void LogDebugError (const FString &Message, const int32 Value) const
 
void LogDebugError (const FString &Message, const float Value) const
 
void LogDebugWarning (const FString &Message) const
 
void LogDebugWarning (const FString &Message, const int32 Value) const
 
void LogDebugWarning (const FString &Message, const float Value) const
 
void LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const
 
void LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const
 
void LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const
 
void LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const
 
void LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const
 
void SetCategoryName (const FLogCategoryBase &Category)
 

Protected Attributes

class UDialogueComponent * DialogueComponent
 
- Protected Attributes inherited from ACustomPlayerCharacter
bool bFiringWeapon = false
 
float FiringWeaponAimDownDelay = 5.0f
 
bool bUseGunAimDownSight = true
 
FAimAssist CurrentAimAssist
 
AActor * CurrentAimAssistTarget = nullptr
 
int32 CurrentAimAssistTargetHits = 0
 
float GrabberThrowMultiplier = 2.0f
 
float SlideTime = 2.0f
 
class UPlayerCharacterShootingComponent * PlayerShootingComponent
 
class UCompanionMasterComponent * CompanionMasterComponent
 
class UCharacterGrabberComponent * GrabberComponent
 
class UPhysicsHandleComponent * PhysicsHandleComponent
 
FStealthData StealthData
 
bool bStealthAttachToCustomMesh = true
 
bool bStealthAttachToCapsule = false
 
bool bStealthAttachToCharacterMesh = false
 
bool bStealthWeldBodies = false
 
EAttachmentRule StealthLocationRule = EAttachmentRule::KeepWorld
 
EAttachmentRule StealthRotationRule = EAttachmentRule::KeepWorld
 
bool bStealthAttach = false
 
TArray< UAnimMontage * > StealthTakedownAnims
 
- Protected Attributes inherited from ACustomCharacterBase
class UCharacterHealthComponent * CharacterHealthComponent
 
class UHealthBarWidgetComponent * HealthBarComponent
 
class UPhysicalAnimationComponent * PhysicalAnimationComponent
 
class UPhysicalHitReactionsComponentPhysicalHitReactionComponent
 
class UMeleeComponent * MeleeComponent
 
class UFootstepFXHandler * FootstepsComponent
 
class USphereComponent * AimAssistSphereComponent
 Remove? use sphere trace instead //.
 
class URecoilAnimationComponent * RecoilAnimationComponent
 
class UALSMantleComponentMantleComponentReference
 
USkeletalMeshComponent * CustomSkeletalMesh
 
float MultiplayerStartDelay = 0.5f
 
float FallDamageOffset = 550.0f
 
float FallDamageDivisor = 5.0f
 
ECharacterType CharacterType = ECharacterType::Human
 
FString DisplayName = "Default Name"
 
bool bForceWalkWhileAiming = true
 
bool bToggleSprint = true
 
bool bSprinting = true
 
float SprintDeadZone = 0.5f
 
float FlyingScaleValue = 1.0f
 
bool bIsFlyingUp = false
 
bool bIsFlyingDown = false
 
float Stamina = 100.0f
 
float MinRequiredStamina = 0.2f
 
float MaxStamina = 60.0f
 
float MaxStaminaDefault = 60.0f
 
float MaxPossibleStamina = 150.0f
 
float MinStamina = 10.0f
 
float StaminaDepletionRate = 0.05f
 
float StaminaDepletionIncrement = 0.5f
 
float StaminaRechargeRate = 0.05f
 
float StaminaRechargeIncrement = 0.5f
 
float StaminaRechargeDelayTime = 2.0f
 
float StaminaJumpAmount = 10.0f
 
float ThrowStrength = 500.0f
 
bool bHandsTied = false
 
float AimAssistRadius = 160.0f
 
float AimAssistShrinkTime = 3.0f
 
bool bIsNPC = false
 
bool bIsDead = false
 
bool bCharacterReady = false
 
- Protected Attributes inherited from AALSCharacter
TObjectPtr< USceneComponent > HeldObjectRoot = nullptr
 
TObjectPtr< USkeletalMeshComponent > SkeletalMesh = nullptr
 
TObjectPtr< UStaticMeshComponent > StaticMesh = nullptr
 
- Protected Attributes inherited from AALSBaseCharacter
TObjectPtr< UALSCharacterMovementComponentMyCharacterMovementComponent
 
bool bOptimizeGroundRotation = true
 
bool bOptimizeAnimValues = true
 
FALSAnimValues AnimValues
 
IALSAnimInterfaceAnimInstanceInterface
 
EALSRotationMode DesiredRotationMode = EALSRotationMode::LookingDirection
 
EALSGait DesiredGait = EALSGait::Running
 
EALSStance DesiredStance = EALSStance::Standing
 
float LookUpDownRate = 1.25f
 
float LookLeftRightRate = 1.25f
 
float RollDoubleTapTimeout = 0.3f
 
bool bBreakFall = false
 
bool bSprintHeld = false
 
float ThirdPersonFOV = 90.0f
 
float FirstPersonFOV = 90.0f
 
bool bRightShoulder = false
 
bool bAimDownSights = false
 
FDataTableRowHandle MovementModel
 
FVector Acceleration = FVector::ZeroVector
 
bool bIsMoving = false
 
bool bIsFlying = false
 
bool bHasMovementInput = false
 
FRotator LastVelocityRotation
 
FRotator LastMovementInputRotation
 
float Speed = 0.0f
 
float MovementInputAmount = 0.0f
 
float AimYawRate = 0.0f
 
float EasedMaxAcceleration = 0.0f
 
FVector ReplicatedCurrentAcceleration = FVector::ZeroVector
 
FRotator ReplicatedControlRotation = FRotator::ZeroRotator
 
TObjectPtr< USkeletalMesh > VisibleMesh = nullptr
 
EALSOverlayState OverlayState = EALSOverlayState::Default
 
EALSGroundedEntryState GroundedEntryState
 
EALSMovementState MovementState = EALSMovementState::None
 
EALSMovementState PrevMovementState = EALSMovementState::None
 
EALSMovementAction MovementAction = EALSMovementAction::None
 
EALSRotationMode RotationMode = EALSRotationMode::LookingDirection
 
EALSGait Gait = EALSGait::Walking
 
EALSStance Stance = EALSStance::Standing
 
EALSViewMode ViewMode = EALSViewMode::ThirdPerson
 
int32 OverlayOverrideState = 0
 
FALSMovementStateSettings MovementData
 
FRotator TargetRotation = FRotator::ZeroRotator
 
FRotator InAirRotation = FRotator::ZeroRotator
 
float YawOffset = 0.0f
 
bool bBreakfallOnLand = true
 
float BreakfallOnLandVelocity = 700.0f
 
bool bReversedPelvis = false
 
bool bRagdollOnLand = false
 
float RagdollOnLandVelocity = 1000.0f
 
bool bRagdollOnGround = false
 
bool bRagdollFaceUp = false
 
FVector LastRagdollVelocity = FVector::ZeroVector
 
FVector TargetRagdollLocation = FVector::ZeroVector
 
float ServerRagdollPull = 0.0f
 
EVisibilityBasedAnimTickOption DefVisBasedTickOp
 
bool bPreRagdollURO = false
 
FVector PreviousVelocity = FVector::ZeroVector
 
float PreviousAimYaw = 0.0f
 
TObjectPtr< UALSPlayerCameraBehaviorCameraBehavior
 
float LastStanceInputTime = 0.0f
 
FTimerHandle OnLandedFrictionResetTimer
 
FRotator AimingRotation = FRotator::ZeroRotator
 
bool bEnableNetworkOptimizations = false
 
bool bForceEnableNetworkOptimizationsOff = false
 
- Protected Attributes inherited from AInteractableCharacter
USceneComponent * ThrowPoint
 
class UInteractionComponent * InteractionComponent
 
class UInteractableActorComponent * InteractableActorComponent
 
class USphereComponent * InteractionSphere
 
class UInventoryComponent * InventoryComponent
 
class UAudioReactionComponent * AudioReactionComponent
 
bool bAlwaysShowOutline = false
 
- Protected Attributes inherited from ACharacterBase
bool bDebuggingMode = false
 
FCharacterBaseSkills CharacterSkills
 
FCharacterInfo CharacterInfo
 
bool bDead = false
 
float PickupThrowIntensity = 500.0f
 
bool bCanBePushed = false
 
float HitVelocityThreshold = 50.0f
 
float HitVelocityMultiplier = 5.0f
 
float HitReactionMultiplier = 0.01f
 
bool bPushHitReaction = true
 
bool bAddMovementInput = true
 
bool bAddCharacterMovement = true
 
float PushFallVelocityThreshold = 200.0f
 
float PushedFallVelocityThreshold = 500.0f
 
float PushedFallOverWaitTime = 2.0f
 

Additional Inherited Members

- Public Attributes inherited from ACustomPlayerCharacter
bool bMovingAxis = false
 
float CurrentCameraUp = 0.0f
 
float CurrentCameraRight = 0.0f
 
FTimerHandle CameraTimerHandle
 
- Public Attributes inherited from AALSBaseCharacter
float GravityMultiplier = 9.8f
 
FJumpPressedSignature JumpPressedDelegate
 
FOnJumpedSignature OnJumpedDelegate
 
FRagdollStateChangedSignature RagdollStateChangedDelegate
 
- Public Attributes inherited from ACharacterBase
FOnCharacterDeath OnCharacterDeath
 

Constructor & Destructor Documentation

◆ ACampaignPlayerCharacter()

ACampaignPlayerCharacter::ACampaignPlayerCharacter ( const FObjectInitializer & ObjectInitializer)
8 : Super(ObjectInitializer)
9{
10 //- Dialogue //
11 DialogueComponent = CreateDefaultSubobject<UDialogueComponent>(TEXT("Dialogue"));
12 AimAssistInfluence = 0.1f;
13}
Definition DialogueComponent.Build.cs:6

Member Function Documentation

◆ BeginPlay()

void ACampaignPlayerCharacter::BeginPlay ( )
overrideprotectedvirtual

Reimplemented from ACustomPlayerCharacter.

37{
38 Super::BeginPlay();
39}

◆ OnDeath()

void ACampaignPlayerCharacter::OnDeath ( AActor * OwningActor,
const EDeathType DeathType,
AActor * DeathCauser,
AController * DeathInstigator )
overrideprotectedvirtual

Reimplemented from ACustomPlayerCharacter.

43{
44 Super::OnDeath(OwningActor, DeathType, DeathCauser, DeathInstigator);
45 if(DialogueComponent != nullptr)
46 {
47 DialogueComponent->SetIsDead(true);
48 }
49}

◆ OnPawnSpawned()

void ACampaignPlayerCharacter::OnPawnSpawned ( )
overridevirtual

Reimplemented from ACustomPlayerCharacter.

32{
33 Super::OnPawnSpawned();
34}

◆ SetupComponents()

void ACampaignPlayerCharacter::SetupComponents ( AController * ControllerReference = nullptr,
AActor * HUDReference = nullptr,
const bool bIsLocallyControlled = false )
overridevirtual

Reimplemented from ACustomPlayerCharacter.

17{
18 AController* ControllerToPass = Controller.Get();
19 if(ControllerReference != nullptr){ControllerToPass = ControllerReference;}
20 Super::SetupComponents(ControllerToPass, HUDReference, bIsLocallyControlled);
21 if(DialogueComponent != nullptr)
22 {
23 DialogueComponent->SetupComponent(GetCustomMesh(), GetMesh()->GetAnimInstance(), ControllerToPass, HUDReference, bIsNPC, bIsDead);
24 if(IsLocallyControlled())
25 {
26 DialogueComponent->InitialSetup();
27 }
28 }
29}
bool bIsNPC
Definition CustomCharacterBase.h:383
bool bIsDead
Definition CustomCharacterBase.h:385
USkeletalMeshComponent * GetCustomMesh() const
Definition CustomCharacterBase.h:381

Member Data Documentation

◆ DialogueComponent

class UDialogueComponent* ACampaignPlayerCharacter::DialogueComponent
protected

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