|
Space Plunder
|
#include <CharacterBase.h>
Public Member Functions | |
| ACharacterBase (const FObjectInitializer &ObjectInitializer) | |
| virtual void | Tick (float DeltaTime) override |
| virtual void | SetupPlayerInputComponent (class UInputComponent *PlayerInputComponent) override |
| virtual void | OnPawnSpawned () override |
| virtual bool | SaveGame () override |
| virtual bool | LoadGame () override |
| virtual USkeletalMeshComponent * | GetCharacterMesh () const override |
| virtual UPrimitiveComponent * | GetPrimitiveComponent () override |
| virtual void | Ragdoll () override |
| virtual void | RagdollStop () override |
| virtual float | PlayReplicatedMontage (UAnimMontage *MontageToPlay, const float InPlayRate=1.0f, const EMontagePlayReturnType ReturnValueType=EMontagePlayReturnType::Duration, const float InTimeToStartMontageAt=0.0f, const bool bStopAllMontages=true) override |
| virtual void | StopReplicatedMontage (const float InBlendOutTime, const UAnimMontage *Montage) override |
| virtual bool | GetCharacterHealth (float &Health, float &MaxHealth) const override |
| virtual FCharacterBaseSkills & | GetCharacterSkills () override |
| virtual bool | GetAudioSocketLocation (const FName &AudioSocket, FVector &Location) const override |
| virtual USceneComponent * | GetThrowPoint () 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 |
Public Attributes | |
| FOnCharacterDeath | OnCharacterDeath |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | NotifyHit (UPrimitiveComponent *MyComp, AActor *Other, UPrimitiveComponent *OtherComp, bool bSelfMoved, FVector HitLocation, FVector HitNormal, FVector NormalImpulse, const FHitResult &Hit) override |
| virtual void | FallOver (const float WaitTime) |
| void | OnFallOver (const float WaitTime) |
| virtual void | GetUpFromFall () |
| void | OnGetUpFromFall () |
| void | OnRep_CharacterDeath () |
| IPlayerControllerInterface * | GetPlayerControllerInterface () |
| IPlayerStateInterface * | GetPlayerStateInterface () |
| 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 | |
| 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 |
Private Attributes | |
| class UCharacterSaveGame * | CharacterSaveGameObject = nullptr |
| FLogCategoryName | CategoryName = LogBaseCharacter.GetCategoryName() |
| IPlayerControllerInterface * | PlayerControllerInterface = nullptr |
| IPlayerStateInterface * | PlayerStateInterface = nullptr |
| FTimerHandle | FallOverTimerHandle |
| ACharacterBase::ACharacterBase | ( | const FObjectInitializer & | ObjectInitializer | ) |
|
overrideprotectedvirtual |
Reimplemented in AALSBaseCharacter, AALSCharacter, ACampaignAICharacter, ACampaignPlayerCharacter, ACustomAICharacter, ACustomCharacterBase, ACustomPlayerCharacter, AMultiplayerPlayerCharacter, AInteractableCharacter, and AQuestExampleCharacter.
|
overridevirtual |
Implements ICharacterBaseInterface.
|
protectedvirtual |
Reimplemented in ACustomAICharacter.
|
inlinevirtual |
|
overridevirtual |
Implements ICharacterBaseInterface.
|
overridevirtual |
Return if Success
Implements ICharacterBaseInterface.
Reimplemented in ACustomCharacterBase.
|
overridevirtual |
Implements ICharacterBaseInterface.
|
inlineoverridevirtual |
Implements ICharacterBaseInterface.
|
overridevirtual |
Implements ICharacterBaseInterface.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
inlineoverridevirtual |
Implements ICharacterBaseInterface.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
overridevirtual |
Implements ICharacterBaseInterface.
Reimplemented in AInteractableCharacter.
|
overridevirtual |
Implements ICharacterBaseInterface.
|
protectedvirtual |
Reimplemented in ACustomAICharacter.
|
inlinevirtual |
|
overridevirtual |
Implements ISaveLoad.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
overrideprotectedvirtual |
Reimplemented in ACustomAICharacter, and ACustomCharacterBase.
|
protected |
|
protected |
|
overridevirtual |
Implements ICharacterBaseInterface.
Reimplemented in ACampaignPlayerCharacter, ACustomCharacterBase, ACustomPlayerCharacter, AInteractableCharacter, and AQuestExampleCharacter.
|
protected |
|
overridevirtual |
Implements ICharacterBaseInterface.
Reimplemented in AALSBaseCharacter.
|
overridevirtual |
Implements ICharacterBaseInterface.
Reimplemented in AALSBaseCharacter.
|
overridevirtual |
Implements ICharacterBaseInterface.
|
overridevirtual |
Implements ISaveLoad.
|
inlineprotected |
|
overridevirtual |
Reimplemented in ACustomAICharacter, ACustomCharacterBase, ACustomPlayerCharacter, and AQuestExampleCharacter.
|
overridevirtual |
Implements ICharacterBaseInterface.
Reimplemented in AALSBaseCharacter.
|
overridevirtual |
Reimplemented in ACustomAICharacter, ACustomCharacterBase, AALSBaseCharacter, AALSCharacter, ACampaignAICharacter, and ACustomPlayerCharacter.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
| FOnCharacterDeath ACharacterBase::OnCharacterDeath |
|
protected |
|
private |
|
private |
|
protected |
|
protected |
|
protected |