#include <RoomWithDoorsActor.h>
|
| virtual void | BeginPlay () override |
| |
| void | DoorOpened (const int32 Index, const bool bOpened) |
| |
| void | OnDoorOpened (const int32 Index, const bool bOpened) |
| |
| 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) |
| |
◆ ARoomWithDoorsActor()
| ARoomWithDoorsActor::ARoomWithDoorsActor |
( |
| ) |
|
◆ BeginPlay()
| void ARoomWithDoorsActor::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from ABaseRoomActor.
Reimplemented in AGravityRoom.
44{
45 Super::BeginPlay();
46 int32 Index = 0;
48 {
49 if(DoorActor == nullptr){continue;}
50 DoorActor->Index = Index;
52 Index++;
53 }
54}
void DoorOpened(const int32 Index, const bool bOpened)
Definition RoomWithDoorsActor.cpp:56
TArray< AOpenableDoorActor * > DoorActors
Definition RoomWithDoorsActor.h:44
◆ DoorOpened()
| void ARoomWithDoorsActor::DoorOpened |
( |
const int32 | Index, |
|
|
const bool | bOpened ) |
|
protected |
57{
59}
void OnDoorOpened(const int32 Index, const bool bOpened)
◆ GetAllDoorsLocked()
| bool ARoomWithDoorsActor::GetAllDoorsLocked |
( |
| ) |
const |
Checks if every Door is Locked
11{
13 {
14 if(DoorActor->GetIsDoorLocked() == false)
15 {
16 return false;
17 }
18 }
19 return true;
20}
◆ GetAllDoorsUnlocked()
| bool ARoomWithDoorsActor::GetAllDoorsUnlocked |
( |
| ) |
const |
Checks if every Door is Unlocked
23{
25 {
26 if(DoorActor->GetIsDoorLocked())
27 {
28 return false;
29 }
30 }
31 return true;
32}
◆ GetNumOfDoors()
| int32 ARoomWithDoorsActor::GetNumOfDoors |
( |
| ) |
const |
|
inline |
◆ OnDoorOpened()
| void ARoomWithDoorsActor::OnDoorOpened |
( |
const int32 | Index, |
|
|
const bool | bOpened ) |
|
protected |
◆ OnSetAllDoorsLocked()
| void ARoomWithDoorsActor::OnSetAllDoorsLocked |
( |
const bool | bLocked | ) |
|
◆ SetAllDoorsLocked()
| void ARoomWithDoorsActor::SetAllDoorsLocked |
( |
const bool | bLocked | ) |
|
35{
37 {
38 DoorActor->SetDoorLocked(bLocked);
39 }
41}
void OnSetAllDoorsLocked(const bool bLocked)
◆ ConnectingRooms
| TArray<AActor*> ARoomWithDoorsActor::ConnectingRooms |
|
protected |
◆ DoorActors
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/Interaction/Source/Interaction/Public/Actors/RoomWithDoorsActor.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/Interaction/Source/Interaction/Private/Actors/RoomWithDoorsActor.cpp