Difference between revisions of "ObjectType:event"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{ObjectType-Vitals|event|[[LavishScript]]|none|same as Name|none|no|void *}}
 +
 
== Description ==
 
== Description ==
  
Line 11: Line 13:
 
*'''ThisExecute['''object''','''...''']''': Execute this event in the context of a given object, 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
 
*'''Unregister''': Unregister this event
 
== Returns ==
 
Same as '''Name'''
 
  
 
== Examples ==
 
== Examples ==
 
== Operates On ==
 
* '''CLSEvent *''' (internal datatype)
 
  
 
== See Also ==
 
== See Also ==

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