public MessageParser(BasicCommunication.RawText MyRawText, Logger MyLogger, TCPWrapper MyTCPWrapper, MySqlManager MyMySqlManager) { this.TheLogger = MyLogger; this.TheTCPWrapper = MyTCPWrapper; this.TheMySqlManager = MyMySqlManager; TheRawText = MyRawText; TheRawText.Got_RAW_TEXT += new BasicCommunication.RawText.Got_RAW_TEXT_EventHandler(OnGot_RAW_TEXT); }
public GuildTextHandler(BasicCommunication.RawText MyRawText, TCPWrapper MyTCPWrapper, BasicCommunication.MessageParser MyMessageParser, MySqlManager MyMySqlManager, Logger MyLogger) { this.TheLogger = MyLogger; this.TheMessageParser = MyMessageParser; this.TheRawText = MyRawText; this.TheMySqlManager = MyMySqlManager; this.TheTCPWrapper = MyTCPWrapper; TheMessageParser.Get_GlobalMessage += new BasicCommunication.MessageParser.Get_GlobalMessageEventHandler(Got_GlobalMessage); }