public MainFrm() { InitializeComponent(); _connected = Connected; _disconnected = Disconnected; _toRemoveList = new List <IDataHandler>(); _dataHandlers = new List <IDataHandler>(); Connection = new HConnection(); Connection.Connected += Connected; Connection.Disconnected += Disconnected; Connection.DataOutgoing += DataOutgoing; Connection.DataIncoming += DataIncoming; AboutPg = new AboutPage(this, AboutTab); ToolboxPg = new ToolboxPage(this, ToolboxTab); InjectionPg = new InjectionPage(this, InjectionTab); ExtensionsPg = new ExtensionsPage(this, ExtensionsTab); ConnectionPg = new ConnectionPage(this, ConnectionTab); PacketLoggerUI = new PacketLoggerFrm(this); AttachDataHandlers(); }
public MainFrm() { InitializeComponent(); Connection = new HConnection(); UpdateUI = new UpdateFrm(this); ConnectUI = new ConnectFrm(this); if (!IsDebugging) { Load += MainFrm_Load; Shown += MainFrm_Shown; Connection.Connected += Connected; Connection.Disconnected += Disconnected; } // Data Priority - #1 | Notify Extensions ExtensionMngr = new ExtensionManager(this); // Data Priority - #2 | Process Handshake HandshakeMngr = new HandshakeManager(this); // Data Priority - #3 | Display Data PacketLoggerUI = new PacketLoggerFrm(this); EncoderMngr = new EncoderManager(this); InjectionMngr = new InjectionManager(this); }
public MainFrm() { InitializeComponent(); _connected = Connected; _disconnected = Disconnected; _haltables = new List <IHaltable>(); _receivers = new List <IReceiver>(); _actions = new Dictionary <Keys, Action>(); _avatarCache = new Dictionary <string, Bitmap>(); _profileCache = new Dictionary <HHotel, Dictionary <string, HProfile> >(); GameData = new HGameData(); Connection = new HConnection(); Connection.Connected += Connected; Connection.DataOutgoing += HandleData; Connection.DataIncoming += HandleData; Connection.Disconnected += Disconnected; Hook = new KeyboardHook(); Hook.HotkeyActivated += Hook_HotkeyActivated; InjectionPg = new InjectionPage(this, InjectionTab); ToolboxPg = new ToolboxPage(this, ToolboxTab); ModulesPg = new ModulesPage(this, ModulesTab); AboutPg = new AboutPage(this, AboutTab); PacketLoggerUI = new PacketLoggerFrm(this); LoadHaltables(); LoadReceivers(); AssignMasters(); }
public MainFrm() { InitializeComponent(); _connected = Connected; _disconnected = Disconnected; _haltables = new List <IHaltable>(); _receivers = new List <IReceiver>(); GameData = new HGameData(); Connection = new HConnection(); Connection.Connected += Connected; Connection.Disconnected += Disconnected; Connection.DataOutgoing += DataOutgoing; Connection.DataIncoming += DataIncoming; ConnectionPg = new ConnectionPage(this, ConnectionTab); InjectionPg = new InjectionPage(this, InjectionTab); ToolboxPg = new ToolboxPage(this, ToolboxTab); ModulesPg = new ModulesPage(this, ModulesTab); AboutPg = new AboutPage(this, AboutTab); PacketLoggerUI = new PacketLoggerFrm(this); _haltables.Add(ModulesPg); _haltables.Add(PacketLoggerUI); _haltables.Add(InjectionPg.FiltersPg); _haltables.Add(InjectionPg.SchedulerPg); _receivers.Add(ModulesPg); _receivers.Add(InjectionPg.FiltersPg); _receivers.Add(ConnectionPg.HandshakeMngr); _receivers.Add(PacketLoggerUI); }