using System;
using Lidgren.Network;

namespace Robust.Shared.Network
{
    /// <summary>
    /// Arguments for the MessageArrived event. This will be removed in the future.
    /// </summary>
    public class NetMessageArgs : EventArgs
    {
        public NetMessage Message { get; }
        public NetIncomingMessage RawMessage { get; }

        public NetMessageArgs(NetMessage message, NetIncomingMessage rawMessage)
        {
            Message = message;
            RawMessage = rawMessage;
        }
    }
}
