Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_exit_segments

API Function: get_exit_segments

Summary:
get all segments containing exits

Defined In LPC Object:
/usr/common/sys/exitd.c

Prototype:
int *get_exit_segments(void)

Can Be Called By:
System, Common, Game

Description:

Returns an array of integer indices for all segments containing exit objects. Exits are kept in different segments than other Phantasmal objects like rooms, portables or mobiles.

Return Value:

An array of integers, or nil.

Errors:
Usually none.

See Also:
get_exit_by_num , get_all_exits , exits_in_segment