AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WeatherMgr::anonymous_namespace{WeatherMgr.cpp} Namespace Reference

Typedefs

typedef std::unordered_map< uint32, std::unique_ptr< Weather > > WeatherMap
 
typedef std::unordered_map< uint32, WeatherDataWeatherZoneMap
 

Functions

WeatherData const * GetWeatherData (uint32 zone_id)
 

Variables

WeatherMap m_weathers
 
WeatherZoneMap mWeatherZoneMap
 

Typedef Documentation

◆ WeatherMap

typedef std::unordered_map<uint32, std::unique_ptr<Weather> > WeatherMgr::anonymous_namespace{WeatherMgr.cpp}::WeatherMap

◆ WeatherZoneMap

typedef std::unordered_map<uint32, WeatherData> WeatherMgr::anonymous_namespace{WeatherMgr.cpp}::WeatherZoneMap

Function Documentation

◆ GetWeatherData()

WeatherData const * WeatherMgr::anonymous_namespace{WeatherMgr.cpp}::GetWeatherData ( uint32  zone_id)
43 {
44 WeatherZoneMap::const_iterator itr = mWeatherZoneMap.find(zone_id);
45 return (itr != mWeatherZoneMap.end()) ? &itr->second : nullptr;
46 }
WeatherZoneMap mWeatherZoneMap
Definition: WeatherMgr.cpp:40

References GetWeatherData(), and mWeatherZoneMap.

Referenced by GetWeatherData().

Variable Documentation

◆ m_weathers

WeatherMap WeatherMgr::anonymous_namespace{WeatherMgr.cpp}::m_weathers

◆ mWeatherZoneMap

WeatherZoneMap WeatherMgr::anonymous_namespace{WeatherMgr.cpp}::mWeatherZoneMap

Referenced by GetWeatherData().