Example #1
0
        private void ProtocolHandler(object sender, MumblePacketEventArgs args)
        {
            var proto = args.Message as IProtocolHandler;

            proto.HandleMessage(this);
        }
        private void OnPacketEvent(object sender, MumblePacketEventArgs args)
        {
            var proto = args.Message as IProtocolHandler;

            System.Console.WriteLine(proto.Inspect());
        }