예제 #1
0
        static public void OutputHandle(long threadid, string opdata)
        {
            HookParam hp = ThreadHandleDict[threadid];

            hp.Text = opdata;

            DataEvent?.Invoke(typeof(Textractor), hp);
            if (!string.IsNullOrWhiteSpace(GameConfig.HookCode) &&
                GameConfig.HookCode == hp.Hookcode &&
                (GameConfig.ThreadContext & 0xFFFF) == (hp.Ctx & 0xFFFF) &&
                GameConfig.SubThreadContext == hp.Ctx2)
            {
                log.Info(hp.Text);
                SelectedDataEvent?.Invoke(typeof(Textractor), hp);
            }
        }
예제 #2
0
        static public void OutputHandle(long threadid, string opdata)
        {
            HookParam hp = ThreadHandleDict[threadid];

            hp.Text = opdata;

            DataEvent?.Invoke(typeof(Textractor), hp);

            if (gameInfo.HookCode != null &&
                gameInfo.HookCode == hp.Hookcode &&
                (gameInfo.ThreadContext & 0xFFFF) == (hp.Ctx & 0xFFFF) &&
                gameInfo.SubThreadContext == hp.Ctx2)
            {
                log.Info(hp.Text);
                SelectedDataEvent?.Invoke(typeof(Textractor), hp);
            }
        }