@rbxts/types 1.0.916 → 1.0.918
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 +219 -45
- package/include/generated/PluginSecurity.d.ts +145 -19
- package/include/generated/enums.d.ts +135 -66
- 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;
|
|
@@ -186,6 +187,7 @@ interface Services {
|
|
|
186
187
|
RunService: RunService;
|
|
187
188
|
RuntimeContentService: RuntimeContentService;
|
|
188
189
|
SafetyService: SafetyService;
|
|
190
|
+
SceneAnalysisService: SceneAnalysisService;
|
|
189
191
|
ScriptChangeService: ScriptChangeService;
|
|
190
192
|
ScriptCloneWatcher: ScriptCloneWatcher;
|
|
191
193
|
ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
|
|
@@ -653,7 +655,6 @@ interface Instances extends Services, CreatableInstances {
|
|
|
653
655
|
DebuggerWatch: DebuggerWatch;
|
|
654
656
|
DockWidgetPluginGui: DockWidgetPluginGui;
|
|
655
657
|
DynamicRotate: DynamicRotate;
|
|
656
|
-
EmotesPages: EmotesPages;
|
|
657
658
|
ExplorerFilterAutocompleter: ExplorerFilterAutocompleter;
|
|
658
659
|
FaceInstance: FaceInstance;
|
|
659
660
|
FacialAnimationStreamingServiceStats: FacialAnimationStreamingServiceStats;
|
|
@@ -3433,6 +3434,21 @@ interface CloudCRUDService extends Instance {
|
|
|
3433
3434
|
*/
|
|
3434
3435
|
readonly _nominal_CloudCRUDService: unique symbol;
|
|
3435
3436
|
}
|
|
3437
|
+
/**
|
|
3438
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
3439
|
+
*
|
|
3440
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CloudExecutionService)
|
|
3441
|
+
*/
|
|
3442
|
+
interface CloudExecutionService extends Instance {
|
|
3443
|
+
/**
|
|
3444
|
+
* **DO NOT USE!**
|
|
3445
|
+
*
|
|
3446
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3447
|
+
* @hidden
|
|
3448
|
+
* @deprecated
|
|
3449
|
+
*/
|
|
3450
|
+
readonly _nominal_CloudExecutionService: unique symbol;
|
|
3451
|
+
}
|
|
3436
3452
|
/**
|
|
3437
3453
|
* Renders realistic clouds that drift slowly across the sky.
|
|
3438
3454
|
*
|
|
@@ -4496,8 +4512,6 @@ interface DataStoreSetOptions extends Instance {
|
|
|
4496
4512
|
/**
|
|
4497
4513
|
* Allows scheduling the guaranteed destruction of an object without yielding.
|
|
4498
4514
|
*
|
|
4499
|
-
* .
|
|
4500
|
-
*
|
|
4501
4515
|
* - **Tags**: NotCreatable, Service
|
|
4502
4516
|
*
|
|
4503
4517
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Debris)
|
|
@@ -5898,6 +5912,8 @@ interface Folder extends Instance {
|
|
|
5898
5912
|
readonly _nominal_Folder: unique symbol;
|
|
5899
5913
|
}
|
|
5900
5914
|
/**
|
|
5915
|
+
* A container that stores `ProceduralModel` generation results.
|
|
5916
|
+
*
|
|
5901
5917
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeneratedFolder)
|
|
5902
5918
|
*/
|
|
5903
5919
|
interface GeneratedFolder extends Folder {
|
|
@@ -9021,6 +9037,48 @@ interface NetworkSettings extends Instance {
|
|
|
9021
9037
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#FreeMemoryMBytes)
|
|
9022
9038
|
*/
|
|
9023
9039
|
readonly FreeMemoryMBytes: number;
|
|
9040
|
+
/**
|
|
9041
|
+
* - **ThreadSafety**: ReadSafe
|
|
9042
|
+
* - **Tags**: NotReplicated
|
|
9043
|
+
*
|
|
9044
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkJitterMs)
|
|
9045
|
+
*/
|
|
9046
|
+
InboundNetworkJitterMs: number;
|
|
9047
|
+
/**
|
|
9048
|
+
* - **ThreadSafety**: ReadSafe
|
|
9049
|
+
* - **Tags**: NotReplicated
|
|
9050
|
+
*
|
|
9051
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkLossPercent)
|
|
9052
|
+
*/
|
|
9053
|
+
InboundNetworkLossPercent: number;
|
|
9054
|
+
/**
|
|
9055
|
+
* - **ThreadSafety**: ReadSafe
|
|
9056
|
+
* - **Tags**: NotReplicated
|
|
9057
|
+
*
|
|
9058
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkMinDelayMs)
|
|
9059
|
+
*/
|
|
9060
|
+
InboundNetworkMinDelayMs: number;
|
|
9061
|
+
/**
|
|
9062
|
+
* - **ThreadSafety**: ReadSafe
|
|
9063
|
+
* - **Tags**: NotReplicated
|
|
9064
|
+
*
|
|
9065
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkJitterMs)
|
|
9066
|
+
*/
|
|
9067
|
+
OutboundNetworkJitterMs: number;
|
|
9068
|
+
/**
|
|
9069
|
+
* - **ThreadSafety**: ReadSafe
|
|
9070
|
+
* - **Tags**: NotReplicated
|
|
9071
|
+
*
|
|
9072
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkLossPercent)
|
|
9073
|
+
*/
|
|
9074
|
+
OutboundNetworkLossPercent: number;
|
|
9075
|
+
/**
|
|
9076
|
+
* - **ThreadSafety**: ReadSafe
|
|
9077
|
+
* - **Tags**: NotReplicated
|
|
9078
|
+
*
|
|
9079
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkMinDelayMs)
|
|
9080
|
+
*/
|
|
9081
|
+
OutboundNetworkMinDelayMs: number;
|
|
9024
9082
|
}
|
|
9025
9083
|
/**
|
|
9026
9084
|
* An instance used to prevent collisions between two specific parts.
|
|
@@ -9572,6 +9630,8 @@ interface Tool extends BackpackItem {
|
|
|
9572
9630
|
readonly _nominal_Tool: unique symbol;
|
|
9573
9631
|
}
|
|
9574
9632
|
/**
|
|
9633
|
+
* 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.
|
|
9634
|
+
*
|
|
9575
9635
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel)
|
|
9576
9636
|
*/
|
|
9577
9637
|
interface ProceduralModel extends Model {
|
|
@@ -9938,7 +9998,7 @@ interface DataStoreVersionPages extends Pages<DataStoreObjectVersionInfo> {
|
|
|
9938
9998
|
readonly _nominal_DataStoreVersionPages: unique symbol;
|
|
9939
9999
|
}
|
|
9940
10000
|
/**
|
|
9941
|
-
* A special version of `Pages` that contains information about a player's
|
|
10001
|
+
* A special version of `Pages` that contains information about a player's friends.
|
|
9942
10002
|
*
|
|
9943
10003
|
* - **Tags**: NotCreatable, NotReplicated
|
|
9944
10004
|
*
|
|
@@ -9975,21 +10035,6 @@ interface InventoryPages<T = unknown> extends Pages<T> {
|
|
|
9975
10035
|
*/
|
|
9976
10036
|
readonly _nominal_InventoryPages: unique symbol;
|
|
9977
10037
|
}
|
|
9978
|
-
/**
|
|
9979
|
-
* - **Tags**: NotCreatable, NotReplicated
|
|
9980
|
-
*
|
|
9981
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EmotesPages)
|
|
9982
|
-
*/
|
|
9983
|
-
interface EmotesPages extends InventoryPages {
|
|
9984
|
-
/**
|
|
9985
|
-
* **DO NOT USE!**
|
|
9986
|
-
*
|
|
9987
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9988
|
-
* @hidden
|
|
9989
|
-
* @deprecated
|
|
9990
|
-
*/
|
|
9991
|
-
readonly _nominal_EmotesPages: unique symbol;
|
|
9992
|
-
}
|
|
9993
10038
|
/**
|
|
9994
10039
|
* A special type of `Pages` object whose pages contain key-value pairs from a `MemoryStoreHashMap`.
|
|
9995
10040
|
*
|
|
@@ -11194,6 +11239,8 @@ interface PluginCapabilities extends Instance {
|
|
|
11194
11239
|
readonly _nominal_PluginCapabilities: unique symbol;
|
|
11195
11240
|
}
|
|
11196
11241
|
/**
|
|
11242
|
+
* This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11243
|
+
*
|
|
11197
11244
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
11198
11245
|
*
|
|
11199
11246
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService)
|
|
@@ -11208,18 +11255,29 @@ interface PluginConnectionService extends Instance {
|
|
|
11208
11255
|
*/
|
|
11209
11256
|
readonly _nominal_PluginConnectionService: unique symbol;
|
|
11210
11257
|
/**
|
|
11258
|
+
* Checks if the current data model context can ever have connections of a given type.
|
|
11259
|
+
*
|
|
11211
11260
|
* - **ThreadSafety**: Unsafe
|
|
11212
11261
|
*
|
|
11213
11262
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#CanHaveConnectionType)
|
|
11263
|
+
* @param this This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11264
|
+
* @param type The connection type to check.
|
|
11214
11265
|
*/
|
|
11215
11266
|
CanHaveConnectionType(this: PluginConnectionService, type: CastsToEnum<Enum.PluginConnectionTargetType>): boolean;
|
|
11216
11267
|
/**
|
|
11268
|
+
* Returns a list of currently connected `PluginConnection` objects with the given connection type.
|
|
11269
|
+
*
|
|
11217
11270
|
* - **ThreadSafety**: Unsafe
|
|
11218
11271
|
*
|
|
11219
11272
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#GetPluginConnectionsOfType)
|
|
11273
|
+
* @param this This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11274
|
+
* @param type The connection type to check.
|
|
11275
|
+
* @returns An array of the currently connected `PluginConnection` objects with that target type.
|
|
11220
11276
|
*/
|
|
11221
11277
|
GetPluginConnectionsOfType(this: PluginConnectionService, type: CastsToEnum<Enum.PluginConnectionTargetType>): Array<unknown>;
|
|
11222
11278
|
/**
|
|
11279
|
+
* Fires just after a new `PluginConnection` successfully connects.
|
|
11280
|
+
*
|
|
11223
11281
|
* - **ThreadSafety**: Unsafe
|
|
11224
11282
|
*
|
|
11225
11283
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#Connected)
|
|
@@ -12189,6 +12247,21 @@ interface SafetyService extends Instance {
|
|
|
12189
12247
|
*/
|
|
12190
12248
|
readonly _nominal_SafetyService: unique symbol;
|
|
12191
12249
|
}
|
|
12250
|
+
/**
|
|
12251
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
12252
|
+
*
|
|
12253
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SceneAnalysisService)
|
|
12254
|
+
*/
|
|
12255
|
+
interface SceneAnalysisService extends Instance {
|
|
12256
|
+
/**
|
|
12257
|
+
* **DO NOT USE!**
|
|
12258
|
+
*
|
|
12259
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
12260
|
+
* @hidden
|
|
12261
|
+
* @deprecated
|
|
12262
|
+
*/
|
|
12263
|
+
readonly _nominal_SceneAnalysisService: unique symbol;
|
|
12264
|
+
}
|
|
12192
12265
|
/**
|
|
12193
12266
|
* A 2D user interface that allows users to capture and save screenshots to their local device.
|
|
12194
12267
|
*
|
|
@@ -16042,9 +16115,13 @@ interface UserInputService extends Instance {
|
|
|
16042
16115
|
*/
|
|
16043
16116
|
readonly _nominal_UserInputService: unique symbol;
|
|
16044
16117
|
/**
|
|
16118
|
+
* Creates a `VirtualInput` object that a Studio plugin can use to simulate mouse, keyboard, and pointer input.
|
|
16119
|
+
*
|
|
16045
16120
|
* - **ThreadSafety**: Unsafe
|
|
16046
16121
|
*
|
|
16047
16122
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UserInputService#CreateVirtualInput)
|
|
16123
|
+
* @param this `UserInputService` is primarily used to detect the input types available on a user's device, as well as detect input events.
|
|
16124
|
+
* @returns A new `VirtualInput` object, or `nil` if the feature is not available.
|
|
16048
16125
|
*/
|
|
16049
16126
|
CreateVirtualInput(this: UserInputService): RBXObject;
|
|
16050
16127
|
}
|
|
@@ -16678,6 +16755,8 @@ interface OutputLink extends RBXObject {
|
|
|
16678
16755
|
readonly _nominal_OutputLink: unique symbol;
|
|
16679
16756
|
}
|
|
16680
16757
|
/**
|
|
16758
|
+
* Encapsulates a connection between the current data model and another for plugin communication.
|
|
16759
|
+
*
|
|
16681
16760
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16682
16761
|
*
|
|
16683
16762
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection)
|
|
@@ -16692,6 +16771,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16692
16771
|
*/
|
|
16693
16772
|
readonly _nominal_PluginConnection: unique symbol;
|
|
16694
16773
|
/**
|
|
16774
|
+
* Whether this `PluginConnection` object is still connected.
|
|
16775
|
+
*
|
|
16695
16776
|
* - **ThreadSafety**: ReadSafe
|
|
16696
16777
|
* - **Tags**: NotReplicated
|
|
16697
16778
|
*
|
|
@@ -16699,6 +16780,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16699
16780
|
*/
|
|
16700
16781
|
readonly Connected: boolean;
|
|
16701
16782
|
/**
|
|
16783
|
+
* A unique ID for the target data model.
|
|
16784
|
+
*
|
|
16702
16785
|
* - **ThreadSafety**: ReadSafe
|
|
16703
16786
|
* - **Tags**: NotReplicated
|
|
16704
16787
|
*
|
|
@@ -16706,6 +16789,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16706
16789
|
*/
|
|
16707
16790
|
readonly TargetId: string;
|
|
16708
16791
|
/**
|
|
16792
|
+
* This `PluginConnectionTargetType` describes the relationship of the target data model to the current one.
|
|
16793
|
+
*
|
|
16709
16794
|
* - **ThreadSafety**: ReadSafe
|
|
16710
16795
|
* - **Tags**: NotReplicated
|
|
16711
16796
|
*
|
|
@@ -16713,15 +16798,24 @@ interface PluginConnection extends RBXObject {
|
|
|
16713
16798
|
*/
|
|
16714
16799
|
readonly Type: Enum.PluginConnectionTargetType;
|
|
16715
16800
|
/**
|
|
16801
|
+
* Binds a callback to this `PluginConnection` to receive messages from `SendMessage()`.
|
|
16802
|
+
*
|
|
16716
16803
|
* - **ThreadSafety**: Unsafe
|
|
16717
16804
|
*
|
|
16718
16805
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#BindToMessage)
|
|
16806
|
+
* @param this Encapsulates a connection between the current data model and another for plugin communication.
|
|
16807
|
+
* @param callback A function accepting a string or a buffer which will be called when this `PluginConnection` receives a message.
|
|
16808
|
+
* @returns A `RBXScriptConnection` representing the binding of this callback to the `PluginConnection`. Disconnect it to disconnect this callback from the connection.
|
|
16719
16809
|
*/
|
|
16720
16810
|
BindToMessage(this: PluginConnection, callbackFunction: Callback): RBXScriptConnection;
|
|
16721
16811
|
/**
|
|
16812
|
+
* Sends a payload to the remote data model.
|
|
16813
|
+
*
|
|
16722
16814
|
* - **ThreadSafety**: Unsafe
|
|
16723
16815
|
*
|
|
16724
16816
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#SendMessage)
|
|
16817
|
+
* @param this Encapsulates a connection between the current data model and another for plugin communication.
|
|
16818
|
+
* @param message The string or buffer to be sent.
|
|
16725
16819
|
*/
|
|
16726
16820
|
SendMessage(this: PluginConnection, message: unknown): void;
|
|
16727
16821
|
}
|
|
@@ -16803,6 +16897,8 @@ interface VideoSampler extends RBXObject {
|
|
|
16803
16897
|
readonly _nominal_VideoSampler: unique symbol;
|
|
16804
16898
|
}
|
|
16805
16899
|
/**
|
|
16900
|
+
* Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16901
|
+
*
|
|
16806
16902
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16807
16903
|
*
|
|
16808
16904
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput)
|
|
@@ -16817,39 +16913,69 @@ interface VirtualInput extends RBXObject {
|
|
|
16817
16913
|
*/
|
|
16818
16914
|
readonly _nominal_VirtualInput: unique symbol;
|
|
16819
16915
|
/**
|
|
16916
|
+
* Injects a keyboard key press or release event.
|
|
16917
|
+
*
|
|
16820
16918
|
* - **ThreadSafety**: Unsafe
|
|
16821
16919
|
*
|
|
16822
16920
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendKey)
|
|
16921
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16922
|
+
* @param isPressed Whether to simulate a key press (`true`) or a key release (`false`).
|
|
16923
|
+
* @param keyCode The `KeyCode` of the key to inject.
|
|
16924
|
+
* @param isRepeatedKey Whether this is an auto-repeat event, as occurs when a key is held down. Only valid for text-manipulation keys such as `KeyCode.Backspace`, `KeyCode.Delete`, and the arrow keys. Defaults to `false`.
|
|
16823
16925
|
*/
|
|
16824
16926
|
SendKey(this: VirtualInput, isPressed: boolean, keyCode: CastsToEnum<Enum.KeyCode>, isRepeatedKey?: boolean): void;
|
|
16825
16927
|
/**
|
|
16928
|
+
* Injects a mouse button press or release event at the specified screen position.
|
|
16929
|
+
*
|
|
16826
16930
|
* - **ThreadSafety**: Unsafe
|
|
16827
16931
|
*
|
|
16828
16932
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseButton)
|
|
16933
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16934
|
+
* @param position The screen-space position in pixels at which to inject the event.
|
|
16935
|
+
* @param button The mouse button to use. Supported values are `UserInputType.MouseButton1`, `UserInputType.MouseButton2`, and `UserInputType.MouseButton3`.
|
|
16936
|
+
* @param isDown Whether to simulate a button press (`true`) or a button release (`false`).
|
|
16937
|
+
* @param repeatCount The consecutive-click count for multi-click detection, such as a double- or triple-click. Defaults to `0`.
|
|
16829
16938
|
*/
|
|
16830
16939
|
SendMouseButton(this: VirtualInput, position: Vector2, button: CastsToEnum<Enum.UserInputType>, isDown: boolean, repeatCount?: number): void;
|
|
16831
16940
|
/**
|
|
16941
|
+
* Injects a relative mouse movement event. Only works while the player's cursor is locked.
|
|
16942
|
+
*
|
|
16832
16943
|
* - **ThreadSafety**: Unsafe
|
|
16833
16944
|
*
|
|
16834
16945
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseDelta)
|
|
16946
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16947
|
+
* @param positionDelta The relative mouse movement in pixels along each axis.
|
|
16835
16948
|
*/
|
|
16836
16949
|
SendMouseDelta(this: VirtualInput, positionDelta: Vector2): void;
|
|
16837
16950
|
/**
|
|
16951
|
+
* Moves the virtual mouse cursor to the specified absolute screen position.
|
|
16952
|
+
*
|
|
16838
16953
|
* - **ThreadSafety**: Unsafe
|
|
16839
16954
|
*
|
|
16840
16955
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMousePosition)
|
|
16956
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16957
|
+
* @param position The target screen-space position in pixels.
|
|
16841
16958
|
*/
|
|
16842
16959
|
SendMousePosition(this: VirtualInput, position: Vector2): void;
|
|
16843
16960
|
/**
|
|
16961
|
+
* Injects a scroll wheel, trackpad pan, or pinch gesture event at the specified screen position.
|
|
16962
|
+
*
|
|
16844
16963
|
* - **ThreadSafety**: Unsafe
|
|
16845
16964
|
*
|
|
16846
16965
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendPointerAction)
|
|
16966
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16967
|
+
* @param position The screen-space position in pixels at which to inject the event.
|
|
16968
|
+
* @param pointerAction A dictionary describing the pointer action to inject. Accepted keys are `Wheel` (number), `Pan` (`Vector2`), and `Pinch` (number). At least one key must have a non-zero value.
|
|
16847
16969
|
*/
|
|
16848
16970
|
SendPointerAction(this: VirtualInput, position: Vector2, pointerAction: object): void;
|
|
16849
16971
|
/**
|
|
16972
|
+
* Injects a text input event as if the specified string was typed on a keyboard.
|
|
16973
|
+
*
|
|
16850
16974
|
* - **ThreadSafety**: Unsafe
|
|
16851
16975
|
*
|
|
16852
16976
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendTextInput)
|
|
16977
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16978
|
+
* @param text The string to inject as text input.
|
|
16853
16979
|
*/
|
|
16854
16980
|
SendTextInput(this: VirtualInput, text: string): void;
|
|
16855
16981
|
}
|