static ConnectionManager() { serverListener = new ProxyServerEventListener(); sessionListener = new ProxySessionEventListener(); EventListener l = new EventListener(); sessionListener.AddListener((IPlayerSessionEventListener)l); sessionListener.AddListener((ISpectatorSessionEventListener)l); }
private TestClient() { mainSessionListener = new ProxySessionEventListener(); mainSessionListener.AddListener(this); }