REDNODE / GAME API

PSD_DetectorPS

classscriptedClasssavable

extends DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable

Properties 5

NameTypeFlags
counterInt32scriptedprotectedpersistent
lastEntityIDEntityIDscriptedprotectedpersistent
lastPersistentIDPersistentIDscriptedprotectedpersistent
nameCNamescriptedprotectedpersistent
toggleBoolscriptedprotectedpersistent

Methods 10

public final func GetAction_BumpTheCounter() -> ref<ActionInt>scripted
public final func GetAction_Log() -> ref<ActionBool>scripted
public func GetActions(out outActions: array<ref<DeviceAction>>, context: GetActionsContext) -> Boolscripted
public final func GetLastEntityID() -> EntityIDscripted
public final func GetLastPersistentID() -> PersistentIDscripted
public final func GetName() -> CNamescripted
public final func OnBumpTheCounter(evt: ref<ActionInt>) -> EntityNotificationTypescripted
public final func OnBumpTheCounter(evt: ref<SampleBumpEvent>) -> EntityNotificationTypescripted
public final func OnLogAction(evt: ref<ActionBool>) -> EntityNotificationTypescripted
public final func ReadTheCounter() -> Int32scripted