ObjectType:event

From Lavish Software Wiki
Revision as of 16:31, 8 July 2018 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search
Object Type Vitals
event
Defined By LavishScript
Inherits none
Reduces To same as Name
Variable Object Type none
Uses Sub-Types no
C/C++ Type void *

Description

Members

  • int ID: ID number of the event (used by modules)
  • string Name: Name of the event

Methods

  • Clear: Forcefully detach all atoms and C functions from this event
  • AttachAtom[name]: Attach an atom to this event
  • DetachAtom[name]: Detach an atom from this event
  • Execute[...]: Execute this event, optionally with any number of parameters
  • ThisExecute[object,...]: Execute this event in the context of a given object, optionally with any number of parameters
  • Unregister: Unregister this event

Examples

See Also

LavishScript Object Types