Phantasmal Site > Phantasmal API > API Listing > get_name_for_zone
API Function: get_name_for_zone
- Summary:
- return the name of a zone by number
- Defined In LPC Object:
- /usr/common/sys/zoned.c
- Prototype:
- string get_name_for_zone(int zone_number)
- Can Be Called By:
- System, Common, Game
- Description:
-
Returns the name for a given zone number. Zones are
numbered consecutively from zero up to the number of zones
minus one.
- Return Value:
-
Zone name, or nil if query failed.
- Errors:
- Normally none.
- See Also:
- num_zones ,
add_new_zone
|