Difference between revisions of "ObjectType:event"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
  
 
== Members ==
 
== Members ==
*[[DataType:int|int]] '''ID''': ID number of the event (used by modules)
+
*[[ObjectType:int|int]] '''ID''': ID number of the event (used by modules)
*[[DataType:string|string]] '''Name''': Name of the event
+
*[[ObjectType:string|string]] '''Name''': Name of the event
 
== Methods ==
 
== Methods ==
 
*'''Clear''': Forcefully detach all atoms and C functions from this event
 
*'''Clear''': Forcefully detach all atoms and C functions from this event

Latest revision as of 16:31, 8 July 2018

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