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

Method Channel

Code/CryEngine/CrySystem/NotificationNetwork.cpp:269–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269CChannel* CListeners::Channel(INotificationNetworkListener* pListener)
270{
271 for (size_t i = 0; i < m_listeners.size(); ++i)
272 {
273 if (m_listeners[i].first != pListener)
274 continue;
275
276 return &m_listeners[i].second;
277 }
278
279 return NULL;
280}
281
282bool CListeners::Bind(const CChannel& channel, INotificationNetworkListener* pListener)
283{

Callers 2

OnConnectMethod · 0.80
ListenerRemoveMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected