예제 #1
0
        private void Handle_SB_Event_Fleet_NeedAssist(object sender, LSEventArgs e)
        {
            var methodName = "Handle_SB_Event_Fleet_NeedAssist";

            LogTrace(methodName);

            var fe = new Fleet_NeedAssistEventArgs(e);

            LogMessage(methodName, LogSeverityTypes.Debug, "Received NeedAssist from {0}.", fe.SendingFleetMemberID);
            if (OnSB_Event_Fleet_NeedAssist != null)
            {
                OnSB_Event_Fleet_NeedAssist(sender, fe);
            }
        }
예제 #2
0
        private void _handle_SB_Event_Fleet_NeedAssist(object sender, LSEventArgs e)
        {
            string methodName = "_handle_Fleet_NeedAssist";

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

            Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Minor,
                                                                              methodName, String.Format("Received NeedAssist from {0}.", fe.SendingFleetMemberID)));
            if (OnSB_Event_Fleet_NeedAssist != null)
            {
                OnSB_Event_Fleet_NeedAssist(sender, fe);
            }
        }