![]() |
TrinityCore
|
Namespaces | |
| Containers | |
| Currency | |
| Honor | |
| XP | |
Functions | |
| template<typename T , typename... Args> | |
| std::unique_ptr< T > | make_unique (Args &&...args) |
| std::make_unique implementation (TODO: remove this once C++14 is supported) More... | |
| void | Assert (char const *file, int line, char const *function, char const *message) |
| void | Assert (char const *file, int line, char const *function, char const *message, char const *format,...) |
| void | Fatal (char const *file, int line, char const *function, char const *message,...) |
| void | Error (char const *file, int line, char const *function, char const *message) |
| void | Warning (char const *file, int line, char const *function, char const *message) |
| void | Abort (char const *file, int line, char const *function) |
| void | AbortHandler (int) |
| template<typename Format , typename... Args> | |
| std::string | StringFormat (Format &&fmt, Args &&...args) |
| Default TC string format function. More... | |
| bool | IsFormatEmptyOrNull (const char *fmt) |
| Returns true if the given char pointer is null. More... | |
| bool | IsFormatEmptyOrNull (std::string const &fmt) |
| Returns true if the given std::string is empty. More... | |
| 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) |
| 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 > | |
| size_t | Count (ContainerMapList< SPECIFIC_TYPE > const &elements, SPECIFIC_TYPE *) |
| template<class SPECIFIC_TYPE > | |
| size_t | Count (ContainerMapList< TypeNull > const &, SPECIFIC_TYPE *) |
| template<class SPECIFIC_TYPE , class T > | |
| size_t | Count (ContainerMapList< T > const &, SPECIFIC_TYPE *) |
| template<class SPECIFIC_TYPE , class T > | |
| size_t | Count (ContainerMapList< TypeList< SPECIFIC_TYPE, T >> const &elements, SPECIFIC_TYPE *fake) |
| template<class SPECIFIC_TYPE , class H , class T > | |
| size_t | Count (ContainerMapList< TypeList< H, T >> const &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) |
| DECLSPEC_NORETURN TC_COMMON_API void Trinity::Abort | ( | char const * | file, |
| int | line, | ||
| char const * | function | ||
| ) |
Here is the call graph for this function:| DECLSPEC_NORETURN TC_COMMON_API void Trinity::AbortHandler | ( | int | ) |
| DECLSPEC_NORETURN TC_COMMON_API void Trinity::Assert | ( | char const * | file, |
| int | line, | ||
| char const * | function, | ||
| char const * | message | ||
| ) |
Here is the call graph for this function:| DECLSPEC_NORETURN TC_COMMON_API void Trinity::Assert | ( | char const * | file, |
| int | line, | ||
| char const * | function, | ||
| char const * | message, | ||
| char const * | format, | ||
| ... | |||
| ) |
Here is the call graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:| size_t Trinity::Count | ( | ContainerMapList< SPECIFIC_TYPE > const & | elements, |
| SPECIFIC_TYPE * | |||
| ) |
Here is the caller graph for this function:| size_t Trinity::Count | ( | ContainerMapList< TypeNull > const & | , |
| SPECIFIC_TYPE * | |||
| ) |
| size_t Trinity::Count | ( | ContainerMapList< T > const & | , |
| SPECIFIC_TYPE * | |||
| ) |
| size_t Trinity::Count | ( | ContainerMapList< TypeList< SPECIFIC_TYPE, T >> const & | elements, |
| SPECIFIC_TYPE * | fake | ||
| ) |
Here is the call graph for this function:| size_t Trinity::Count | ( | ContainerMapList< TypeList< H, T >> const & | elements, |
| SPECIFIC_TYPE * | fake | ||
| ) |
Here is the call graph for this function:| DECLSPEC_NORETURN TC_COMMON_API void DECLSPEC_NORETURN TC_COMMON_API void DECLSPEC_NORETURN TC_COMMON_API void Trinity::Error | ( | char const * | file, |
| int | line, | ||
| char const * | function, | ||
| char const * | message | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| DECLSPEC_NORETURN TC_COMMON_API void DECLSPEC_NORETURN TC_COMMON_API void Trinity::Fatal | ( | char const * | file, |
| int | line, | ||
| char const * | function, | ||
| char const * | message, | ||
| ... | |||
| ) |
Here is the call graph for this function:| SPECIFIC_TYPE* Trinity::Find | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > const & | elements, |
| KEY_TYPE const & | handle, | ||
| SPECIFIC_TYPE * | |||
| ) |
Here is the caller graph for this function:| SPECIFIC_TYPE* Trinity::Find | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > const & | , |
| KEY_TYPE const & | , | ||
| SPECIFIC_TYPE * | |||
| ) |
| SPECIFIC_TYPE* Trinity::Find | ( | ContainerUnorderedMap< T, KEY_TYPE > const & | , |
| KEY_TYPE const & | , | ||
| SPECIFIC_TYPE * | |||
| ) |
| SPECIFIC_TYPE* Trinity::Find | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > const & | elements, |
| KEY_TYPE const & | handle, | ||
| SPECIFIC_TYPE * | |||
| ) |
Here is the call graph for this function:| bool Trinity::Insert | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > & | elements, |
| KEY_TYPE const & | handle, | ||
| SPECIFIC_TYPE * | obj | ||
| ) |
Here is the caller graph for this function:| bool Trinity::Insert | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > & | , |
| KEY_TYPE const & | , | ||
| SPECIFIC_TYPE * | |||
| ) |
| bool Trinity::Insert | ( | ContainerUnorderedMap< T, KEY_TYPE > & | , |
| KEY_TYPE const & | , | ||
| SPECIFIC_TYPE * | |||
| ) |
| bool Trinity::Insert | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > & | elements, |
| KEY_TYPE const & | handle, | ||
| SPECIFIC_TYPE * | obj | ||
| ) |
Here is the call graph for this function:| SPECIFIC_TYPE* Trinity::Insert | ( | ContainerMapList< SPECIFIC_TYPE > & | elements, |
| SPECIFIC_TYPE * | obj | ||
| ) |
| SPECIFIC_TYPE* Trinity::Insert | ( | ContainerMapList< TypeNull > & | , |
| SPECIFIC_TYPE * | |||
| ) |
| SPECIFIC_TYPE* Trinity::Insert | ( | ContainerMapList< T > & | , |
| SPECIFIC_TYPE * | |||
| ) |
| SPECIFIC_TYPE* Trinity::Insert | ( | ContainerMapList< TypeList< H, T >> & | elements, |
| SPECIFIC_TYPE * | obj | ||
| ) |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:| std::unique_ptr<T> Trinity::make_unique | ( | Args &&... | args | ) |
|
inline |
Here is the caller graph for this function:| bool Trinity::Remove | ( | ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > & | elements, |
| KEY_TYPE const & | handle, | ||
| SPECIFIC_TYPE * | |||
| ) |
Here is the caller graph for this function:| bool Trinity::Remove | ( | ContainerUnorderedMap< TypeNull, KEY_TYPE > & | , |
| KEY_TYPE const & | , | ||
| SPECIFIC_TYPE * | |||
| ) |
| bool Trinity::Remove | ( | ContainerUnorderedMap< T, KEY_TYPE > & | , |
| KEY_TYPE const & | , | ||
| SPECIFIC_TYPE * | |||
| ) |
| bool Trinity::Remove | ( | ContainerUnorderedMap< TypeList< H, T >, KEY_TYPE > & | elements, |
| KEY_TYPE const & | handle, | ||
| SPECIFIC_TYPE * | |||
| ) |
Here is the call graph for this function:
|
inline |
Default TC string format function.
Here is the call graph for this function:
Here is the caller graph for this function:| TC_COMMON_API void Trinity::Warning | ( | char const * | file, |
| int | line, | ||
| char const * | function, | ||
| char const * | message | ||
| ) |
Here is the call graph for this function:
1.8.8