Click or drag to resize

EventScript Class

A script that can be triggered by one or more events.
Inheritance Hierarchy

Namespace:  RRAutoLib.CTC
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
<SerializableAttribute>
Public NotInheritable Class EventScript
	Inherits CtcObjectBase
	Implements IScript

The EventScript type exposes the following members.

Constructors
  NameDescription
Public methodEventScript
Initializes a new instance of the EventScript class
Top
Properties
  NameDescription
Public propertyDefaultName
Gets the default identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyEnabled
Gets or sets whether the script will be compiled and be made available for operation.
Public propertyEventBindings
Gets the list of events that will trigger the execution of this script.
Public propertyID
Gets the CTC object's globaly unique static identifier.
(Inherited from CtcObjectBase.)
Public propertyIsDeleted
Gets an indication whether this CTC object has been flaged for deletion by DeleteSelf.
(Inherited from CtcObjectBase.)
Public propertyName
Gets or sets the identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyParent
Gets the parent list that contains this CTC object.
(Inherited from CtcObjectBase.)
Public propertyPersistedTag
Gets or sets the binary representation of an arbitrary object that provides additional data to be stored with the layout data.
(Inherited from CtcObjectBase.)
Public propertyScript
Gets or sets the user script to be executed.
Public propertyTag
Gets or sets an arbitrary object that provides additional data but is disposed between sessions.
(Inherited from CtcObjectBase.)
Top
Methods
Remarks
Use this type of script object to enforce rules triggered by railroad events. Examples: a signaling system, enforcing security rules, etc.
See Also