@rbxts/types 1.0.539 → 1.0.543

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.
@@ -15,6 +15,7 @@ interface Services {
15
15
  AvatarEditorService: AvatarEditorService;
16
16
  AvatarImportService: AvatarImportService;
17
17
  BadgeService: BadgeService;
18
+ BreakpointManager: BreakpointManager;
18
19
  BulkImportService: BulkImportService;
19
20
  CalloutService: CalloutService;
20
21
  Chat: Chat;
@@ -27,6 +28,7 @@ interface Services {
27
28
  DataStoreService: DataStoreService;
28
29
  Debris: Debris;
29
30
  DebuggerConnectionManager: DebuggerConnectionManager;
31
+ DebuggerUIService: DebuggerUIService;
30
32
  DraggerService: DraggerService;
31
33
  EventIngestService: EventIngestService;
32
34
  GamePassService: GamePassService;
@@ -65,6 +67,7 @@ interface Services {
65
67
  ReplicatedScriptService: ReplicatedScriptService;
66
68
  ReplicatedStorage: ReplicatedStorage;
67
69
  RunService: RunService;
70
+ ScriptChangeService: ScriptChangeService;
68
71
  ScriptContext: ScriptContext;
69
72
  ServerScriptService: ServerScriptService;
70
73
  ServerStorage: ServerStorage;
@@ -75,13 +78,16 @@ interface Services {
75
78
  StarterPack: StarterPack;
76
79
  StarterPlayer: StarterPlayer;
77
80
  Stats: Stats;
81
+ StudioAssetService: StudioAssetService;
78
82
  StudioDeviceEmulatorService: StudioDeviceEmulatorService;
83
+ StudioScriptDebugEventListener: StudioScriptDebugEventListener;
79
84
  Teams: Teams;
80
85
  TeleportService: TeleportService;
81
86
  TemporaryCageMeshProvider: TemporaryCageMeshProvider;
82
87
  TextChatService: TextChatService;
83
88
  TextService: TextService;
84
89
  ToastNotificationService: ToastNotificationService;
90
+ ToolboxService: ToolboxService;
85
91
  TracerService: TracerService;
86
92
  TweenService: TweenService;
87
93
  UnvalidatedAssetService: UnvalidatedAssetService;
@@ -213,6 +219,7 @@ interface CreatableInstances {
213
219
  PathfindingLink: PathfindingLink;
214
220
  PathfindingModifier: PathfindingModifier;
215
221
  PitchShiftSoundEffect: PitchShiftSoundEffect;
222
+ Plane: Plane;
216
223
  PointLight: PointLight;
217
224
  Pose: Pose;
218
225
  PrismaticConstraint: PrismaticConstraint;
@@ -266,7 +273,6 @@ interface CreatableInstances {
266
273
  TextButton: TextButton;
267
274
  TextChannel: TextChannel;
268
275
  TextLabel: TextLabel;
269
- TextSource: TextSource;
270
276
  Texture: Texture;
271
277
  Tool: Tool;
272
278
  Torque: Torque;
@@ -390,6 +396,8 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
390
396
  MemoryStoreQueue: MemoryStoreQueue;
391
397
  MemoryStoreSortedMap: MemoryStoreSortedMap;
392
398
  MessageBusConnection: MessageBusConnection;
399
+ MetaBreakpoint: MetaBreakpoint;
400
+ MetaBreakpointContext: MetaBreakpointContext;
393
401
  Mouse: Mouse;
394
402
  NetworkMarker: NetworkMarker;
395
403
  OrderedDataStore: OrderedDataStore;
@@ -414,6 +422,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
414
422
  TeleportAsyncResult: TeleportAsyncResult;
415
423
  Terrain: Terrain;
416
424
  TextFilterResult: TextFilterResult;
425
+ TextSource: TextSource;
417
426
  ThreadState: ThreadState;
418
427
  TouchTransmitter: TouchTransmitter;
419
428
  Translator: Translator;
@@ -1042,6 +1051,7 @@ interface Instance {
1042
1051
  * See also [DescendantAdded](https://developer.roblox.com/en-us/api-reference/event/Instance/DescendantAdded).
1043
1052
  */
1044
1053
  readonly DescendantRemoving: RBXScriptSignal<(descendant: Instance) => void>;
1054
+ readonly Destroying: RBXScriptSignal<() => void>;
1045
1055
  }
1046
1056
 
1047
1057
  /** An Accoutrement is an object that welds its child [part](https://developer.roblox.com/en-us/api-reference/class/Part) called “Handle” to the Head of a player's character. The position and rotation of the Handle part can be changed with the [AttachmentPos](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentPos)/[Right](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentRight)/[Forward](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentForward)/[Up](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentUp) properties.
@@ -3927,6 +3937,7 @@ interface StarterGui extends BasePlayerGui {
3927
3937
  GetCore<T extends keyof GettableCores>(this: StarterGui, parameter: T): GettableCores[T];
3928
3938
  }
3929
3939
 
3940
+ /** The base class for [WrapTarget](https://developer.roblox.com/en-us/api-reference/class/WrapTarget) and [WrapLayer](https://developer.roblox.com/en-us/api-reference/class/WrapLayer) objects. Note that [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) is the only valid parent type for [BaseWrap](https://developer.roblox.com/en-us/api-reference/class/BaseWrap) and that it behaves more like a component of [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) than an independent object. */
3930
3941
  interface BaseWrap extends Instance {
3931
3942
  /**
3932
3943
  * **DO NOT USE!**
@@ -4976,6 +4987,17 @@ interface Breakpoint extends Instance {
4976
4987
  readonly _nominal_Breakpoint: unique symbol;
4977
4988
  }
4978
4989
 
4990
+ interface BreakpointManager extends Instance {
4991
+ /**
4992
+ * **DO NOT USE!**
4993
+ *
4994
+ * This field exists to force TypeScript to recognize this as a nominal type
4995
+ * @hidden
4996
+ * @deprecated
4997
+ */
4998
+ readonly _nominal_BreakpointManager: unique symbol;
4999
+ }
5000
+
4979
5001
  interface BulkImportService extends Instance {
4980
5002
  /**
4981
5003
  * **DO NOT USE!**
@@ -6765,6 +6787,17 @@ interface LinearVelocity extends Constraint {
6765
6787
  VelocityConstraintMode: Enum.VelocityConstraintMode;
6766
6788
  }
6767
6789
 
6790
+ interface Plane extends Constraint {
6791
+ /**
6792
+ * **DO NOT USE!**
6793
+ *
6794
+ * This field exists to force TypeScript to recognize this as a nominal type
6795
+ * @hidden
6796
+ * @deprecated
6797
+ */
6798
+ readonly _nominal_Plane: unique symbol;
6799
+ }
6800
+
6768
6801
  /** A **RodConstraint** constrains two [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment) to remain separated by the value specified by [RodConstraint.Length](https://developer.roblox.com/en-us/api-reference/property/RodConstraint/Length). While the attachments remain at a set distance from one another, they can both rotate freely.
6769
6802
  *
6770
6803
  * By default, RodConstraints do not have angle constraints and allow each part to rotate without angular constraint. However, setting [LimitsEnabled](https://developer.roblox.com/en-us/api-reference/property/RodConstraint/LimitsEnabled) reveal the [LimitAngle0](https://developer.roblox.com/en-us/api-reference/property/RodConstraint/LimitAngle0) and [LimitAngle1](https://developer.roblox.com/en-us/api-reference/property/RodConstraint/LimitAngle1) properties, which control the maximum angle that either end of the rod may have against the respective attachment. In the image below, the two parts are joined by a RodConstraint with 45 degree limits on each end. The red part is not [Anchored](https://developer.roblox.com/en-us/api-reference/property/BasePart/Anchored).
@@ -8368,7 +8401,7 @@ interface DataStoreOptions extends Instance {
8368
8401
  */
8369
8402
  readonly _nominal_DataStoreOptions: unique symbol;
8370
8403
  /**
8371
- * This property specifies whether the [GlobalDataStore](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore) should work with all scopes. See here for details on scope.
8404
+ * This property specifies whether the [GlobalDataStore](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore) should work with all scopes.
8372
8405
  *
8373
8406
  * See Also
8374
8407
  * --------
@@ -8377,7 +8410,7 @@ interface DataStoreOptions extends Instance {
8377
8410
  */
8378
8411
  AllScopes: boolean;
8379
8412
  /**
8380
- * This function enables experimental features for a [GlobalDataStore](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore). Currently only `"v2"` is a valid experimental feature. Once the features are generally available, the options will not have any effect.
8413
+ * This function currently has no effect.
8381
8414
  *
8382
8415
  * See Also
8383
8416
  * --------
@@ -8401,9 +8434,7 @@ interface DataStoreService extends Instance {
8401
8434
  */
8402
8435
  readonly _nominal_DataStoreService: unique symbol;
8403
8436
  /**
8404
- * This function creates a [GlobalDataStore](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore) instance with the provided name and scope. Subsequent calls to this method with the same name/scope will return the same object.
8405
- *
8406
- * If v2.0 experimental features are enabled, this function creates and returns a [DataStore](https://developer.roblox.com/en-us/api-reference/class/DataStore) instance instead of a [GlobalDataStore](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore) instance.
8437
+ * This function creates a [DataStore](https://developer.roblox.com/en-us/api-reference/class/DataStore) instance with the provided name and scope. Subsequent calls to this method with the same name/scope will return the same object.
8407
8438
  *
8408
8439
  * Using the `scope` parameter will restrict operations to that scope by automatically prepending the scope to keys in all operations done on the data store. This function also accepts an optional [DataStoreOptions](https://developer.roblox.com/en-us/api-reference/class/DataStoreOptions) instance which includes options for enabling [AllScopes](https://developer.roblox.com/en-us/api-reference/property/DataStoreOptions/AllScopes). See [here](https://developer.roblox.com/articles/Data-store#scope) for details on scope.
8409
8440
  *
@@ -8582,6 +8613,17 @@ interface DebuggerLuaResponse extends Instance {
8582
8613
  readonly _nominal_DebuggerLuaResponse: unique symbol;
8583
8614
  }
8584
8615
 
8616
+ interface DebuggerUIService extends Instance {
8617
+ /**
8618
+ * **DO NOT USE!**
8619
+ *
8620
+ * This field exists to force TypeScript to recognize this as a nominal type
8621
+ * @hidden
8622
+ * @deprecated
8623
+ */
8624
+ readonly _nominal_DebuggerUIService: unique symbol;
8625
+ }
8626
+
8585
8627
  interface DebuggerVariable extends Instance {
8586
8628
  /**
8587
8629
  * **DO NOT USE!**
@@ -9350,15 +9392,39 @@ interface FloatCurve extends Instance {
9350
9392
  */
9351
9393
  readonly _nominal_FloatCurve: unique symbol;
9352
9394
  /**
9395
+ * Number of keys in the float curve.
9353
9396
  * Tags: ReadOnly, NotReplicated
9354
9397
  */
9355
9398
  readonly Length: number;
9399
+ /**
9400
+ * Returns a copy of a key at a given index.
9401
+ */
9356
9402
  GetKeyAtIndex(this: FloatCurve, index: number): FloatCurveKey;
9403
+ /**
9404
+ * The first returned value is the index of the last key with key.time <= time (or min(1,length) if no key was found).The second returned value is the index of the first key with key.time >= time or the length of the curve if no key was found satisfying the inequality.
9405
+ */
9357
9406
  GetKeyIndicesAtTime(this: FloatCurve, time: number): unknown;
9407
+ /**
9408
+ * Returns a copy of all the keys in the FloatCurve as a Lua array of FloatCurveKey.
9409
+ */
9358
9410
  GetKeys(this: FloatCurve): unknown;
9411
+ /**
9412
+ * Samples the float curve at a given time passed as argument.
9413
+ */
9359
9414
  GetValueAtTime(this: FloatCurve, time: number): float?;
9415
+ /**
9416
+ * Adds the key passed as argument to this curve. If a key exists at the same time it will be replaced. First return value is true if a key was added, false if a previous key was replaced. Second return value is the index at which the marker was added.
9417
+ */
9360
9418
  InsertKey(this: FloatCurve, key: FloatCurveKey): unknown;
9419
+ /**
9420
+ * Removes a given number of Keys starting from a given index. Returns the number of keys that were removed.
9421
+ */
9361
9422
  RemoveKeyAtIndex(this: FloatCurve, startingIndex: number, count?: number): number;
9423
+ /**
9424
+ * Resets this curve's keys using the FloatCurveKey array passed as argument. Keys in the keysArray are sorted in ascending time order before insertion. Keys at duplicated times are removed in a stable manner. Returns the number of keys actually inserted.
9425
+ *
9426
+ * Keys previously stored in this curve are removed before the keys passed as arguments are added.
9427
+ */
9362
9428
  SetKeys(this: FloatCurve, keys: Array<any>): number;
9363
9429
  }
9364
9430
 
@@ -9593,7 +9659,7 @@ interface GlobalDataStore extends Instance {
9593
9659
  /**
9594
9660
  * This function increments the value of a key by the provided amount (both must be integers).
9595
9661
  *
9596
- * [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) does not support v2.0 features such as versioning, so calling this method on an [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) key will overwrite the current value with the incremented value and make previous versions inaccessible.
9662
+ * [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) does not support versioning, so calling this method on an [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) key will overwrite the current value with the incremented value and make previous versions inaccessible.
9597
9663
  *
9598
9664
  * See Also
9599
9665
  * --------
@@ -9605,7 +9671,7 @@ interface GlobalDataStore extends Instance {
9605
9671
  /**
9606
9672
  * This function marks the specified key as deleted by creating a new “tombstone” version of the key. Prior to this, it returns the latest version prior to the remove call.
9607
9673
  *
9608
- * After a key is removed via this function, [GlobalDataStore:GetAsync](https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/GetAsync) calls for the key will return `nil`. Older versions of the key remain accessible through `GlobalDataStore/ListVersionsAsync` and `GlobalDataStore/GetVersionAsync`, assuming they have not expired.
9674
+ * After a key is removed via this function, [GlobalDataStore:GetAsync](https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/GetAsync) calls for the key will return `nil`. Older versions of the key remain accessible through [DataStore:ListVersionsAsync](https://developer.roblox.com/en-us/api-reference/function/DataStore/ListVersionsAsync) and [DataStore:GetVersionAsync](https://developer.roblox.com/en-us/api-reference/function/DataStore/GetVersionAsync), assuming they have not expired.
9609
9675
  *
9610
9676
  * [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) does not support versioning, so calling `GlobalDataStore/RemoveAsync|RemoveAsync()` on an [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) key will permanently delete it.
9611
9677
  *
@@ -9625,7 +9691,7 @@ interface GlobalDataStore extends Instance {
9625
9691
  *
9626
9692
  * Values in data stores are versioned, meaning [GlobalDataStore:SetAsync](https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/SetAsync) will create a new version every time it is called. Prior versions can be accessed through [DataStore:ListVersionsAsync](https://developer.roblox.com/en-us/api-reference/function/DataStore/ListVersionsAsync)/[DataStore:GetVersionAsync](https://developer.roblox.com/en-us/api-reference/function/DataStore/GetVersionAsync) for up to 30 days at which point they are permanently deleted.
9627
9693
  *
9628
- * [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) does not support v2.0 features such as versioning, so calling this method on an [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) key will overwrite the current value and make previous versions inaccessible.
9694
+ * [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) does not support versioning, so calling this method on an [OrderedDataStore](https://developer.roblox.com/en-us/api-reference/class/OrderedDataStore) key will overwrite the current value and make previous versions inaccessible.
9629
9695
  *
9630
9696
  * Metadata definitions must always be updated with a value, even if there are no changes to the current value; otherwise the current value will be lost.
9631
9697
  *
@@ -15177,6 +15243,7 @@ interface ImporterMeshSettings extends ImporterBaseSettings {
15177
15243
  * @deprecated
15178
15244
  */
15179
15245
  readonly _nominal_ImporterMeshSettings: unique symbol;
15246
+ Anchored: boolean;
15180
15247
  /**
15181
15248
  * Tags: ReadOnly, NotReplicated
15182
15249
  */
@@ -15209,6 +15276,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
15209
15276
  * Tags: ReadOnly, NotReplicated
15210
15277
  */
15211
15278
  readonly PolygonCount: number;
15279
+ RigType: Enum.RigType;
15212
15280
  ScaleUnit: Enum.MeshScaleUnit;
15213
15281
  WorldForward: Enum.NormalId;
15214
15282
  WorldUp: Enum.NormalId;
@@ -20343,6 +20411,28 @@ interface MessagingService extends Instance {
20343
20411
  ): RBXScriptConnection;
20344
20412
  }
20345
20413
 
20414
+ interface MetaBreakpoint extends Instance {
20415
+ /**
20416
+ * **DO NOT USE!**
20417
+ *
20418
+ * This field exists to force TypeScript to recognize this as a nominal type
20419
+ * @hidden
20420
+ * @deprecated
20421
+ */
20422
+ readonly _nominal_MetaBreakpoint: unique symbol;
20423
+ }
20424
+
20425
+ interface MetaBreakpointContext extends Instance {
20426
+ /**
20427
+ * **DO NOT USE!**
20428
+ *
20429
+ * This field exists to force TypeScript to recognize this as a nominal type
20430
+ * @hidden
20431
+ * @deprecated
20432
+ */
20433
+ readonly _nominal_MetaBreakpointContext: unique symbol;
20434
+ }
20435
+
20346
20436
  /** **Mouse** has been superseded by [UserInputService](https://developer.roblox.com/en-us/api-reference/class/UserInputService) and [ContextActionService](https://developer.roblox.com/en-us/api-reference/class/ContextActionService), which cover a broader scope, are more feature rich, and support **cross-platform** patterns better. It remains supported because of its widespread use, but you should strongly consider using these alternatives.
20347
20437
  *
20348
20438
  * The **Mouse** object houses various API for pointers, primarily for buttons and raycasting. It can be accessed through [Player:GetMouse](https://developer.roblox.com/en-us/api-reference/function/Player/GetMouse) called on the [Players.LocalPlayer](https://developer.roblox.com/en-us/api-reference/property/Players/LocalPlayer) in a [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript). It is also passed by the [Tool.Equipped](https://developer.roblox.com/en-us/api-reference/event/Tool/Equipped) event.
@@ -26796,6 +26886,17 @@ interface RunService extends Instance {
26796
26886
  readonly Stepped: RBXScriptSignal<(time: number, deltaTime: number) => void>;
26797
26887
  }
26798
26888
 
26889
+ interface ScriptChangeService extends Instance {
26890
+ /**
26891
+ * **DO NOT USE!**
26892
+ *
26893
+ * This field exists to force TypeScript to recognize this as a nominal type
26894
+ * @hidden
26895
+ * @deprecated
26896
+ */
26897
+ readonly _nominal_ScriptChangeService: unique symbol;
26898
+ }
26899
+
26799
26900
  /** This service controls all [BaseScript](https://developer.roblox.com/en-us/api-reference/class/BaseScript) objects. Most of the properties and methods of this service are locked for internal use, however you may use the [ScriptContext.ScriptsDisabled](https://developer.roblox.com/en-us/api-reference/property/ScriptContext/ScriptsDisabled) property to disable all scripts from a thread with normal security access. */
26800
26901
  interface ScriptContext extends Instance {
26801
26902
  /**
@@ -29001,6 +29102,17 @@ interface Stats extends Instance {
29001
29102
  GetTotalMemoryUsageMb(this: Stats): number;
29002
29103
  }
29003
29104
 
29105
+ interface StudioAssetService extends Instance {
29106
+ /**
29107
+ * **DO NOT USE!**
29108
+ *
29109
+ * This field exists to force TypeScript to recognize this as a nominal type
29110
+ * @hidden
29111
+ * @deprecated
29112
+ */
29113
+ readonly _nominal_StudioAssetService: unique symbol;
29114
+ }
29115
+
29004
29116
  interface StudioDeviceEmulatorService extends Instance {
29005
29117
  /**
29006
29118
  * **DO NOT USE!**
@@ -29012,6 +29124,17 @@ interface StudioDeviceEmulatorService extends Instance {
29012
29124
  readonly _nominal_StudioDeviceEmulatorService: unique symbol;
29013
29125
  }
29014
29126
 
29127
+ interface StudioScriptDebugEventListener extends Instance {
29128
+ /**
29129
+ * **DO NOT USE!**
29130
+ *
29131
+ * This field exists to force TypeScript to recognize this as a nominal type
29132
+ * @hidden
29133
+ * @deprecated
29134
+ */
29135
+ readonly _nominal_StudioScriptDebugEventListener: unique symbol;
29136
+ }
29137
+
29015
29138
  /** SurfaceAppearance objects allow developers to override the appearance of a [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) with advanced graphics options. Most notably, a SurfaceAppearance can apply a set of PBR textures to a mesh.
29016
29139
  *
29017
29140
  * PBR is short for Physically Based Rendering, which refers to a common texture format for defining extra physical details in games. Because this format is widely used, it's easy to take meshes and textures made in 3rd party editing software and import them into Roblox. It's also easy to find PBR format content from various 3rd party stores such as [SketchFab](https://sketchfab.com/search?q=pbr%20object&sort_by=-relevance&type=models), [TurboSquid](https://www.turbosquid.com/Search/3D-Models/free/pbr), [CGTrader](http://cgtrader.com/pbr-3d-models?polygons=lt_5k).
@@ -30202,6 +30325,11 @@ interface TextSource extends Instance {
30202
30325
  * @deprecated
30203
30326
  */
30204
30327
  readonly _nominal_TextSource: unique symbol;
30328
+ CanSend: boolean;
30329
+ /**
30330
+ * Tags: ReadOnly, NotReplicated
30331
+ */
30332
+ readonly UserId: number;
30205
30333
  }
30206
30334
 
30207
30335
  interface ThreadState extends Instance {
@@ -30226,6 +30354,17 @@ interface ToastNotificationService extends Instance {
30226
30354
  readonly _nominal_ToastNotificationService: unique symbol;
30227
30355
  }
30228
30356
 
30357
+ interface ToolboxService extends Instance {
30358
+ /**
30359
+ * **DO NOT USE!**
30360
+ *
30361
+ * This field exists to force TypeScript to recognize this as a nominal type
30362
+ * @hidden
30363
+ * @deprecated
30364
+ */
30365
+ readonly _nominal_ToolboxService: unique symbol;
30366
+ }
30367
+
30229
30368
  /** An internal object used by networking and replication code to transmit [BasePart.Touched](https://developer.roblox.com/en-us/api-reference/event/BasePart/Touched) and [BasePart.TouchEnded](https://developer.roblox.com/en-us/api-reference/event/BasePart/TouchEnded) events.
30230
30369
  *
30231
30370
  * The TouchTransmitter object named 'TouchInterest' is created and parented to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) when the [BasePart.Touched](https://developer.roblox.com/en-us/api-reference/event/BasePart/Touched) or [BasePart.TouchEnded](https://developer.roblox.com/en-us/api-reference/event/BasePart/TouchEnded) events are listened (connected) to.
@@ -33739,8 +33878,17 @@ interface Vector3Curve extends Instance {
33739
33878
  */
33740
33879
  readonly _nominal_Vector3Curve: unique symbol;
33741
33880
  GetValueAtTime(this: Vector3Curve, time: number): unknown;
33881
+ /**
33882
+ * Returns the FloatCurve controlling the X channel. It is the first child instance of type FloatCurve named `X`. If none is found an empty FloatCurve is created.
33883
+ */
33742
33884
  X(this: Vector3Curve): FloatCurve;
33885
+ /**
33886
+ * Returns the FloatCurve controlling the Y channel. It is the first child instance of type FloatCurve named `Y`. If none is found an empty FloatCurve is created.
33887
+ */
33743
33888
  Y(this: Vector3Curve): FloatCurve;
33889
+ /**
33890
+ * Returns the FloatCurve controlling the Z channel. It is the first child instance of type FloatCurve named `Z`. If none is found an empty FloatCurve is created.
33891
+ */
33744
33892
  Z(this: Vector3Curve): FloatCurve;
33745
33893
  }
33746
33894
 
@@ -33854,6 +34002,24 @@ interface VoiceChatService extends Instance {
33854
34002
  */
33855
34003
  readonly _nominal_VoiceChatService: unique symbol;
33856
34004
  /**
34005
+ * Returns whether or not the given user has voice enabled. On the client-side, this can only be used to check the voice status of the local player.
34006
+ *
34007
+ * This function is not yet implemented server-side.
34008
+ *
34009
+ * This function can throw an error if the HTTP call fails.
34010
+ *
34011
+ * The following code sample enables a UI layer only for voice enabled players.
34012
+ *
34013
+ * local Players = game:GetService(“Players”)
34014
+ * local VoiceChatService = game:GetService(“VoiceChatService”)
34015
+ *
34016
+ * local localPlayer = Players.LocalPlayer
34017
+ * local success, enabled = pcall(function()
34018
+ * return VoiceChatService:IsVoiceEnabledForUserIdAsync(localPlayer.UserId)
34019
+ * end)
34020
+ * if success and enabled then
34021
+ * localPlayer.PlayerGui.MyVoiceGui.Enabled = true
34022
+ * end
33857
34023
  * Tags: Yields
33858
34024
  */
33859
34025
  IsVoiceEnabledForUserIdAsync(this: VoiceChatService, userId: number): boolean;
@@ -11665,6 +11665,66 @@ declare namespace Enum {
11665
11665
  export function GetEnumItems(this: defined): Array<RibbonTool>
11666
11666
  }
11667
11667
  export type RibbonTool = RibbonTool.Select | RibbonTool.Scale | RibbonTool.Rotate | RibbonTool.Move | RibbonTool.Transform | RibbonTool.ColorPicker | RibbonTool.MaterialPicker | RibbonTool.Group | RibbonTool.Ungroup | RibbonTool.None;
11668
+ export namespace RigType {
11669
+ export interface R6 {
11670
+ Name: "R6";
11671
+ Value: 0;
11672
+ EnumType: EnumType<RigType>;
11673
+ }
11674
+
11675
+ export const R6: R6;
11676
+
11677
+ export interface R15 {
11678
+ Name: "R15";
11679
+ Value: 1;
11680
+ EnumType: EnumType<RigType>;
11681
+ }
11682
+
11683
+ export const R15: R15;
11684
+
11685
+ export interface Rthro {
11686
+ Name: "Rthro";
11687
+ Value: 2;
11688
+ EnumType: EnumType<RigType>;
11689
+ }
11690
+
11691
+ export const Rthro: Rthro;
11692
+
11693
+ export interface RthroNarrow {
11694
+ Name: "RthroNarrow";
11695
+ Value: 3;
11696
+ EnumType: EnumType<RigType>;
11697
+ }
11698
+
11699
+ export const RthroNarrow: RthroNarrow;
11700
+
11701
+ export interface S15 {
11702
+ Name: "S15";
11703
+ Value: 4;
11704
+ EnumType: EnumType<RigType>;
11705
+ }
11706
+
11707
+ export const S15: S15;
11708
+
11709
+ export interface Custom {
11710
+ Name: "Custom";
11711
+ Value: 5;
11712
+ EnumType: EnumType<RigType>;
11713
+ }
11714
+
11715
+ export const Custom: Custom;
11716
+
11717
+ export interface None {
11718
+ Name: "None";
11719
+ Value: 6;
11720
+ EnumType: EnumType<RigType>;
11721
+ }
11722
+
11723
+ export const None: None;
11724
+
11725
+ export function GetEnumItems(this: defined): Array<RigType>
11726
+ }
11727
+ export type RigType = RigType.R6 | RigType.R15 | RigType.Rthro | RigType.RthroNarrow | RigType.S15 | RigType.Custom | RigType.None;
11668
11728
  export namespace RollOffMode {
11669
11729
  export interface Inverse {
11670
11730
  Name: "Inverse";
@@ -14445,6 +14505,50 @@ declare namespace Enum {
14445
14505
  export function GetEnumItems(this: defined): Array<TerrainAcquisitionMethod>
14446
14506
  }
14447
14507
  export type TerrainAcquisitionMethod = TerrainAcquisitionMethod.None | TerrainAcquisitionMethod.Legacy | TerrainAcquisitionMethod.Template | TerrainAcquisitionMethod.Generate | TerrainAcquisitionMethod.Import | TerrainAcquisitionMethod.Convert | TerrainAcquisitionMethod.EditAddTool | TerrainAcquisitionMethod.EditSeaLevelTool | TerrainAcquisitionMethod.EditReplaceTool | TerrainAcquisitionMethod.RegionFillTool | TerrainAcquisitionMethod.RegionPasteTool | TerrainAcquisitionMethod.Other;
14508
+ export namespace TextChatMessageStatus {
14509
+ export interface Success {
14510
+ Name: "Success";
14511
+ Value: 1;
14512
+ EnumType: EnumType<TextChatMessageStatus>;
14513
+ }
14514
+
14515
+ export const Success: Success;
14516
+
14517
+ export interface TextFilterFailed {
14518
+ Name: "TextFilterFailed";
14519
+ Value: 2;
14520
+ EnumType: EnumType<TextChatMessageStatus>;
14521
+ }
14522
+
14523
+ export const TextFilterFailed: TextFilterFailed;
14524
+
14525
+ export interface Floodchecked {
14526
+ Name: "Floodchecked";
14527
+ Value: 3;
14528
+ EnumType: EnumType<TextChatMessageStatus>;
14529
+ }
14530
+
14531
+ export const Floodchecked: Floodchecked;
14532
+
14533
+ export interface InvalidPrivacySettings {
14534
+ Name: "InvalidPrivacySettings";
14535
+ Value: 4;
14536
+ EnumType: EnumType<TextChatMessageStatus>;
14537
+ }
14538
+
14539
+ export const InvalidPrivacySettings: InvalidPrivacySettings;
14540
+
14541
+ export interface InvalidTextChannelPermissions {
14542
+ Name: "InvalidTextChannelPermissions";
14543
+ Value: 5;
14544
+ EnumType: EnumType<TextChatMessageStatus>;
14545
+ }
14546
+
14547
+ export const InvalidTextChannelPermissions: InvalidTextChannelPermissions;
14548
+
14549
+ export function GetEnumItems(this: defined): Array<TextChatMessageStatus>
14550
+ }
14551
+ export type TextChatMessageStatus = TextChatMessageStatus.Success | TextChatMessageStatus.TextFilterFailed | TextChatMessageStatus.Floodchecked | TextChatMessageStatus.InvalidPrivacySettings | TextChatMessageStatus.InvalidTextChannelPermissions;
14448
14552
  export namespace TextFilterContext {
14449
14553
  export interface PublicChat {
14450
14554
  Name: "PublicChat";
package/include/lua.d.ts CHANGED
@@ -36,7 +36,7 @@ declare function rawget(t: unknown, index: unknown): unknown;
36
36
  declare function rawset(t: unknown, index: unknown, value: unknown): void;
37
37
 
38
38
  /** Returns all arguments after argument number index. */
39
- declare function select(index: number, ...args: Array<unknown>): Array<unknown>;
39
+ declare function select(index: number, ...args: Array<unknown>): LuaTuple<Array<unknown>>;
40
40
 
41
41
  /** Returns the total number of arguments that were passed after the cmd argument. */
42
42
  declare function select(cmd: "#", ...args: Array<unknown>): number;
@@ -385,7 +385,7 @@ declare namespace string {
385
385
  * @param fmt The format string to use
386
386
  * @param value The values to pack
387
387
  */
388
- function pack(fmt: string, ...value: Array<string>): string;
388
+ function pack(fmt: string, ...value: Array<unknown>): string;
389
389
 
390
390
  /**
391
391
  * Returns the size of a string resulting from string.pack with the given format. The format string cannot have the variable-length options 's' or 'z'.
@@ -396,7 +396,7 @@ declare namespace string {
396
396
  /**
397
397
  * Returns the values packed in string s (see string.pack) according to the format string fmt. An optional pos marks where to start reading in s (default is 1). After the read values, this function also returns the index of the first unread byte in s.
398
398
  */
399
- function unpack(fmt: string, s: string, pos?: number): LuaTuple<Array<number>>;
399
+ function unpack(fmt: string, s: string, pos?: number): LuaTuple<Array<unknown>>;
400
400
 
401
401
  /** Returns the internal numerical codes of the characters `s[i]`, `s[i+1]`, `...`, `s[j]`. The default value for i is 1; the default value for j is i. These indices are corrected following the same rules of function string.sub. */
402
402
  function byte(str: string, i?: number, j?: number): LuaTuple<Array<number>>;
@@ -2024,7 +2024,7 @@ interface GettableCores {
2024
2024
  interface SettableCores {
2025
2025
  ChatActive: boolean;
2026
2026
  PointsNotificationsActive: boolean;
2027
- BadgeNotificationsActive: boolean;
2027
+ BadgesNotificationsActive: boolean;
2028
2028
  ResetButtonCallback: boolean | BindableEvent;
2029
2029
  ChatMakeSystemMessage: MakeSystemMessageConfig;
2030
2030
  ChatWindowSize: UDim2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.539",
3
+ "version": "1.0.543",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },