public SharedClientSide(IrcBot botInstance)
        {
            serverSide = new SharedServerSide(botInstance);

            serverSide.OnAdmin += HandleOnAdmin;
            serverSide.OnAutoConnectError += HandleOnAutoConnectError;
            serverSide.OnAway += HandleOnAway;
            serverSide.OnBan += HandleOnBan;
            serverSide.OnChannelAction += HandleOnChannelAction;
            serverSide.OnChannelActiveSynced += HandleOnChannelActiveSynced;
            serverSide.OnChannelMessage += HandleOnChannelMessage;
            serverSide.OnChannelModeChange += HandleOnChannelModeChange;
            serverSide.OnChannelNotice += HandleOnChannelNotice;
            serverSide.OnChannelPassiveSynced += HandleOnChannelPassiveSynced;
            serverSide.OnConnected += HandleOnConnected;
            serverSide.OnConnecting += HandleOnConnecting;
            serverSide.OnConnectionError += HandleOnConnectionError;
            serverSide.OnCtcpReply += HandleOnCtcpReply;
            serverSide.OnCtcpRequest += HandleOnCtcpRequest;
            serverSide.OnDccChatReceiveLineEvent += HandleOnDccChatReceiveLineEvent;
            serverSide.OnDccChatRequestEvent += HandleOnDccChatRequestEvent;
            serverSide.OnDccChatSentLineEvent += HandleOnDccChatSentLineEvent;
            serverSide.OnDccChatStartEvent += HandleOnDccChatStartEvent;
            serverSide.OnDccChatStopEvent += HandleOnDccChatStopEvent;
            serverSide.OnDccSendReceiveBlockEvent += HandleOnDccSendReceiveBlockEvent;
            serverSide.OnDccSendRequestEvent += HandleOnDccSendRequestEvent;
            serverSide.OnDccSendSentBlockEvent += HandleOnDccSendSentBlockEvent;
            serverSide.OnDccSendStartEvent += HandleOnDccSendStartEvent;
            serverSide.OnDccSendStopEvent += HandleOnDccSendStopEvent;
            serverSide.OnDeadmin += HandleOnDeadmin;
            serverSide.OnDehalfop += HandleOnDehalfop;
            serverSide.OnDeop += HandleOnDeop;
            serverSide.OnDeowner += HandleOnDeowner;
            serverSide.OnDevoice += HandleOnDevoice;
            serverSide.OnDisconnected += HandleOnDisconnected;
            serverSide.OnDisconnecting += HandleOnDisconnecting;
            serverSide.OnError += HandleOnError;
            serverSide.OnErrorMessage += HandleOnErrorMessage;
            serverSide.OnHalfop += HandleOnHalfop;
            serverSide.OnInvite += HandleOnInvite;
            serverSide.OnJoin += HandleOnJoin;
            serverSide.OnKick += HandleOnKick;
            serverSide.OnList += HandleOnList;
            serverSide.OnModeChange += HandleOnModeChange;
            serverSide.OnMotd += HandleOnMotd;
            serverSide.OnNames += HandleOnNames;
            serverSide.OnNickChange += HandleOnNickChange;
            serverSide.OnNowAway += HandleOnNowAway;
            serverSide.OnOp += HandleOnOp;
            serverSide.OnOwner += HandleOnOwner;
            serverSide.OnPart += HandleOnPart;
            serverSide.OnPing += HandleOnPing;
            serverSide.OnPong += HandleOnPong;
            serverSide.OnQueryAction += HandleOnQueryAction;
            serverSide.OnQueryMessage += HandleOnQueryMessage;
            serverSide.OnQueryNotice += HandleOnQueryNotice;
            serverSide.OnQuit += HandleOnQuit;
            serverSide.OnRawMessage += HandleOnRawMessage;
            serverSide.OnReadLine += HandleOnReadLine;
            serverSide.OnRegistered += HandleOnRegistered;
            serverSide.OnTopic += HandleOnTopic;
            serverSide.OnTopicChange += HandleOnTopicChange;
            serverSide.OnUnAway += HandleOnUnAway;
            serverSide.OnUnban += HandleOnUnban;
            serverSide.OnUserModeChange += HandleOnUserModeChange;
            serverSide.OnVoice += HandleOnVoice;
            serverSide.OnWho += HandleOnWho;
            serverSide.OnWriteLine += HandleOnWriteLine;
            serverSide.SupportNonRfcChanged += HandleSupportNonRfcChanged;
        }
Ejemplo n.º 2
0
        public SharedClientSide(IrcBot botInstance)
        {
            serverSide = new SharedServerSide(botInstance);

            serverSide.OnAdmin            += HandleOnAdmin;
            serverSide.OnAutoConnectError += HandleOnAutoConnectError;
            serverSide.OnAway             += HandleOnAway;
            serverSide.OnBan                      += HandleOnBan;
            serverSide.OnChannelAction            += HandleOnChannelAction;
            serverSide.OnChannelActiveSynced      += HandleOnChannelActiveSynced;
            serverSide.OnChannelMessage           += HandleOnChannelMessage;
            serverSide.OnChannelModeChange        += HandleOnChannelModeChange;
            serverSide.OnChannelNotice            += HandleOnChannelNotice;
            serverSide.OnChannelPassiveSynced     += HandleOnChannelPassiveSynced;
            serverSide.OnConnected                += HandleOnConnected;
            serverSide.OnConnecting               += HandleOnConnecting;
            serverSide.OnConnectionError          += HandleOnConnectionError;
            serverSide.OnCtcpReply                += HandleOnCtcpReply;
            serverSide.OnCtcpRequest              += HandleOnCtcpRequest;
            serverSide.OnDccChatReceiveLineEvent  += HandleOnDccChatReceiveLineEvent;
            serverSide.OnDccChatRequestEvent      += HandleOnDccChatRequestEvent;
            serverSide.OnDccChatSentLineEvent     += HandleOnDccChatSentLineEvent;
            serverSide.OnDccChatStartEvent        += HandleOnDccChatStartEvent;
            serverSide.OnDccChatStopEvent         += HandleOnDccChatStopEvent;
            serverSide.OnDccSendReceiveBlockEvent += HandleOnDccSendReceiveBlockEvent;
            serverSide.OnDccSendRequestEvent      += HandleOnDccSendRequestEvent;
            serverSide.OnDccSendSentBlockEvent    += HandleOnDccSendSentBlockEvent;
            serverSide.OnDccSendStartEvent        += HandleOnDccSendStartEvent;
            serverSide.OnDccSendStopEvent         += HandleOnDccSendStopEvent;
            serverSide.OnDeadmin                  += HandleOnDeadmin;
            serverSide.OnDehalfop                 += HandleOnDehalfop;
            serverSide.OnDeop                     += HandleOnDeop;
            serverSide.OnDeowner                  += HandleOnDeowner;
            serverSide.OnDevoice                  += HandleOnDevoice;
            serverSide.OnDisconnected             += HandleOnDisconnected;
            serverSide.OnDisconnecting            += HandleOnDisconnecting;
            serverSide.OnError                    += HandleOnError;
            serverSide.OnErrorMessage             += HandleOnErrorMessage;
            serverSide.OnHalfop                   += HandleOnHalfop;
            serverSide.OnInvite                   += HandleOnInvite;
            serverSide.OnJoin                     += HandleOnJoin;
            serverSide.OnKick                     += HandleOnKick;
            serverSide.OnList                     += HandleOnList;
            serverSide.OnModeChange               += HandleOnModeChange;
            serverSide.OnMotd                     += HandleOnMotd;
            serverSide.OnNames                    += HandleOnNames;
            serverSide.OnNickChange               += HandleOnNickChange;
            serverSide.OnNowAway                  += HandleOnNowAway;
            serverSide.OnOp                 += HandleOnOp;
            serverSide.OnOwner              += HandleOnOwner;
            serverSide.OnPart               += HandleOnPart;
            serverSide.OnPing               += HandleOnPing;
            serverSide.OnPong               += HandleOnPong;
            serverSide.OnQueryAction        += HandleOnQueryAction;
            serverSide.OnQueryMessage       += HandleOnQueryMessage;
            serverSide.OnQueryNotice        += HandleOnQueryNotice;
            serverSide.OnQuit               += HandleOnQuit;
            serverSide.OnRawMessage         += HandleOnRawMessage;
            serverSide.OnReadLine           += HandleOnReadLine;
            serverSide.OnRegistered         += HandleOnRegistered;
            serverSide.OnTopic              += HandleOnTopic;
            serverSide.OnTopicChange        += HandleOnTopicChange;
            serverSide.OnUnAway             += HandleOnUnAway;
            serverSide.OnUnban              += HandleOnUnban;
            serverSide.OnUserModeChange     += HandleOnUserModeChange;
            serverSide.OnVoice              += HandleOnVoice;
            serverSide.OnWho                += HandleOnWho;
            serverSide.OnWriteLine          += HandleOnWriteLine;
            serverSide.SupportNonRfcChanged += HandleSupportNonRfcChanged;
        }