|
Nelaric Unreal Gameplay
Gameplay framework API
|
Pawn component available to gameplay content. More...
#include <GameplayComponent.h>
Public Member Functions | |
| GAMEPLAYRUNTIME_API | UGameplayComponent (const FObjectInitializer &ObjectInitializer) |
| Constructs a gameplay component with the pawn base defaults. | |
| Public Member Functions inherited from UNelaricPawnComponent | |
| GAMEPLAYRUNTIME_API APawn * | GetPawn () const |
| Gets the pawn that directly owns this component. | |
| template<typename T> | |
| T * | GetPawn () const |
| Gets the owning pawn as a specific pawn type. | |
| GAMEPLAYRUNTIME_API AController * | GetController () const |
| Gets the pawn's current controller on this machine. | |
| template<typename T> | |
| T * | GetController () const |
| Gets the current controller as a specific controller type. | |
| GAMEPLAYRUNTIME_API APlayerController * | GetPlayerController () const |
| Gets the current controller when it is a player controller. | |
| template<typename T> | |
| T * | GetPlayerController () const |
| Gets the player controller as a specific player controller. | |
| GAMEPLAYRUNTIME_API APlayerState * | GetPlayerState () const |
| Gets player state directly from the owning pawn. | |
| template<typename T> | |
| T * | GetPlayerState () const |
| Gets the pawn's player state as a specific player state type. | |
| GAMEPLAYRUNTIME_API bool | IsLocallyControlled () const |
| Queries the pawn's native local-control semantics. | |
| GAMEPLAYRUNTIME_API bool | IsPlayerControlled () const |
| Queries the pawn's native player-control semantics. | |
Pawn component available to gameplay content.
Add to a pawn in Blueprint or derive in C++. The pawn owns the component. It inherits the pawn context queries and component defaults.