Phantasmal Site > Phantasmal API > API Listing > get_segments_in_zone
API Function: get_segments_in_zone
- Summary:
- get list of segments that make up a zone
- Defined In LPC Object:
- /usr/common/sys/zoned.c
- Prototype:
- int *get_segments_in_zone(int zone_number)
- Can Be Called By:
- System, Common, Game
- Description:
-
Gets a list of segment numbers that comprise a zone. Those can
be segments in MapD, MobileD or ExitD (or conceivably others),
and may contain any valid Phantasmal objects with numbers
assigned by ObjNumD.
- Return Value:
-
The list of integer segment numbers or nil if the call is denied.
- Errors:
- Normally none.
- See Also:
- num_zones ,
get_name_for_zone ,
add_new_zone
|