Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > set_dtd_file

API Function: set_dtd_file

Summary:
set the DTD's filename for the UNQable object

Defined In LPC Object:
/usr/common/lib/dtd_unqable.c

Prototype:
void set_dtd_file(string new_dtd_filename)

Can Be Called By:
Anybody

Description:

Set the filename of the DTD of the object to the one specified. That's so the UNQable object can parse that file as a DTD, and reread the file automatically on upgrade. This allows you to transparently update the DTD, though you'll have to manually make the rest of the object respond to upgraded().

This function isn't access-protected. You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

Nothing.

Errors:
Usually none.

See Also:
set_dtd , set_dtd_file