auxiliary
index
(built-in)

The module for installing auxiliary data

 
Functions
       
install(...)
install(name, AuxClass, installs_on)
 
Register new auxiliary data to the given name. Auxiliary data can be
installed on: character, object, room, account, socket. Auxiliary data
must be a class object of the following form:
 
  class ClassName:
    def __init__(self, storage_set = None)
      ...
 
    def copy(self)
      ...
 
    def copyTo(self, to)
      ...
 
    def store(self)
      ...
 
The Store method returns a storage set representation of the data. If
the auxiliary data is not persistent, an empty storage set can be
returned. The class's init function must be able to handle reading in
data from a storage set, or creating a fresh instance if set = None.