@rbxts/types 1.0.591 → 1.0.598

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.
@@ -38,6 +38,7 @@ interface Services {
38
38
  DraggerService: DraggerService;
39
39
  EventIngestService: EventIngestService;
40
40
  FaceAnimatorService: FaceAnimatorService;
41
+ FacialAnimationStreamingService: FacialAnimationStreamingService;
41
42
  GamePassService: GamePassService;
42
43
  GroupService: GroupService;
43
44
  GuiService: GuiService;
@@ -56,7 +57,7 @@ interface Services {
56
57
  LocalizationService: LocalizationService;
57
58
  LodDataService: LodDataService;
58
59
  LogService: LogService;
59
- LSPService: LSPService;
60
+ LSPFileSyncService: LSPFileSyncService;
60
61
  LuauScriptAnalyzerService: LuauScriptAnalyzerService;
61
62
  MarketplaceService: MarketplaceService;
62
63
  MaterialService: MaterialService;
@@ -75,16 +76,18 @@ interface Services {
75
76
  RemoteDebuggerServer: RemoteDebuggerServer;
76
77
  ReplicatedFirst: ReplicatedFirst;
77
78
  ReplicatedStorage: ReplicatedStorage;
79
+ RtMessagingService: RtMessagingService;
78
80
  RunService: RunService;
79
81
  ScriptChangeService: ScriptChangeService;
80
82
  ScriptCloneWatcher: ScriptCloneWatcher;
81
83
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
82
- ScriptCloneWatcherHelperV2: ScriptCloneWatcherHelperV2;
83
84
  ScriptContext: ScriptContext;
85
+ ScriptEditorService: ScriptEditorService;
84
86
  ScriptRegistrationService: ScriptRegistrationService;
85
87
  ServerScriptService: ServerScriptService;
86
88
  ServerStorage: ServerStorage;
87
89
  SessionService: SessionService;
90
+ SnippetService: SnippetService;
88
91
  SocialService: SocialService;
89
92
  SoundService: SoundService;
90
93
  StarterGui: StarterGui;
@@ -240,6 +243,7 @@ interface CreatableInstances {
240
243
  PathfindingModifier: PathfindingModifier;
241
244
  PitchShiftSoundEffect: PitchShiftSoundEffect;
242
245
  Plane: Plane;
246
+ PlaneConstraint: PlaneConstraint;
243
247
  PointLight: PointLight;
244
248
  Pose: Pose;
245
249
  PrismaticConstraint: PrismaticConstraint;
@@ -301,6 +305,7 @@ interface CreatableInstances {
301
305
  Tool: Tool;
302
306
  Torque: Torque;
303
307
  TorsionSpringConstraint: TorsionSpringConstraint;
308
+ TrackerStreamAnimation: TrackerStreamAnimation;
304
309
  Trail: Trail;
305
310
  TremoloSoundEffect: TremoloSoundEffect;
306
311
  TrussPart: TrussPart;
@@ -388,6 +393,7 @@ interface AbstractInstances {
388
393
 
389
394
  interface Instances extends Services, CreatableInstances, AbstractInstances {
390
395
  AnimationClip: AnimationClip;
396
+ AnimationStreamTrack: AnimationStreamTrack;
391
397
  AnimationTrack: AnimationTrack;
392
398
  BaseWrap: BaseWrap;
393
399
  CatalogPages: CatalogPages;
@@ -418,7 +424,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
418
424
  ImporterMaterialSettings: ImporterMaterialSettings;
419
425
  ImporterMeshSettings: ImporterMeshSettings;
420
426
  ImporterRootSettings: ImporterRootSettings;
421
- ImporterTextureSettings: ImporterTextureSettings;
422
427
  InputObject: InputObject;
423
428
  InstanceAdornment: InstanceAdornment;
424
429
  InventoryPages: InventoryPages;
@@ -446,6 +451,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
446
451
  PlayerScripts: PlayerScripts;
447
452
  PluginManagerInterface: PluginManagerInterface;
448
453
  PoseBase: PoseBase;
454
+ ScriptDocument: ScriptDocument;
449
455
  StackFrame: StackFrame;
450
456
  StandardPages: StandardPages;
451
457
  StarterCharacterScripts: StarterCharacterScripts;
@@ -1689,6 +1695,33 @@ interface AnimationRigData extends Instance {
1689
1695
  readonly _nominal_AnimationRigData: unique symbol;
1690
1696
  }
1691
1697
 
1698
+ interface AnimationStreamTrack extends Instance {
1699
+ /**
1700
+ * **DO NOT USE!**
1701
+ *
1702
+ * This field exists to force TypeScript to recognize this as a nominal type
1703
+ * @hidden
1704
+ * @deprecated
1705
+ */
1706
+ readonly _nominal_AnimationStreamTrack: unique symbol;
1707
+ /**
1708
+ * Tags: Hidden, ReadOnly, NotReplicated
1709
+ */
1710
+ readonly IsPlaying: boolean;
1711
+ /**
1712
+ * Tags: Hidden, NotReplicated
1713
+ */
1714
+ Priority: Enum.AnimationPriority;
1715
+ /**
1716
+ * Tags: Hidden, ReadOnly, NotReplicated
1717
+ */
1718
+ readonly WeightCurrent: number;
1719
+ /**
1720
+ * Tags: Hidden, ReadOnly, NotReplicated
1721
+ */
1722
+ readonly WeightTarget: number;
1723
+ }
1724
+
1692
1725
  /** Controls the playback of an animation on a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) or [AnimationController](https://developer.roblox.com/en-us/api-reference/class/AnimationController). This object cannot be created, instead it is returned by the [Humanoid:LoadAnimation](https://developer.roblox.com/en-us/api-reference/function/Humanoid/LoadAnimation) method. */
1693
1726
  interface AnimationTrack extends Instance {
1694
1727
  /**
@@ -7174,7 +7207,18 @@ interface LinearVelocity extends Constraint {
7174
7207
  VelocityConstraintMode: Enum.VelocityConstraintMode;
7175
7208
  }
7176
7209
 
7177
- interface Plane extends Constraint {
7210
+ interface PlaneConstraint extends Constraint {
7211
+ /**
7212
+ * **DO NOT USE!**
7213
+ *
7214
+ * This field exists to force TypeScript to recognize this as a nominal type
7215
+ * @hidden
7216
+ * @deprecated
7217
+ */
7218
+ readonly _nominal_PlaneConstraint: unique symbol;
7219
+ }
7220
+
7221
+ interface Plane extends PlaneConstraint {
7178
7222
  /**
7179
7223
  * **DO NOT USE!**
7180
7224
  *
@@ -9746,6 +9790,17 @@ interface Texture extends Decal {
9746
9790
  StudsPerTileV: number;
9747
9791
  }
9748
9792
 
9793
+ interface FacialAnimationStreamingService extends Instance {
9794
+ /**
9795
+ * **DO NOT USE!**
9796
+ *
9797
+ * This field exists to force TypeScript to recognize this as a nominal type
9798
+ * @hidden
9799
+ * @deprecated
9800
+ */
9801
+ readonly _nominal_FacialAnimationStreamingService: unique symbol;
9802
+ }
9803
+
9749
9804
  /** The base class for the legacy motor system. */
9750
9805
  interface Feature extends Instance {
9751
9806
  /**
@@ -10614,25 +10669,10 @@ interface GuiBase2d extends GuiBase {
10614
10669
  * If there is no translation available in the referenced table it will look for a translation in the parent of that table, if it is also a LocalizationTable, and so on.
10615
10670
  */
10616
10671
  RootLocalizationTable: LocalizationTable | undefined;
10617
- /**
10618
- * Tags: NotBrowsable
10619
- */
10620
10672
  SelectionBehaviorDown: Enum.SelectionBehavior;
10621
- /**
10622
- * Tags: NotBrowsable
10623
- */
10624
10673
  SelectionBehaviorLeft: Enum.SelectionBehavior;
10625
- /**
10626
- * Tags: NotBrowsable
10627
- */
10628
10674
  SelectionBehaviorRight: Enum.SelectionBehavior;
10629
- /**
10630
- * Tags: NotBrowsable
10631
- */
10632
10675
  SelectionBehaviorUp: Enum.SelectionBehavior;
10633
- /**
10634
- * Tags: NotBrowsable
10635
- */
10636
10676
  SelectionGroup: boolean;
10637
10677
  readonly SelectionChanged: RBXScriptSignal<(amISelected: boolean, previousSelection: GuiObject, newSelection: GuiObject) => void>;
10638
10678
  }
@@ -10891,9 +10931,6 @@ interface GuiObject extends GuiBase2d {
10891
10931
  * To determine or set which GUI element is selected by the user, you can use the [GuiService.SelectedObject](https://developer.roblox.com/en-us/api-reference/property/GuiService/SelectedObject) property. The user uses the gamepad to select different GUI elements, invoking the [GuiObject.NextSelectionUp](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionUp), [GuiObject.NextSelectionDown](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionDown), [GuiObject.NextSelectionLeft](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionLeft), and [GuiObject.NextSelectionRight](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionRight) events.
10892
10932
  */
10893
10933
  SelectionImageObject: GuiObject | undefined;
10894
- /**
10895
- * Tags: NotBrowsable
10896
- */
10897
10934
  SelectionOrder: number;
10898
10935
  /**
10899
10936
  * This property determines a [GUI's](https://developer.roblox.com/en-us/api-reference/class/GuiObject) scalar and pixel size using a `UDim2`. Its value can be expressed as `UDim2.new(ScalarX, PixelX, ScalarY, PixelY)` or `({ScalarX, PixelX}, {ScalarY, PixelY})`.
@@ -11319,10 +11356,7 @@ interface CanvasGroup extends GuiObject {
11319
11356
  * @deprecated
11320
11357
  */
11321
11358
  readonly _nominal_CanvasGroup: unique symbol;
11322
- /**
11323
- * Color that applies to all descendants.
11324
- */
11325
- GroupColor: Color3;
11359
+ GroupColor3: Color3;
11326
11360
  /**
11327
11361
  * Transparency that applies to all descendants.
11328
11362
  */
@@ -16181,6 +16215,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
16181
16215
  readonly FileDimensions: Vector3;
16182
16216
  ImportAsModelAsset: boolean;
16183
16217
  InsertInWorkspace: boolean;
16218
+ InsertWithScenePosition: boolean;
16184
16219
  InvertNegativeFaces: boolean;
16185
16220
  MergeMeshes: boolean;
16186
16221
  /**
@@ -16193,21 +16228,6 @@ interface ImporterRootSettings extends ImporterBaseSettings {
16193
16228
  WorldUp: Enum.NormalId;
16194
16229
  }
16195
16230
 
16196
- interface ImporterTextureSettings extends ImporterBaseSettings {
16197
- /**
16198
- * **DO NOT USE!**
16199
- *
16200
- * This field exists to force TypeScript to recognize this as a nominal type
16201
- * @hidden
16202
- * @deprecated
16203
- */
16204
- readonly _nominal_ImporterTextureSettings: unique symbol;
16205
- /**
16206
- * Tags: ReadOnly, NotReplicated
16207
- */
16208
- readonly FilePath: string;
16209
- }
16210
-
16211
16231
  interface IncrementalPatchBuilder extends Instance {
16212
16232
  /**
16213
16233
  * **DO NOT USE!**
@@ -18654,7 +18674,7 @@ interface KeyframeSequenceProvider extends Instance {
18654
18674
  GetKeyframeSequenceAsync(this: KeyframeSequenceProvider, assetId: string): KeyframeSequence;
18655
18675
  }
18656
18676
 
18657
- interface LSPService extends Instance {
18677
+ interface LSPFileSyncService extends Instance {
18658
18678
  /**
18659
18679
  * **DO NOT USE!**
18660
18680
  *
@@ -18662,7 +18682,7 @@ interface LSPService extends Instance {
18662
18682
  * @hidden
18663
18683
  * @deprecated
18664
18684
  */
18665
- readonly _nominal_LSPService: unique symbol;
18685
+ readonly _nominal_LSPFileSyncService: unique symbol;
18666
18686
  }
18667
18687
 
18668
18688
  interface LanguageService extends Instance {
@@ -22849,7 +22869,7 @@ interface BasePart extends PVInstance {
22849
22869
  this: BasePart,
22850
22870
  parts: Array<BasePart>,
22851
22871
  collisionfidelity?: CastsToEnum<Enum.CollisionFidelity>,
22852
- ): UnionOperation;
22872
+ ): UnionOperation | undefined;
22853
22873
  /**
22854
22874
  * This is a server-only function that uses [CSG](https://developer.roblox.com/en-us/articles/3d-modeling-with-parts) to combine the geometry of the calling [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) with a table of other BaseParts.
22855
22875
  * The following properties from the calling part will be applied to the resulting part:
@@ -27664,6 +27684,17 @@ interface RotationCurve extends Instance {
27664
27684
  SetKeys(this: RotationCurve, keys: Array<any>): number;
27665
27685
  }
27666
27686
 
27687
+ interface RtMessagingService extends Instance {
27688
+ /**
27689
+ * **DO NOT USE!**
27690
+ *
27691
+ * This field exists to force TypeScript to recognize this as a nominal type
27692
+ * @hidden
27693
+ * @deprecated
27694
+ */
27695
+ readonly _nominal_RtMessagingService: unique symbol;
27696
+ }
27697
+
27667
27698
  /** **RunService** contains methods and events for time-management as well as for managing the context in which a game or script is running. Methods like [IsClient](https://developer.roblox.com/en-us/api-reference/function/RunService/IsClient), [IsServer](https://developer.roblox.com/en-us/api-reference/function/RunService/IsServer), [IsStudio](https://developer.roblox.com/en-us/api-reference/function/RunService/IsStudio), can help you determine under what context code is running. These methods are useful for ModuleScripts that may be required by both client and server scripts. Furthermore, [IsStudio](https://developer.roblox.com/en-us/api-reference/function/RunService/IsStudio) can be used to add special behaviors for in-studio testing.
27668
27699
  *
27669
27700
  * RunService also houses events that allow your code to adhere to Roblox's frame-by-frame loop, such as [Stepped](https://developer.roblox.com/en-us/api-reference/event/RunService/Stepped), [Heartbeat](https://developer.roblox.com/en-us/api-reference/event/RunService/Heartbeat) and [RenderStepped](https://developer.roblox.com/en-us/api-reference/event/RunService/RenderStepped). Selecting the proper event to use for any case is important, so you should read [Task Scheduler](https://developer.roblox.com/en-us/articles/task-scheduler) to make an informed decision.
@@ -28057,7 +28088,8 @@ interface ScriptCloneWatcherHelper extends Instance {
28057
28088
  readonly _nominal_ScriptCloneWatcherHelper: unique symbol;
28058
28089
  }
28059
28090
 
28060
- interface ScriptCloneWatcherHelperV2 extends Instance {
28091
+ /** 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. */
28092
+ interface ScriptContext extends Instance {
28061
28093
  /**
28062
28094
  * **DO NOT USE!**
28063
28095
  *
@@ -28065,11 +28097,14 @@ interface ScriptCloneWatcherHelperV2 extends Instance {
28065
28097
  * @hidden
28066
28098
  * @deprecated
28067
28099
  */
28068
- readonly _nominal_ScriptCloneWatcherHelperV2: unique symbol;
28100
+ readonly _nominal_ScriptContext: unique symbol;
28101
+ /**
28102
+ * Fired when an error occurs.
28103
+ */
28104
+ readonly Error: RBXScriptSignal<(message: string, stackTrace: string, script?: LuaSourceContainer) => void>;
28069
28105
  }
28070
28106
 
28071
- /** 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. */
28072
- interface ScriptContext extends Instance {
28107
+ interface ScriptDocument extends Instance {
28073
28108
  /**
28074
28109
  * **DO NOT USE!**
28075
28110
  *
@@ -28077,11 +28112,18 @@ interface ScriptContext extends Instance {
28077
28112
  * @hidden
28078
28113
  * @deprecated
28079
28114
  */
28080
- readonly _nominal_ScriptContext: unique symbol;
28115
+ readonly _nominal_ScriptDocument: unique symbol;
28116
+ }
28117
+
28118
+ interface ScriptEditorService extends Instance {
28081
28119
  /**
28082
- * Fired when an error occurs.
28120
+ * **DO NOT USE!**
28121
+ *
28122
+ * This field exists to force TypeScript to recognize this as a nominal type
28123
+ * @hidden
28124
+ * @deprecated
28083
28125
  */
28084
- readonly Error: RBXScriptSignal<(message: string, stackTrace: string, script?: LuaSourceContainer) => void>;
28126
+ readonly _nominal_ScriptEditorService: unique symbol;
28085
28127
  }
28086
28128
 
28087
28129
  interface ScriptRegistrationService extends Instance {
@@ -28658,6 +28700,17 @@ interface Smoke extends Instance {
28658
28700
  TimeScale: number;
28659
28701
  }
28660
28702
 
28703
+ interface SnippetService extends Instance {
28704
+ /**
28705
+ * **DO NOT USE!**
28706
+ *
28707
+ * This field exists to force TypeScript to recognize this as a nominal type
28708
+ * @hidden
28709
+ * @deprecated
28710
+ */
28711
+ readonly _nominal_SnippetService: unique symbol;
28712
+ }
28713
+
28661
28714
  /** SocialService facilitates social functions that impact relationships made on the Roblox platform.
28662
28715
  * Developers are able to [prompt](https://developer.roblox.com/en-us/api-reference/function/SocialService/PromptGameInvite) their players to send game invitation requests to players' friends and leverage signals when users invite their friends to their games
28663
28716
  *
@@ -31459,11 +31512,14 @@ interface TextChannel extends Instance {
31459
31512
  */
31460
31513
  readonly _nominal_TextChannel: unique symbol;
31461
31514
  DisplaySystemMessage(this: TextChannel, systemMessage: string, metadata?: string): TextChatMessage;
31462
- SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
31463
31515
  /**
31464
31516
  * Tags: Yields
31465
31517
  */
31466
31518
  AddUserAsync(this: TextChannel, userId: number): unknown;
31519
+ /**
31520
+ * Tags: Yields
31521
+ */
31522
+ SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
31467
31523
  readonly MessageReceived: RBXScriptSignal<(incomingMessage: TextChatMessage) => void>;
31468
31524
  OnIncomingMessage: (message: TextChatMessage) => void;
31469
31525
  }
@@ -31751,6 +31807,17 @@ interface TracerService extends Instance {
31751
31807
  readonly _nominal_TracerService: unique symbol;
31752
31808
  }
31753
31809
 
31810
+ interface TrackerStreamAnimation extends Instance {
31811
+ /**
31812
+ * **DO NOT USE!**
31813
+ *
31814
+ * This field exists to force TypeScript to recognize this as a nominal type
31815
+ * @hidden
31816
+ * @deprecated
31817
+ */
31818
+ readonly _nominal_TrackerStreamAnimation: unique symbol;
31819
+ }
31820
+
31754
31821
  /** The Trail object is used to create a trail like an effect between two points. As the points move through space a texture is drawn on the plane the points define. This is commonly used to create effects to help visualize movements like tracer trails behind projectiles, footprints, tire tracks, and many other similar effects.
31755
31822
  *
31756
31823
  * ![A diagram explaining the Trail object.](https://developer.roblox.com/assets/bltf78765806231bc92/TrailSegments2.png)
@@ -3610,7 +3610,6 @@ interface StudioService extends Instance {
3610
3610
  * Returns the studio user's userId if they're logged in, otherwise returns 0.
3611
3611
  */
3612
3612
  GetUserId(this: StudioService): number;
3613
- GetUserIsInTeamCreateToggleRamp(this: StudioService): boolean;
3614
3613
  GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult;
3615
3614
  HasInternalPermission(this: StudioService): boolean;
3616
3615
  IsPluginInstalled(this: StudioService, assetId: number): boolean;
@@ -3346,6 +3346,14 @@ declare namespace Enum {
3346
3346
 
3347
3347
  export const DisconnectModeratedGame: DisconnectModeratedGame;
3348
3348
 
3349
+ export interface DisconnectOutOfMemoryExitContinue {
3350
+ Name: "DisconnectOutOfMemoryExitContinue";
3351
+ Value: 288;
3352
+ EnumType: EnumType<ConnectionError>;
3353
+ }
3354
+
3355
+ export const DisconnectOutOfMemoryExitContinue: DisconnectOutOfMemoryExitContinue;
3356
+
3349
3357
  export interface PlacelaunchErrors {
3350
3358
  Name: "PlacelaunchErrors";
3351
3359
  Value: 512;
@@ -3532,7 +3540,7 @@ declare namespace Enum {
3532
3540
 
3533
3541
  export function GetEnumItems(this: defined): Array<ConnectionError>
3534
3542
  }
3535
- export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
3543
+ export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectOutOfMemoryExitContinue | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
3536
3544
  export namespace ConnectionState {
3537
3545
  export interface Connected {
3538
3546
  Name: "Connected";
@@ -9314,9 +9322,17 @@ declare namespace Enum {
9314
9322
 
9315
9323
  export const Roblox_findColor3: Roblox_findColor3;
9316
9324
 
9325
+ export interface Roblox_patchSnippetData {
9326
+ Name: "Roblox_patchSnippetData";
9327
+ Value: 27;
9328
+ EnumType: EnumType<LSPMethodType>;
9329
+ }
9330
+
9331
+ export const Roblox_patchSnippetData: Roblox_patchSnippetData;
9332
+
9317
9333
  export function GetEnumItems(this: defined): Array<LSPMethodType>
9318
9334
  }
9319
- export type LSPMethodType = LSPMethodType.Initialize | LSPMethodType.Initialized | LSPMethodType.CancelRequest | LSPMethodType.TextDocument_didOpen | LSPMethodType.TextDocument_didChange | LSPMethodType.TextDocument_didClose | LSPMethodType.TextDocument_foldingRange | LSPMethodType.TextDocument_onTypeFormatting | LSPMethodType.TextDocument_formatting | LSPMethodType.TextDocument_rangeFormatting | LSPMethodType.TextDocument_hover | LSPMethodType.TextDocument_signatureHelp | LSPMethodType.Workspace_DidChangeConfiguration | LSPMethodType.ShutdownRequest | LSPMethodType.Completion | LSPMethodType.Declaration | LSPMethodType.DocumentSymbols | LSPMethodType.TextDocument_publishDiagnostics | LSPMethodType.Window_showMessage | LSPMethodType.Window_showMessageRequest | LSPMethodType.Roblox_registerSyntaxCategories | LSPMethodType.Roblox_signalQuiescence | LSPMethodType.Roblox_syntaxHighlight | LSPMethodType.Roblox_suggestExtraSelections | LSPMethodType.Roblox_findExecutablePosition | LSPMethodType.Roblox_findColor3;
9335
+ export type LSPMethodType = LSPMethodType.Initialize | LSPMethodType.Initialized | LSPMethodType.CancelRequest | LSPMethodType.TextDocument_didOpen | LSPMethodType.TextDocument_didChange | LSPMethodType.TextDocument_didClose | LSPMethodType.TextDocument_foldingRange | LSPMethodType.TextDocument_onTypeFormatting | LSPMethodType.TextDocument_formatting | LSPMethodType.TextDocument_rangeFormatting | LSPMethodType.TextDocument_hover | LSPMethodType.TextDocument_signatureHelp | LSPMethodType.Workspace_DidChangeConfiguration | LSPMethodType.ShutdownRequest | LSPMethodType.Completion | LSPMethodType.Declaration | LSPMethodType.DocumentSymbols | LSPMethodType.TextDocument_publishDiagnostics | LSPMethodType.Window_showMessage | LSPMethodType.Window_showMessageRequest | LSPMethodType.Roblox_registerSyntaxCategories | LSPMethodType.Roblox_signalQuiescence | LSPMethodType.Roblox_syntaxHighlight | LSPMethodType.Roblox_suggestExtraSelections | LSPMethodType.Roblox_findExecutablePosition | LSPMethodType.Roblox_findColor3 | LSPMethodType.Roblox_patchSnippetData;
9320
9336
  export namespace Language {
9321
9337
  export interface Default {
9322
9338
  Name: "Default";
@@ -10945,6 +10961,34 @@ declare namespace Enum {
10945
10961
  export function GetEnumItems(this: defined): Array<PermissionLevelShown>
10946
10962
  }
10947
10963
  export type PermissionLevelShown = PermissionLevelShown.Game | PermissionLevelShown.RobloxGame | PermissionLevelShown.RobloxScript | PermissionLevelShown.Studio | PermissionLevelShown.Roblox;
10964
+ export namespace PhysicsInertiaAndVolumeFix {
10965
+ export interface Default {
10966
+ Name: "Default";
10967
+ Value: 0;
10968
+ EnumType: EnumType<PhysicsInertiaAndVolumeFix>;
10969
+ }
10970
+
10971
+ export const Default: Default;
10972
+
10973
+ export interface Disabled {
10974
+ Name: "Disabled";
10975
+ Value: 1;
10976
+ EnumType: EnumType<PhysicsInertiaAndVolumeFix>;
10977
+ }
10978
+
10979
+ export const Disabled: Disabled;
10980
+
10981
+ export interface Enabled {
10982
+ Name: "Enabled";
10983
+ Value: 2;
10984
+ EnumType: EnumType<PhysicsInertiaAndVolumeFix>;
10985
+ }
10986
+
10987
+ export const Enabled: Enabled;
10988
+
10989
+ export function GetEnumItems(this: defined): Array<PhysicsInertiaAndVolumeFix>
10990
+ }
10991
+ export type PhysicsInertiaAndVolumeFix = PhysicsInertiaAndVolumeFix.Default | PhysicsInertiaAndVolumeFix.Disabled | PhysicsInertiaAndVolumeFix.Enabled;
10948
10992
  export namespace PhysicsSimulationRate {
10949
10993
  export interface Fixed240Hz {
10950
10994
  Name: "Fixed240Hz";
package/include/lua.d.ts CHANGED
@@ -702,8 +702,13 @@ declare namespace table {
702
702
  * (so that `not comp(list[i+1],list[i])` will be true after the sort).
703
703
  */
704
704
  function sort<T>(t: Array<T>, comp?: (a: T, b: T) => boolean): void;
705
- /** Makes the table read-only and prohibits all further modifications */
706
- function freeze(t: object): void;
705
+ /**
706
+ * Makes the table read-only and prohibits all further modifications.
707
+ *
708
+ * This freezing effect is shallow, which means that you can write to a table within a frozen table.
709
+ * To deep freeze a table, call this function recursively on all of the descending tables.
710
+ */
711
+ function freeze<T extends object>(t: T): Readonly<T>;
707
712
  /** Returns whether or not `t` is frozen */
708
713
  function isfrozen<T extends object>(t: T): t is Readonly<T>;
709
714
 
@@ -740,7 +745,7 @@ declare namespace coroutine {
740
745
  function running(): thread;
741
746
 
742
747
  /** Returns the status of coroutine co, as a string: 'running', if the coroutine is running (that is, it called status); 'suspended', if the coroutine is suspended in a call to yield, or if it has not started running yet; 'normal' if the coroutine is active but not running (that is, it has resumed another coroutine); and 'dead' if the coroutine has finished its body function, or if it has stopped with an error. */
743
- function status(co: thread): string;
748
+ function status(co: thread): "running" | "suspended" | "normal" | "dead";
744
749
 
745
750
  /** Creates a new coroutine, with body f. f must be a Lua function. Returns a function that resumes the coroutine each time it is called. Any arguments passed to the function behave as the extra arguments to resume. Returns the same values returned by resume, except the first boolean. In case of error, propagates the error. */
746
751
  function wrap<T extends Callback>(f: T): T;
@@ -748,8 +753,18 @@ declare namespace coroutine {
748
753
  /** Suspends the execution of the calling coroutine. Any arguments to yield are passed as extra results to resume. */
749
754
  function yield(...params: Array<unknown>): LuaTuple<Array<unknown>>;
750
755
 
751
- /** Takes a suspended coroutine and makes it "dead" (non-runnable). */
752
- function close(co: thread): void;
756
+ /**
757
+ * Takes a suspended coroutine and makes it "dead" (non-runnable).
758
+ * This function returns `true` unless the coroutine is in an error state, in which case it returns `false` and the error message.
759
+ * A coroutine that is currently running cannot be closed. A coroutine cannot be resumed after it is closed.
760
+ */
761
+ function close(co: thread): LuaTuple<[success: false, errorValue: unknown] | [success: true, errorValue: never]>;
762
+
763
+ /**
764
+ * Returns `true` if the coroutine this function is called within can safely yield.
765
+ * Yielding a coroutine inside metamethods or C functions is prohibited, with the exception of `pcall` and `xpcall`.
766
+ */
767
+ function isyieldable(): boolean;
753
768
  }
754
769
 
755
770
  declare function next<T extends ReadonlyArray<any>>(
@@ -347,6 +347,8 @@ interface FriendOnlineInfoBase {
347
347
  VisitorId: number;
348
348
  /** The user name of the friend. */
349
349
  UserName: string;
350
+ /** The display name of the friend. */
351
+ DisplayName: string;
350
352
  /** When the user was last online. */
351
353
  LastOnline: string;
352
354
  /** If the friend is currently online. */
@@ -2256,7 +2258,7 @@ interface GettableCores {
2256
2258
  PlayerUnmutedEvent: BindableEvent;
2257
2259
  PlayerFriendedEvent: BindableEvent;
2258
2260
  PlayerUnfriendedEvent: BindableEvent;
2259
- DeveloperConsoleVisible: boolean;
2261
+ DevConsoleVisible: boolean;
2260
2262
  VRRotationIntensity: "Low" | "High" | "Smooth";
2261
2263
  }
2262
2264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.591",
3
+ "version": "1.0.598",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },