Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_destination

API Function: get_destination

Summary:
get the destination room of the exit

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

Prototype:
object get_destination(void)

Can Be Called By:
Anybody

Description:

Gets the destination the exit leads to.

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:

The destination room as a DGD object.

Errors:
Usually none.

See Also:
get_from_location