DiskStream.getNewObjectForOldId()

   
Type function
Library wattageTileEngine.ObjectSystem.DiskStream.*
Return value Object
Keywords  
See also  

Overview

This function is will return an object loaded from file which had the specified ID when it was persisted.

NOTE: The object will have a new ID which will not necessarily be the same ID it had when it was saved.

Syntax

DiskStream.getNewObjectForOldId( oldObjectId )
oldObjectId (required)

Number. The ID the object had when it was persisted.

Examples

Please see the example in the Usage Guide.