58 lines
1.0 KiB
C++
58 lines
1.0 KiB
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/PlayerController.h"
|
|
#include "DDIPlayerController.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class OPENCONFLICT_API ADDIPlayerController : public APlayerController
|
|
{
|
|
GENERATED_BODY()
|
|
/*UPROPERTY and UFUNCTION declarations*/
|
|
private:
|
|
/*Properties*/
|
|
|
|
/*Functions*/
|
|
|
|
protected:
|
|
/*Properties*/
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Shooter", meta = (AllowPrivateAccess = "true"))
|
|
TArray<class UInputMappingContext*> MappingContexts;
|
|
|
|
|
|
UPROPERTY(EditAnywhere, Category="Shooter")
|
|
FName PlayerPawnTag = FName("Player");
|
|
|
|
/*Functions*/
|
|
|
|
|
|
public:
|
|
/*Properties*/
|
|
|
|
/*Functions*/
|
|
|
|
/*C++ only declarations*/
|
|
private:
|
|
/*Properties*/
|
|
|
|
/*Functions*/
|
|
|
|
protected:
|
|
/*Properties*/
|
|
|
|
/*Functions*/
|
|
virtual void SetupInputComponent() override;
|
|
virtual void BeginPlay() override;
|
|
virtual void OnPossess(APawn *InPawn) override;
|
|
|
|
public:
|
|
/*Properties*/
|
|
|
|
/*Functions*/
|
|
};
|