@rbxts/types 1.0.588 → 1.0.591

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.
@@ -37,6 +37,7 @@ interface Services {
37
37
  DebuggerUIService: DebuggerUIService;
38
38
  DraggerService: DraggerService;
39
39
  EventIngestService: EventIngestService;
40
+ FaceAnimatorService: FaceAnimatorService;
40
41
  GamePassService: GamePassService;
41
42
  GroupService: GroupService;
42
43
  GuiService: GuiService;
@@ -73,12 +74,12 @@ interface Services {
73
74
  PublishService: PublishService;
74
75
  RemoteDebuggerServer: RemoteDebuggerServer;
75
76
  ReplicatedFirst: ReplicatedFirst;
76
- ReplicatedScriptService: ReplicatedScriptService;
77
77
  ReplicatedStorage: ReplicatedStorage;
78
78
  RunService: RunService;
79
79
  ScriptChangeService: ScriptChangeService;
80
80
  ScriptCloneWatcher: ScriptCloneWatcher;
81
81
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
82
+ ScriptCloneWatcherHelperV2: ScriptCloneWatcherHelperV2;
82
83
  ScriptContext: ScriptContext;
83
84
  ScriptRegistrationService: ScriptRegistrationService;
84
85
  ServerScriptService: ServerScriptService;
@@ -4148,6 +4149,7 @@ interface WrapLayer extends BaseWrap {
4148
4149
  * @deprecated
4149
4150
  */
4150
4151
  readonly _nominal_WrapLayer: unique symbol;
4152
+ AutoSkin: Enum.WrapLayerAutoSkin;
4151
4153
  /**
4152
4154
  * This property is intended for fine-tuning purposes and is highly optional.
4153
4155
  *
@@ -6441,6 +6443,7 @@ interface CollectionService extends Instance {
6441
6443
  * **Warning:** When tagging an object, it is common that some resources are used to give the tag its functionality, e.g. event connections or tables. To prevent memory leaks, it is a good idea to clean these up (disconnect, set to nil, etc) when no longer needed for a tag. Do this when calling [CollectionService:RemoveTag](https://developer.roblox.com/en-us/api-reference/function/CollectionService/RemoveTag), calling [Instance:Destroy](https://developer.roblox.com/en-us/api-reference/function/Instance/Destroy) or in a function connected to a signal returned by [CollectionService:GetInstanceRemovedSignal](https://developer.roblox.com/en-us/api-reference/function/CollectionService/GetInstanceRemovedSignal).
6442
6444
  */
6443
6445
  AddTag(this: CollectionService, instance: Instance, tag: string): void;
6446
+ GetAllTags(this: CollectionService): unknown;
6444
6447
  /**
6445
6448
  * GetInstanceAdded is given a tag (a string) and returns a signal which fires under two conditions:
6446
6449
  *
@@ -6509,6 +6512,8 @@ interface CollectionService extends Instance {
6509
6512
  * @deprecated
6510
6513
  */
6511
6514
  readonly ItemRemoved: RBXScriptSignal<(instance: Instance) => void>;
6515
+ readonly TagAdded: RBXScriptSignal<(tag: string) => void>;
6516
+ readonly TagRemoved: RBXScriptSignal<(tag: string) => void>;
6512
6517
  }
6513
6518
 
6514
6519
  interface CommandInstance extends Instance {
@@ -9487,6 +9492,17 @@ interface Explosion extends Instance {
9487
9492
  readonly Hit: RBXScriptSignal<(part: BasePart, distance: number) => void>;
9488
9493
  }
9489
9494
 
9495
+ interface FaceAnimatorService extends Instance {
9496
+ /**
9497
+ * **DO NOT USE!**
9498
+ *
9499
+ * This field exists to force TypeScript to recognize this as a nominal type
9500
+ * @hidden
9501
+ * @deprecated
9502
+ */
9503
+ readonly _nominal_FaceAnimatorService: unique symbol;
9504
+ }
9505
+
9490
9506
  interface FaceControls extends Instance {
9491
9507
  /**
9492
9508
  * **DO NOT USE!**
@@ -10618,6 +10634,7 @@ interface GuiBase2d extends GuiBase {
10618
10634
  * Tags: NotBrowsable
10619
10635
  */
10620
10636
  SelectionGroup: boolean;
10637
+ readonly SelectionChanged: RBXScriptSignal<(amISelected: boolean, previousSelection: GuiObject, newSelection: GuiObject) => void>;
10621
10638
  }
10622
10639
 
10623
10640
  /** GuiObject is an abstract class (much like [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)) for a 2D user interface object. It defines all the properties relating to the display of a graphical user interface (GUI) object such as [GuiObject.Size](https://developer.roblox.com/en-us/api-reference/property/GuiObject/Size) and [GuiObject.Position](https://developer.roblox.com/en-us/api-reference/property/GuiObject/Position). It also has some useful read-only properties like `GuiObject/AbsolutePosition`, `GuiObject/AbsoluteSize`, and `GuiObject/AbsoluteRotation`. It should be noted that [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject) can have negative sizes and render normally, though [GuiObject.AnchorPoint](https://developer.roblox.com/en-us/api-reference/property/GuiObject/AnchorPoint) ought to be used to better control rendering.
@@ -27582,17 +27599,6 @@ interface ReplicatedFirst extends Instance {
27582
27599
  RemoveDefaultLoadingScreen(this: ReplicatedFirst): void;
27583
27600
  }
27584
27601
 
27585
- interface ReplicatedScriptService extends Instance {
27586
- /**
27587
- * **DO NOT USE!**
27588
- *
27589
- * This field exists to force TypeScript to recognize this as a nominal type
27590
- * @hidden
27591
- * @deprecated
27592
- */
27593
- readonly _nominal_ReplicatedScriptService: unique symbol;
27594
- }
27595
-
27596
27602
  /** **ReplicatedStorage** is a general container service for objects that are available to both the server and connected game clients. It is ideal for [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript), [RemoteFunction](https://developer.roblox.com/en-us/api-reference/class/RemoteFunction), [RemoteEvent](https://developer.roblox.com/en-us/api-reference/class/RemoteEvent) and other objects which are useful to both server-side [Script](https://developer.roblox.com/en-us/api-reference/class/Script)s and client-side [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript)s. [Script](https://developer.roblox.com/en-us/api-reference/class/Script) and [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript) objects will not run if they are parented to this service even if they are not [Disabled](https://developer.roblox.com/en-us/api-reference/property/BaseScript/Disabled).
27597
27603
  *
27598
27604
  * If a [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript) within this service is required by any other script, it will run as normal. Such modules will typically house code that is shared by the server and client. Server-side [Script](https://developer.roblox.com/en-us/api-reference/class/Script) that should run on their own should be parented to [ServerScriptService](https://developer.roblox.com/en-us/api-reference/class/ServerScriptService) instead. Client-side [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript) have various other locations where they will eventually be run on a [Player](https://developer.roblox.com/en-us/api-reference/class/Player) client: [StarterPlayerScripts](https://developer.roblox.com/en-us/api-reference/class/StarterPlayerScripts), [StarterCharacterScripts](https://developer.roblox.com/en-us/api-reference/class/StarterCharacterScripts) or [StarterGui](https://developer.roblox.com/en-us/api-reference/class/StarterGui).
@@ -28051,6 +28057,17 @@ interface ScriptCloneWatcherHelper extends Instance {
28051
28057
  readonly _nominal_ScriptCloneWatcherHelper: unique symbol;
28052
28058
  }
28053
28059
 
28060
+ interface ScriptCloneWatcherHelperV2 extends Instance {
28061
+ /**
28062
+ * **DO NOT USE!**
28063
+ *
28064
+ * This field exists to force TypeScript to recognize this as a nominal type
28065
+ * @hidden
28066
+ * @deprecated
28067
+ */
28068
+ readonly _nominal_ScriptCloneWatcherHelperV2: unique symbol;
28069
+ }
28070
+
28054
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. */
28055
28072
  interface ScriptContext extends Instance {
28056
28073
  /**
@@ -33069,10 +33086,6 @@ interface UserGameSettings extends Instance {
33069
33086
  * Describes how sensitive the camera is when using a gamepad.
33070
33087
  */
33071
33088
  GamepadCameraSensitivity: number;
33072
- /**
33073
- * A [float](https://developer.roblox.com/articles/Numbers "Float") between 0 and 1 representing the volume of the game's client.
33074
- */
33075
- MasterVolume: number;
33076
33089
  /**
33077
33090
  * A [float](https://developer.roblox.com/articles/Numbers "Float") between 0 and 100 representing the sensitivity of the client's mouse.
33078
33091
  */
@@ -771,16 +771,6 @@ interface GameSettings extends Instance {
771
771
  * @deprecated
772
772
  */
773
773
  readonly _nominal_GameSettings: unique symbol;
774
- /**
775
- * Used internally by Roblox to add additional CoreScript loading directories.
776
- *
777
- * The value of this string should be full paths to each directory, separated only by semicolons (`;`)
778
- */
779
- readonly AdditionalCoreIncludeDirs: string;
780
- /**
781
- * Describes a path to a .lua file that will be ran in place of the default StarterScript.
782
- */
783
- readonly OverrideStarterScript: string;
784
774
  /**
785
775
  * Toggles whether or not video capture is enabled.
786
776
  */
@@ -3257,6 +3247,7 @@ interface Studio extends Instance {
3257
3247
  * Tags: NotReplicated
3258
3248
  */
3259
3249
  ["Luau Keyword Color"]: Color3;
3250
+ readonly ["Main Volume"]: number;
3260
3251
  /**
3261
3252
  * Tags: NotReplicated
3262
3253
  */
@@ -3281,15 +3272,6 @@ interface Studio extends Instance {
3281
3272
  ["Operator Color"]: Color3;
3282
3273
  ["Output Font"]: QFont;
3283
3274
  ["Output Layout Mode"]: Enum.OutputLayoutMode;
3284
- /**
3285
- * If set to true, the [Studio.OverrideCoreScriptsDir](https://developer.roblox.com/en-us/api-reference/property/Studio/OverrideCoreScriptsDir) will be used for CoreScripts in Roblox Studio, instead of the default `rbxasset://scripts` directory.
3286
- */
3287
- readonly OverrideCoreScripts: boolean;
3288
- /**
3289
- * The directory used when overriding core scripts.
3290
- * This should point to a clone of [Roblox's CoreScript GitHub repository](https://github.com/ROBLOX/Core-Scripts).
3291
- */
3292
- readonly OverrideCoreScriptsDir: QDir;
3293
3275
  /**
3294
3276
  * Sets the highest permission level that APIs have to have in order to be shown in the Object Browser.
3295
3277
  * See [PermissionLevelShown](https://developer.roblox.com/en-us/api-reference/enum/PermissionLevelShown) for more info.
@@ -3373,7 +3355,7 @@ interface Studio extends Instance {
3373
3355
  ["Show Hidden Objects in Explorer"]: boolean;
3374
3356
  ["Show Hover Over"]: boolean;
3375
3357
  readonly ["Show Light Guides"]: boolean;
3376
- readonly ["Show Navigation Areas"]: boolean;
3358
+ readonly ["Show Navigation Labels"]: boolean;
3377
3359
  ["Show Navigation Mesh"]: boolean;
3378
3360
  readonly ["Show Pathfinding Links"]: boolean;
3379
3361
  ["Show Plugin GUI Service in Explorer"]: boolean;
@@ -4454,9 +4454,17 @@ declare namespace Enum {
4454
4454
 
4455
4455
  export const Navigation: Navigation;
4456
4456
 
4457
+ export interface GeometryCSG {
4458
+ Name: "GeometryCSG";
4459
+ Value: 24;
4460
+ EnumType: EnumType<DeveloperMemoryTag>;
4461
+ }
4462
+
4463
+ export const GeometryCSG: GeometryCSG;
4464
+
4457
4465
  export function GetEnumItems(this: defined): Array<DeveloperMemoryTag>
4458
4466
  }
4459
- export type DeveloperMemoryTag = DeveloperMemoryTag.Internal | DeveloperMemoryTag.HttpCache | DeveloperMemoryTag.Instances | DeveloperMemoryTag.Signals | DeveloperMemoryTag.LuaHeap | DeveloperMemoryTag.Script | DeveloperMemoryTag.PhysicsCollision | DeveloperMemoryTag.PhysicsParts | DeveloperMemoryTag.GraphicsSolidModels | DeveloperMemoryTag.GraphicsMeshParts | DeveloperMemoryTag.GraphicsParticles | DeveloperMemoryTag.GraphicsParts | DeveloperMemoryTag.GraphicsSpatialHash | DeveloperMemoryTag.GraphicsTerrain | DeveloperMemoryTag.GraphicsTexture | DeveloperMemoryTag.GraphicsTextureCharacter | DeveloperMemoryTag.Sounds | DeveloperMemoryTag.StreamingSounds | DeveloperMemoryTag.TerrainVoxels | DeveloperMemoryTag.Gui | DeveloperMemoryTag.Animation | DeveloperMemoryTag.Navigation;
4467
+ export type DeveloperMemoryTag = DeveloperMemoryTag.Internal | DeveloperMemoryTag.HttpCache | DeveloperMemoryTag.Instances | DeveloperMemoryTag.Signals | DeveloperMemoryTag.LuaHeap | DeveloperMemoryTag.Script | DeveloperMemoryTag.PhysicsCollision | DeveloperMemoryTag.PhysicsParts | DeveloperMemoryTag.GraphicsSolidModels | DeveloperMemoryTag.GraphicsMeshParts | DeveloperMemoryTag.GraphicsParticles | DeveloperMemoryTag.GraphicsParts | DeveloperMemoryTag.GraphicsSpatialHash | DeveloperMemoryTag.GraphicsTerrain | DeveloperMemoryTag.GraphicsTexture | DeveloperMemoryTag.GraphicsTextureCharacter | DeveloperMemoryTag.Sounds | DeveloperMemoryTag.StreamingSounds | DeveloperMemoryTag.TerrainVoxels | DeveloperMemoryTag.Gui | DeveloperMemoryTag.Animation | DeveloperMemoryTag.Navigation | DeveloperMemoryTag.GeometryCSG;
4460
4468
  export namespace DeviceType {
4461
4469
  export interface Unknown {
4462
4470
  Name: "Unknown";
@@ -16429,6 +16437,34 @@ declare namespace Enum {
16429
16437
  export function GetEnumItems(this: defined): Array<WaterForce>
16430
16438
  }
16431
16439
  export type WaterForce = WaterForce.None | WaterForce.Small | WaterForce.Medium | WaterForce.Strong | WaterForce.Max;
16440
+ export namespace WrapLayerAutoSkin {
16441
+ export interface Disabled {
16442
+ Name: "Disabled";
16443
+ Value: 0;
16444
+ EnumType: EnumType<WrapLayerAutoSkin>;
16445
+ }
16446
+
16447
+ export const Disabled: Disabled;
16448
+
16449
+ export interface EnabledPreserve {
16450
+ Name: "EnabledPreserve";
16451
+ Value: 1;
16452
+ EnumType: EnumType<WrapLayerAutoSkin>;
16453
+ }
16454
+
16455
+ export const EnabledPreserve: EnabledPreserve;
16456
+
16457
+ export interface EnabledOverride {
16458
+ Name: "EnabledOverride";
16459
+ Value: 2;
16460
+ EnumType: EnumType<WrapLayerAutoSkin>;
16461
+ }
16462
+
16463
+ export const EnabledOverride: EnabledOverride;
16464
+
16465
+ export function GetEnumItems(this: defined): Array<WrapLayerAutoSkin>
16466
+ }
16467
+ export type WrapLayerAutoSkin = WrapLayerAutoSkin.Disabled | WrapLayerAutoSkin.EnabledPreserve | WrapLayerAutoSkin.EnabledOverride;
16432
16468
  export namespace WrapLayerDebugMode {
16433
16469
  export interface None {
16434
16470
  Name: "None";
package/include/lua.d.ts CHANGED
@@ -306,6 +306,15 @@ declare namespace debug {
306
306
  : T extends `${infer A}${infer _}`
307
307
  ? LuaTuple<TS.InfoFlags<[A]>>
308
308
  : LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
309
+
310
+ /**
311
+ * Assigns a custom tag name to the current thread's memory category in the Developer Console. Useful for analyzing memory usage of multiple threads in the same script which would otherwise be grouped together under the same tag/name.
312
+ */
313
+ function setmemorycategory(tag: string): void;
314
+ /**
315
+ * Resets the tag assigned by `debug.setmemorycategory` to the automatically assigned value (typically, the script name).
316
+ */
317
+ function resetmemorycategory(): void;
309
318
  }
310
319
 
311
320
  interface String {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.588",
3
+ "version": "1.0.591",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },