Пример #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(Session s, Package p)
        {
            var Request = new Libraries.packages.todo.PacketBRequestLeaveAlliance(p.Content);

            if (s.Logger.IsDebugEnabled)
            {
                s.Logger.Debug($"Execute command: {Request}");
            }
        }
Пример #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.PacketBRequestLeaveAlliance(p.Content);

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