MCPcopy Create free account
hub / github.com/BenPyton/ProceduralDungeon / DispatchDoorLock

Method DispatchDoorLock

Source/ProceduralDungeon/Private/Door.cpp:110–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void ADoor::DispatchDoorLock(UDoorComponent* Component, bool IsLocked)
111{
112 if (IsLocked)
113 {
114 OnDoorLock();
115 OnDoorLock_BP();
116 }
117 else
118 {
119 OnDoorUnlock();
120 OnDoorUnlock_BP();
121 }
122}
123
124void ADoor::DispatchDoorOpen(UDoorComponent* Component, bool IsOpened)
125{

Callers

nothing calls this directly

Calls 2

OnDoorUnlockFunction · 0.85
OnDoorLockFunction · 0.50

Tested by

no test coverage detected