Phantasmal Site > Phantasmal API > API Listing > rooms_in_zone
API Function: rooms_in_zone
- Summary:
- return the rooms that comprise a zone
- Defined In LPC Object:
- /usr/common/sys/mapd.c
- Prototype:
- int *rooms_in_zone(int zone_number)
- Can Be Called By:
- System, Common, Game
- Description:
-
Every zone in Phantasmal has some number (perhaps even zero)
rooms in it. This function returns a list of room numbers
for the specified zone.
- Return Value:
-
An array of integer room numbers, or nil.
- Errors:
- Normally none.
- See Also:
- add_room_to_zone ,
rooms_in_segment ,
segments_in_zone ,
get_room_by_num
|