Difference between revisions of "ObjectType:event"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 17: Line 17:
  
 
== See Also ==
 
== See Also ==
* [[LavishScript:Object Types|Object Types]]
 
 
* [[LavishScript:Events|Events]]
 
* [[LavishScript:Events|Events]]
  
[[Category:LavishScript]]
+
{{LavishScript:ObjectType}}
[[Category:LavishScript Object Types]]
 
 
[[Category:LavishScript Events]]
 
[[Category:LavishScript Events]]

Revision as of 15:04, 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