Space Plunder
Loading...
Searching...
No Matches
QuestExampleCharacter.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "InputActionValue.h"
8#include "QuestExampleCharacter.generated.h"
9
10UCLASS()
11class QUESTSYSTEMEXAMPLECONTENT_API AQuestExampleCharacter : public ACharacterBase
12{
13 GENERATED_BODY()
14
15
16public:
17 // Sets default values for this character's properties
18 explicit AQuestExampleCharacter(const FObjectInitializer& ObjectInitializer);
19
21 FORCEINLINE class USpringArmComponent* GetCameraBoom() const { return CameraBoom; }
23 FORCEINLINE class UCameraComponent* GetFollowCamera() const { return FollowCamera; }
24
25
26protected:
27 // Called when the game starts or when spawned
28 virtual void BeginPlay() override;
29
30 virtual void OnPawnSpawned() override;
31
33 void Move(const FInputActionValue& Value);
34
36 void Look(const FInputActionValue& Value);
37
39 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera, meta = (AllowPrivateAccess = "true"))
40 class USpringArmComponent* CameraBoom;
41
43 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera, meta = (AllowPrivateAccess = "true"))
44 class UCameraComponent* FollowCamera;
45
46
48 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
49 class UInputMappingContext* DefaultMappingContext;
50
52 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
53 class UInputAction* JumpAction;
54
56 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
57 class UInputAction* MoveAction;
58
60 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
61 class UInputAction* LookAction;
62
63public:
64 // Called to bind functionality to input
65 virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
66};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition CharacterBase.h:21
Definition QuestExampleCharacter.h:12
FORCEINLINE class USpringArmComponent * GetCameraBoom() const
Definition QuestExampleCharacter.h:21
FORCEINLINE class UCameraComponent * GetFollowCamera() const
Definition QuestExampleCharacter.h:23