@rbxts/types 1.0.579 → 1.0.582

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.
@@ -13875,7 +13875,7 @@ interface GuiService extends Instance {
13875
13875
  * Removes a group that was created with [GuiService:AddSelectionParent](https://developer.roblox.com/en-us/api-reference/function/GuiService/AddSelectionParent) or [GuiService:AddSelectionTuple](https://developer.roblox.com/en-us/api-reference/function/GuiService/AddSelectionTuple).
13876
13876
  */
13877
13877
  RemoveSelectionGroup(this: GuiService, selectionName: string): void;
13878
- Select(this: GuiService, selectionParent: Selection): void;
13878
+ Select(this: GuiService, selectionParent: Instance): void;
13879
13879
  /**
13880
13880
  * Opens or closes the player Emotes menu.
13881
13881
  */
@@ -31335,7 +31335,13 @@ interface TeleportService extends Instance {
31335
31335
  * For an in-depth guide on teleporting players and properly handling teleport failures, see the [Teleporting Between Places](https://developer.roblox.com/en-us/articles/Teleporting-Between-Places) article.
31336
31336
  */
31337
31337
  readonly TeleportInitFailed: RBXScriptSignal<
31338
- (player: Player, teleportResult: Enum.TeleportResult, errorMessage: string) => void
31338
+ (
31339
+ player: Player,
31340
+ teleportResult: Enum.TeleportResult,
31341
+ errorMessage: string,
31342
+ placeId: number,
31343
+ teleportOptions: TeleportOptions,
31344
+ ) => void
31339
31345
  >;
31340
31346
  }
31341
31347
 
@@ -1655,9 +1655,27 @@ interface Random {
1655
1655
  * @deprecated
1656
1656
  */
1657
1657
  readonly _nominal_Random: unique symbol;
1658
+ /**
1659
+ * Returns a pseudorandom integer uniformly distributed over [min, max].
1660
+ */
1658
1661
  NextInteger(this: Random, min: number, max: number): number;
1662
+ /**
1663
+ * Returns a pseudorandom number uniformly distributed over [0, 1).
1664
+ */
1659
1665
  NextNumber(this: Random): number;
1666
+ /**
1667
+ * Returns a pseudorandom number uniformly distributed over [min, max).
1668
+ */
1660
1669
  NextNumber(this: Random, min: number, max: number): number;
1670
+ /**
1671
+ * Returns a unit vector with a pseudorandom direction.
1672
+ *
1673
+ * Vectors returned from this function are uniformly distributed over the unit sphere.
1674
+ */
1675
+ NextUnitVector(this: Random): Vector3;
1676
+ /**
1677
+ * Returns a new Random object with the same state as the original.
1678
+ */
1661
1679
  Clone(this: Random): Random;
1662
1680
  }
1663
1681
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.579",
3
+ "version": "1.0.582",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },