Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > num_zones

API Function: num_zones

Summary:
returns the number of zones registered

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

Prototype:
int num_zones(void)

Can Be Called By:
System, Common, Game

Description:

Returns the number of zones.

Return Value:

Number of zones, or -1 if query failed.

Errors:
Normally none.

See Also:
get_name_for_zone , add_new_zone