示例#1
0
            internal static unsafe EventReply Invoke(EventReply Reply)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((EventReply *)(b + 0)) = Reply;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, ReleaseMouseCapture_ptr, new IntPtr(p));;
                return(*((EventReply *)(b + 192)));
            }
        }
示例#2
0
            internal static unsafe EventReply Invoke(EventReply Reply, Vector2D NewMousePosition)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((EventReply *)(b + 0)) = Reply;
                *((Vector2D *)(b + 192)) = NewMousePosition;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, SetMousePosition_ptr, new IntPtr(p));;
                return(*((EventReply *)(b + 200)));
            }
        }
示例#3
0
            internal static unsafe EventReply Invoke(EventReply Reply, bool bInAllUsers)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((EventReply *)(b + 0)) = Reply;
                *((bool *)(b + 192))     = bInAllUsers;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, ClearUserFocus_ptr, new IntPtr(p));;
                return(*((EventReply *)(b + 200)));
            }
        }
示例#4
0
            internal static unsafe EventReply Invoke(EventReply Reply, Widget WidgetDetectingDrag, Key DragKey)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((EventReply *)(b + 0)) = Reply;
                *((IntPtr *)(b + 192))   = WidgetDetectingDrag;
                *((Key *)(b + 200))      = DragKey;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, DetectDrag_ptr, new IntPtr(p));;
                return(*((EventReply *)(b + 232)));
            }
        }
示例#5
0
            internal static unsafe EventReply Invoke(EventReply Reply, Widget CapturingWidget, bool bInAllJoysticks)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((EventReply *)(b + 0)) = Reply;
                *((IntPtr *)(b + 192))   = CapturingWidget;
                *((bool *)(b + 200))     = bInAllJoysticks;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, CaptureJoystick_ptr, new IntPtr(p));;
                return(*((EventReply *)(b + 208)));
            }
        }
示例#6
0
 ///<summary>Ask Slate to detect if a user starts dragging in this widget later.</summary>
 ///<remarks>
 ///Slate internally tracks the movement
 ///and if it surpasses the drag threshold, Slate will send an OnDragDetected event to the widget.
 ///
 ///@param WidgetDetectingDrag  Detect dragging in this widget
 ///@param DragKey                      This button should be pressed to detect the drag
 ///</remarks>
 public static EventReply DetectDrag(EventReply Reply, Widget WidgetDetectingDrag, Key DragKey) =>
 WidgetBlueprintLibrary_methods.DetectDrag_method.Invoke(Reply, WidgetDetectingDrag, DragKey);
示例#7
0
 ///<summary>Clear User Focus</summary>
 public static EventReply ClearUserFocus(EventReply Reply, bool bInAllUsers) =>
 WidgetBlueprintLibrary_methods.ClearUserFocus_method.Invoke(Reply, bInAllUsers);
示例#8
0
 ///<summary>Capture Mouse</summary>
 public static EventReply CaptureMouse(EventReply Reply, Widget CapturingWidget) =>
 WidgetBlueprintLibrary_methods.CaptureMouse_method.Invoke(Reply, CapturingWidget);
示例#9
0
 ///<summary>Capture Joystick</summary>
 public static EventReply CaptureJoystick(EventReply Reply, Widget CapturingWidget, bool bInAllJoysticks) =>
 WidgetBlueprintLibrary_methods.CaptureJoystick_method.Invoke(Reply, CapturingWidget, bInAllJoysticks);
示例#10
0
 ///<summary>An event should return FReply::Handled().EndDragDrop() to request that the current drag/drop operation be terminated.</summary>
 public static EventReply EndDragDrop(EventReply Reply) =>
 WidgetBlueprintLibrary_methods.EndDragDrop_method.Invoke(Reply);