Tip Jar Events (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
Tipjar Events
'Tipjar Events' LogiX node
Inputs
  Tipjar Tipjar
Outputs
  Impulse OnTipOpen
  Impulse OnTipSent
  Decimal SentAmount
  String SentToken
  String SentComment

The Tipjar Events node fires impulses when the input Tipjar component is interacted with. It also provides information about the tip when a tip is sent.

Usage

All output impulses are owned by the user interacting with the Tipjar.


The OnTipOpen output fires an impulse when a user first interacts with the Tipjar, i.e. when the tip sending dialog opens.


The OnTipSent output fires an impulse once a tip has been successfully sent.


The SentAmount output provides the amount which was sent as a tip. This is only availabe for the duration of the impulse chain started by OnTipSent.


The SentToken output provides the name of the currency token sent as a tip, currently either the explicitly valueless KFC or NCR which has real world value. This is only availabe for the duration of the impulse chain started by OnTipSent.


The SentComment output provides the message sent with the tip as written in the tipping dialog. The text "From Username" is also appended to the comment after a new line (where Username is the username of the tip sender). This is only availabe for the duration of the impulse chain started by OnTipSent.

Examples

Node Menu

Interaction
Back Grabbable Touchable Button Events Close Context Menu Is Context Menu Open Notify Modified
Text Editor Events Tip Jar Events