REDNODE / GAME API

SecurityGateLockControllerPS

classscriptedClasssavable

extends ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable

Properties 4

NameTypeFlags
entranceTokenEntityIDscriptedpublic
isLeavingBoolscriptedpublic
isLockedBoolscriptedpublic
tresspasserListarray<TrespasserEntry>scriptedpublic

Methods 14

private final func AddTrespasserEntry(trespasser: ref<ScriptedPuppet>, areaName: CName)scripted
protected func GetBackgroundTextureTweakDBID() -> TweakDBIDscripted
protected func GetDeviceIconTweakDBID() -> TweakDBIDscripted
private final const func IsLegallyLeaving(t: script_ref<TrespasserEntry>) -> Boolscripted
public final const func IsLocked() -> Boolscripted
private final func IsTrespasserOnTheList(trespasser: ref<ScriptedPuppet>, out index: Int32) -> Boolscripted
private final func IsTrespasserOutside(index: Int32) -> Boolscripted
private final func LockGate(expireToken: Bool)scripted
private final func OnForceUnlock(evt: ref<SecurityGateForceUnlock>) -> EntityNotificationTypescripted
private final func RemoveTrespasserEntry(index: Int32)scripted
private final func UnlockGate()scripted
private final func UpdateGatePosition()scripted
private final func UpdateTrespasserEntry(index: Int32, isEntering: Bool, areaName: CName)scripted
public final func UpdateTrespassersList(evt: ref<TriggerEvent>, isEntering: Bool)scripted