@rbxts/types 1.0.586 → 1.0.589

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;
@@ -79,6 +80,7 @@ interface Services {
79
80
  ScriptChangeService: ScriptChangeService;
80
81
  ScriptCloneWatcher: ScriptCloneWatcher;
81
82
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
83
+ ScriptCloneWatcherHelperV2: ScriptCloneWatcherHelperV2;
82
84
  ScriptContext: ScriptContext;
83
85
  ScriptRegistrationService: ScriptRegistrationService;
84
86
  ServerScriptService: ServerScriptService;
@@ -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.
@@ -13948,7 +13965,12 @@ interface HapticService extends Instance {
13948
13965
  /**
13949
13966
  * Sets the vibration intensity of the specified [UserInputType](https://developer.roblox.com/api-reference/property/InputObject/UserInputType "UserInputType") and [VibrationMotor](https://developer.roblox.com/api-reference/enum/VibrationMotor "VibrationMotor").
13950
13967
  */
13951
- SetMotor(this: HapticService, inputType: CastsToEnum<Enum.UserInputType>, vibrationMotor: CastsToEnum<Enum.VibrationMotor>, vibrationValues: Array<any>): void;
13968
+ SetMotor(
13969
+ this: HapticService,
13970
+ inputType: CastsToEnum<Enum.UserInputType>,
13971
+ motor: CastsToEnum<Enum.VibrationMotor>,
13972
+ vibration: number,
13973
+ ): void;
13952
13974
  }
13953
13975
 
13954
13976
  interface HeightmapImporterService extends Instance {
@@ -28046,6 +28068,17 @@ interface ScriptCloneWatcherHelper extends Instance {
28046
28068
  readonly _nominal_ScriptCloneWatcherHelper: unique symbol;
28047
28069
  }
28048
28070
 
28071
+ interface ScriptCloneWatcherHelperV2 extends Instance {
28072
+ /**
28073
+ * **DO NOT USE!**
28074
+ *
28075
+ * This field exists to force TypeScript to recognize this as a nominal type
28076
+ * @hidden
28077
+ * @deprecated
28078
+ */
28079
+ readonly _nominal_ScriptCloneWatcherHelperV2: unique symbol;
28080
+ }
28081
+
28049
28082
  /** 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. */
28050
28083
  interface ScriptContext extends Instance {
28051
28084
  /**
@@ -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";
package/include/lua.d.ts CHANGED
@@ -551,7 +551,7 @@ declare namespace math {
551
551
  function round(n: number): number;
552
552
 
553
553
  /** Returns -1 if `x < 0`, 0 if `x == 0`, or 1 if `x > 0`. */
554
- function sign(n: number): number;
554
+ function sign(n: number): -1 | 0 | 1;
555
555
 
556
556
  /** Returns the sine of x (assumed to be in radians). */
557
557
  function sin(n: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.586",
3
+ "version": "1.0.589",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },