@rbxts/types 1.0.822 → 1.0.823
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/generated/None.d.ts +1 -1
- package/include/roblox.d.ts +13 -0
- package/package.json +1 -1
|
@@ -11514,7 +11514,7 @@ interface ContextActionService extends Instance {
|
|
|
11514
11514
|
* @param this A service used to bind user input to contextual actions.
|
|
11515
11515
|
* @param actionName
|
|
11516
11516
|
*/
|
|
11517
|
-
GetBoundActionInfo(this: ContextActionService, actionName: string): BoundActionInfo;
|
|
11517
|
+
GetBoundActionInfo(this: ContextActionService, actionName: string): BoundActionInfo | {};
|
|
11518
11518
|
/**
|
|
11519
11519
|
* Return the `BackpackItem.TextureId` of a `Tool` currently `equipped` by the `Player`.
|
|
11520
11520
|
*
|
package/include/roblox.d.ts
CHANGED
|
@@ -296,8 +296,21 @@ interface PlayerJoinInfo {
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
interface BoundActionInfo {
|
|
299
|
+
/** Describes whether a touch button should be created on TouchEnabled devices */
|
|
300
|
+
createTouchButton: boolean;
|
|
301
|
+
/** The description of action set by SetDescription */
|
|
302
|
+
description?: string;
|
|
303
|
+
/** The title of the action set by SetTitle */
|
|
304
|
+
title?: string;
|
|
305
|
+
/** The image of the action's touch button set by SetImage */
|
|
306
|
+
image?: string;
|
|
307
|
+
/** The input types passed to BindAction for which this action will trigger */
|
|
299
308
|
inputTypes: Array<Enum.KeyCode | Enum.PlayerActions | Enum.UserInputType | string>;
|
|
309
|
+
/** Describes the priority level of the action.
|
|
310
|
+
* Priority level will still be included even if `BindActionAtPriority` wasn't used - by default it will be 2000.
|
|
311
|
+
*/
|
|
300
312
|
priorityLevel: number;
|
|
313
|
+
/** Describes the index of the action on the stack (increasing) */
|
|
301
314
|
stackOrder: number;
|
|
302
315
|
}
|
|
303
316
|
|