Module veloren_world::site2::genstat
source ยท Expand description
Data structures and functions for tracking site generation statistics.
Structsยง
- Plot generation statistics. The attempts field increments each time a plot is attempted to be generated. An attempt is counted only once even if find_roadside_aabr is called multiple times.
- Site generation statistics.
- World site generation statistics. The map is keyed by site name.
Enumsยง
- Plot kinds for site generation statistics. These are similar but discrete from the PlotKind enum in the site2 plot module. For tracking site generation, similar plot kinds are grouped by these enum variants. For example, the House variant includes all kinds of houses (e.g. House, CoastalHouse, DesertCityHouse).
- Site kinds for site generation statistics. Only the sites that are tracked for generation statistics are included here, which includes all sites that use the find_roadside_aabr function.
Functionsยง
- get_bool_env_var ๐
- get_log_opts ๐