ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示

/doc/applies/clean_up

HOME :: doc :: applies :: clean_up

     cccclllleeeeaaaannnn____uuuupppp((((4444))))            MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))             cccclllleeeeaaaannnn____uuuupppp((((4444))))

     NNNNAAAAMMMMEEEE
          clean_up - periodically called in inactive objects

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          int clean_up( int inherited );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          The clean_up() function is called by the driver on a regular
          basis in all objects that have been inactive for the time
          specified for clean_up() in the runtime configuration file.
          One flag is passed to the function, specifying whether or
          not the object has been inheritted by anything.  If
          clean_up() returns 0, clean_up() will never be called again
          on that object.  If it returns 1, it will be called again
          when the object remains inactive for the specified
          clean_up() delay.

          One thing that might be commonly done by an object in this
          function is destructing itself to conserve memory.

     Page 1                                          (printed 3/16/95)

HOME :: doc :: applies :: clean_up