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

/doc/applies/master/valid_object

HOME :: doc :: applies :: master :: valid_object

     vvvvaaaalllliiiidddd____oooobbbbjjjjeeeecccctttt((((4444))))        MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))         vvvvaaaalllliiiidddd____oooobbbbjjjjeeeecccctttt((((4444))))

     NNNNAAAAMMMMEEEE
          valid_object - allows control over which objects can be
          loaded

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          int valid_object( object obj );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          After loading an object, the driver will call valid_object()
          with the newly created object as its argument, in the master
          object.  If the function exists, and returns 0, then the
          object will be destructed and the efun that caused it to
          load will error out.  If it does not exist, or returns 1,
          then loading will proceed as normal.  In conjunction with
          'nomask' and the inherits() efun, this could allow safely
          restricting destruct() via a simul_efun.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          valid_override(4)

     Page 1                                          (printed 3/16/95)

HOME :: doc :: applies :: master :: valid_object