#include <WorldserverServiceDispatcher.h>
Battlenet::WorldserverServiceDispatcher::WorldserverServiceDispatcher |
( |
| ) |
|
|
private |
23 AddService<WorldserverService<account::v1::AccountService>>();
24 AddService<WorldserverService<authentication::v1::AuthenticationService>>();
25 AddService<WorldserverService<challenge::v1::ChallengeService>>();
26 AddService<WorldserverService<channel::v1::ChannelService>>();
27 AddService<WorldserverService<connection::v1::ConnectionService>>();
28 AddService<WorldserverService<friends::v1::FriendsService>>();
29 AddService<GameUtilitiesService>();
30 AddService<WorldserverService<presence::v1::PresenceService>>();
31 AddService<WorldserverService<report::v1::ReportService>>();
32 AddService<WorldserverService<resources::v1::ResourcesService>>();
33 AddService<WorldserverService<user_manager::v1::UserManagerService>>();
template<class Service >
void Battlenet::WorldserverServiceDispatcher::AddService |
( |
| ) |
|
|
inlineprivate |
const FieldDescriptor value
Definition: descriptor.h:1522
std::unordered_map< uint32, std::function< void(WorldSession *, uint32, uint32, MessageBuffer)> > _dispatchers
Definition: WorldserverServiceDispatcher.h:61
40 itr->second(session, token, methodId, std::forward<MessageBuffer>(buffer));
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
std::string GetPlayerInfo() const
Definition: WorldSession.cpp:195
std::unordered_map< uint32, std::function< void(WorldSession *, uint32, uint32, MessageBuffer)> > _dispatchers
Definition: WorldserverServiceDispatcher.h:61
58 Service(session).CallServerMethod(token, methodId, std::forward<MessageBuffer>(buffer));
WorldserverServiceDispatcher()
Definition: WorldserverServiceDispatcher.cpp:21
The documentation for this class was generated from the following files: