Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


smutbook:classes:api:fetchobj

fetchObj( id )

Fetch an object by persistence ID from the datastore.

  • Defined inL Persistence/PersistentObject.js
  • Type: Function
  • Arguments:
    • id: The string id of the object to be fetched.
  • Returns: a Proxy-wrapped instantiation of the requested object.
  • Throws: Error if the id has no entry in the class table (meaning the object was probably never defined). See defineObj().

smutbook/classes/api/fetchobj.txt · Last modified: by lee