Options
All
  • Public
  • Public/Protected
  • All
Menu

An input pin with an optional condition

Hierarchy

  • BasePin
    • InputPin

Index

Constructors

constructor

Properties

Readonly db

Database owner

Readonly id

id: string

Articy ID (ex. 0x000010003B)

Readonly properties

properties: Readonly<PinProps>

Properties loaded from JSON

Optional Readonly template

template: Readonly<TemplateProps & Partial<GlobalFeatures>>

Template loaded from JSON

Readonly type

type: string

Type this object was loaded as (ex. DialogueFragment or MyCustomTemplate)

Methods

as

  • Casts to a subtype

    Type parameters

    • ObjectType

    Parameters

    Returns undefined | ObjectType

connections

  • Returns all Incoming or Outgoing connections to/from this pin.

    Returns ConnectionProps[]

    List of connections

execute

  • execute(context: ExecuteContext): void
  • Parameters

    • context: ExecuteContext

    Returns void

getChildrenOfType

  • Gets children of a given type

    Type parameters

    • ObjectType

    Parameters

    Returns ObjectType[]

getParent

  • Gets the parent of this object

    Type parameters

    • ObjectType

    Parameters

    Returns undefined | ObjectType

is

  • is(type: string): boolean
  • Checks if this object is the given type or derives from it

    Parameters

    • type: string

      Type to check

    Returns boolean

needsShadow

  • needsShadow(): boolean
  • Return true if this node might modify the variable state during a call to next()

    Returns boolean

next

numBranches

  • numBranches(context: ExecuteContext, _last: null | string, shadowing: boolean): number
  • Parameters

    • context: ExecuteContext
    • _last: null | string
    • shadowing: boolean

    Returns number

visits

  • visits(_context: ExecuteContext): undefined | string | string[]
  • If this returns something other than undefined, then all node Ids returned will be counted as visited at the same time as this node

    Parameters

    • _context: ExecuteContext

      Execution context

    Returns undefined | string | string[]

    Id(s) to visit

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method

Generated using TypeDoc