private void Handle_SB_Event_Fleet_NeedTank(object sender, LSEventArgs e) { var methodName = "Handle_SB_Event_Fleet_NeedTank"; LogTrace(methodName); var fe = new Fleet_NeedTankEventArgs(e); LogMessage(methodName, LogSeverityTypes.Debug, "Received NeedTank from {0}.", fe.SendingFleetMemberID); if (OnSB_Event_Fleet_NeedTank != null) { OnSB_Event_Fleet_NeedTank(sender, fe); } }
private void _handle_SB_Event_Fleet_NeedTank(object sender, LSEventArgs e) { string methodName = "_handle_Fleet_NeedTank"; Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Trace, methodName, string.Empty)); Fleet_NeedTankEventArgs fe = new Fleet_NeedTankEventArgs(e); Core.StealthBot.Logging.OnLogMessage(ObjectName, new LogEventArgs(LogSeverityTypes.Minor, methodName, String.Format("Received NeedTank from {0}.", fe.SendingFleetMemberID))); if (OnSB_Event_Fleet_NeedTank != null) { OnSB_Event_Fleet_NeedTank(sender, fe); } }