@rbxts/types 1.0.651 → 1.0.652
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 +14 -21
- package/include/generated/enums.d.ts +3 -40
- package/package.json +1 -1
|
@@ -171,6 +171,7 @@ interface CreatableInstances {
|
|
|
171
171
|
Camera: Camera;
|
|
172
172
|
CanvasGroup: CanvasGroup;
|
|
173
173
|
CFrameValue: CFrameValue;
|
|
174
|
+
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
174
175
|
CharacterMesh: CharacterMesh;
|
|
175
176
|
ChorusSoundEffect: ChorusSoundEffect;
|
|
176
177
|
ClickDetector: ClickDetector;
|
|
@@ -296,6 +297,7 @@ interface CreatableInstances {
|
|
|
296
297
|
SoundGroup: SoundGroup;
|
|
297
298
|
Sparkles: Sparkles;
|
|
298
299
|
SpawnLocation: SpawnLocation;
|
|
300
|
+
Speaker: Speaker;
|
|
299
301
|
SpecialMesh: SpecialMesh;
|
|
300
302
|
SphereHandleAdornment: SphereHandleAdornment;
|
|
301
303
|
SpotLight: SpotLight;
|
|
@@ -348,6 +350,7 @@ interface CreatableInstances {
|
|
|
348
350
|
VelocityMotor: VelocityMotor;
|
|
349
351
|
VideoFrame: VideoFrame;
|
|
350
352
|
ViewportFrame: ViewportFrame;
|
|
353
|
+
VoiceChannel: VoiceChannel;
|
|
351
354
|
WedgePart: WedgePart;
|
|
352
355
|
Weld: Weld;
|
|
353
356
|
WeldConstraint: WeldConstraint;
|
|
@@ -418,7 +421,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
418
421
|
BaseWrap: BaseWrap;
|
|
419
422
|
BubbleChatConfiguration: BubbleChatConfiguration;
|
|
420
423
|
CatalogPages: CatalogPages;
|
|
421
|
-
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
422
424
|
ChatInputBarConfiguration: ChatInputBarConfiguration;
|
|
423
425
|
ChatWindowConfiguration: ChatWindowConfiguration;
|
|
424
426
|
CloudLocalizationTable: CloudLocalizationTable;
|
|
@@ -482,7 +484,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
482
484
|
ScreenshotHud: ScreenshotHud;
|
|
483
485
|
ScriptBuilder: ScriptBuilder;
|
|
484
486
|
ScriptDocument: ScriptDocument;
|
|
485
|
-
Speaker: Speaker;
|
|
486
487
|
StackFrame: StackFrame;
|
|
487
488
|
StandardPages: StandardPages;
|
|
488
489
|
StarterCharacterScripts: StarterCharacterScripts;
|
|
@@ -14445,7 +14446,6 @@ interface HttpService extends Instance {
|
|
|
14445
14446
|
* Many web endpoints use JSON, as it is commonly used on the Internet. Visit [JSON.org](http://www.json.org/) to become more familiar with the format.
|
|
14446
14447
|
*
|
|
14447
14448
|
* This method can be used regardless of whether HTTP Requests are [enabled](https://developer.roblox.com/en-us/api-reference/property/HttpService/HttpEnabled).
|
|
14448
|
-
* Tags: CustomLuaState
|
|
14449
14449
|
*/
|
|
14450
14450
|
JSONDecode(this: HttpService, input: string): unknown;
|
|
14451
14451
|
/**
|
|
@@ -16603,7 +16603,6 @@ interface ImporterRootSettings extends ImporterBaseSettings {
|
|
|
16603
16603
|
* @deprecated
|
|
16604
16604
|
*/
|
|
16605
16605
|
readonly _nominal_ImporterRootSettings: unique symbol;
|
|
16606
|
-
AddModelToInventory: boolean;
|
|
16607
16606
|
Anchored: boolean;
|
|
16608
16607
|
/**
|
|
16609
16608
|
* Tags: ReadOnly, NotReplicated
|
|
@@ -16634,7 +16633,6 @@ interface IncrementalPatchBuilder extends Instance {
|
|
|
16634
16633
|
* @deprecated
|
|
16635
16634
|
*/
|
|
16636
16635
|
readonly _nominal_IncrementalPatchBuilder: unique symbol;
|
|
16637
|
-
AddPathsToBundle: boolean;
|
|
16638
16636
|
HighCompression: boolean;
|
|
16639
16637
|
ZstdCompression: boolean;
|
|
16640
16638
|
}
|
|
@@ -24292,7 +24290,6 @@ interface Model extends PVInstance {
|
|
|
24292
24290
|
* Tags: NotReplicated
|
|
24293
24291
|
*/
|
|
24294
24292
|
WorldPivot: CFrame;
|
|
24295
|
-
AddPersistentPlayer(this: Model, playerInstance?: Player): void;
|
|
24296
24293
|
/**
|
|
24297
24294
|
* Breaks connections between `BaseParts`, including surface connections with any adjacent parts, [WeldConstraint](https://developer.roblox.com/en-us/api-reference/class/WeldConstraint)s, and all [Weld](https://developer.roblox.com/en-us/api-reference/class/Weld)s and other [JointInstance](https://developer.roblox.com/en-us/api-reference/class/JointInstance)s.
|
|
24298
24295
|
*
|
|
@@ -24387,7 +24384,6 @@ interface Model extends PVInstance {
|
|
|
24387
24384
|
* Note that rotation is not preserved when moving a model with MoveTo. It is recommended to use either [Model:TranslateBy](https://developer.roblox.com/en-us/api-reference/function/Model/TranslateBy) or [Model:SetPrimaryPartCFrame](https://developer.roblox.com/en-us/api-reference/function/Model/SetPrimaryPartCFrame) if the current rotation of the model needs to be preserved.
|
|
24388
24385
|
*/
|
|
24389
24386
|
MoveTo(this: Model, position: Vector3): void;
|
|
24390
|
-
RemovePersistentPlayer(this: Model, playerInstance?: Player): void;
|
|
24391
24387
|
/**
|
|
24392
24388
|
* Resets the rotation of the model's parts to the previously set identity rotation, which is done through the [Model:SetIdentityOrientation](https://developer.roblox.com/en-us/api-reference/function/Model/SetIdentityOrientation) method.
|
|
24393
24389
|
* Tags: Deprecated
|
|
@@ -25891,8 +25887,6 @@ interface PhysicsService extends Instance {
|
|
|
25891
25887
|
*
|
|
25892
25888
|
* * The specified group does not exist.
|
|
25893
25889
|
* * The specified part is not a BasePart.
|
|
25894
|
-
* Tags: Deprecated
|
|
25895
|
-
* @deprecated
|
|
25896
25890
|
*/
|
|
25897
25891
|
CollisionGroupContainsPart(this: PhysicsService, name: string, part: BasePart): boolean;
|
|
25898
25892
|
/**
|
|
@@ -25909,24 +25903,18 @@ interface PhysicsService extends Instance {
|
|
|
25909
25903
|
CollisionGroupsAreCollidable(this: PhysicsService, name1: string, name2: string): boolean;
|
|
25910
25904
|
/**
|
|
25911
25905
|
* Creates a new collision group with the given name, and returns the id of the created group.
|
|
25912
|
-
* Tags: Deprecated
|
|
25913
|
-
* @deprecated
|
|
25914
25906
|
*/
|
|
25915
25907
|
CreateCollisionGroup(this: PhysicsService, name: string): number;
|
|
25916
25908
|
/**
|
|
25917
25909
|
* The GetCollisionGroupId function returns the id of the collision group with the specified name.
|
|
25918
25910
|
*
|
|
25919
25911
|
* This function will throw an error if no group with the given name exists.
|
|
25920
|
-
* Tags: Deprecated
|
|
25921
|
-
* @deprecated
|
|
25922
25912
|
*/
|
|
25923
25913
|
GetCollisionGroupId(this: PhysicsService, name: string): number;
|
|
25924
25914
|
/**
|
|
25925
25915
|
* Returns the name of the collision group with the corresponding id. This function will return nil if the group with the corresponding id has not been named.
|
|
25926
25916
|
*
|
|
25927
25917
|
* This function will throw an error if the id is not in the range of 0 <= id < maxCollisionGroups
|
|
25928
|
-
* Tags: Deprecated
|
|
25929
|
-
* @deprecated
|
|
25930
25918
|
*/
|
|
25931
25919
|
GetCollisionGroupName(this: PhysicsService, name: number): string;
|
|
25932
25920
|
/**
|
|
@@ -25955,8 +25943,6 @@ interface PhysicsService extends Instance {
|
|
|
25955
25943
|
* string
|
|
25956
25944
|
*
|
|
25957
25945
|
* The name of the group
|
|
25958
|
-
* Tags: Deprecated
|
|
25959
|
-
* @deprecated
|
|
25960
25946
|
*/
|
|
25961
25947
|
GetCollisionGroups(this: PhysicsService): Array<CollisionGroupInfo>;
|
|
25962
25948
|
/**
|
|
@@ -25975,8 +25961,6 @@ interface PhysicsService extends Instance {
|
|
|
25975
25961
|
*
|
|
25976
25962
|
* * The name “Default” is provided.
|
|
25977
25963
|
* * The function is called from a client.
|
|
25978
|
-
* Tags: Deprecated
|
|
25979
|
-
* @deprecated
|
|
25980
25964
|
*/
|
|
25981
25965
|
RemoveCollisionGroup(this: PhysicsService, name: string): void;
|
|
25982
25966
|
/**
|
|
@@ -26001,8 +25985,6 @@ interface PhysicsService extends Instance {
|
|
|
26001
25985
|
*
|
|
26002
25986
|
* * The part parameter is not a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) instance.
|
|
26003
25987
|
* * The specified group does not exist.
|
|
26004
|
-
* Tags: Deprecated
|
|
26005
|
-
* @deprecated
|
|
26006
25988
|
*/
|
|
26007
25989
|
SetPartCollisionGroup(this: PhysicsService, part: BasePart, name: string): void;
|
|
26008
25990
|
UnregisterCollisionGroup(this: PhysicsService, name: string): void;
|
|
@@ -35978,6 +35960,17 @@ interface VisibilityService extends Instance {
|
|
|
35978
35960
|
readonly _nominal_VisibilityService: unique symbol;
|
|
35979
35961
|
}
|
|
35980
35962
|
|
|
35963
|
+
interface VoiceChannel extends Instance {
|
|
35964
|
+
/**
|
|
35965
|
+
* **DO NOT USE!**
|
|
35966
|
+
*
|
|
35967
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
35968
|
+
* @hidden
|
|
35969
|
+
* @deprecated
|
|
35970
|
+
*/
|
|
35971
|
+
readonly _nominal_VoiceChannel: unique symbol;
|
|
35972
|
+
}
|
|
35973
|
+
|
|
35981
35974
|
interface VoiceChatInternal extends Instance {
|
|
35982
35975
|
/**
|
|
35983
35976
|
* **DO NOT USE!**
|
|
@@ -6749,7 +6749,7 @@ declare namespace Enum {
|
|
|
6749
6749
|
|
|
6750
6750
|
export interface NoGraphics extends globalThis.EnumItem {
|
|
6751
6751
|
Name: "NoGraphics";
|
|
6752
|
-
Value:
|
|
6752
|
+
Value: 7;
|
|
6753
6753
|
EnumType: typeof globalThis.Enum.GraphicsMode;
|
|
6754
6754
|
}
|
|
6755
6755
|
|
|
@@ -10915,17 +10915,9 @@ declare namespace Enum {
|
|
|
10915
10915
|
|
|
10916
10916
|
export const Persistent: Persistent;
|
|
10917
10917
|
|
|
10918
|
-
export interface PersistentPerPlayer extends globalThis.EnumItem {
|
|
10919
|
-
Name: "PersistentPerPlayer";
|
|
10920
|
-
Value: 3;
|
|
10921
|
-
EnumType: typeof globalThis.Enum.ModelStreamingMode;
|
|
10922
|
-
}
|
|
10923
|
-
|
|
10924
|
-
export const PersistentPerPlayer: PersistentPerPlayer;
|
|
10925
|
-
|
|
10926
10918
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ModelStreamingMode>;
|
|
10927
10919
|
}
|
|
10928
|
-
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent
|
|
10920
|
+
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent;
|
|
10929
10921
|
|
|
10930
10922
|
export namespace ModifierKey {
|
|
10931
10923
|
export interface Alt extends globalThis.EnumItem {
|
|
@@ -11956,7 +11948,7 @@ declare namespace Enum {
|
|
|
11956
11948
|
|
|
11957
11949
|
export interface None extends globalThis.EnumItem {
|
|
11958
11950
|
Name: "None";
|
|
11959
|
-
Value:
|
|
11951
|
+
Value: 19;
|
|
11960
11952
|
EnumType: typeof globalThis.Enum.Platform;
|
|
11961
11953
|
}
|
|
11962
11954
|
|
|
@@ -12618,35 +12610,6 @@ declare namespace Enum {
|
|
|
12618
12610
|
}
|
|
12619
12611
|
export type RaycastFilterType = RaycastFilterType.Blacklist | RaycastFilterType.Whitelist;
|
|
12620
12612
|
|
|
12621
|
-
export namespace RejectCharacterDeletions {
|
|
12622
|
-
export interface Default extends globalThis.EnumItem {
|
|
12623
|
-
Name: "Default";
|
|
12624
|
-
Value: 0;
|
|
12625
|
-
EnumType: typeof globalThis.Enum.RejectCharacterDeletions;
|
|
12626
|
-
}
|
|
12627
|
-
|
|
12628
|
-
export const Default: Default;
|
|
12629
|
-
|
|
12630
|
-
export interface Disabled extends globalThis.EnumItem {
|
|
12631
|
-
Name: "Disabled";
|
|
12632
|
-
Value: 1;
|
|
12633
|
-
EnumType: typeof globalThis.Enum.RejectCharacterDeletions;
|
|
12634
|
-
}
|
|
12635
|
-
|
|
12636
|
-
export const Disabled: Disabled;
|
|
12637
|
-
|
|
12638
|
-
export interface Enabled extends globalThis.EnumItem {
|
|
12639
|
-
Name: "Enabled";
|
|
12640
|
-
Value: 2;
|
|
12641
|
-
EnumType: typeof globalThis.Enum.RejectCharacterDeletions;
|
|
12642
|
-
}
|
|
12643
|
-
|
|
12644
|
-
export const Enabled: Enabled;
|
|
12645
|
-
|
|
12646
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.RejectCharacterDeletions>;
|
|
12647
|
-
}
|
|
12648
|
-
export type RejectCharacterDeletions = RejectCharacterDeletions.Default | RejectCharacterDeletions.Disabled | RejectCharacterDeletions.Enabled;
|
|
12649
|
-
|
|
12650
12613
|
export namespace RenderFidelity {
|
|
12651
12614
|
export interface Automatic extends globalThis.EnumItem {
|
|
12652
12615
|
Name: "Automatic";
|