#include <SectionGate.h>
◆ ASectionGate()
| ASectionGate::ASectionGate |
( |
| ) |
|
16{
17 PrimaryActorTick.bCanEverTick = false;
18
19 BoxComponent = CreateDefaultSubobject<UBoxComponent>(TEXT(
"BoxComponent"));
20 EventListenerComponent = CreateDefaultSubobject<UStageEventListenerComponent>(TEXT(
"EventListenerComponent"));
22}
TObjectPtr< UStageEventListenerComponent > EventListenerComponent
Definition SectionGate.h:63
TObjectPtr< UStageEventSenderComponent > StateChangedEventSender
Definition SectionGate.h:66
TObjectPtr< UBoxComponent > BoxComponent
Definition SectionGate.h:69
다음을 참조함 : BoxComponent, EventListenerComponent, StateChangedEventSender.
◆ ApplyGateState()
| void ASectionGate::ApplyGateState |
( |
EGateState |
NewState, |
|
|
bool |
bForce = false |
|
) |
| |
◆ BeginPlay()
| void ASectionGate::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
26{
27 Super::BeginPlay();
29}
EGateState InitialGateState
Definition SectionGate.h:72
void ApplyGateState(EGateState NewState, bool bForce=false)
Definition SectionGate.cpp:76
다음을 참조함 : ApplyGateState(), InitialGateState.
◆ GetEventListenerComponent()
◆ GetGateState()
| FORCEINLINE EGateState ASectionGate::GetGateState |
( |
| ) |
const |
|
inline |
◆ IsLocked()
| FORCEINLINE bool ASectionGate::IsLocked |
( |
| ) |
const |
|
inline |
◆ SetGateState()
33{
35
36 switch (Operation)
37 {
39 {
41 break;
42 }
43
45 {
47 break;
48 }
49
51 {
53 break;
54 }
55 }
56
58 {
59 return;
60 }
61
63 {
65 };
66
67 if (USnapshotSubsystem::ProcessNewCommand<USectionGateStateCommand>(this, Lambda))
68 {
69 return;
70 }
71
73}
EGateState
Definition SectionGate.h:19
Definition SectionGateStateCommand.h:12
다음을 참조함 : ApplyGateState(), CurrentState, Lock, Locked, Toggle, Unlock, Unlocked.
◆ BoxComponent
| TObjectPtr<UBoxComponent> ASectionGate::BoxComponent |
|
protected |
◆ CurrentState
◆ EventListenerComponent
◆ InitialGateState
◆ StateChangedEventSender
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: