#include <ShipTurret.h>
|
| virtual void | BeginPlay () override |
| |
| void | RotateTurret (const FVector &Target) |
| |
| virtual bool | SaveGame () override |
| |
| virtual bool | LoadGame () override |
| |
| FVector | GetCustomInteractionLocation () const |
| |
| 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) |
| |
|
| void | Death (AActor *OwningActor, EDeathType DeathType, AActor *DeathCauser, AController *DeathInstigator) |
| |
◆ AShipTurret()
| AShipTurret::AShipTurret |
( |
| ) |
|
11{
12 CapsuleComponent = CreateDefaultSubobject<UCapsuleComponent>(TEXT(
"Capsule"));
14
19 {
21 }
23 {
25 }
26
27 HealthComponent = CreateDefaultSubobject<UHealthComponentBase>(TEXT(
"Health"));
28
29 SpringArm = CreateDefaultSubobject<USpringArmComponent>(TEXT(
"Spring Arm"));
31
32 Camera = CreateDefaultSubobject<UCameraComponent>(TEXT(
"Camera"));
34
35}
USkeletalMeshComponent * SkeletalMeshComponent
Definition ShipTurret.h:34
UCapsuleComponent * CapsuleComponent
Definition ShipTurret.h:32
USpringArmComponent * SpringArm
Definition ShipTurret.h:38
int32 NumberOfBarrels
Definition ShipTurret.h:43
UHealthComponentBase * HealthComponent
Definition ShipTurret.h:36
UCameraComponent * Camera
Definition ShipTurret.h:40
◆ BeginPlay()
| void AShipTurret::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from AInteractablePawn.
38{
39 Super::BeginPlay();
41 {
43 }
44}
void Death(AActor *OwningActor, EDeathType DeathType, AActor *DeathCauser, AController *DeathInstigator)
Definition ShipTurret.cpp:54
◆ Death()
| void AShipTurret::Death |
( |
AActor * | OwningActor, |
|
|
EDeathType | DeathType, |
|
|
AActor * | DeathCauser, |
|
|
AController * | DeathInstigator ) |
|
private |
◆ RotateTurret()
| void AShipTurret::RotateTurret |
( |
const FVector & | Target | ) |
|
|
protected |
◆ Camera
| UCameraComponent* AShipTurret::Camera |
|
protected |
◆ CapsuleComponent
| UCapsuleComponent* AShipTurret::CapsuleComponent |
|
protected |
◆ HealthComponent
| UHealthComponentBase* AShipTurret::HealthComponent |
|
protected |
◆ NumberOfBarrels
| int32 AShipTurret::NumberOfBarrels = 1 |
|
protected |
◆ SkeletalMeshComponent
| USkeletalMeshComponent* AShipTurret::SkeletalMeshComponent |
|
protected |
◆ SpringArm
| USpringArmComponent* AShipTurret::SpringArm |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/CustomALS/Source/CustomALS/Public/Pawns/ShipTurret.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/CustomALS/Source/CustomALS/Private/Pawns/ShipTurret.cpp