Пример #1
0
 /// <summary>
 /// Re-execute the EventStrings for all sent pickup requests
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void HandleSendPickupRequests(object sender, Fleet_NotificationEventArgs e)
 {
     lock (this)
     {
         foreach (var request in _sentPickupRequests)
         {
             Send_SB_Event_Fleet_NeedPickup(request.SendingFleetMemberID, request.SolarSystemID, request.TargetCanEntityID, request.SendingFleetMemberEntityID,
                                            request.SendingFleetMemberName);
         }
     }
 }
Пример #2
0
        private void Handle_SB_Event_Info_NeedFleetSkills(object sender, LSEventArgs e)
        {
            var methodName = "Handle_SB_Event_Info_NeedFleetSkills";

            LogTrace(methodName);

            var eventArgs = new Fleet_NotificationEventArgs(e);

            LogMessage(methodName, LogSeverityTypes.Debug, "Received NeedFleetSkills from {0}.", eventArgs.SendingFleetMemberID);
            if (OnSB_Event_Info_NeedFleetSkills != null)
            {
                OnSB_Event_Info_NeedFleetSkills(this, eventArgs);
            }
        }
Пример #3
0
        private void Handle_SB_Event_Fleet_TankNotReady(object sender, LSEventArgs e)
        {
            var methodName = "Handle_SB_Event_Fleet_TankNotReady";

            LogTrace(methodName);

            var fe = new Fleet_NotificationEventArgs(e);

            LogMessage(methodName, LogSeverityTypes.Debug, "Received TankNotReady from {0}.", fe.SendingFleetMemberID);
            if (OnSB_Event_Fleet_TankNotReady != null)
            {
                OnSB_Event_Fleet_TankNotReady(sender, fe);
            }
        }
Пример #4
0
        private void _handle_SB_Event_Fleet_TankNotReady(object sender, LSEventArgs e)
        {
            string methodName = "_handle_Fleet_TankNotReady";

            Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Trace,
                                                                              methodName, string.Empty));
            Fleet_NotificationEventArgs fe = new Fleet_NotificationEventArgs(e);

            Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Minor,
                                                                              methodName, String.Format("Received TankNotReady from {0}.", fe.SendingFleetMemberID)));
            if (OnSB_Event_Fleet_TankNotReady != null)
            {
                OnSB_Event_Fleet_TankNotReady(sender, fe);
            }
        }
Пример #5
0
        private void Handle_SB_Event_Fleet_SendPickupRequests(object sender, LSEventArgs e)
        {
            var methodName = "Handle_SB_Event_Fleet_SendPickupRequests";

            LogTrace(methodName);

            var eventArgs = new Fleet_NotificationEventArgs(e);

            LogMessage(methodName, LogSeverityTypes.Debug, "Received SendPickupRequests from {0}", eventArgs.SendingFleetMemberID);

            if (OnSB_Event_Fleet_SendPickupRequests != null)
            {
                OnSB_Event_Fleet_SendPickupRequests(this, eventArgs);
            }
        }
Пример #6
0
        private void _handle_SB_Event_Info_NeedFleetSkills(object sender, LSEventArgs e)
        {
            string methodName = "_handle_Info_NeedFleetSkills";

            Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Trace,
                                                                              methodName, string.Empty));
            Fleet_NotificationEventArgs eventArgs = new Fleet_NotificationEventArgs(e);

            Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Minor,
                                                                              methodName, string.Format("Received NeedFleetSkills from {0}.",
                                                                                                        eventArgs.SendingFleetMemberID)));
            if (OnSB_Event_Info_NeedFleetSkills != null)
            {
                OnSB_Event_Info_NeedFleetSkills(this, eventArgs);
            }
        }