mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
feat(Core/World): Implement DoForAllPlayers() helper for all online p… (#18060)
* feat(Core/World): Implement DoForAllPlayers() helper for all online players * Update src/server/game/World/World.cpp Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com> * Update src/server/game/World/World.cpp Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com> * rename * Update WorldMock.h * Update WorldMock.h --------- Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
This commit is contained in:
@@ -120,6 +120,7 @@ public:
|
||||
MOCK_METHOD(std::string const&, GetRealmName, (), (const));
|
||||
MOCK_METHOD(void, SetRealmName, (std::string name), ());
|
||||
MOCK_METHOD(void, RemoveOldCorpses, ());
|
||||
MOCK_METHOD(void, DoForAllOnlinePlayers, (std::function<void(Player*)> exec));
|
||||
};
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user