Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_direction

API Function: get_direction

Summary:
get the direction of the exit

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

Prototype:
int get_direction(void)

Can Be Called By:
Anybody

Description:

Gets the direction the exit leaves in. See ExitD for functions to interpret directions, and <exit.h> for constant names for them.

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 integer object direction.

Errors:
Usually none.

See Also:
get_destination , get_name_for_dir , get_short_for_dir