destruct

skylib_fluffos_v3/mudlib/doc/driver/efuns/objects/destruct · 636 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"remove an object from the game
.DT
destruct
$MUDNAME$ driver help
destruct

.SH Name
.SI 5
destruct() - remove an object from the games
.EI

.SH Synopsis
.SI 5
void destruct( object ob );
.EI

.SH Description
.SP 5 5
Completely destroy and remove object `ob',  after the call to destruct().
If `ob' is this_object(), execution will continue, but it is best to return
a value immediately.  All pointers to the object in any variable or structure
will immediately become zero.  move_or_destruct() is called in all the
objects inside of the object being destructed.
.EP

.SH See also
.SI 5
clone_object(), new(), move_or_destruct()
.EI

Site Stats

Snippets: 1791
Codebases: 571