AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "AchievementMgr.h"
#include "BattlefieldMgr.h"
#include "CellImpl.h"
#include "Channel.h"
#include "ChannelMgr.h"
#include "Formulas.h"
#include "GameTime.h"
#include "GridNotifiers.h"
#include "Group.h"
#include "Guild.h"
#include "InstanceScript.h"
#include "Language.h"
#include "OutdoorPvPMgr.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SkillDiscovery.h"
#include "SpellAuraEffects.h"
#include "SpellMgr.h"
#include "UpdateFieldFlags.h"
#include "Vehicle.h"
#include "Weather.h"
#include "WeatherMgr.h"
#include "WorldStatePackets.h"
#include "GridNotifiersImpl.h"
Go to the source code of this file.
Functions | |
int | SkillGainChance (uint32 SkillValue, uint32 GrayLevel, uint32 GreenLevel, uint32 YellowLevel) |
float | getProbabilityOfLevelUp (uint32 SkillValue) |
template<class T > | |
void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, T *target, std::vector< Unit * > &) |
template<> | |
void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, GameObject *target, std::vector< Unit * > &) |
template<> | |
void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, Creature *target, std::vector< Unit * > &v) |
template<> | |
void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, Player *target, std::vector< Unit * > &v) |
template<class T > | |
void | BeforeVisibilityDestroy (T *, Player *) |
template<> | |
void | BeforeVisibilityDestroy< Creature > (Creature *t, Player *p) |
Variables | |
constexpr auto | ZONE_UPDATE_INTERVAL = 1000 |
static uint32 | bonusSkillLevels [] = {75, 150, 225, 300, 375, 450} |
static const std::size_t | bonusSkillLevelsSize |
|
inline |
|
inline |
References Object::GetGUID(), Unit::GetPetGUID(), Unit::IsPet(), and PET_SAVE_NOT_IN_SLOT.
Referenced by Player::UpdateVisibilityOf().
float getProbabilityOfLevelUp | ( | uint32 | SkillValue | ) |
Referenced by Player::UpdateFishingSkill().
|
inline |
References CONFIG_SKILL_CHANCE_GREEN, CONFIG_SKILL_CHANCE_GREY, CONFIG_SKILL_CHANCE_ORANGE, CONFIG_SKILL_CHANCE_YELLOW, and sWorld.
Referenced by Player::UpdateCraftSkill(), and Player::UpdateGatherSkill().
|
inline |
References Object::GetGUID().
|
inline |
References GAMEOBJECT_TYPE_TRANSPORT, GameObject::GetGOInfo(), Object::GetGUID(), and GameObjectTemplate::type.
|
inline |
References Object::GetGUID().
|
inline |
Referenced by Player::UpdateVisibilityOf().
|
static |
Referenced by Player::UpdateSkillPro().
|
static |
Referenced by Player::UpdateSkillPro().
|
constexpr |
Referenced by Player::Update(), and Player::UpdateZone().