@rbxts/types 1.0.626 → 1.0.629
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/generated/None.d.ts +5 -11
- package/include/generated/enums.d.ts +45 -17
- package/package.json +1 -1
|
@@ -10180,7 +10180,7 @@ interface GamepadService extends Instance {
|
|
|
10180
10180
|
readonly _nominal_GamepadService: unique symbol;
|
|
10181
10181
|
readonly GamepadCursorEnabled: boolean;
|
|
10182
10182
|
DisableGamepadCursor(this: GamepadService): void;
|
|
10183
|
-
EnableGamepadCursor(this: GamepadService, guiObject: GuiObject): void;
|
|
10183
|
+
EnableGamepadCursor(this: GamepadService, guiObject: GuiObject | undefined): void;
|
|
10184
10184
|
}
|
|
10185
10185
|
|
|
10186
10186
|
interface GetTextBoundsParams extends Instance {
|
|
@@ -23547,6 +23547,10 @@ interface TriangleMeshPart extends BasePart {
|
|
|
23547
23547
|
* Tags: NotReplicated
|
|
23548
23548
|
*/
|
|
23549
23549
|
readonly CollisionFidelity: Enum.CollisionFidelity;
|
|
23550
|
+
/**
|
|
23551
|
+
* Tags: ReadOnly, NotReplicated
|
|
23552
|
+
*/
|
|
23553
|
+
readonly MeshSize: Vector3;
|
|
23550
23554
|
}
|
|
23551
23555
|
|
|
23552
23556
|
/** MeshParts are a form of [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) that includes a physically simulated custom mesh. Unlike with other mesh classes, such as [SpecialMesh](https://developer.roblox.com/en-us/api-reference/class/SpecialMesh) and [BlockMesh](https://developer.roblox.com/en-us/api-reference/class/BlockMesh), they are not parented to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) but rather behave as a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) in their own right.
|
|
@@ -23610,10 +23614,6 @@ interface MeshPart extends TriangleMeshPart {
|
|
|
23610
23614
|
* Note that this property currently cannot be changed by scripts as the collision model of the mesh cannot be recomputed during runtime. Developers should not rely on this behavior as it may change in the future. Those looking for a custom mesh object that can be updated during runtime should use [SpecialMesh](https://developer.roblox.com/en-us/api-reference/class/SpecialMesh).
|
|
23611
23615
|
*/
|
|
23612
23616
|
readonly MeshId: string;
|
|
23613
|
-
/**
|
|
23614
|
-
* Tags: ReadOnly, NotReplicated
|
|
23615
|
-
*/
|
|
23616
|
-
readonly MeshSize: Vector3;
|
|
23617
23617
|
/**
|
|
23618
23618
|
* This property determines the level of detail that solid-modeled and mesh parts will be shown in and can be set to the possible values of the [RenderFidelity](https://developer.roblox.com/en-us/api-reference/enum/RenderFidelity) enum.
|
|
23619
23619
|
*
|
|
@@ -26020,12 +26020,6 @@ interface Player extends Instance {
|
|
|
26020
26020
|
* This is useful when determining whether a player's appearance has loaded after they first join the game, which can be tracked using the [Players.PlayerAdded](https://developer.roblox.com/en-us/api-reference/event/Players/PlayerAdded) event.
|
|
26021
26021
|
*/
|
|
26022
26022
|
HasAppearanceLoaded(this: Player): boolean;
|
|
26023
|
-
/**
|
|
26024
|
-
* This function returns true if the user is available for Roblox experiments. The purpose of this function is currently unknown.
|
|
26025
|
-
* Tags: Deprecated
|
|
26026
|
-
* @deprecated
|
|
26027
|
-
*/
|
|
26028
|
-
IsUserAvailableForExperiment(this: Player): boolean;
|
|
26029
26023
|
/**
|
|
26030
26024
|
* The Kick [Player](https://developer.roblox.com/en-us/api-reference/class/Player) method allows a game to gracefully disconnect a client from the game and optionally provide a message to the disconnected player. This is useful for moderating abusive players. When used in conjunction with a [DataStore](https://developer.roblox.com/en-us/api-reference/class/DataStore), it is possible to create ban lists with expiration dates. Only allow specific whitelisted users whom you trust to trigger this method on other players.
|
|
26031
26025
|
*
|
|
@@ -1818,9 +1818,9 @@ declare namespace Enum {
|
|
|
1818
1818
|
|
|
1819
1819
|
export const X: X;
|
|
1820
1820
|
/** @deprecated renamed to X */
|
|
1821
|
-
export const Right: X;
|
|
1822
|
-
/** @deprecated renamed to X */
|
|
1823
1821
|
export const Left: X;
|
|
1822
|
+
/** @deprecated renamed to X */
|
|
1823
|
+
export const Right: X;
|
|
1824
1824
|
|
|
1825
1825
|
export interface Y extends EnumItem {
|
|
1826
1826
|
Name: "Y";
|
|
@@ -1830,9 +1830,9 @@ declare namespace Enum {
|
|
|
1830
1830
|
|
|
1831
1831
|
export const Y: Y;
|
|
1832
1832
|
/** @deprecated renamed to Y */
|
|
1833
|
-
export const Bottom: Y;
|
|
1834
|
-
/** @deprecated renamed to Y */
|
|
1835
1833
|
export const Top: Y;
|
|
1834
|
+
/** @deprecated renamed to Y */
|
|
1835
|
+
export const Bottom: Y;
|
|
1836
1836
|
|
|
1837
1837
|
export interface Z extends EnumItem {
|
|
1838
1838
|
Name: "Z";
|
|
@@ -1842,9 +1842,9 @@ declare namespace Enum {
|
|
|
1842
1842
|
|
|
1843
1843
|
export const Z: Z;
|
|
1844
1844
|
/** @deprecated renamed to Z */
|
|
1845
|
-
export const Front: Z;
|
|
1846
|
-
/** @deprecated renamed to Z */
|
|
1847
1845
|
export const Back: Z;
|
|
1846
|
+
/** @deprecated renamed to Z */
|
|
1847
|
+
export const Front: Z;
|
|
1848
1848
|
|
|
1849
1849
|
export function GetEnumItems(this: Enum): Array<Axis>
|
|
1850
1850
|
}
|
|
@@ -1858,11 +1858,11 @@ declare namespace Enum {
|
|
|
1858
1858
|
|
|
1859
1859
|
export const Script: Script;
|
|
1860
1860
|
/** @deprecated renamed to Script */
|
|
1861
|
-
export const Slingshot: Script;
|
|
1862
|
-
/** @deprecated renamed to Script */
|
|
1863
1861
|
export const Rocket: Script;
|
|
1864
1862
|
/** @deprecated renamed to Script */
|
|
1865
1863
|
export const Laser: Script;
|
|
1864
|
+
/** @deprecated renamed to Script */
|
|
1865
|
+
export const Slingshot: Script;
|
|
1866
1866
|
|
|
1867
1867
|
export interface GameTool extends EnumItem {
|
|
1868
1868
|
Name: "GameTool";
|
|
@@ -6988,27 +6988,27 @@ declare namespace Enum {
|
|
|
6988
6988
|
|
|
6989
6989
|
export const NoInput: NoInput;
|
|
6990
6990
|
/** @deprecated renamed to NoInput */
|
|
6991
|
+
export const Action1: NoInput;
|
|
6992
|
+
/** @deprecated renamed to NoInput */
|
|
6991
6993
|
export const Action4: NoInput;
|
|
6992
6994
|
/** @deprecated renamed to NoInput */
|
|
6993
6995
|
export const Action5: NoInput;
|
|
6994
6996
|
/** @deprecated renamed to NoInput */
|
|
6995
|
-
export const
|
|
6997
|
+
export const LeftTread: NoInput;
|
|
6996
6998
|
/** @deprecated renamed to NoInput */
|
|
6997
|
-
export const
|
|
6999
|
+
export const Steer: NoInput;
|
|
6998
7000
|
/** @deprecated renamed to NoInput */
|
|
6999
|
-
export const
|
|
7001
|
+
export const RightTread: NoInput;
|
|
7000
7002
|
/** @deprecated renamed to NoInput */
|
|
7001
|
-
export const
|
|
7003
|
+
export const Action3: NoInput;
|
|
7002
7004
|
/** @deprecated renamed to NoInput */
|
|
7003
|
-
export const
|
|
7005
|
+
export const Throtle: NoInput;
|
|
7004
7006
|
/** @deprecated renamed to NoInput */
|
|
7005
|
-
export const
|
|
7007
|
+
export const Throttle: NoInput;
|
|
7006
7008
|
/** @deprecated renamed to NoInput */
|
|
7007
7009
|
export const UpDown: NoInput;
|
|
7008
7010
|
/** @deprecated renamed to NoInput */
|
|
7009
|
-
export const
|
|
7010
|
-
/** @deprecated renamed to NoInput */
|
|
7011
|
-
export const Action3: NoInput;
|
|
7011
|
+
export const Action2: NoInput;
|
|
7012
7012
|
|
|
7013
7013
|
export interface Constant extends EnumItem {
|
|
7014
7014
|
Name: "Constant";
|
|
@@ -15931,6 +15931,34 @@ declare namespace Enum {
|
|
|
15931
15931
|
export function GetEnumItems(this: Enum): Array<UiMessageType>
|
|
15932
15932
|
}
|
|
15933
15933
|
export type UiMessageType = UiMessageType.UiMessageError | UiMessageType.UiMessageInfo;
|
|
15934
|
+
export namespace UnionsScaleNonuniformly {
|
|
15935
|
+
export interface Default extends EnumItem {
|
|
15936
|
+
Name: "Default";
|
|
15937
|
+
Value: 0;
|
|
15938
|
+
EnumType: typeof UnionsScaleNonuniformly;
|
|
15939
|
+
}
|
|
15940
|
+
|
|
15941
|
+
export const Default: Default;
|
|
15942
|
+
|
|
15943
|
+
export interface Disabled extends EnumItem {
|
|
15944
|
+
Name: "Disabled";
|
|
15945
|
+
Value: 1;
|
|
15946
|
+
EnumType: typeof UnionsScaleNonuniformly;
|
|
15947
|
+
}
|
|
15948
|
+
|
|
15949
|
+
export const Disabled: Disabled;
|
|
15950
|
+
|
|
15951
|
+
export interface Enabled extends EnumItem {
|
|
15952
|
+
Name: "Enabled";
|
|
15953
|
+
Value: 2;
|
|
15954
|
+
EnumType: typeof UnionsScaleNonuniformly;
|
|
15955
|
+
}
|
|
15956
|
+
|
|
15957
|
+
export const Enabled: Enabled;
|
|
15958
|
+
|
|
15959
|
+
export function GetEnumItems(this: Enum): Array<UnionsScaleNonuniformly>
|
|
15960
|
+
}
|
|
15961
|
+
export type UnionsScaleNonuniformly = UnionsScaleNonuniformly.Default | UnionsScaleNonuniformly.Disabled | UnionsScaleNonuniformly.Enabled;
|
|
15934
15962
|
export namespace UsageContext {
|
|
15935
15963
|
export interface Default extends EnumItem {
|
|
15936
15964
|
Name: "Default";
|