Phantasmal Site > Phantasmal API > API Listing > rooms_in_segment
API Function: rooms_in_segment
- Summary:
- return the rooms in a given segment
- Defined In LPC Object:
- /usr/common/sys/mapd.c
- Prototype:
- int *rooms_in_segment(int segment_number)
- Can Be Called By:
- System, Common, Game
- Description:
-
Each segment has room for up to 100 rooms. This function
will return what rooms are in the specified segment, if any.
- Return Value:
-
An array of integer room numbers, or nil.
- Errors:
- Normally none.
- See Also:
- add_room_to_zone ,
segments_in_zone ,
rooms_in_zone ,
get_room_by_num
|