MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / Message

Method Message

zone/entity.cpp:2311–2327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2309}
2310
2311void EntityList::Message(uint32 to_guilddbid, uint32 type, const char *message, ...)
2312{
2313 va_list argptr;
2314 char buffer[4096];
2315
2316 va_start(argptr, message);
2317 vsnprintf(buffer, 4096, message, argptr);
2318 va_end(argptr);
2319
2320 auto it = client_list.begin();
2321 while (it != client_list.end()) {
2322 Client *client = it->second;
2323 if (to_guilddbid == 0 || client->IsInGuild(to_guilddbid))
2324 client->Message(type, buffer);
2325 ++it;
2326 }
2327}
2328
2329void EntityList::QueueClientsGuild(const EQApplicationPacket *app, uint32 guild_id)
2330{

Callers 8

QueueClientsByTargetMethod · 0.45
MessageStatusMethod · 0.45
MessageCloseMethod · 0.45
ListNPCCorpsesMethod · 0.45
ListPlayerCorpsesMethod · 0.45
CorpseFixMethod · 0.45
MessageGroupMethod · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
IsInGuildMethod · 0.45

Tested by

no test coverage detected