MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / Count

Method Count

Code/CryEngine/CrySystem/NotificationNetwork.cpp:255–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253//
254
255size_t CListeners::Count(const CChannel& channel)
256{
257 size_t count = 0;
258 for (size_t i = 0; i < m_listeners.size(); ++i)
259 {
260 if (m_listeners[i].second != channel)
261 continue;
262
263 ++count;
264 }
265
266 return count;
267}
268
269CChannel* CListeners::Channel(INotificationNetworkListener* pListener)
270{

Callers 6

UpdateMethod · 0.45
OnConnectMethod · 0.45
WriteTableMethod · 0.45
IsVectorMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected