|
Space Plunder
|
#include <PlayerControllerBase.h>
Public Member Functions | |
| virtual void | GetAudioListenerPosition (FVector &OutLocation, FVector &OutFrontDir, FVector &OutRightDir) const override |
| virtual void | BindActions (UInputMappingContext *Context) |
| virtual bool | SetPlayerLookInverted (const bool bInvert=true) override |
| virtual bool | SetPlayerLookHorizontalInverted (const bool bInvert=true) override |
| virtual float | SetCameraSensitivity (const float NewValue) override |
| virtual float | SetCameraHorizontalSensitivity (const float NewValue) override |
| virtual float | SetCameraVerticalSensitivity (const float NewValue) override |
| virtual void | SetCameraAimedSensitivityMultiplier (const float NewValue) override |
| virtual void | SetCameraUseSeparateAxisSensitivity (const bool bValue) override |
| virtual void | SetAimAssistLevel (const int32 Value) override |
| virtual void | SetPlayerUsingController (const bool bValue) override |
| virtual bool | GetPlayerUsingController () override |
| virtual bool | SaveCurrentPlayerOptions (const FAudioPlayerOptions AudioSettings) override |
| virtual float | GetCameraSensitivity () const override |
| virtual float | GetCameraAimedSensitivityMultiplier () const override |
| virtual float | GetCameraHorizontalSensitivity () const override |
| virtual float | GetCameraVerticalSensitivity () const override |
| virtual bool | GetCameraUseSeparateAxisSensitivity () const override |
| virtual bool | GetPlayerLookInverted () const override |
| virtual bool | GetPlayerHorizontalInverted () const override |
| virtual int32 | GetAimAssistLevel () const override |
| virtual FAudioPlayerOptions | GetPlayerAudioSettings () const override |
| virtual bool | RegisterLayer (const FGameplayTag LayerName, UUserWidget *LayerWidget) override |
| virtual UUserWidget * | PushContentToLayer (const FGameplayTag LayerName, const TSoftClassPtr< UUserWidget > WidgetClass) override |
| virtual bool | PopContentFromLayer (const FGameplayTag LayerName) override |
| virtual bool | ClearLayer (const FGameplayTag LayerName) override |
| virtual bool | ToggleWidget (const FGameplayTag LayerName, UUserWidget *Widget) override |
| virtual UUserWidget * | AddWidgetToLayer (const FGameplayTag LayerName, const TSoftClassPtr< UUserWidget > WidgetClass) override |
| virtual UUserWidget * | GetContentFromLayer (const FGameplayTag LayerName, const TSoftClassPtr< UUserWidget > WidgetClass) override |
| virtual UUserWidget * | AddWidgetToLayerWithSlot (const FGameplayTag LayerName, const FGameplayTag SlotTag, const TSoftClassPtr< UUserWidget > WidgetClass) override |
| virtual void | OpenRadialMenu (const FRadialMenuData &Data) override |
| virtual int32 | CloseRadialMenu () override |
| virtual bool | GetIsRadialMenuOpen () const override |
| virtual void | SetCharacterMode (const FGameplayTag &Mode) override |
| virtual FGameplayTag | GetCharacterMode () const override |
| virtual void | ToggleGameLog () override |
| virtual FVector2D | GetLookAxis () const override |
| virtual FVector2D | GetMoveAxis () const override |
| virtual FVector2D | GetScreenCenter () const override |
| virtual FVector | GetPawnLocation () const override |
| virtual void | GetControllerViewPoint (FVector &out_Location, FRotator &out_Rotation) const override |
| virtual bool | SaveGame () override |
| virtual bool | LoadGame () override |
| void | OnCharacterModeChanged (const FGameplayTag &Mode) |
Public Attributes | |
| TObjectPtr< UInputMappingContext > | MenuInputMappingContext = nullptr |
| TObjectPtr< UInputMappingContext > | MainInputMappingContext = nullptr |
| bool | bDebuggingMode = false |
| FName | AudioSocket = FName("head") |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | SetupInputs () |
| virtual void | SetupComponents () |
| virtual bool | SavePlayerOptions (const FString &SlotName="Default") |
| virtual bool | LoadPlayerOptions (const FString &SlotName="Default") |
| virtual void | ApplySettings (const class USettingsSaveGame *LoadedPlayerSettings) |
| virtual USettingsSaveGame * | ApplySettingsToSaveGame (class USettingsSaveGame *LoadedPlayerSettings) |
| virtual void | OnPossess (APawn *NewPawn) override |
| virtual void | OnRep_Pawn () override |
| virtual void | SetupInputComponent () override |
| virtual void | OnPawnSpawn () |
| virtual void | OnPawnSpawnComplete () |
| virtual float | CalculateCameraSensitivity (const float CameraInput) const |
| virtual void | MenuConfirmAction (const FInputActionValue &Value) |
| virtual void | MenuBackAction (const FInputActionValue &Value) |
| virtual void | SelectionUpAction (const FInputActionValue &Value) |
| virtual void | ForwardMovementAction (const FInputActionValue &Value) |
| virtual void | RightMovementAction (const FInputActionValue &Value) |
| virtual void | CameraUpAction (const FInputActionValue &Value) |
| virtual void | CameraRightAction (const FInputActionValue &Value) |
| virtual void | CharacterModeAction (const FInputActionValue &Value) |
| IHUDInterface * | GetHUDInterface () |
| ICharacterBaseInterface * | GetCharacterInterface () |
| 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 | |
| FGameplayTag | CharacterMode = FGameplayTag(CharacterModeTags::Default) |
| int32 | MaxPawnSpawnAttempts = 5 |
| bool | bAimed = false |
Private Member Functions | |
| virtual bool | SaveAudioOptions (const FAudioPlayerOptions AudioSettings) |
| virtual bool | LoadAudioOptions () |
Private Attributes | |
| IHUDInterface * | HUDInterface |
| FLogCategoryName | CategoryName = LogBasePlayerController.GetCategoryName() |
| ICharacterBaseInterface * | CharacterBaseInterface |
| FRadialMenuData | CharacterModesMenuData |
| FGameplayPlayerOptions | PlayerOptions |
| FAudioPlayerOptions | PlayerAudioSettings |
| bool | bUsingController = false |
| FString | PlayerOptionsSaveName = "_PlayerSettings" |
| float | MoveAxisY = 0.0f |
| float | MoveAxisX = 0.0f |
| float | LookAxisY = 0.0f |
| float | LookAxisX = 0.0f |
| float | MultiplayerStartDelay = 0.5f |
| FTimerHandle | SetupCompleteDelayTimerHandle |
| int32 | PawnSpawnAttempts = 0 |
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented in ACustomPlayerController, and AMenuSystemPlayerController.
|
virtual |
Reimplemented in AALSPlayerController, and ACustomPlayerController.
|
protectedvirtual |
Reimplemented in ACustomPlayerController.
|
protectedvirtual |
Reimplemented in AALSPlayerController, and ACustomPlayerController.
|
protectedvirtual |
Reimplemented in AALSPlayerController, and ACustomPlayerController.
|
protectedvirtual |
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
protectedvirtual |
Save Default values to be able to get Controller Input
Reimplemented in AALSPlayerController.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
overridevirtual |
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
This get Current Options Setting for Sensitivity, not Full Calculated
Implements IPlayerOptions.
|
inlineoverridevirtual |
This get Current Options Setting for Sensitivity, not Full Calculated
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
This get Current Options Setting for Sensitivity, not Full Calculated
Implements IPlayerOptions.
|
protected |
|
inlineoverridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IControllerInterface.
|
protected |
|
overridevirtual |
Implements IPlayerControllerInterface.
|
inlineoverridevirtual |
Implements IPlayerControllerInterface.
|
inlineoverridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IControllerInterface.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
privatevirtual |
|
overridevirtual |
Implements ISaveLoad.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
| void APlayerControllerBase::OnCharacterModeChanged | ( | const FGameplayTag & | Mode | ) |
|
protectedvirtual |
Reimplemented in ACustomPlayerController.
|
protectedvirtual |
Reimplemented in ACustomPlayerController, and AQuestExamplePlayerController.
|
overrideprotectedvirtual |
Reimplemented in AALSPlayerController, and ACustomPlayerController.
|
overrideprotectedvirtual |
Reimplemented in AALSPlayerController, and ACustomPlayerController.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
protectedvirtual |
Reimplemented in AALSPlayerController.
|
privatevirtual |
|
overridevirtual |
Implements IPlayerOptions.
|
overridevirtual |
Implements ISaveLoad.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in ACustomPlayerController.
|
inlineoverridevirtual |
Implements IPlayerOptions.
Reimplemented in ACustomPlayerController.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineprotected |
|
overridevirtual |
Implements IPlayerControllerInterface.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
inlineoverridevirtual |
Inverts the player look, returns if the if inverted
Implements IPlayerOptions.
|
inlineoverridevirtual |
Implements IPlayerOptions.
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented in AALSPlayerController, and ACustomPlayerController.
|
protectedvirtual |
Reimplemented in AALSPlayerController.
|
overridevirtual |
Implements IPlayerControllerInterface.
|
overridevirtual |
Implements IPlayerControllerInterface.
| FName APlayerControllerBase::AudioSocket = FName("head") |
|
protected |
| bool APlayerControllerBase::bDebuggingMode = false |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
| TObjectPtr<UInputMappingContext> APlayerControllerBase::MainInputMappingContext = nullptr |
|
protected |
| TObjectPtr<UInputMappingContext> APlayerControllerBase::MenuInputMappingContext = nullptr |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |