|
Space Plunder
|
#include <OpenableDoorActor.h>
Public Member Functions | |
| 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 | |
| FOnDoorOpened | OnDoorOpenedDelegate |
| int32 | Index = 0 |
Protected Member Functions | |
| 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 | |
| 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 |
Private Member Functions | |
| void | OnBoxBeginOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComponent, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &HitResult) |
| void | OnBoxEndOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComponent, int32 OtherBodyIndex) |
| void | OnMainDoorOpened () |
| void | OnMainDoorClosed () |
| void | OpenMainDoor () |
| void | CloseMainDoor () |
| void | MoveDoor (const bool bOpen) |
| FLinearColor | GetStatusColor () const |
| void | UpdateStatusMaterial () const |
Private Attributes | |
| FVector | MainDoorStartLocation |
| FRotator | MainDoorStartRotation |
| FTimerHandle | RetryMainDoorOpen |
| FTimerHandle | RetryMainDoorClose |
| AOpenableDoorActor::AOpenableDoorActor | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
Reimplemented in ADoubleDoorActor.
|
private |
|
virtual |
Reimplemented in ADoubleDoorActor.
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
overrideprotectedvirtual |
Reimplemented in ADoubleDoorActor.
| void AOpenableDoorActor::OnDoorClosed | ( | ) |
| void AOpenableDoorActor::OnDoorClosedComplete | ( | ) |
| void AOpenableDoorActor::OnDoorLocked | ( | const bool | bValue | ) |
| void AOpenableDoorActor::OnDoorOpened | ( | ) |
| void AOpenableDoorActor::OnDoorOpenedComplete | ( | ) |
|
protected |
|
protected |
|
private |
|
private |
|
virtual |
Reimplemented in ADoubleDoorActor.
|
protectedvirtual |
Reimplemented in ADoubleDoorActor.
|
protectedvirtual |
|
private |
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
| void AOpenableDoorActor::SetDoorLocked | ( | const bool | bValue | ) |
|
virtual |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| int32 AOpenableDoorActor::Index = 0 |
|
protected |
|
protected |
|
private |
|
private |
|
protected |
| FOnDoorOpened AOpenableDoorActor::OnDoorOpenedDelegate |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |