PostRestoreObjectclass

actions.t[194]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

PostRestoreObject - every instance of this class is notified, via its execute() method, immediately after we restore the game.

class PostRestoreObject :   ModuleExecObject

Superclass Tree   (in declaration order)

PostRestoreObject
ModuleExecObject
`                 object`

Subclass Tree  

(none)

Global Objects  

bannerTracker inputManager tipManager

Summary of Properties  

restoreCode

Inherited from ModuleExecObject :
execAfterMe execBeforeMe hasInitialized_ isDoingExec_ isExecuted_

Summary of Methods  

Inherited from ModuleExecObject :
_execute classExec execute

Properties  

restoreCode

actions.t[217]

The “restore code,” which is the (normally integer) value passed as the second argument to restoreGame(). The restore code gives us some idea of what triggered the restoration. By default, we define the following restore codes:

1 - the system is restoring a game as part of interpreter startup, usually because the user explicitly specified a game to restore on the interpreter command line or via a GUI shell mechanism, such as double-clicking on a saved game file from the desktop.

2 - the user is explicitly restoring a game via a RESTORE command.

Games and library extensions can use their own additional restore codes in their calls to restoreGame().

Methods  

(none)

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3