@rbxts/types 1.0.917 → 1.0.919
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 +254 -15
- package/include/generated/PluginSecurity.d.ts +166 -44
- package/include/generated/enums.d.ts +1590 -1347
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ interface Services {
|
|
|
40
40
|
ChangeHistoryStreamingService: ChangeHistoryStreamingService;
|
|
41
41
|
Chat: Chat;
|
|
42
42
|
CloudCRUDService: CloudCRUDService;
|
|
43
|
+
CloudExecutionService: CloudExecutionService;
|
|
43
44
|
CollaboratorsService: CollaboratorsService;
|
|
44
45
|
CollectionService: CollectionService;
|
|
45
46
|
CommerceService: CommerceService;
|
|
@@ -139,6 +140,7 @@ interface Services {
|
|
|
139
140
|
NetworkSettings: NetworkSettings;
|
|
140
141
|
OmniRecommendationsService: OmniRecommendationsService;
|
|
141
142
|
OpenCloudService: OpenCloudService;
|
|
143
|
+
Packages: Packages;
|
|
142
144
|
PackageService: PackageService;
|
|
143
145
|
PackageUIService: PackageUIService;
|
|
144
146
|
PartyEmulatorService: PartyEmulatorService;
|
|
@@ -3433,6 +3435,21 @@ interface CloudCRUDService extends Instance {
|
|
|
3433
3435
|
*/
|
|
3434
3436
|
readonly _nominal_CloudCRUDService: unique symbol;
|
|
3435
3437
|
}
|
|
3438
|
+
/**
|
|
3439
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
3440
|
+
*
|
|
3441
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CloudExecutionService)
|
|
3442
|
+
*/
|
|
3443
|
+
interface CloudExecutionService extends Instance {
|
|
3444
|
+
/**
|
|
3445
|
+
* **DO NOT USE!**
|
|
3446
|
+
*
|
|
3447
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3448
|
+
* @hidden
|
|
3449
|
+
* @deprecated
|
|
3450
|
+
*/
|
|
3451
|
+
readonly _nominal_CloudExecutionService: unique symbol;
|
|
3452
|
+
}
|
|
3436
3453
|
/**
|
|
3437
3454
|
* Renders realistic clouds that drift slowly across the sky.
|
|
3438
3455
|
*
|
|
@@ -4496,8 +4513,6 @@ interface DataStoreSetOptions extends Instance {
|
|
|
4496
4513
|
/**
|
|
4497
4514
|
* Allows scheduling the guaranteed destruction of an object without yielding.
|
|
4498
4515
|
*
|
|
4499
|
-
* .
|
|
4500
|
-
*
|
|
4501
4516
|
* - **Tags**: NotCreatable, Service
|
|
4502
4517
|
*
|
|
4503
4518
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Debris)
|
|
@@ -5898,6 +5913,8 @@ interface Folder extends Instance {
|
|
|
5898
5913
|
readonly _nominal_Folder: unique symbol;
|
|
5899
5914
|
}
|
|
5900
5915
|
/**
|
|
5916
|
+
* A container that stores `ProceduralModel` generation results.
|
|
5917
|
+
*
|
|
5901
5918
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeneratedFolder)
|
|
5902
5919
|
*/
|
|
5903
5920
|
interface GeneratedFolder extends Folder {
|
|
@@ -9021,6 +9038,60 @@ interface NetworkSettings extends Instance {
|
|
|
9021
9038
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#FreeMemoryMBytes)
|
|
9022
9039
|
*/
|
|
9023
9040
|
readonly FreeMemoryMBytes: number;
|
|
9041
|
+
/**
|
|
9042
|
+
* Adds jitter to playtest connections in the server-to-client direction.
|
|
9043
|
+
*
|
|
9044
|
+
* - **ThreadSafety**: ReadSafe
|
|
9045
|
+
* - **Tags**: NotReplicated
|
|
9046
|
+
*
|
|
9047
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkJitterMs)
|
|
9048
|
+
*/
|
|
9049
|
+
InboundNetworkJitterMs: number;
|
|
9050
|
+
/**
|
|
9051
|
+
* Sets the probability that packets on playtest connections from server to client are dropped.
|
|
9052
|
+
*
|
|
9053
|
+
* - **ThreadSafety**: ReadSafe
|
|
9054
|
+
* - **Tags**: NotReplicated
|
|
9055
|
+
*
|
|
9056
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkLossPercent)
|
|
9057
|
+
*/
|
|
9058
|
+
InboundNetworkLossPercent: number;
|
|
9059
|
+
/**
|
|
9060
|
+
* Adds latency to playtest connections in the server-to-client direction.
|
|
9061
|
+
*
|
|
9062
|
+
* - **ThreadSafety**: ReadSafe
|
|
9063
|
+
* - **Tags**: NotReplicated
|
|
9064
|
+
*
|
|
9065
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkMinDelayMs)
|
|
9066
|
+
*/
|
|
9067
|
+
InboundNetworkMinDelayMs: number;
|
|
9068
|
+
/**
|
|
9069
|
+
* Adds jitter to playtest connections in the client-to-server direction.
|
|
9070
|
+
*
|
|
9071
|
+
* - **ThreadSafety**: ReadSafe
|
|
9072
|
+
* - **Tags**: NotReplicated
|
|
9073
|
+
*
|
|
9074
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkJitterMs)
|
|
9075
|
+
*/
|
|
9076
|
+
OutboundNetworkJitterMs: number;
|
|
9077
|
+
/**
|
|
9078
|
+
* Sets the probability that packets on playtest connections from client to server are dropped.
|
|
9079
|
+
*
|
|
9080
|
+
* - **ThreadSafety**: ReadSafe
|
|
9081
|
+
* - **Tags**: NotReplicated
|
|
9082
|
+
*
|
|
9083
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkLossPercent)
|
|
9084
|
+
*/
|
|
9085
|
+
OutboundNetworkLossPercent: number;
|
|
9086
|
+
/**
|
|
9087
|
+
* Adds latency to playtest connections in the client-to-server direction.
|
|
9088
|
+
*
|
|
9089
|
+
* - **ThreadSafety**: ReadSafe
|
|
9090
|
+
* - **Tags**: NotReplicated
|
|
9091
|
+
*
|
|
9092
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkMinDelayMs)
|
|
9093
|
+
*/
|
|
9094
|
+
OutboundNetworkMinDelayMs: number;
|
|
9024
9095
|
}
|
|
9025
9096
|
/**
|
|
9026
9097
|
* An instance used to prevent collisions between two specific parts.
|
|
@@ -9572,6 +9643,8 @@ interface Tool extends BackpackItem {
|
|
|
9572
9643
|
readonly _nominal_Tool: unique symbol;
|
|
9573
9644
|
}
|
|
9574
9645
|
/**
|
|
9646
|
+
* Procedural models support edit-time procedural generation. Instead of manually constructing model content, a procedural model generates its contents automatically in response to parameter changes.
|
|
9647
|
+
*
|
|
9575
9648
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel)
|
|
9576
9649
|
*/
|
|
9577
9650
|
interface ProceduralModel extends Model {
|
|
@@ -9643,6 +9716,8 @@ interface Workspace extends WorldRoot {
|
|
|
9643
9716
|
*/
|
|
9644
9717
|
readonly _nominal_Workspace: unique symbol;
|
|
9645
9718
|
/**
|
|
9719
|
+
* Controls whether parts that fall below `Workspace.FallenPartsDestroyHeight` are automatically destroyed.
|
|
9720
|
+
*
|
|
9646
9721
|
* - **ThreadSafety**: ReadSafe
|
|
9647
9722
|
*
|
|
9648
9723
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Workspace#FallHeightEnabled)
|
|
@@ -9668,6 +9743,8 @@ interface Workspace extends WorldRoot {
|
|
|
9668
9743
|
*/
|
|
9669
9744
|
set InterpolationThrottling(value: Enum.InterpolationThrottlingMode);
|
|
9670
9745
|
/**
|
|
9746
|
+
* Sets the Luau type checking mode for scripts in the experience.
|
|
9747
|
+
*
|
|
9671
9748
|
* - **ThreadSafety**: ReadSafe
|
|
9672
9749
|
*
|
|
9673
9750
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Workspace#LuauTypeCheckMode)
|
|
@@ -9783,6 +9860,21 @@ interface PackageUIService extends Instance {
|
|
|
9783
9860
|
*/
|
|
9784
9861
|
readonly _nominal_PackageUIService: unique symbol;
|
|
9785
9862
|
}
|
|
9863
|
+
/**
|
|
9864
|
+
* - **Tags**: NotCreatable, Service
|
|
9865
|
+
*
|
|
9866
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Packages)
|
|
9867
|
+
*/
|
|
9868
|
+
interface Packages extends Instance {
|
|
9869
|
+
/**
|
|
9870
|
+
* **DO NOT USE!**
|
|
9871
|
+
*
|
|
9872
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9873
|
+
* @hidden
|
|
9874
|
+
* @deprecated
|
|
9875
|
+
*/
|
|
9876
|
+
readonly _nominal_Packages: unique symbol;
|
|
9877
|
+
}
|
|
9786
9878
|
/**
|
|
9787
9879
|
* An abstract class for pages objects.
|
|
9788
9880
|
*
|
|
@@ -11179,6 +11271,8 @@ interface PluginCapabilities extends Instance {
|
|
|
11179
11271
|
readonly _nominal_PluginCapabilities: unique symbol;
|
|
11180
11272
|
}
|
|
11181
11273
|
/**
|
|
11274
|
+
* This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11275
|
+
*
|
|
11182
11276
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
11183
11277
|
*
|
|
11184
11278
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService)
|
|
@@ -11193,18 +11287,29 @@ interface PluginConnectionService extends Instance {
|
|
|
11193
11287
|
*/
|
|
11194
11288
|
readonly _nominal_PluginConnectionService: unique symbol;
|
|
11195
11289
|
/**
|
|
11290
|
+
* Checks if the current data model context can ever have connections of a given type.
|
|
11291
|
+
*
|
|
11196
11292
|
* - **ThreadSafety**: Unsafe
|
|
11197
11293
|
*
|
|
11198
11294
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#CanHaveConnectionType)
|
|
11295
|
+
* @param this This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11296
|
+
* @param type The connection type to check.
|
|
11199
11297
|
*/
|
|
11200
11298
|
CanHaveConnectionType(this: PluginConnectionService, type: CastsToEnum<Enum.PluginConnectionTargetType>): boolean;
|
|
11201
11299
|
/**
|
|
11300
|
+
* Returns a list of currently connected `PluginConnection` objects with the given connection type.
|
|
11301
|
+
*
|
|
11202
11302
|
* - **ThreadSafety**: Unsafe
|
|
11203
11303
|
*
|
|
11204
11304
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#GetPluginConnectionsOfType)
|
|
11305
|
+
* @param this This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11306
|
+
* @param type The connection type to check.
|
|
11307
|
+
* @returns An array of the currently connected `PluginConnection` objects with that target type.
|
|
11205
11308
|
*/
|
|
11206
11309
|
GetPluginConnectionsOfType(this: PluginConnectionService, type: CastsToEnum<Enum.PluginConnectionTargetType>): Array<unknown>;
|
|
11207
11310
|
/**
|
|
11311
|
+
* Fires just after a new `PluginConnection` successfully connects.
|
|
11312
|
+
*
|
|
11208
11313
|
* - **ThreadSafety**: Unsafe
|
|
11209
11314
|
*
|
|
11210
11315
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#Connected)
|
|
@@ -14039,6 +14144,8 @@ interface StudioDeviceEmulatorService extends Instance {
|
|
|
14039
14144
|
readonly _nominal_StudioDeviceEmulatorService: unique symbol;
|
|
14040
14145
|
}
|
|
14041
14146
|
/**
|
|
14147
|
+
* Service allowing you to control Studio's Device Simulator.
|
|
14148
|
+
*
|
|
14042
14149
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
14043
14150
|
*
|
|
14044
14151
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService)
|
|
@@ -14057,6 +14164,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14057
14164
|
* - **Tags**: Yields
|
|
14058
14165
|
*
|
|
14059
14166
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#CreateDeviceAsync)
|
|
14167
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14168
|
+
* @param config
|
|
14169
|
+
* @returns string
|
|
14060
14170
|
*/
|
|
14061
14171
|
CreateDeviceAsync(this: StudioDeviceSimulatorService, config: object): string;
|
|
14062
14172
|
/**
|
|
@@ -14064,6 +14174,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14064
14174
|
* - **Tags**: Yields
|
|
14065
14175
|
*
|
|
14066
14176
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceAsync)
|
|
14177
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14178
|
+
* @returns string
|
|
14067
14179
|
*/
|
|
14068
14180
|
GetDeviceAsync(this: StudioDeviceSimulatorService): string;
|
|
14069
14181
|
/**
|
|
@@ -14071,6 +14183,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14071
14183
|
* - **Tags**: Yields
|
|
14072
14184
|
*
|
|
14073
14185
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceInfoAsync)
|
|
14186
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14187
|
+
* @param deviceId
|
|
14188
|
+
* @returns A dictionary containing the device configuration and passed to `CreateDeviceAsync` and `UpdateDeviceAsync`.
|
|
14074
14189
|
*/
|
|
14075
14190
|
GetDeviceInfoAsync(this: StudioDeviceSimulatorService, deviceId: string): object;
|
|
14076
14191
|
/**
|
|
@@ -14078,6 +14193,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14078
14193
|
* - **Tags**: Yields
|
|
14079
14194
|
*
|
|
14080
14195
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceListAsync)
|
|
14196
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14197
|
+
* @returns An array of device IDs.
|
|
14081
14198
|
*/
|
|
14082
14199
|
GetDeviceListAsync(this: StudioDeviceSimulatorService): Array<unknown>;
|
|
14083
14200
|
/**
|
|
@@ -14085,6 +14202,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14085
14202
|
* - **Tags**: Yields
|
|
14086
14203
|
*
|
|
14087
14204
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetOrientationAsync)
|
|
14205
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14206
|
+
* @returns ScreenOrientation
|
|
14088
14207
|
*/
|
|
14089
14208
|
GetOrientationAsync(this: StudioDeviceSimulatorService): Enum.ScreenOrientation;
|
|
14090
14209
|
/**
|
|
@@ -14092,6 +14211,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14092
14211
|
* - **Tags**: Yields
|
|
14093
14212
|
*
|
|
14094
14213
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetPixelDensityAsync)
|
|
14214
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14215
|
+
* @returns number
|
|
14095
14216
|
*/
|
|
14096
14217
|
GetPixelDensityAsync(this: StudioDeviceSimulatorService): number;
|
|
14097
14218
|
/**
|
|
@@ -14099,6 +14220,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14099
14220
|
* - **Tags**: Yields
|
|
14100
14221
|
*
|
|
14101
14222
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetResolutionAsync)
|
|
14223
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14224
|
+
* @returns Vector2
|
|
14102
14225
|
*/
|
|
14103
14226
|
GetResolutionAsync(this: StudioDeviceSimulatorService): Vector2;
|
|
14104
14227
|
/**
|
|
@@ -14106,6 +14229,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14106
14229
|
* - **Tags**: Yields
|
|
14107
14230
|
*
|
|
14108
14231
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetScalingModeAsync)
|
|
14232
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14233
|
+
* @returns DeviceSimulatorScalingMode
|
|
14109
14234
|
*/
|
|
14110
14235
|
GetScalingModeAsync(this: StudioDeviceSimulatorService): Enum.DeviceSimulatorScalingMode;
|
|
14111
14236
|
/**
|
|
@@ -14113,6 +14238,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14113
14238
|
* - **Tags**: Yields
|
|
14114
14239
|
*
|
|
14115
14240
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#RemoveDeviceAsync)
|
|
14241
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14242
|
+
* @param deviceId
|
|
14116
14243
|
*/
|
|
14117
14244
|
RemoveDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string): void;
|
|
14118
14245
|
/**
|
|
@@ -14120,6 +14247,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14120
14247
|
* - **Tags**: Yields
|
|
14121
14248
|
*
|
|
14122
14249
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetDeviceAsync)
|
|
14250
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14251
|
+
* @param deviceId
|
|
14123
14252
|
*/
|
|
14124
14253
|
SetDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string): void;
|
|
14125
14254
|
/**
|
|
@@ -14127,6 +14256,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14127
14256
|
* - **Tags**: Yields
|
|
14128
14257
|
*
|
|
14129
14258
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetOrientationAsync)
|
|
14259
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14260
|
+
* @param orientation
|
|
14130
14261
|
*/
|
|
14131
14262
|
SetOrientationAsync(this: StudioDeviceSimulatorService, orientation: CastsToEnum<Enum.ScreenOrientation>): void;
|
|
14132
14263
|
/**
|
|
@@ -14134,6 +14265,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14134
14265
|
* - **Tags**: Yields
|
|
14135
14266
|
*
|
|
14136
14267
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetPixelDensityAsync)
|
|
14268
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14269
|
+
* @param density
|
|
14137
14270
|
*/
|
|
14138
14271
|
SetPixelDensityAsync(this: StudioDeviceSimulatorService, density: number): void;
|
|
14139
14272
|
/**
|
|
@@ -14141,6 +14274,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14141
14274
|
* - **Tags**: Yields
|
|
14142
14275
|
*
|
|
14143
14276
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetResolutionAsync)
|
|
14277
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14278
|
+
* @param width
|
|
14279
|
+
* @param height
|
|
14144
14280
|
*/
|
|
14145
14281
|
SetResolutionAsync(this: StudioDeviceSimulatorService, width: number, height: number): void;
|
|
14146
14282
|
/**
|
|
@@ -14148,6 +14284,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14148
14284
|
* - **Tags**: Yields
|
|
14149
14285
|
*
|
|
14150
14286
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetScalingModeAsync)
|
|
14287
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14288
|
+
* @param mode
|
|
14151
14289
|
*/
|
|
14152
14290
|
SetScalingModeAsync(this: StudioDeviceSimulatorService, mode: CastsToEnum<Enum.DeviceSimulatorScalingMode>): void;
|
|
14153
14291
|
/**
|
|
@@ -14155,6 +14293,7 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14155
14293
|
* - **Tags**: Yields
|
|
14156
14294
|
*
|
|
14157
14295
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#StopSimulationAsync)
|
|
14296
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14158
14297
|
*/
|
|
14159
14298
|
StopSimulationAsync(this: StudioDeviceSimulatorService): void;
|
|
14160
14299
|
/**
|
|
@@ -14162,6 +14301,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14162
14301
|
* - **Tags**: Yields
|
|
14163
14302
|
*
|
|
14164
14303
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#UpdateDeviceAsync)
|
|
14304
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14305
|
+
* @param deviceId
|
|
14306
|
+
* @param config
|
|
14165
14307
|
*/
|
|
14166
14308
|
UpdateDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string, config: object): void;
|
|
14167
14309
|
/**
|
|
@@ -14447,6 +14589,9 @@ interface StudioTestService extends Instance {
|
|
|
14447
14589
|
* - **Tags**: Yields
|
|
14448
14590
|
*
|
|
14449
14591
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioTestService#ExecuteMultiplayerTestAsync)
|
|
14592
|
+
* @param this Service allowing plugins to automate and customize Test and Run mode testing.
|
|
14593
|
+
* @param numPlayers
|
|
14594
|
+
* @param args
|
|
14450
14595
|
*/
|
|
14451
14596
|
ExecuteMultiplayerTestAsync(this: StudioTestService, numPlayers: number, args: unknown): unknown;
|
|
14452
14597
|
/**
|
|
@@ -16041,12 +16186,6 @@ interface UserInputService extends Instance {
|
|
|
16041
16186
|
* @deprecated
|
|
16042
16187
|
*/
|
|
16043
16188
|
readonly _nominal_UserInputService: unique symbol;
|
|
16044
|
-
/**
|
|
16045
|
-
* - **ThreadSafety**: Unsafe
|
|
16046
|
-
*
|
|
16047
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UserInputService#CreateVirtualInput)
|
|
16048
|
-
*/
|
|
16049
|
-
CreateVirtualInput(this: UserInputService): RBXObject;
|
|
16050
16189
|
}
|
|
16051
16190
|
/**
|
|
16052
16191
|
* A service that handles queries regarding users on the Roblox platform.
|
|
@@ -16678,6 +16817,8 @@ interface OutputLink extends RBXObject {
|
|
|
16678
16817
|
readonly _nominal_OutputLink: unique symbol;
|
|
16679
16818
|
}
|
|
16680
16819
|
/**
|
|
16820
|
+
* Encapsulates a connection between the current data model and another for plugin communication.
|
|
16821
|
+
*
|
|
16681
16822
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16682
16823
|
*
|
|
16683
16824
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection)
|
|
@@ -16692,6 +16833,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16692
16833
|
*/
|
|
16693
16834
|
readonly _nominal_PluginConnection: unique symbol;
|
|
16694
16835
|
/**
|
|
16836
|
+
* Whether this `PluginConnection` object is still connected.
|
|
16837
|
+
*
|
|
16695
16838
|
* - **ThreadSafety**: ReadSafe
|
|
16696
16839
|
* - **Tags**: NotReplicated
|
|
16697
16840
|
*
|
|
@@ -16699,6 +16842,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16699
16842
|
*/
|
|
16700
16843
|
readonly Connected: boolean;
|
|
16701
16844
|
/**
|
|
16845
|
+
* A unique ID for the target data model.
|
|
16846
|
+
*
|
|
16702
16847
|
* - **ThreadSafety**: ReadSafe
|
|
16703
16848
|
* - **Tags**: NotReplicated
|
|
16704
16849
|
*
|
|
@@ -16706,6 +16851,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16706
16851
|
*/
|
|
16707
16852
|
readonly TargetId: string;
|
|
16708
16853
|
/**
|
|
16854
|
+
* This `PluginConnectionTargetType` describes the relationship of the target data model to the current one.
|
|
16855
|
+
*
|
|
16709
16856
|
* - **ThreadSafety**: ReadSafe
|
|
16710
16857
|
* - **Tags**: NotReplicated
|
|
16711
16858
|
*
|
|
@@ -16713,15 +16860,24 @@ interface PluginConnection extends RBXObject {
|
|
|
16713
16860
|
*/
|
|
16714
16861
|
readonly Type: Enum.PluginConnectionTargetType;
|
|
16715
16862
|
/**
|
|
16863
|
+
* Binds a callback to this `PluginConnection` to receive messages from `SendMessage()`.
|
|
16864
|
+
*
|
|
16716
16865
|
* - **ThreadSafety**: Unsafe
|
|
16717
16866
|
*
|
|
16718
16867
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#BindToMessage)
|
|
16868
|
+
* @param this Encapsulates a connection between the current data model and another for plugin communication.
|
|
16869
|
+
* @param callback A function accepting a string or a buffer which will be called when this `PluginConnection` receives a message.
|
|
16870
|
+
* @returns A `RBXScriptConnection` representing the binding of this callback to the `PluginConnection`. Disconnect it to disconnect this callback from the connection.
|
|
16719
16871
|
*/
|
|
16720
16872
|
BindToMessage(this: PluginConnection, callbackFunction: Callback): RBXScriptConnection;
|
|
16721
16873
|
/**
|
|
16874
|
+
* Sends a payload to the remote data model.
|
|
16875
|
+
*
|
|
16722
16876
|
* - **ThreadSafety**: Unsafe
|
|
16723
16877
|
*
|
|
16724
16878
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#SendMessage)
|
|
16879
|
+
* @param this Encapsulates a connection between the current data model and another for plugin communication.
|
|
16880
|
+
* @param message The string or buffer to be sent.
|
|
16725
16881
|
*/
|
|
16726
16882
|
SendMessage(this: PluginConnection, message: unknown): void;
|
|
16727
16883
|
}
|
|
@@ -16803,6 +16959,8 @@ interface VideoSampler extends RBXObject {
|
|
|
16803
16959
|
readonly _nominal_VideoSampler: unique symbol;
|
|
16804
16960
|
}
|
|
16805
16961
|
/**
|
|
16962
|
+
* Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16963
|
+
*
|
|
16806
16964
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16807
16965
|
*
|
|
16808
16966
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput)
|
|
@@ -16816,42 +16974,6 @@ interface VirtualInput extends RBXObject {
|
|
|
16816
16974
|
* @deprecated
|
|
16817
16975
|
*/
|
|
16818
16976
|
readonly _nominal_VirtualInput: unique symbol;
|
|
16819
|
-
/**
|
|
16820
|
-
* - **ThreadSafety**: Unsafe
|
|
16821
|
-
*
|
|
16822
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendKey)
|
|
16823
|
-
*/
|
|
16824
|
-
SendKey(this: VirtualInput, isPressed: boolean, keyCode: CastsToEnum<Enum.KeyCode>, isRepeatedKey?: boolean): void;
|
|
16825
|
-
/**
|
|
16826
|
-
* - **ThreadSafety**: Unsafe
|
|
16827
|
-
*
|
|
16828
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseButton)
|
|
16829
|
-
*/
|
|
16830
|
-
SendMouseButton(this: VirtualInput, position: Vector2, button: CastsToEnum<Enum.UserInputType>, isDown: boolean, repeatCount?: number): void;
|
|
16831
|
-
/**
|
|
16832
|
-
* - **ThreadSafety**: Unsafe
|
|
16833
|
-
*
|
|
16834
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseDelta)
|
|
16835
|
-
*/
|
|
16836
|
-
SendMouseDelta(this: VirtualInput, positionDelta: Vector2): void;
|
|
16837
|
-
/**
|
|
16838
|
-
* - **ThreadSafety**: Unsafe
|
|
16839
|
-
*
|
|
16840
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMousePosition)
|
|
16841
|
-
*/
|
|
16842
|
-
SendMousePosition(this: VirtualInput, position: Vector2): void;
|
|
16843
|
-
/**
|
|
16844
|
-
* - **ThreadSafety**: Unsafe
|
|
16845
|
-
*
|
|
16846
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendPointerAction)
|
|
16847
|
-
*/
|
|
16848
|
-
SendPointerAction(this: VirtualInput, position: Vector2, pointerAction: object): void;
|
|
16849
|
-
/**
|
|
16850
|
-
* - **ThreadSafety**: Unsafe
|
|
16851
|
-
*
|
|
16852
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendTextInput)
|
|
16853
|
-
*/
|
|
16854
|
-
SendTextInput(this: VirtualInput, text: string): void;
|
|
16855
16977
|
}
|
|
16856
16978
|
/**
|
|
16857
16979
|
* - **Tags**: NotCreatable, NotReplicated
|