@rbxts/types 1.0.629 → 1.0.632
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.
|
@@ -445,6 +445,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
445
445
|
OutfitPages: OutfitPages;
|
|
446
446
|
PackageLink: PackageLink;
|
|
447
447
|
ParabolaAdornment: ParabolaAdornment;
|
|
448
|
+
PatchMapping: PatchMapping;
|
|
448
449
|
Path: Path;
|
|
449
450
|
PausedState: PausedState;
|
|
450
451
|
PausedStateBreakpoint: PausedStateBreakpoint;
|
|
@@ -456,6 +457,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
456
457
|
PlayerScripts: PlayerScripts;
|
|
457
458
|
PluginManagerInterface: PluginManagerInterface;
|
|
458
459
|
PoseBase: PoseBase;
|
|
460
|
+
RomarkSoundEffect: RomarkSoundEffect;
|
|
459
461
|
ScreenshotHud: ScreenshotHud;
|
|
460
462
|
ScriptDocument: ScriptDocument;
|
|
461
463
|
StackFrame: StackFrame;
|
|
@@ -13838,6 +13840,7 @@ interface GuiService extends Instance {
|
|
|
13838
13840
|
AutoSelectGuiEnabled: boolean;
|
|
13839
13841
|
/**
|
|
13840
13842
|
* Toggles whether or not objects in the [CoreGui](https://developer.roblox.com/en-us/api-reference/class/CoreGui) can be navigated using a Gamepad.
|
|
13843
|
+
* Tags: Hidden, NotReplicated
|
|
13841
13844
|
*/
|
|
13842
13845
|
CoreGuiNavigationEnabled: boolean;
|
|
13843
13846
|
/**
|
|
@@ -16225,23 +16228,38 @@ interface ImporterMeshSettings extends ImporterBaseSettings {
|
|
|
16225
16228
|
* Tags: ReadOnly, NotReplicated
|
|
16226
16229
|
*/
|
|
16227
16230
|
readonly CageManifold: boolean;
|
|
16228
|
-
|
|
16231
|
+
CageMeshIntersectedPreview: boolean;
|
|
16232
|
+
/**
|
|
16233
|
+
* Tags: ReadOnly, NotReplicated
|
|
16234
|
+
*/
|
|
16235
|
+
readonly CageMeshNotIntersected: boolean;
|
|
16229
16236
|
/**
|
|
16230
16237
|
* Tags: ReadOnly, NotReplicated
|
|
16231
16238
|
*/
|
|
16232
16239
|
readonly CageNoOverlappingVertices: boolean;
|
|
16233
|
-
|
|
16240
|
+
CageNonManifoldPreview: boolean;
|
|
16241
|
+
CageOverlappingVerticesPreview: boolean;
|
|
16234
16242
|
/**
|
|
16235
16243
|
* Tags: ReadOnly, NotReplicated
|
|
16236
16244
|
*/
|
|
16237
16245
|
readonly CageUVMatched: boolean;
|
|
16238
|
-
|
|
16246
|
+
CageUVMisMatchedPreview: boolean;
|
|
16239
16247
|
/**
|
|
16240
16248
|
* Tags: ReadOnly, NotReplicated
|
|
16241
16249
|
*/
|
|
16242
16250
|
readonly Dimensions: Vector3;
|
|
16243
16251
|
DoubleSided: boolean;
|
|
16244
16252
|
IgnoreVertexColors: boolean;
|
|
16253
|
+
IrrelevantCageModifiedPreview: boolean;
|
|
16254
|
+
MeshHoleDetectedPreview: boolean;
|
|
16255
|
+
/**
|
|
16256
|
+
* Tags: ReadOnly, NotReplicated
|
|
16257
|
+
*/
|
|
16258
|
+
readonly MeshNoHoleDetected: boolean;
|
|
16259
|
+
/**
|
|
16260
|
+
* Tags: ReadOnly, NotReplicated
|
|
16261
|
+
*/
|
|
16262
|
+
readonly NoIrrelevantCageModified: boolean;
|
|
16245
16263
|
/**
|
|
16246
16264
|
* Tags: ReadOnly, NotReplicated
|
|
16247
16265
|
*/
|
|
@@ -22277,6 +22295,7 @@ interface BasePart extends PVInstance {
|
|
|
22277
22295
|
* The CollisionGroupId property describes the ID number of the part's collision group. Parts start off in the Default group whose ID is 0. Although this property can be directly changed, it is recommended to instead manipulate the collision group of a part using the **name** of the group with the [PhysicsService:SetPartCollisionGroup](https://developer.roblox.com/en-us/api-reference/function/PhysicsService/SetPartCollisionGroup) function. You can find the ID of a collision group by using [PhysicsService:GetCollisionGroupId](https://developer.roblox.com/en-us/api-reference/function/PhysicsService/GetCollisionGroupId).
|
|
22278
22296
|
*
|
|
22279
22297
|
* This value cannot be negative, and cannot exceed [PhysicsService:GetMaxCollisionGroups](https://developer.roblox.com/en-us/api-reference/function/PhysicsService/GetMaxCollisionGroups). Invalid IDs are clamped.
|
|
22298
|
+
* Tags: NotReplicated
|
|
22280
22299
|
*/
|
|
22281
22300
|
CollisionGroupId: number;
|
|
22282
22301
|
/**
|
|
@@ -25175,6 +25194,20 @@ interface ParticleEmitter extends Instance {
|
|
|
25175
25194
|
Emit(this: ParticleEmitter, particleCount?: number): void;
|
|
25176
25195
|
}
|
|
25177
25196
|
|
|
25197
|
+
interface PatchMapping extends Instance {
|
|
25198
|
+
/**
|
|
25199
|
+
* **DO NOT USE!**
|
|
25200
|
+
*
|
|
25201
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
25202
|
+
* @hidden
|
|
25203
|
+
* @deprecated
|
|
25204
|
+
*/
|
|
25205
|
+
readonly _nominal_PatchMapping: unique symbol;
|
|
25206
|
+
FlattenTree: boolean;
|
|
25207
|
+
PatchId: string;
|
|
25208
|
+
TargetPath: string;
|
|
25209
|
+
}
|
|
25210
|
+
|
|
25178
25211
|
/** **Path** objects store the result of paths created by [PathfindingService:CreatePath()](https://developer.roblox.com/en-us/api-reference/function/PathfindingService/CreatePath).
|
|
25179
25212
|
*
|
|
25180
25213
|
* Once a path object is created, you can call [Path:ComputeAsync()](https://developer.roblox.com/en-us/api-reference/function/Path/ComputeAsync) with a starting point and ending point. This will attempt to compute a valid path for a character to move along, based on default or custom parameters passed to [CreatePath()](https://developer.roblox.com/en-us/api-reference/function/PathfindingService/CreatePath). If [ComputeAsync()](https://developer.roblox.com/en-us/api-reference/function/Path/ComputeAsync) successfully finds a path, the [Path](https://developer.roblox.com/en-us/api-reference/class/Path) object will have a [Path.Status](https://developer.roblox.com/en-us/api-reference/property/Path/Status) value of `Enum.PathStatus.Success`. Otherwise the status will be `Enum.PathStatus.NoPath` which can occur if there are obstacles between the two points (and no way around) or if the points are inside of solid objects.
|
|
@@ -29623,6 +29656,17 @@ interface ReverbSoundEffect extends SoundEffect {
|
|
|
29623
29656
|
WetLevel: number;
|
|
29624
29657
|
}
|
|
29625
29658
|
|
|
29659
|
+
interface RomarkSoundEffect extends SoundEffect {
|
|
29660
|
+
/**
|
|
29661
|
+
* **DO NOT USE!**
|
|
29662
|
+
*
|
|
29663
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29664
|
+
* @hidden
|
|
29665
|
+
* @deprecated
|
|
29666
|
+
*/
|
|
29667
|
+
readonly _nominal_RomarkSoundEffect: unique symbol;
|
|
29668
|
+
}
|
|
29669
|
+
|
|
29626
29670
|
/** The TremoloSoundEffect creates a trembling effect on a sound by varying the volume of the sound up and down.
|
|
29627
29671
|
*
|
|
29628
29672
|
* Like all other [SoundEffect](https://developer.roblox.com/en-us/api-reference/class/SoundEffect)s, a TremoloSoundEffect can be applied either to a [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) or [SoundGroup](https://developer.roblox.com/en-us/api-reference/class/SoundGroup) by being parented to either.
|
|
@@ -35513,6 +35557,11 @@ interface VoiceChatInternal extends Instance {
|
|
|
35513
35557
|
* Tags: Yields
|
|
35514
35558
|
*/
|
|
35515
35559
|
IsVoiceEnabledForUserIdAsync(this: VoiceChatInternal, userId: number): boolean;
|
|
35560
|
+
/**
|
|
35561
|
+
* Tags: Deprecated
|
|
35562
|
+
* @deprecated
|
|
35563
|
+
*/
|
|
35564
|
+
readonly StateChanged: RBXScriptSignal<(oldValue: Enum.VoiceChatState, newValue: Enum.VoiceChatState) => void>;
|
|
35516
35565
|
}
|
|
35517
35566
|
|
|
35518
35567
|
interface VoiceChatService extends Instance {
|
|
@@ -2691,11 +2691,11 @@ interface ScriptDocument extends Instance {
|
|
|
2691
2691
|
* @deprecated
|
|
2692
2692
|
*/
|
|
2693
2693
|
readonly _nominal_ScriptDocument: unique symbol;
|
|
2694
|
-
GetLine(this: ScriptDocument, lineIndex?: number): string;
|
|
2694
|
+
GetLine(this: ScriptDocument, lineIndex?: number | undefined): string;
|
|
2695
2695
|
GetLineCount(this: ScriptDocument): number;
|
|
2696
2696
|
GetScript(this: ScriptDocument): LuaSourceContainer;
|
|
2697
2697
|
GetSelection(this: ScriptDocument): unknown;
|
|
2698
|
-
GetText(this: ScriptDocument, startLine?: number, startCharacter?: number, endLine?: number, endCharacter?: number): string;
|
|
2698
|
+
GetText(this: ScriptDocument, startLine?: number | undefined, startCharacter?: number | undefined, endLine?: number | undefined, endCharacter?: number | undefined): string;
|
|
2699
2699
|
IsCommandBar(this: ScriptDocument): boolean;
|
|
2700
2700
|
/**
|
|
2701
2701
|
* Tags: Yields
|
|
@@ -1830,9 +1830,9 @@ declare namespace Enum {
|
|
|
1830
1830
|
|
|
1831
1831
|
export const Y: Y;
|
|
1832
1832
|
/** @deprecated renamed to Y */
|
|
1833
|
-
export const Top: Y;
|
|
1834
|
-
/** @deprecated renamed to Y */
|
|
1835
1833
|
export const Bottom: Y;
|
|
1834
|
+
/** @deprecated renamed to Y */
|
|
1835
|
+
export const Top: Y;
|
|
1836
1836
|
|
|
1837
1837
|
export interface Z extends EnumItem {
|
|
1838
1838
|
Name: "Z";
|
|
@@ -1858,10 +1858,10 @@ declare namespace Enum {
|
|
|
1858
1858
|
|
|
1859
1859
|
export const Script: Script;
|
|
1860
1860
|
/** @deprecated renamed to Script */
|
|
1861
|
-
export const Rocket: Script;
|
|
1862
|
-
/** @deprecated renamed to Script */
|
|
1863
1861
|
export const Laser: Script;
|
|
1864
1862
|
/** @deprecated renamed to Script */
|
|
1863
|
+
export const Rocket: Script;
|
|
1864
|
+
/** @deprecated renamed to Script */
|
|
1865
1865
|
export const Slingshot: Script;
|
|
1866
1866
|
|
|
1867
1867
|
export interface GameTool extends EnumItem {
|
|
@@ -6990,25 +6990,25 @@ declare namespace Enum {
|
|
|
6990
6990
|
/** @deprecated renamed to NoInput */
|
|
6991
6991
|
export const Action1: NoInput;
|
|
6992
6992
|
/** @deprecated renamed to NoInput */
|
|
6993
|
+
export const Action2: NoInput;
|
|
6994
|
+
/** @deprecated renamed to NoInput */
|
|
6995
|
+
export const Action3: NoInput;
|
|
6996
|
+
/** @deprecated renamed to NoInput */
|
|
6993
6997
|
export const Action4: NoInput;
|
|
6994
6998
|
/** @deprecated renamed to NoInput */
|
|
6995
6999
|
export const Action5: NoInput;
|
|
6996
7000
|
/** @deprecated renamed to NoInput */
|
|
6997
7001
|
export const LeftTread: NoInput;
|
|
6998
7002
|
/** @deprecated renamed to NoInput */
|
|
6999
|
-
export const Steer: NoInput;
|
|
7000
|
-
/** @deprecated renamed to NoInput */
|
|
7001
7003
|
export const RightTread: NoInput;
|
|
7002
7004
|
/** @deprecated renamed to NoInput */
|
|
7003
|
-
export const
|
|
7005
|
+
export const Steer: NoInput;
|
|
7004
7006
|
/** @deprecated renamed to NoInput */
|
|
7005
7007
|
export const Throtle: NoInput;
|
|
7006
7008
|
/** @deprecated renamed to NoInput */
|
|
7007
7009
|
export const Throttle: NoInput;
|
|
7008
7010
|
/** @deprecated renamed to NoInput */
|
|
7009
7011
|
export const UpDown: NoInput;
|
|
7010
|
-
/** @deprecated renamed to NoInput */
|
|
7011
|
-
export const Action2: NoInput;
|
|
7012
7012
|
|
|
7013
7013
|
export interface Constant extends EnumItem {
|
|
7014
7014
|
Name: "Constant";
|
|
@@ -10004,9 +10004,17 @@ declare namespace Enum {
|
|
|
10004
10004
|
|
|
10005
10005
|
export const DistanceBased: DistanceBased;
|
|
10006
10006
|
|
|
10007
|
+
export interface Level00 extends EnumItem {
|
|
10008
|
+
Name: "Level00";
|
|
10009
|
+
Value: 1;
|
|
10010
|
+
EnumType: typeof MeshPartDetailLevel;
|
|
10011
|
+
}
|
|
10012
|
+
|
|
10013
|
+
export const Level00: Level00;
|
|
10014
|
+
|
|
10007
10015
|
export interface Level01 extends EnumItem {
|
|
10008
10016
|
Name: "Level01";
|
|
10009
|
-
Value:
|
|
10017
|
+
Value: 2;
|
|
10010
10018
|
EnumType: typeof MeshPartDetailLevel;
|
|
10011
10019
|
}
|
|
10012
10020
|
|
|
@@ -10014,7 +10022,7 @@ declare namespace Enum {
|
|
|
10014
10022
|
|
|
10015
10023
|
export interface Level02 extends EnumItem {
|
|
10016
10024
|
Name: "Level02";
|
|
10017
|
-
Value:
|
|
10025
|
+
Value: 3;
|
|
10018
10026
|
EnumType: typeof MeshPartDetailLevel;
|
|
10019
10027
|
}
|
|
10020
10028
|
|
|
@@ -10022,7 +10030,7 @@ declare namespace Enum {
|
|
|
10022
10030
|
|
|
10023
10031
|
export interface Level03 extends EnumItem {
|
|
10024
10032
|
Name: "Level03";
|
|
10025
|
-
Value:
|
|
10033
|
+
Value: 4;
|
|
10026
10034
|
EnumType: typeof MeshPartDetailLevel;
|
|
10027
10035
|
}
|
|
10028
10036
|
|
|
@@ -10030,7 +10038,7 @@ declare namespace Enum {
|
|
|
10030
10038
|
|
|
10031
10039
|
export interface Level04 extends EnumItem {
|
|
10032
10040
|
Name: "Level04";
|
|
10033
|
-
Value:
|
|
10041
|
+
Value: 5;
|
|
10034
10042
|
EnumType: typeof MeshPartDetailLevel;
|
|
10035
10043
|
}
|
|
10036
10044
|
|
|
@@ -10038,7 +10046,7 @@ declare namespace Enum {
|
|
|
10038
10046
|
|
|
10039
10047
|
export function GetEnumItems(this: Enum): Array<MeshPartDetailLevel>
|
|
10040
10048
|
}
|
|
10041
|
-
export type MeshPartDetailLevel = MeshPartDetailLevel.DistanceBased | MeshPartDetailLevel.Level01 | MeshPartDetailLevel.Level02 | MeshPartDetailLevel.Level03 | MeshPartDetailLevel.Level04;
|
|
10049
|
+
export type MeshPartDetailLevel = MeshPartDetailLevel.DistanceBased | MeshPartDetailLevel.Level00 | MeshPartDetailLevel.Level01 | MeshPartDetailLevel.Level02 | MeshPartDetailLevel.Level03 | MeshPartDetailLevel.Level04;
|
|
10042
10050
|
export namespace MeshPartHeadsAndAccessories {
|
|
10043
10051
|
export interface Default extends EnumItem {
|
|
10044
10052
|
Name: "Default";
|
|
@@ -16515,6 +16523,34 @@ declare namespace Enum {
|
|
|
16515
16523
|
export function GetEnumItems(this: Enum): Array<VoiceChatState>
|
|
16516
16524
|
}
|
|
16517
16525
|
export type VoiceChatState = VoiceChatState.Idle | VoiceChatState.Joining | VoiceChatState.JoiningRetry | VoiceChatState.Joined | VoiceChatState.Leaving | VoiceChatState.Ended | VoiceChatState.Failed;
|
|
16526
|
+
export namespace VolumetricAudio {
|
|
16527
|
+
export interface Disabled extends EnumItem {
|
|
16528
|
+
Name: "Disabled";
|
|
16529
|
+
Value: 0;
|
|
16530
|
+
EnumType: typeof VolumetricAudio;
|
|
16531
|
+
}
|
|
16532
|
+
|
|
16533
|
+
export const Disabled: Disabled;
|
|
16534
|
+
|
|
16535
|
+
export interface Automatic extends EnumItem {
|
|
16536
|
+
Name: "Automatic";
|
|
16537
|
+
Value: 1;
|
|
16538
|
+
EnumType: typeof VolumetricAudio;
|
|
16539
|
+
}
|
|
16540
|
+
|
|
16541
|
+
export const Automatic: Automatic;
|
|
16542
|
+
|
|
16543
|
+
export interface Enabled extends EnumItem {
|
|
16544
|
+
Name: "Enabled";
|
|
16545
|
+
Value: 2;
|
|
16546
|
+
EnumType: typeof VolumetricAudio;
|
|
16547
|
+
}
|
|
16548
|
+
|
|
16549
|
+
export const Enabled: Enabled;
|
|
16550
|
+
|
|
16551
|
+
export function GetEnumItems(this: Enum): Array<VolumetricAudio>
|
|
16552
|
+
}
|
|
16553
|
+
export type VolumetricAudio = VolumetricAudio.Disabled | VolumetricAudio.Automatic | VolumetricAudio.Enabled;
|
|
16518
16554
|
export namespace WaterDirection {
|
|
16519
16555
|
export interface NegX extends EnumItem {
|
|
16520
16556
|
Name: "NegX";
|