AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Namespaces | |
namespace | Asio |
namespace | Banner |
namespace | ChatCommands |
namespace | Containers |
namespace | Crypto |
namespace | Encoding |
namespace | Honor |
namespace | Hyperlinks |
namespace | Impl |
namespace | Module |
namespace | Net |
namespace | PlayerCommand |
namespace | SpellScripts |
namespace | String |
namespace | Time |
namespace | TimeDiff |
namespace | Types |
namespace | XP |
Typedefs | |
template<template< typename... > typename Check, typename... Ts> | |
using | find_type_if_t = typename find_type_if< Check, Ts... >::type |
Enumerations | |
enum | Priority { Priority_Idle , Priority_Lowest , Priority_Low , Priority_Normal , Priority_High , Priority_Highest , Priority_Realtime } |
Functions | |
AC_COMMON_API void | Assert (std::string_view file, uint32 line, std::string_view function, std::string_view debugInfo, std::string_view message, std::string_view fmtMessage={}) |
AC_COMMON_API void | Fatal (std::string_view file, uint32 line, std::string_view function, std::string_view message, std::string_view fmtMessage={}) |
AC_COMMON_API void | Error (std::string_view file, uint32 line, std::string_view function, std::string_view message) |
AC_COMMON_API void | Abort (std::string_view file, uint32 line, std::string_view function, std::string_view fmtMessage={}) |
template<typename... Args> | |
AC_COMMON_API void | Assert (std::string_view file, uint32 line, std::string_view function, std::string_view debugInfo, std::string_view message, std::string_view fmt, Args &&... args) |
template<typename... Args> | |
AC_COMMON_API void | Fatal (std::string_view file, uint32 line, std::string_view function, std::string_view message, std::string_view fmt, Args &&... args) |
template<typename... Args> | |
AC_COMMON_API void | Abort (std::string_view file, uint32 line, std::string_view function, std::string_view fmt, Args &&... args) |
AC_COMMON_API void | Warning (std::string_view file, uint32 line, std::string_view function, std::string_view message) |
AC_COMMON_API void | AbortHandler (int sigval) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
bool | Insert (ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *obj) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
bool | Insert (ContainerUnorderedMap< TypeNull, KEY_TYPE > &, KEY_TYPE const &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class T > | |
bool | Insert (ContainerUnorderedMap< T, KEY_TYPE > &, KEY_TYPE const &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class H , class T > | |
bool | Insert (ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *obj) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
SPECIFIC_TYPE * | Find (ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > const &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
SPECIFIC_TYPE * | Find (ContainerUnorderedMap< TypeNull, KEY_TYPE > const &, KEY_TYPE const &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class T > | |
SPECIFIC_TYPE * | Find (ContainerUnorderedMap< T, KEY_TYPE > const &, KEY_TYPE const &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class H , class T > | |
SPECIFIC_TYPE * | Find (ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > const &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
bool | Remove (ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
bool | Remove (ContainerUnorderedMap< TypeNull, KEY_TYPE > &, KEY_TYPE const &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class T > | |
bool | Remove (ContainerUnorderedMap< T, KEY_TYPE > &, KEY_TYPE const &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class H , class T > | |
bool | Remove (ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
bool | Size (ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > const &elements, std::size_t *size, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE > | |
bool | Size (ContainerUnorderedMap< TypeNull, KEY_TYPE > const &, std::size_t *, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class T > | |
bool | Size (ContainerUnorderedMap< T, KEY_TYPE > const &, std::size_t *, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class KEY_TYPE , class H , class T > | |
bool | Size (ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > const &elements, std::size_t *size, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE > | |
size_t | Count (const ContainerMapList< SPECIFIC_TYPE > &elements, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE > | |
size_t | Count (const ContainerMapList< TypeNull > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class T > | |
size_t | Count (const ContainerMapList< T > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class T > | |
size_t | Count (const ContainerMapList< TypeList< SPECIFIC_TYPE, T > > &elements, SPECIFIC_TYPE *fake) |
template<class SPECIFIC_TYPE , class H , class T > | |
size_t | Count (const ContainerMapList< TypeList< H, T > > &elements, SPECIFIC_TYPE *fake) |
template<class SPECIFIC_TYPE > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< SPECIFIC_TYPE > &elements, SPECIFIC_TYPE *obj) |
template<class SPECIFIC_TYPE > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< TypeNull > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class T > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< T > &, SPECIFIC_TYPE *) |
template<class SPECIFIC_TYPE , class H , class T > | |
SPECIFIC_TYPE * | Insert (ContainerMapList< TypeList< H, T > > &elements, SPECIFIC_TYPE *obj) |
template<class SPECIFIC_TYPE > | |
CountedPtr< SPECIFIC_TYPE > & | Find (ContainerMapList< SPECIFIC_TYPE > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *) |
template<class SPECIFIC_TYPE > | |
CountedPtr< SPECIFIC_TYPE > & | Find (ContainerMapList< TypeNull > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *) |
template<class SPECIFIC_TYPE , class T > | |
CountedPtr< SPECIFIC_TYPE > & | Find (ContainerMapList< T > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *) |
template<class SPECIFIC_TYPE , class H , class T > | |
CountedPtr< SPECIFIC_TYPE > & | Find (ContainerMapList< TypeList< H, T > > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *fake) |
template<class SPECIFIC_TYPE > | |
const CountedPtr< SPECIFIC_TYPE > & | Find (const ContainerMapList< SPECIFIC_TYPE > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *) |
template<class SPECIFIC_TYPE > | |
const CountedPtr< SPECIFIC_TYPE > & | Find (const ContainerMapList< TypeNull > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *) |
template<class SPECIFIC_TYPE , class T > | |
const CountedPtr< SPECIFIC_TYPE > & | Find (const ContainerMapList< T > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *) |
template<class SPECIFIC_TYPE , class H , class T > | |
CountedPtr< SPECIFIC_TYPE > & | Find (const ContainerMapList< TypeList< H, T > > &elements, OBJECT_HANDLE hdl, CountedPtr< SPECIFIC_TYPE > *fake) |
template<class SPECIFIC_TYPE > | |
CountedPtr< SPECIFIC_TYPE > & | Insert (ContainerMapList< SPECIFIC_TYPE > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE > | |
CountedPtr< SPECIFIC_TYPE > & | Insert (ContainerMapList< TypeNull > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE , class T > | |
CountedPtr< SPECIFIC_TYPE > & | Insert (ContainerMapList< T > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE , class H , class T > | |
CountedPtr< SPECIFIC_TYPE > & | Insert (ContainerMapList< TypeList< H, T > > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE > | |
bool | Remove (ContainerMapList< SPECIFIC_TYPE > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE > | |
bool | Remove (ContainerMapList< TypeNull > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE , class T > | |
bool | Remove (ContainerMapList< T > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class SPECIFIC_TYPE , class T , class H > | |
bool | Remove (ContainerMapList< TypeList< H, T > > &elements, CountedPtr< SPECIFIC_TYPE > &obj, OBJECT_HANDLE hdl) |
template<class T > | |
constexpr T * | AddressOrSelf (T *ptr) |
template<class T > | |
constexpr T * | AddressOrSelf (T ¬_ptr) |
template<typename T > | |
auto | MakeACLogSink (T &&callback) -> ACLogSink< typename std::decay< T >::type > |
template<typename T > | |
static int | CreateChildProcess (T waiter, std::string const &executable, std::vector< std::string > const &argsVector, std::string const &logger, std::string const &input, bool secure) |
int | StartProcess (std::string const &executable, std::vector< std::string > const &args, std::string const &logger, std::string input_file, bool secure) |
std::shared_ptr< AsyncProcessResult > | StartAsyncProcess (std::string executable, std::vector< std::string > args, std::string logger, std::string input_file, bool secure) |
std::string | SearchExecutableInPath (std::string const &filename) |
template<typename Result , typename... Params> | |
Optional< Result > | StringTo (std::string_view str, Params &&... params) |
template<typename Type , typename... Params> | |
std::string | ToString (Type &&val, Params &&... params) |
template<typename Format , typename... Args> | |
std::string | StringFormat (Format &&fmt, Args &&... args) |
Default AC string format function. | |
template<typename... Args> | |
std::string | StringFormatFmt (std::string_view fmt, Args &&... args) |
bool | IsFormatEmptyOrNull (char const *fmt) |
Returns true if the given char pointer is null. | |
bool | IsFormatEmptyOrNull (std::string_view fmt) |
Returns true if the given std::string is empty. | |
std::vector< std::string_view > | Tokenize (std::string_view str, char sep, bool keepEmpty) |
std::vector< std::string_view > | Tokenize (std::string &&, char, bool)=delete |
std::vector< std::string_view > | Tokenize (std::string const &&, char, bool)=delete |
std::vector< std::string_view > | Tokenize (char const *str, char sep, bool keepEmpty) |
template<class T , class Tuple > | |
T * | new_from_tuple (Tuple &&args) |
template<class RET_TYPE , int CENTER_VAL> | |
RET_TYPE | Compute (float x, float y, float center_offset, float size) |
GridCoord | ComputeGridCoord (float x, float y) |
CellCoord | ComputeCellCoord (float x, float y) |
CellCoord | ComputeCellCoord (float x, float y, float &x_off, float &y_off) |
void | NormalizeMapCoord (float &c) |
bool | IsValidMapCoord (float c) |
bool | IsValidMapCoord (float x, float y) |
bool | IsValidMapCoord (float x, float y, float z) |
bool | IsValidMapCoord (float x, float y, float z, float o) |
Variables | |
template<typename T , typename... Us> | |
constexpr bool | has_type_v = has_type<T, Us...>::value |
template<typename... Ts> | |
constexpr bool | is_tuple_v = is_tuple<Ts...>::value |
template<typename T > | |
constexpr bool | dependant_false_v = dependant_false<T>::value |
using Acore::find_type_if_t = typedef typename find_type_if<Check, Ts...>::type |
enum Acore::Priority |
Enumerator | |
---|---|
Priority_Idle | |
Priority_Lowest | |
Priority_Low | |
Priority_Normal | |
Priority_High | |
Priority_Highest | |
Priority_Realtime |
|
inline |
References Abort(), and StringFormatFmt().
void Acore::Abort | ( | std::string_view | file, |
uint32 | line, | ||
std::string_view | function, | ||
std::string_view | fmtMessage = {} |
||
) |
References Crash, and anonymous_namespace{Errors.cpp}::MakeAbortMessage().
Referenced by Abort().
void Acore::AbortHandler | ( | int | sigval | ) |
References Crash, and StringFormatFmt().
Referenced by main().
|
inlineconstexpr |
|
inlineconstexpr |
Referenced by Acore::Containers::MapGetValuePtr().
|
inline |
References Assert(), and StringFormatFmt().
void Acore::Assert | ( | std::string_view | file, |
uint32 | line, | ||
std::string_view | function, | ||
std::string_view | debugInfo, | ||
std::string_view | message, | ||
std::string_view | fmtMessage = {} |
||
) |
References Crash, and anonymous_namespace{Errors.cpp}::MakeMessage().
Referenced by Assert().
|
inline |
|
inline |
References CENTER_GRID_CELL_OFFSET, and SIZE_OF_GRID_CELL.
Referenced by ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameobjectToGrid(), Map::AddPlayerToMap(), Map::AddToMap(), Cell::CalculateCellArea(), Cell::Cell(), Spell::CheckSpellFocus(), Corpse::Create(), WorldObject::GetCreaturesWithEntryInRange(), misc_commandscript::HandleGPSCommand(), WorldSession::HandleMoveWorldportAck(), misc_commandscript::HandleRespawnAllCommand(), WorldSession::HandleTextEmoteOpcode(), Corpse::LoadCorpseFromDB(), ObjectMgr::RemoveCreatureFromGrid(), ObjectMgr::RemoveGameobjectFromGrid(), boss_nalorakk::boss_nalorakkAI::ResetMobs(), Spell::SearchTargets(), AchievementMgr::SendAchievementEarned(), boss_nalorakk::boss_nalorakkAI::SendAttacker(), Map::SwitchGridContainers(), Cell::VisitAllObjects(), Cell::VisitGridObjects(), and Cell::VisitWorldObjects().
|
inline |
References CENTER_GRID_CELL_ID, CENTER_GRID_CELL_OFFSET, and SIZE_OF_GRID_CELL.
|
inline |
References CENTER_GRID_OFFSET, and SIZE_OF_GRIDS.
Referenced by MapMgr::ExistMapAndVMap(), misc_commandscript::HandleGPSCommand(), Map::IsGridLoaded(), and Map::IsRemovalGrid().
size_t Acore::Count | ( | const ContainerMapList< SPECIFIC_TYPE > & | elements, |
SPECIFIC_TYPE * | |||
) |
References ContainerMapList< OBJECT >::_element.
Referenced by TypeMapContainer< OBJECT_TYPES >::Count(), and Count().
size_t Acore::Count | ( | const ContainerMapList< T > & | , |
SPECIFIC_TYPE * | |||
) |
size_t Acore::Count | ( | const ContainerMapList< TypeList< H, T > > & | elements, |
SPECIFIC_TYPE * | fake | ||
) |
References Count().
size_t Acore::Count | ( | const ContainerMapList< TypeList< SPECIFIC_TYPE, T > > & | elements, |
SPECIFIC_TYPE * | fake | ||
) |
size_t Acore::Count | ( | const ContainerMapList< TypeNull > & | , |
SPECIFIC_TYPE * | |||
) |
|
static |
References LOG_ERROR, LOG_INFO, LOG_TRACE, and MakeACLogSink().
Referenced by Acore::AsyncProcessResultImplementation::StartProcess(), and StartProcess().
void Acore::Error | ( | std::string_view | file, |
uint32 | line, | ||
std::string_view | function, | ||
std::string_view | message | ||
) |
References Crash, and anonymous_namespace{Errors.cpp}::MakeMessage().
|
inline |
References Fatal(), and StringFormatFmt().
void Acore::Fatal | ( | std::string_view | file, |
uint32 | line, | ||
std::string_view | function, | ||
std::string_view | message, | ||
std::string_view | fmtMessage = {} |
||
) |
References Crash, and anonymous_namespace{Errors.cpp}::MakeMessage().
Referenced by Fatal().
const CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | const ContainerMapList< SPECIFIC_TYPE > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | |||
) |
References ContainerMapList< OBJECT >::_element.
const CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | const ContainerMapList< T > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | |||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | const ContainerMapList< TypeList< H, T > > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | fake | ||
) |
References Find().
const CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | const ContainerMapList< TypeNull > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | |||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | ContainerMapList< SPECIFIC_TYPE > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | |||
) |
References ContainerMapList< OBJECT >::_element.
CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | ContainerMapList< T > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | |||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | ContainerMapList< TypeList< H, T > > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | fake | ||
) |
References Find().
CountedPtr< SPECIFIC_TYPE > & Acore::Find | ( | ContainerMapList< TypeNull > & | elements, |
OBJECT_HANDLE | hdl, | ||
CountedPtr< SPECIFIC_TYPE > * | |||
) |
SPECIFIC_TYPE * Acore::Find | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > const & | elements, |
KEY_TYPE const & | handle, | ||
SPECIFIC_TYPE * | |||
) |
References ContainerUnorderedMap< OBJECT, KEY_TYPE >::_element.
Referenced by Find(), and TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Find().
SPECIFIC_TYPE * Acore::Find | ( | ContainerUnorderedMap< T, KEY_TYPE > const & | , |
KEY_TYPE const & | , | ||
SPECIFIC_TYPE * | |||
) |
SPECIFIC_TYPE * Acore::Find | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > const & | elements, |
KEY_TYPE const & | handle, | ||
SPECIFIC_TYPE * | |||
) |
SPECIFIC_TYPE * Acore::Find | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > const & | , |
KEY_TYPE const & | , | ||
SPECIFIC_TYPE * | |||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Insert | ( | ContainerMapList< SPECIFIC_TYPE > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
References ContainerMapList< OBJECT >::_element.
SPECIFIC_TYPE * Acore::Insert | ( | ContainerMapList< SPECIFIC_TYPE > & | elements, |
SPECIFIC_TYPE * | obj | ||
) |
References ContainerMapList< OBJECT >::_element.
SPECIFIC_TYPE * Acore::Insert | ( | ContainerMapList< T > & | , |
SPECIFIC_TYPE * | |||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Insert | ( | ContainerMapList< T > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Insert | ( | ContainerMapList< TypeList< H, T > > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
References Insert().
SPECIFIC_TYPE * Acore::Insert | ( | ContainerMapList< TypeList< H, T > > & | elements, |
SPECIFIC_TYPE * | obj | ||
) |
References Insert().
SPECIFIC_TYPE * Acore::Insert | ( | ContainerMapList< TypeNull > & | , |
SPECIFIC_TYPE * | |||
) |
CountedPtr< SPECIFIC_TYPE > & Acore::Insert | ( | ContainerMapList< TypeNull > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
bool Acore::Insert | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > & | elements, |
KEY_TYPE const & | handle, | ||
SPECIFIC_TYPE * | obj | ||
) |
References ContainerUnorderedMap< OBJECT, KEY_TYPE >::_element, and ASSERT.
Referenced by Insert(), TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Insert(), TypeMapContainer< OBJECT_TYPES >::insert(), Acore::CreatureListSearcher< Check >::Visit(), Acore::GameObjectListSearcher< Check >::Visit(), Acore::WorldObjectListSearcher< Check >::Visit(), Acore::UnitListSearcher< Check >::Visit(), and Acore::PlayerListSearcher< Check >::Visit().
bool Acore::Insert | ( | ContainerUnorderedMap< T, KEY_TYPE > & | , |
KEY_TYPE const & | , | ||
SPECIFIC_TYPE * | |||
) |
bool Acore::Insert | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > & | elements, |
KEY_TYPE const & | handle, | ||
SPECIFIC_TYPE * | obj | ||
) |
References Insert().
bool Acore::Insert | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > & | , |
KEY_TYPE const & | , | ||
SPECIFIC_TYPE * | |||
) |
|
inline |
Returns true if the given char pointer is null.
|
inline |
Returns true if the given std::string is empty.
|
inline |
References MAP_HALFSIZE.
Referenced by RandomMovementGenerator< T >::_setRandomLocation(), PathGenerator::CalculatePath(), Map::CheckCollisionAndGetValidCoords(), Spell::EffectJumpDest(), WorldSession::HandleMovementOpcodes(), SmartAIMgr::IsEventValid(), Position::IsPositionValid(), IsValidMapCoord(), MapMgr::IsValidMapCoord(), Creature::LoadCreatureFromDB(), Player::LoadFromDB(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadScripts(), WorldObject::MovePosition(), StaticTransport::RelocateToProgress(), Creature::SetPosition(), GameObject::SetPosition(), StaticTransport::UpdatePassengerPositions(), MotionTransport::UpdatePassengerPositions(), and Unit::UpdatePosition().
|
inline |
References IsValidMapCoord().
|
inline |
References IsValidMapCoord().
|
inline |
References IsValidMapCoord().
auto Acore::MakeACLogSink | ( | T && | callback | ) | -> ACLogSink<typename std::decay<T>::type> |
Referenced by CreateChildProcess().
T * Acore::new_from_tuple | ( | Tuple && | args | ) |
|
inline |
References MAP_HALFSIZE.
Referenced by ConfusedMovementGenerator< T >::DoInitialize(), WorldObject::GetNearPoint2D(), WorldObject::GetRandomPoint(), CreatureGroup::LeaderMoveTo(), WaypointMgr::Load(), WorldObject::MovePosition(), and WaypointMgr::ReloadPath().
bool Acore::Remove | ( | ContainerMapList< SPECIFIC_TYPE > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
References ContainerMapList< OBJECT >::_element.
bool Acore::Remove | ( | ContainerMapList< T > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
bool Acore::Remove | ( | ContainerMapList< TypeList< H, T > > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
References Remove().
bool Acore::Remove | ( | ContainerMapList< TypeNull > & | elements, |
CountedPtr< SPECIFIC_TYPE > & | obj, | ||
OBJECT_HANDLE | hdl | ||
) |
bool Acore::Remove | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > & | elements, |
KEY_TYPE const & | handle, | ||
SPECIFIC_TYPE * | |||
) |
References ContainerUnorderedMap< OBJECT, KEY_TYPE >::_element.
Referenced by Remove(), and TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Remove().
bool Acore::Remove | ( | ContainerUnorderedMap< T, KEY_TYPE > & | , |
KEY_TYPE const & | , | ||
SPECIFIC_TYPE * | |||
) |
bool Acore::Remove | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > & | elements, |
KEY_TYPE const & | handle, | ||
SPECIFIC_TYPE * | |||
) |
References Remove().
bool Acore::Remove | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > & | , |
KEY_TYPE const & | , | ||
SPECIFIC_TYPE * | |||
) |
AC_COMMON_API std::string Acore::SearchExecutableInPath | ( | std::string const & | filename | ) |
Searches for the given executable in the PATH variable and returns a non-empty string when it was found.
Referenced by DBUpdaterUtil::CheckExecutable().
bool Acore::Size | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > const & | elements, |
std::size_t * | size, | ||
SPECIFIC_TYPE * | |||
) |
References ContainerUnorderedMap< OBJECT, KEY_TYPE >::_element.
Referenced by TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Size(), and Size().
bool Acore::Size | ( | ContainerUnorderedMap< T, KEY_TYPE > const & | , |
std::size_t * | , | ||
SPECIFIC_TYPE * | |||
) |
bool Acore::Size | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > const & | elements, |
std::size_t * | size, | ||
SPECIFIC_TYPE * | |||
) |
References Size().
bool Acore::Size | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > const & | , |
std::size_t * | , | ||
SPECIFIC_TYPE * | |||
) |
AC_COMMON_API std::shared_ptr< AsyncProcessResult > Acore::StartAsyncProcess | ( | std::string | executable, |
std::vector< std::string > | args, | ||
std::string | logger, | ||
std::string | input_file = "" , |
||
bool | secure = false |
||
) |
Starts a process asynchronously with the given arguments and parameters and returns an AsyncProcessResult immediately which is set, when the process exits. When an input path is given, the file will be routed to the processes stdin. When the process is marked as secure no arguments are leaked to logs. Note that most executables expect it's name as the first argument.
AC_COMMON_API int Acore::StartProcess | ( | std::string const & | executable, |
std::vector< std::string > const & | args, | ||
std::string const & | logger, | ||
std::string | input_file = "" , |
||
bool | secure = false |
||
) |
Starts a process with the given arguments and parameters and will block until the process is finished. When an input path is given, the file will be routed to the processes stdin. When the process is marked as secure no arguments are leaked to logs. Note that most executables expect it's name as the first argument.
References CreateChildProcess().
Referenced by DBUpdater< T >::ApplyFile().
|
inline |
Default AC string format function.
Referenced by DBUpdater< T >::ApplyFile(), SecretMgr::AttemptTransition(), ByteBufferInvalidValueException::ByteBufferInvalidValueException(), ExtractMapsFromMpq(), Acore::Impl::ChatCommands::FormatAcoreString(), message_commandscript::HandleAnnounceCommand(), character_commandscript::HandleCharacterTitlesCommand(), lookup_commandscript::HandleLookupSkillCommand(), lookup_commandscript::HandleLookupTitleCommand(), server_commandscript::HandleServerDebugCommand(), titles_commandscript::HandleTitlesAddCommand(), titles_commandscript::HandleTitlesCurrentCommand(), titles_commandscript::HandleTitlesRemoveCommand(), PlayerDump::InitializeTables(), DBCDatabaseLoader::Load(), PlayerDumpReader::LoadDump(), MMAP::MMapMgr::loadMap(), MMAP::MMapMgr::loadMapData(), WardenCheckMgr::LoadWardenChecks(), ChatHandler::PGetParseString(), ChatHandler::PSendSysMessage(), WardenPayloadMgr::RegisterPayload(), ArenaSpectator::SendCommand(), BattlegroundQueue::SendJoinMessageArenaQueue(), Acore::Impl::ChatCommands::ArgInfo< Acore::ChatCommands::Variant< Ts... > >::TryAtIndex(), Acore::Impl::ChatCommands::ArgInfo< Acore::ChatCommands::Variant< Ts... > >::TryConsume(), and Appender::write().
|
inline |
Referenced by Abort(), AbortHandler(), TransactionBase::Append(), AppenderFile::AppenderFile(), Warden::ApplyPenalty(), Assert(), DatabaseWorkerPool< T >::DirectExecute(), DatabaseWorkerPool< T >::Execute(), Fatal(), Acore::Impl::ChatCommands::ChatCommandNode::GetAutoCompletionsFor(), debug_commandscript::HandleDebugGetItemStateCommand(), mmaps_commandscript::HandleMmapPathCommand(), mmaps_commandscript::HandleMmapTestArea(), send_commandscript::HandleSendItemsCommand(), server_commandscript::HandleServerDebugCommand(), AppenderConsole::InitColors(), LogCommandUsage(), Log::outCommand(), Log::outMessage(), anonymous_namespace{Config.cpp}::ParseFile(), anonymous_namespace{Config.cpp}::PrintError(), DatabaseWorkerPool< T >::Query(), Acore::Banner::Show(), ArenaScore::ToString(), PreparedStatementData::ToString(), Acore::Impl::ChatCommands::MultiConsumer< Tuple, Optional< NestedNextType >, offset >::TryConsumeTo(), and DBUpdater< T >::Update().
Optional< Result > Acore::StringTo | ( | std::string_view | str, |
Params &&... | params | ||
) |
|
inline |
References Tokenize().
|
delete |
|
delete |
std::vector< std::string_view > Acore::Tokenize | ( | std::string_view | str, |
char | sep, | ||
bool | keepEmpty | ||
) |
Referenced by Player::_LoadCharacterSettings(), Object::_LoadIntoDataField(), Player::_LoadItem(), Player::BuildEnumData(), ConfigMgr::Configure(), Log::CreateAppenderFromConfig(), Log::CreateLoggerFromConfig(), Acore::Module::GetEnableModulesList(), WorldSession::HandleCharFactionOrRaceChangeCallback(), reload_commandscript::HandleReloadCreatureTemplateCommand(), send_commandscript::HandleSendItemsCommand(), misc_commandscript::HandleSkirmishCommand(), AppenderConsole::InitColors(), ChannelMgr::LoadChannelRights(), Acore::Impl::ChatCommands::ChatCommandNode::LoadCommandMap(), Acore::Impl::ChatCommands::ChatCommandNode::LoadCommandsIntoMap(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureCustomIDs(), ObjectMgr::LoadCreatureTemplateAddons(), DisableMgr::LoadDisables(), Metric::LoadFromConfigs(), Item::LoadFromDB(), CharmInfo::LoadPetActionBar(), PlayerTaxi::LoadTaxiDestinationsFromString(), PlayerTaxi::LoadTaxiMask(), MoneyStringToMoney(), MySQLConnectionInfo::MySQLConnectionInfo(), UpdateFetcher::ReceiveIncludedDirectories(), Acore::Impl::ChatCommands::ChatCommandNode::SendCommandHelpFor(), ChatHandler::SendGlobalGMSysMessage(), ChatHandler::SendGlobalSysMessage(), ChatHandler::SendSysMessage(), Motd::SetMotd(), and Tokenize().
std::string Acore::ToString | ( | Type && | val, |
Params &&... | params | ||
) |
References ToString().
Referenced by ConfigMgr::GetValueDefault(), npc_commandscript::HandleNpcSetModelCommand(), and ToString().
void Acore::Warning | ( | std::string_view | file, |
uint32 | line, | ||
std::string_view | function, | ||
std::string_view | message | ||
) |
References anonymous_namespace{Errors.cpp}::MakeMessage().
|
constexpr |
|
constexpr |
|
constexpr |