Crossfire Server  1.75.0
mapzone Struct Reference

Options for a map. More...

Public Member Functions

 mapzone ()
 

Data Fields

std::vector< std::string > available_archetypes
 What archetypes can we chose from for an NPC? More...
 
std::vector< spawn_pointpoints
 Points to spawn from when there is a player on the map. More...
 
int population
 Maximum of NPCs to add at load time. More...
 
std::vector< spawn_zonezones
 Zones where to spawn at load time. More...
 

Detailed Description

Options for a map.

Definition at line 81 of file citylife.cpp.

Constructor & Destructor Documentation

◆ mapzone()

mapzone::mapzone ( )
inline

Definition at line 82 of file citylife.cpp.

Field Documentation

◆ available_archetypes

std::vector<std::string> mapzone::available_archetypes

What archetypes can we chose from for an NPC?

Definition at line 87 of file citylife.cpp.

Referenced by check_zone(), get_npc(), and load_citylife().

◆ points

std::vector<spawn_point> mapzone::points

Points to spawn from when there is a player on the map.

Definition at line 82 of file citylife.cpp.

Referenced by add_npc_to_point(), check_zone(), and load_citylife().

◆ population

int mapzone::population

Maximum of NPCs to add at load time.

Definition at line 86 of file citylife.cpp.

Referenced by add_npcs_to_map(), check_zone(), and load_citylife().

◆ zones

std::vector<spawn_zone> mapzone::zones

Zones where to spawn at load time.

Definition at line 85 of file citylife.cpp.

Referenced by add_npc_to_zone(), check_zone(), and load_citylife().


The documentation for this struct was generated from the following file: