@rbxts/types 1.0.613 → 1.0.616
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.
|
@@ -35,6 +35,7 @@ interface Services {
|
|
|
35
35
|
DebuggablePluginWatcher: DebuggablePluginWatcher;
|
|
36
36
|
DebuggerConnectionManager: DebuggerConnectionManager;
|
|
37
37
|
DebuggerUIService: DebuggerUIService;
|
|
38
|
+
DeviceIdService: DeviceIdService;
|
|
38
39
|
DraggerService: DraggerService;
|
|
39
40
|
EventIngestService: EventIngestService;
|
|
40
41
|
FaceAnimatorService: FaceAnimatorService;
|
|
@@ -452,6 +453,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
452
453
|
PlayerScripts: PlayerScripts;
|
|
453
454
|
PluginManagerInterface: PluginManagerInterface;
|
|
454
455
|
PoseBase: PoseBase;
|
|
456
|
+
ScreenshotHud: ScreenshotHud;
|
|
455
457
|
ScriptDocument: ScriptDocument;
|
|
456
458
|
StackFrame: StackFrame;
|
|
457
459
|
StandardPages: StandardPages;
|
|
@@ -9147,6 +9149,17 @@ interface DebuggerVariable extends Instance {
|
|
|
9147
9149
|
readonly _nominal_DebuggerVariable: unique symbol;
|
|
9148
9150
|
}
|
|
9149
9151
|
|
|
9152
|
+
interface DeviceIdService extends Instance {
|
|
9153
|
+
/**
|
|
9154
|
+
* **DO NOT USE!**
|
|
9155
|
+
*
|
|
9156
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9157
|
+
* @hidden
|
|
9158
|
+
* @deprecated
|
|
9159
|
+
*/
|
|
9160
|
+
readonly _nominal_DeviceIdService: unique symbol;
|
|
9161
|
+
}
|
|
9162
|
+
|
|
9150
9163
|
/** The Dialog object allows users to create non-player characters (NPCs) that players can talk to using a list of choices. The Dialog object can be inserted into a part such as a Humanoid's head, and then a player will see a speech bubble above the part that they can click on to start a conversation. The creator of a place can choose what choices the player can say by inserting [DialogChoice](https://developer.roblox.com/en-us/api-reference/class/DialogChoice) objects into the dialog.
|
|
9151
9164
|
*
|
|
9152
9165
|
* **See Also:**
|
|
@@ -24227,7 +24240,7 @@ interface WorldRoot extends Model {
|
|
|
24227
24240
|
*
|
|
24228
24241
|
* This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
|
|
24229
24242
|
*/
|
|
24230
|
-
GetPartBoundsInBox(this: WorldRoot, cframe: CFrame, size: Vector3, overlapParams?: OverlapParams): Array<
|
|
24243
|
+
GetPartBoundsInBox(this: WorldRoot, cframe: CFrame, size: Vector3, overlapParams?: OverlapParams): Array<BasePart>;
|
|
24231
24244
|
/**
|
|
24232
24245
|
* **GetPartBoundsInRadius** returns an array of parts whose _bounding boxes_ overlap a sphere whose volume is described using the given center (Vector3) and radius (number).
|
|
24233
24246
|
*
|
|
@@ -24237,7 +24250,12 @@ interface WorldRoot extends Model {
|
|
|
24237
24250
|
*
|
|
24238
24251
|
* This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
|
|
24239
24252
|
*/
|
|
24240
|
-
GetPartBoundsInRadius(
|
|
24253
|
+
GetPartBoundsInRadius(
|
|
24254
|
+
this: WorldRoot,
|
|
24255
|
+
position: Vector3,
|
|
24256
|
+
radius: number,
|
|
24257
|
+
overlapParams?: OverlapParams,
|
|
24258
|
+
): Array<BasePart>;
|
|
24241
24259
|
/**
|
|
24242
24260
|
* **GetPartsInPart** returns an array of parts whose occupied space is shared with the given part, which must exist in the same WorldRoot ([Workspace](https://developer.roblox.com/en-us/api-reference/class/Workspace)) as the parts to be queried.
|
|
24243
24261
|
*
|
|
@@ -24249,7 +24267,7 @@ interface WorldRoot extends Model {
|
|
|
24249
24267
|
*
|
|
24250
24268
|
* This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
|
|
24251
24269
|
*/
|
|
24252
|
-
GetPartsInPart(this: WorldRoot, part: BasePart, overlapParams?: OverlapParams): Array<
|
|
24270
|
+
GetPartsInPart(this: WorldRoot, part: BasePart, overlapParams?: OverlapParams): Array<BasePart>;
|
|
24253
24271
|
/**
|
|
24254
24272
|
* **IsRegion3Empty** returns a bool indicating whether there are no [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)s within the given [Region3](https://developer.roblox.com/en-us/api-reference/datatype/Region3).
|
|
24255
24273
|
*
|
|
@@ -24650,12 +24668,12 @@ interface PackageLink extends Instance {
|
|
|
24650
24668
|
readonly _nominal_PackageLink: unique symbol;
|
|
24651
24669
|
/**
|
|
24652
24670
|
* The id of the asset this package corresponds to.
|
|
24653
|
-
* Tags: ReadOnly, NotReplicated
|
|
24671
|
+
* Tags: Hidden, ReadOnly, NotReplicated
|
|
24654
24672
|
*/
|
|
24655
24673
|
readonly PackageId: string;
|
|
24656
24674
|
/**
|
|
24657
24675
|
* This property refers to a revision of a specific package
|
|
24658
|
-
* Tags: NotReplicated
|
|
24676
|
+
* Tags: Hidden, NotReplicated
|
|
24659
24677
|
*/
|
|
24660
24678
|
readonly VersionNumber: number;
|
|
24661
24679
|
}
|
|
@@ -28079,6 +28097,25 @@ interface RunService extends Instance {
|
|
|
28079
28097
|
readonly Stepped: RBXScriptSignal<(time: number, deltaTime: number) => void>;
|
|
28080
28098
|
}
|
|
28081
28099
|
|
|
28100
|
+
interface ScreenshotHud extends Instance {
|
|
28101
|
+
/**
|
|
28102
|
+
* **DO NOT USE!**
|
|
28103
|
+
*
|
|
28104
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28105
|
+
* @hidden
|
|
28106
|
+
* @deprecated
|
|
28107
|
+
*/
|
|
28108
|
+
readonly _nominal_ScreenshotHud: unique symbol;
|
|
28109
|
+
CameraButtonIcon: string;
|
|
28110
|
+
CameraButtonPosition: UDim2;
|
|
28111
|
+
CloseButtonPosition: UDim2;
|
|
28112
|
+
CloseWhenScreenshotTaken: boolean;
|
|
28113
|
+
ExperienceNameOverlayEnabled: boolean;
|
|
28114
|
+
OverlayFont: Enum.Font;
|
|
28115
|
+
UsernameOverlayEnabled: boolean;
|
|
28116
|
+
Visible: boolean;
|
|
28117
|
+
}
|
|
28118
|
+
|
|
28082
28119
|
interface ScriptChangeService extends Instance {
|
|
28083
28120
|
/**
|
|
28084
28121
|
* **DO NOT USE!**
|
|
@@ -2054,6 +2054,14 @@ interface Plugin extends Instance {
|
|
|
2054
2054
|
* [Intro to Plugins](https://developer.roblox.com/en-us/articles/intro-to-plugins), an introductory article to plugin use and development
|
|
2055
2055
|
*/
|
|
2056
2056
|
readonly Unloading: RBXScriptSignal<() => void>;
|
|
2057
|
+
/**
|
|
2058
|
+
* Tags: NoYield
|
|
2059
|
+
*/
|
|
2060
|
+
ProcessAssetInsertionDrag: (assetId: string, assetTypeId: number, instances: Array<Instance>) => void;
|
|
2061
|
+
/**
|
|
2062
|
+
* Tags: NoYield
|
|
2063
|
+
*/
|
|
2064
|
+
ProcessAssetInsertionDrop: () => void;
|
|
2057
2065
|
}
|
|
2058
2066
|
|
|
2059
2067
|
/** PluginAction is an object that represents a generic performable action in Roblox Studio, with no directly associated `Toolbar` or `Button`. In Roblox Studio, they can be assigned a keyboard shortcut under `File → Advanced → Customize Shortcuts...`, and they can also be added to the Quick Access Toolbar.
|
|
@@ -2762,6 +2770,41 @@ interface ScriptDebugger extends Instance {
|
|
|
2762
2770
|
readonly WatchRemoved: RBXScriptSignal<(watch: Instance) => void>;
|
|
2763
2771
|
}
|
|
2764
2772
|
|
|
2773
|
+
interface ScriptDocument extends Instance {
|
|
2774
|
+
/**
|
|
2775
|
+
* **DO NOT USE!**
|
|
2776
|
+
*
|
|
2777
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2778
|
+
* @hidden
|
|
2779
|
+
* @deprecated
|
|
2780
|
+
*/
|
|
2781
|
+
readonly _nominal_ScriptDocument: unique symbol;
|
|
2782
|
+
GetLine(this: ScriptDocument, lineIndex?: number): string;
|
|
2783
|
+
GetLineCount(this: ScriptDocument): number;
|
|
2784
|
+
GetScript(this: ScriptDocument): LuaSourceContainer;
|
|
2785
|
+
GetText(this: ScriptDocument, startLine?: number, startCharacter?: number, endLine?: number, endCharacter?: number): string;
|
|
2786
|
+
IsCommandBar(this: ScriptDocument): boolean;
|
|
2787
|
+
/**
|
|
2788
|
+
* Tags: Yields
|
|
2789
|
+
*/
|
|
2790
|
+
EditTextAsync(this: ScriptDocument, newText: string, startLine: number, startCharacter: number, endLine?: number, endCharacter?: number): unknown;
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
interface ScriptEditorService extends Instance {
|
|
2794
|
+
/**
|
|
2795
|
+
* **DO NOT USE!**
|
|
2796
|
+
*
|
|
2797
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2798
|
+
* @hidden
|
|
2799
|
+
* @deprecated
|
|
2800
|
+
*/
|
|
2801
|
+
readonly _nominal_ScriptEditorService: unique symbol;
|
|
2802
|
+
FindScriptDocument(this: ScriptEditorService, script: LuaSourceContainer): ScriptDocument;
|
|
2803
|
+
readonly TextDocumentDidChange: RBXScriptSignal<(document: ScriptDocument, changesArray: unknown) => void>;
|
|
2804
|
+
readonly TextDocumentDidClose: RBXScriptSignal<(oldDocument: ScriptDocument) => void>;
|
|
2805
|
+
readonly TextDocumentDidOpen: RBXScriptSignal<(newDocument: ScriptDocument) => void>;
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2765
2808
|
/** The Selection service controls the [Instance](https://developer.roblox.com/en-us/api-reference/class/Instance)s that are selected in Roblox Studio.
|
|
2766
2809
|
*
|
|
2767
2810
|
* This service is particularly useful when developing [Plugin](https://developer.roblox.com/en-us/api-reference/class/Plugin)s, as it allows the developer to access and manipulate the current selection.
|
|
@@ -3165,6 +3208,7 @@ interface Studio extends Instance {
|
|
|
3165
3208
|
["Hover Animate Speed"]: Enum.HoverAnimateSpeed;
|
|
3166
3209
|
readonly ["Hover Box Thickness"]: number;
|
|
3167
3210
|
["Hover Over Color"]: Color3;
|
|
3211
|
+
readonly IconOverrideDir: QDir;
|
|
3168
3212
|
["Indent Using Spaces"]: boolean;
|
|
3169
3213
|
/**
|
|
3170
3214
|
* Tags: NotReplicated
|