From e3a610314ae49c945b917df654e1094f7f1987f4 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 8 Aug 2024 23:55:58 +0000 Subject: [PATCH] Update generated files [skip ci] --- include/generated/None.d.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/generated/None.d.ts b/include/generated/None.d.ts index 61ae33542..893dbfdab 100644 --- a/include/generated/None.d.ts +++ b/include/generated/None.d.ts @@ -36117,10 +36117,17 @@ interface UIDragDetector extends UIComponent { MinDragTranslation: UDim2; ReferenceUIInstance: GuiObject | undefined; ResponseStyle: Enum.UIDragDetectorResponseStyle; - AddConstraintFunction(this: UIDragDetector, priority: number, callback: Callback): RBXScriptConnection; + AddConstraintFunction( + this: UIDragDetector, + priority: number, + callback: ( + proposedPosition: UDim2, + proposedRotation: number, + ) => LuaTuple<[UDim2, number, Enum.UIDragDetectorDragRelativity?, Enum.UIDragDetectorDragSpace?]>, + ): RBXScriptConnection; GetReferencePosition(this: UIDragDetector): UDim2; GetReferenceRotation(this: UIDragDetector): number; - SetDragStyleFunction(this: UIDragDetector, callback: Callback): void; + SetDragStyleFunction(this: UIDragDetector, callback: (inputPosition: UDim2) => UDim2 | void): void; readonly DragContinue: RBXScriptSignal<(inputPosition: Vector2) => void>; readonly DragEnd: RBXScriptSignal<(inputPosition: Vector2) => void>; readonly DragStart: RBXScriptSignal<(inputPosition: Vector2) => void>;