public void handleRequestScreenshot(NetPeer peer, Network.Messages.Connection.RequestScreenshotMessage message)
        {
            NetPeer wpeer;

            if (_hostPeers.TryGetValue(message.HostSystemId, out wpeer))
            {
                wpeer.Send(_messageHandler.encodeMessage(message), SendOptions.Unreliable);
            }
        }
Beispiel #2
0
 public void handleRequestScreenshot(NetPeer peer, Network.Messages.Connection.RequestScreenshotMessage message)
 {
     if (OnScreenshotRequest != null)
     {
         OnScreenshotRequest(this, new ScreenshotRequestEventArgs()
         {
             HostSystemId = message.HostSystemId, ClientSystemId = message.ClientSystemId, Fullscreen = message.Fullscreen
         });
     }
 }