mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[11169] Implemented pool system related commands.
.lookup pool $pooldescpart - list of pools (anywhere) with substring in description
.pool list - list of pools with spawn in current map (only work in instances)
Non-instanceable maps share pool system state os useless attempt get all pols at all continents.
.pool spawns - list current creatures/objects listed in pools and spawned (added to grid data, not meaning show in world).
.pool spawns #pool_id - list current creatures/objects listed in #pool_id and spawned (added to grid data, not meaning show in world).
.pool #pool_id - pool information and full list creatures/gameobjects included in pool
This commit is contained in:
parent
8feaf211f1
commit
a6584c4401
12 changed files with 429 additions and 8 deletions
|
|
@ -258,6 +258,16 @@ inline bool isEastAsianString(std::wstring wstr, bool numericOrSpace)
|
|||
return true;
|
||||
}
|
||||
|
||||
inline void strToUpper(std::string& str)
|
||||
{
|
||||
std::transform( str.begin(), str.end(), str.begin(), toupper );
|
||||
}
|
||||
|
||||
inline void strToLower(std::string& str)
|
||||
{
|
||||
std::transform( str.begin(), str.end(), str.begin(), tolower );
|
||||
}
|
||||
|
||||
inline wchar_t wcharToUpper(wchar_t wchar)
|
||||
{
|
||||
if(wchar >= L'a' && wchar <= L'z') // LATIN SMALL LETTER A - LATIN SMALL LETTER Z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue