ModuleExecObjectclass | _main.t[314] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
The point of the Module Execution Object and its subclasses is to allow libraries and user code to define execution hooks, without having to worry about what other libraries and user code bits are defining the same hook. When we need to execute a hook defined via this object, we iterate over all of the instances of the appropriate subclass and invoke its execute() method.
By default, the order of execution is arbitrary. In some cases, though, dependencies will exist, so that one object cannot be invoked until another object has already been invoked. In these cases, you must set the execBeforeMe property to contain a list of the objects whose execute() methods must be invoked before this object's execute() method is invoked. The library will check this list before calling execute() on this object, and ensure that each object in the list has been invoked before calling this object's execute().
class
ModuleExecObject : object
ModuleExecObject
InitObject
PostRestoreObject
PostUndoObject
PreinitObject
EventListItem
ELI
ELI1
MetadataModuleID
GameInfoModuleID
GameID
MobileCollectiveGroup
OutputStream
BannerOutputStream
LogConsole
WebWinOutputStream
Relation
RuleBook
Scenery
MultiLocScenery
StringPreParser
ThoughtManager
TopHintMenu
PreRestartObject
PreSaveObject
execAfterMe
execBeforeMe
hasInitialized_
isDoingExec_
isExecuted_
execAfterMe | _main.t[327] |
execBeforeMe | _main.t[321] |
hasInitialized_ | _main.t[422] |
isDoingExec_ | _main.t[345] |
isExecuted_ | _main.t[342] |
_execute ( ) | _main.t[348] |
classExec ( ) | _main.t[429] |
execute ( ) | _main.t[333] |