Phantasmal Site > Phantasmal API > API Listing > add_new_zone
API Function: add_new_zone
- Summary:
- add a new zone to the ZoneD
- Defined In LPC Object:
- /usr/common/sys/zoned.c
- Prototype:
- int add_new_zone(string zonename)
- Can Be Called By:
- System, Common, Game
- Description:
-
Adds a new zone to the zone table. The index of the new zone
is returned. MapD is also updated.
- Return Value:
-
The new zone index, or -1 if the call failed.
- Errors:
- Normally none.
- See Also:
- num_zones ,
get_name_for_zone ,
get_segments_in_zone
|