14#include "Pawn.generated.h"
27class UPrimitiveComponent;
41UCLASS(config=
Game, BlueprintType, Blueprintable, hideCategories=(
Navigation), meta=(ShortTooltip=
"A Pawn is an actor that can be 'possessed' and receive input from a controller."), MinimalAPI)
58 virtual UPrimitiveComponent* GetMovementBase()
const {
return nullptr; }
61 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Pawn)
62 uint32 bUseControllerRotationPitch:1;
65 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Pawn)
66 uint32 bUseControllerRotationYaw:1;
69 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Pawn)
70 uint32 bUseControllerRotationRoll:1;
81 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Pawn)
123 UE_DEPRECATED(5.6,
"This property is deprecated, use GetRemoteViewPitch()/RemoteViewPitch16 instead.")
146 UFUNCTION(BlueprintCallable, BlueprintAuthorityOnly, Category=AI)
150 UFUNCTION(BlueprintCallable, Category = "Pawn")
157 UFUNCTION(BlueprintCallable, Category = "Pawn")
176 APlayerState* GetPlayerState()
const {
return PlayerState; }
182 T* GetPlayerState()
const {
return Cast<T>(PlayerState); }
236 ENGINE_API virtual float GetDefaultHalfHeight()
const;
239 UE_DEPRECATED(4.24,
"IsControlled is deprecated. To check if this pawn is controlled by anything, then call IsPawnControlled. To check if this pawn is controlled only by the player then call IsPlayerControlled")
240 UFUNCTION(BlueprintCallable, Category=Pawn)
244 UFUNCTION(BlueprintCallable, Category = Pawn)
248 UFUNCTION(BlueprintCallable, Category=Pawn)
253 T* GetController()
const
255 return Cast<T>(GetController());
262 UFUNCTION(BlueprintCallable, Category=Pawn)
311 UFUNCTION(BlueprintCallable, Category="AI|
Navigation", meta=(AdvancedDisplay="bForceUpdate"))
315 virtual void UpdateNavigationRelevance() {}
320 UFUNCTION(BlueprintCallable, Category=Pawn)
349 ENGINE_API virtual void RecalculateBaseEyeHeight();
352 bool InputEnabled()
const {
return bInputEnabled; }
362 UFUNCTION(BlueprintImplementableEvent, BlueprintAuthorityOnly, meta=(DisplayName=
"Possessed"))
369 UFUNCTION(BlueprintImplementableEvent, BlueprintAuthorityOnly, meta=(DisplayName= "
Unpossessed"))
378 UPROPERTY(BlueprintAssignable, Category = Pawn)
390 UPROPERTY(BlueprintAssignable, Category = Pawn)
418 UFUNCTION(BlueprintCallable, BlueprintPure, Category = Pawn)
426 UFUNCTION(BlueprintPure, Category = Pawn)
443 UFUNCTION(BlueprintCallable, Category=Pawn)
453 UFUNCTION(BlueprintCallable, Category=Pawn, meta=(Keywords = "
Delete"))
457 UFUNCTION(BlueprintCallable, Category=Pawn)
483 UFUNCTION(BlueprintCallable, Category=
"Pawn|Input", meta=(Keywords=
"AddInput"))
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_MULTICAST_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:49
EAutoPossessAI
Definition EngineTypes.h:3415
return true
Definition ExternalRpcRegistry.cpp:601
#define FVector
Definition IOSSystemIncludes.h:8
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
@ Restart
Definition PrecomputedVolumetricLightmapStreaming.cpp:25
bool left(const int *a, const int *b, const int *c)
Definition RecastMesh.cpp:182
#define DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_ThreeParams(SparseDelegateClass, OwningClass, DelegateName, Param1Type, Param1Name, Param2Type, Param2Name, Param3Type, Param3Name)
Definition SparseDelegate.h:448
#define DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_OneParam(SparseDelegateClass, OwningClass, DelegateName, Param1Type, Param1Name)
Definition SparseDelegate.h:446
float Val(const FString &Value)
Definition UnrealMath.cpp:3163
if(Failed) console_printf("Failed.\n")
virtual ENGINE_API APhysicsVolume * GetPhysicsVolume() const
Definition Actor.cpp:2956
Definition Controller.h:41
Definition PhysicsVolume.h:17
Definition PlayerController.h:261
Definition PlayerState.h:42
Definition DisplayDebugHelpers.h:9
Definition UObjectGlobals.h:1292
Definition NavAgentInterface.h:20
Definition EnumAsByte.h:22
Definition SubclassOf.h:30
Definition DamageType.h:21
Definition NetConnection.h:284
Definition PawnMovementComponent.h:43
Definition PawnNoiseEmitterComponent.h:20
Definition EngineTypes.h:3429
@ false
Definition radaudio_common.h:23
Definition DamageEvents.h:16
Definition NavigationTypes.h:453
Definition UnrealType.h:6865
Definition ObjectPtr.h:488