Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_exit_type

API Function: get_exit_type

Summary:
get the exit type of the exit

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

Prototype:
int get_exit_type(void)

Can Be Called By:
Anybody

Description:

Gets the type of the exit, usually ET_ONEWAY or ET_TWOWAY. To get these constants, include the file <exit.h>.

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 exit type.

Errors:
Usually none.

See Also:
get_direction , get_destination