Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > is_open

API Function: is_open

Summary:
query whether exit is open

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

Prototype:
int is_open(void)

Can Be Called By:
Anybody

Description:

Returns true if the object is open, false otherwise.

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:

Whether the object is open.

Errors:
Usually none.

See Also:
is_container , is_openable , is_locked