Space Plunder
Loading...
Searching...
No Matches
ADestructibleOpenableDoorActor Class Reference

#include <DestructibleOpenableDoorActor.h>

Inheritance diagram for ADestructibleOpenableDoorActor:
AOpenableDoorActor AInteractableActor AActorBase IBaseInterface ISaveLoad

Public Member Functions

 ADestructibleOpenableDoorActor ()
 
- Public Member Functions inherited from AOpenableDoorActor
 AOpenableDoorActor ()
 
virtual void OpenDoor (const bool bOpen)
 
virtual void DisableDoor (const bool bDisable=true)
 
virtual void SetStatusMaterial (UPrimitiveComponent *StatusComponent)
 
bool GetIsDoorOpen () const
 
bool GetIsDoorMoving () const
 
void OnDoorOpened ()
 
void OnDoorClosed ()
 
void OnDoorOpenedComplete ()
 
void OnDoorClosedComplete ()
 
void OnDoorLocked (const bool bValue)
 
void SetDoorLocked (const bool bValue)
 
bool GetIsDoorLocked () const
 
- Public Member Functions inherited from AInteractableActor
 AInteractableActor ()
 
virtual void ReceiveStartFocus (AActor *Caller)
 
virtual void ReceiveEndFocus (AActor *Caller)
 
virtual void ReceiveOnEndInteract (AActor *Caller)
 
virtual void ReceiveOnOverlap (AActor *Caller)
 
virtual void ReceiveOnEndOverlap (AActor *Caller)
 
- Public Member Functions inherited from AActorBase
 AActorBase ()
 
virtual bool SaveGame () override
 
virtual bool LoadGame () override
 
void SetGravityEnabledEvent (const bool bValue)
 

Public Attributes

class UGeometryCollectionComponent * DestructibleLeftDoor
 
class UGeometryCollectionComponent * DestructibleRightDoor
 
- Public Attributes inherited from AOpenableDoorActor
FOnDoorOpened OnDoorOpenedDelegate
 
int32 Index = 0
 

Additional Inherited Members

- Protected Member Functions inherited from AOpenableDoorActor
virtual void BeginPlay () override
 
virtual void OnConstruction (const FTransform &Transform) override
 
virtual void ReceiveOnInteract (AActor *Caller, const EInteractionType InteractionType) override
 
virtual void ReceiveToggleSwitch (AActor *Caller, const bool bOn) override
 
virtual void OpenDoorInstantly ()
 
virtual void OpenDoorInstantly (const bool bOpen)
 
void OnDoorOpenReplicated ()
 
void OnLockedReplicated ()
 
- Protected Member Functions inherited from AInteractableActor
virtual void Tick (float DeltaTime) override
 
virtual void SetMeshOutline (const bool bValue)
 
- Protected Member Functions inherited from AActorBase
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 inherited from AOpenableDoorActor
USceneComponent * RootSceneComponent
 
UStaticMeshComponent * MainDoorComponent
 
class UBoxComponent * BoxComponent
 
bool bHasSwitch = false
 
bool bIsAutomatic = true
 
bool bStartOpen = false
 
UMaterialInstance * StatusMaterial = nullptr
 
UMaterialInstanceDynamic * DynamicMaterial = nullptr
 
FLinearColor LockedColor = FLinearColor::Red
 
FLinearColor UnlockedColor = FLinearColor::Green
 
FLinearColor BrokenColor = FLinearColor::Yellow
 
FName MaterialParamName = "Color"
 
bool bEaseIn = false
 
bool bEaseOut = false
 
float TimeToOpen = 1.0f
 
USoundBase * DoorOpenSound = nullptr
 
bool bPlayingSound = false
 
bool bLockable = false
 
bool bLocked = false
 
FVector TargetLocation
 
FRotator TargetRotation
 
bool bDoorBroken = false
 
bool bDoorOpen = false
 
bool bDoorMoving = false
 
- Protected Attributes inherited from AInteractableActor
class UInteractableActorComponent * InteractableActorComponent
 
class UAudioReactionComponent * AudioReactionComponent
 
class UAIPerceptionStimuliSourceComponent * PerceptionStimuliComponent
 
- Protected Attributes inherited from AActorBase
FString DisplayName = "Display Name"
 
bool bDebuggingMode = false
 

Constructor & Destructor Documentation

◆ ADestructibleOpenableDoorActor()

ADestructibleOpenableDoorActor::ADestructibleOpenableDoorActor ( )
explicit
9{
10 DestructibleLeftDoor = CreateDefaultSubobject<UGeometryCollectionComponent>("Destructible Left Door");
11 DestructibleRightDoor = CreateDefaultSubobject<UGeometryCollectionComponent>("Destructible Right Door");
12
13}
class UGeometryCollectionComponent * DestructibleLeftDoor
Definition DestructibleOpenableDoorActor.h:20
class UGeometryCollectionComponent * DestructibleRightDoor
Definition DestructibleOpenableDoorActor.h:22

Member Data Documentation

◆ DestructibleLeftDoor

class UGeometryCollectionComponent* ADestructibleOpenableDoorActor::DestructibleLeftDoor

◆ DestructibleRightDoor

class UGeometryCollectionComponent* ADestructibleOpenableDoorActor::DestructibleRightDoor

The documentation for this class was generated from the following files: