#include <client.h>
Collaboration diagram for PacketCounter:Public Member Functions | |
| PacketCounter ()=default | |
| void | add (u16 command) |
| void | clear () |
| u32 | sum () const |
| void | print (std::ostream &o) const |
Private Attributes | |
| std::map< u16, u32 > | m_packets |
|
default |
|
inline |
References m_packets.
Referenced by Client::ProcessData().
Here is the caller graph for this function:
|
inline |
| void PacketCounter::print | ( | std::ostream & | o | ) | const |
References m_packets, ToClientCommandHandler::name, TOCLIENT_NUM_MSG_TYPES, and toClientCommandTable.
Referenced by Client::step().
Here is the caller graph for this function:| u32 PacketCounter::sum | ( | ) | const |
|
private |