コード例 #1
0
ファイル: BaseDXHook.cs プロジェクト: hhhenggg/wallhack
 void InterfaceEventProxy_DisplayText(DisplayTextEventArgs args)
 {
     TextDisplay = new TextDisplay()
     {
         Text     = args.Text,
         Duration = args.Duration
     };
 }
コード例 #2
0
        private void HandleTerminalDisplay(object sender, DisplayTextEventArgs args)
        {
            Dictionary <string, string> data = new Dictionary <string, string>()
            {
                { "method", JS_FUNC_ONDISPLAY },
                { "payload", JsonConvert.SerializeObject(args) }
            };

            ctx.Post(CallJSCallback, data);
        }
コード例 #3
0
 private void HandleDisplayText(object sender, DisplayTextEventArgs args)
 {
     OnDisplayText(sender, args);
 }
コード例 #4
0
 public void DisplayTextProxyHandler(DisplayTextEventArgs args)
 {
     DisplayText?.Invoke(args);
 }