@rbxts/types 1.0.671 → 1.0.673
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.
- package/include/lua.d.ts +1 -1
- package/include/roblox.d.ts +17 -1
- package/package.json +1 -1
package/include/lua.d.ts
CHANGED
|
@@ -533,7 +533,7 @@ declare namespace math {
|
|
|
533
533
|
function random(min: number, max: number): number;
|
|
534
534
|
|
|
535
535
|
/** Sets x as the seed for the pseudo-random generator: equal seeds produce equal sequences of numbers. */
|
|
536
|
-
function randomseed(seed: number):
|
|
536
|
+
function randomseed(seed: number): void;
|
|
537
537
|
|
|
538
538
|
/** Rounds n to the nearest integer.
|
|
539
539
|
*
|
package/include/roblox.d.ts
CHANGED
|
@@ -1635,10 +1635,26 @@ interface PathWaypoint {
|
|
|
1635
1635
|
* @deprecated
|
|
1636
1636
|
*/
|
|
1637
1637
|
readonly _nominal_PathWaypoint: unique symbol;
|
|
1638
|
+
/**
|
|
1639
|
+
* The action to perform at this waypoint.
|
|
1640
|
+
*/
|
|
1638
1641
|
readonly Action: Enum.PathWaypointAction;
|
|
1642
|
+
/**
|
|
1643
|
+
* The 3D position of this waypoint.
|
|
1644
|
+
*/
|
|
1639
1645
|
readonly Position: Vector3;
|
|
1646
|
+
/**
|
|
1647
|
+
* The name of the navigation area that generates this waypoint. You can use PathwayPoint.Label to decide the custom
|
|
1648
|
+
* action to take to reach the waypoint. PathfindingModifier and Material each have a Label. Automatic jump links
|
|
1649
|
+
* have "Jump" as their Label.
|
|
1650
|
+
*/
|
|
1651
|
+
readonly Label: string;
|
|
1640
1652
|
}
|
|
1641
|
-
|
|
1653
|
+
interface PathWaypointConstructor {
|
|
1654
|
+
new (): PathWaypoint;
|
|
1655
|
+
new (position: Vector3, action?: Enum.PathWaypointAction, label?: string): PathWaypoint;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1642
1658
|
declare const PathWaypoint: PathWaypointConstructor;
|
|
1643
1659
|
|
|
1644
1660
|
// PhysicalProperties
|