Ejemplo n.º 1
0
        /// <summary>
        /// Executes the command and sends response.
        /// </summary>
        /// <param name="s">The session.</param>
        /// <param name="i">The package info.</param>
        public override void ExecuteCommand(PlayerSession s, Package p)
        {
            var Request = new Libraries.packages.todo.PacketBRequestValidateContentList(p.Content);

            if (s.Logger.IsDebugEnabled)
            {
                s.Logger.Debug($"Execute command: {Request}");
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Executes the command and sends response.
        /// </summary>
        /// <param name="s">The session.</param>
        /// <param name="p">The package info.</param>
        public override void ExecuteCommand(Session s, Package p)
        {
            var Request = new Libraries.packages.todo.PacketBRequestValidateContentList(p.Content);

            Logger.Debug($"{p.Key}::ExecuteCommand - Execute command: {Request}");
        }