AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WeatherMgr.cpp File Reference
#include "WeatherMgr.h"
#include "Log.h"
#include "MiscPackets.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "Weather.h"
#include "WorldSession.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  WeatherMgr
 
namespace  WeatherMgr::anonymous_namespace{WeatherMgr.cpp}
 

Typedefs

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

Functions

WeatherData const * WeatherMgr::anonymous_namespace{WeatherMgr.cpp}::GetWeatherData (uint32 zone_id)
 
WeatherWeatherMgr::FindWeather (uint32 id)
 Find a Weather object by the given zoneid.
 
void WeatherMgr::RemoveWeather (uint32 id)
 Remove a Weather object for the given zoneid.
 
WeatherWeatherMgr::AddWeather (uint32 zone_id)
 Add a Weather object to the list.
 
void WeatherMgr::LoadWeatherData ()
 
void WeatherMgr::SendFineWeatherUpdateToPlayer (Player *player)
 
void WeatherMgr::Update (uint32 diff)
 

Variables

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