valid_object.html

final_realms_fluffos_v1/lib/doc/man/html/applies/master/valid_object.html · 919 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

<HEAD> <TITLE> valid_object - allows control over which objects can be loaded </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> valid_object - allows control over which objects can be loaded </H1> </center>
<p>
<b> int valid_object( object obj ); </b>
<p>
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.  This is called before the object has a
chance to execute any code, including create(), so not much should be
assumed about the object except that file_name(obj) is valid.
<p>
See also:
<A HREF=valid_override.html>  valid_override </A>

Site Stats

Snippets: 1791
Codebases: 571