REDNODE / GAME API

GenericDevice

classscriptedClass

extends InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 2

NameTypeFlags
currentSpiderbotActionref<CustomDeviceAction>scriptedprivate
offMeshConnectionComponentref<OffMeshConnectionComponent>scriptedprotected

Methods 22

public const func DeterminGameplayRole() -> EGameplayRolescripted
protected func DisableOffMeshConnections(player: Bool, npc: Bool)scripted
protected func EnableOffMeshConnections(player: Bool, npc: Bool)scripted
private const func GetController() -> ref<GenericDeviceController>scripted
public const func GetDevicePS() -> ref<GenericDeviceControllerPS>scripted
private final func InitializeQuestDBCallbacks()scripted
protected cb func OnActivateDevice(evt: ref<ActivateDevice>) -> Boolscripted
protected cb func OnCustomAction(evt: ref<CustomDeviceAction>) -> Boolscripted
protected cb func OnDetach() -> Boolscripted
protected cb func OnFactChanged(evt: ref<FactChangedEvent>) -> Boolscripted
protected cb func OnQuestCustomAction(evt: ref<QuestCustomAction>) -> Boolscripted
protected cb func OnQuestToggleCustomAction(evt: ref<QuestToggleCustomAction>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnSpiderbotOrderCompletedEvent(evt: ref<SpiderbotOrderCompletedEvent>) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnToggleCustomActionEvent(evt: ref<ToggleCustomActionEvent>) -> Boolscripted
private final func ResolveCustomAction(actionID: CName)scripted
protected func ResolveGameplayState()scripted
private final func RestoreCustomActionOperations()scripted
protected final func SaveCurrentSpiderbotAction(evt: ref<CustomDeviceAction>)scripted
protected final func SendSpiderbotOrderEvent(player: ref<GameObject>, opt locationOverride: ref<GameObject>)scripted
private final func UnInitializeQuestDBCallbacks()scripted