@rbxts/types 1.0.659 → 1.0.661
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 +24 -0
- package/include/roblox.d.ts +11 -17
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ interface Services {
|
|
|
27
27
|
ContentProvider: ContentProvider;
|
|
28
28
|
ContextActionService: ContextActionService;
|
|
29
29
|
ControllerService: ControllerService;
|
|
30
|
+
CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
|
|
30
31
|
CrossDMScriptChangeListener: CrossDMScriptChangeListener;
|
|
31
32
|
DataModelPatchService: DataModelPatchService;
|
|
32
33
|
DataStoreService: DataStoreService;
|
|
@@ -91,6 +92,7 @@ interface Services {
|
|
|
91
92
|
ScriptContext: ScriptContext;
|
|
92
93
|
ScriptEditorService: ScriptEditorService;
|
|
93
94
|
ScriptRegistrationService: ScriptRegistrationService;
|
|
95
|
+
SelectionHighlightManager: SelectionHighlightManager;
|
|
94
96
|
ServerScriptService: ServerScriptService;
|
|
95
97
|
ServerStorage: ServerStorage;
|
|
96
98
|
SessionService: SessionService;
|
|
@@ -8545,6 +8547,17 @@ interface ControllerService extends Instance {
|
|
|
8545
8547
|
readonly _nominal_ControllerService: unique symbol;
|
|
8546
8548
|
}
|
|
8547
8549
|
|
|
8550
|
+
interface CoreScriptDebuggingManagerHelper extends Instance {
|
|
8551
|
+
/**
|
|
8552
|
+
* **DO NOT USE!**
|
|
8553
|
+
*
|
|
8554
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
8555
|
+
* @hidden
|
|
8556
|
+
* @deprecated
|
|
8557
|
+
*/
|
|
8558
|
+
readonly _nominal_CoreScriptDebuggingManagerHelper: unique symbol;
|
|
8559
|
+
}
|
|
8560
|
+
|
|
8548
8561
|
interface CrossDMScriptChangeListener extends Instance {
|
|
8549
8562
|
/**
|
|
8550
8563
|
* **DO NOT USE!**
|
|
@@ -28690,6 +28703,17 @@ interface ScriptRegistrationService extends Instance {
|
|
|
28690
28703
|
readonly _nominal_ScriptRegistrationService: unique symbol;
|
|
28691
28704
|
}
|
|
28692
28705
|
|
|
28706
|
+
interface SelectionHighlightManager extends Instance {
|
|
28707
|
+
/**
|
|
28708
|
+
* **DO NOT USE!**
|
|
28709
|
+
*
|
|
28710
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28711
|
+
* @hidden
|
|
28712
|
+
* @deprecated
|
|
28713
|
+
*/
|
|
28714
|
+
readonly _nominal_SelectionHighlightManager: unique symbol;
|
|
28715
|
+
}
|
|
28716
|
+
|
|
28693
28717
|
/** **ServerScriptService** is a container service for [Script](https://developer.roblox.com/en-us/api-reference/class/Script), [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript) and other scripting-related assets that are only meant for server use. The contents are never replicated to player clients at all, which allows for a secure storage of important game logic. Script objects will run if they are within this service and not [Disabled](https://developer.roblox.com/en-us/api-reference/property/BaseScript/Disabled).
|
|
28694
28718
|
*
|
|
28695
28719
|
* This service houses just one property, [LoadStringEnabled](https://developer.roblox.com/en-us/api-reference/property/ServerScriptService/LoadStringEnabled), which determines whether the `loadstring` function in Lua is enabled. It's recommended to keep this disabled for security reasons, as misusing this function can lead to remote code execution vulnerabilities.
|
package/include/roblox.d.ts
CHANGED
|
@@ -264,24 +264,18 @@ interface BundleInfo {
|
|
|
264
264
|
|
|
265
265
|
type TeleportData = string | number | boolean | Array<unknown> | Map<unknown, unknown>;
|
|
266
266
|
|
|
267
|
-
|
|
268
|
-
/**
|
|
267
|
+
interface PlayerJoinInfo {
|
|
268
|
+
/** The `DataModel.GameId` of the experience the `Player` teleported from. Only present if the player teleports to the current experience and if a server calls the teleport function. */
|
|
269
|
+
SourceGameId?: number;
|
|
270
|
+
/** The `DataModel.PlaceId` of the place the `Player` teleported from. Only present if the player teleports to the current place and a server calls the teleport function. */
|
|
271
|
+
SourcePlaceId?: number;
|
|
272
|
+
/** An array containing the `UserId` numbers of the users teleported alongside the `Player`. Only present if the player teleported as part of a group. */
|
|
273
|
+
Members?: Array<number>;
|
|
274
|
+
/** Reflects the `teleportData` specified in the original teleport. Useful for sharing information between servers the player teleports to. Only present if `teleportData` was specified and a server calls the teleport function. */
|
|
269
275
|
TeleportData?: TeleportData;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
SourcePlaceId: undefined;
|
|
274
|
-
Members: undefined;
|
|
275
|
-
}
|
|
276
|
-
| {
|
|
277
|
-
/** The DataModel.GameId of the game the Player was teleported from. Only present if the player was teleported to the current place. */
|
|
278
|
-
SourceGameId: number;
|
|
279
|
-
/** The DataModel.PlaceId of the place the Player was teleported from. Only present if the player was teleported to the current place. */
|
|
280
|
-
SourcePlaceId: number;
|
|
281
|
-
/** An array containing the UserIds teleported alongside the Player. Only present if the player was teleported in using TeleportService:TeleportPartyAsync. */
|
|
282
|
-
Members: Array<number>;
|
|
283
|
-
}
|
|
284
|
-
);
|
|
276
|
+
/** A string containing launch data specified in the URL the player clicks to join the experience. Only present if the URL contains launch data. */
|
|
277
|
+
LaunchData?: string;
|
|
278
|
+
}
|
|
285
279
|
|
|
286
280
|
interface BoundActionInfo {
|
|
287
281
|
inputTypes: Array<Enum.KeyCode | Enum.PlayerActions | Enum.UserInputType | string>;
|