@rbxts/types 1.0.650 → 1.0.651
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 +21 -14
- package/include/generated/enums.d.ts +40 -3
- package/package.json +1 -1
|
@@ -171,7 +171,6 @@ interface CreatableInstances {
|
|
|
171
171
|
Camera: Camera;
|
|
172
172
|
CanvasGroup: CanvasGroup;
|
|
173
173
|
CFrameValue: CFrameValue;
|
|
174
|
-
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
175
174
|
CharacterMesh: CharacterMesh;
|
|
176
175
|
ChorusSoundEffect: ChorusSoundEffect;
|
|
177
176
|
ClickDetector: ClickDetector;
|
|
@@ -297,7 +296,6 @@ interface CreatableInstances {
|
|
|
297
296
|
SoundGroup: SoundGroup;
|
|
298
297
|
Sparkles: Sparkles;
|
|
299
298
|
SpawnLocation: SpawnLocation;
|
|
300
|
-
Speaker: Speaker;
|
|
301
299
|
SpecialMesh: SpecialMesh;
|
|
302
300
|
SphereHandleAdornment: SphereHandleAdornment;
|
|
303
301
|
SpotLight: SpotLight;
|
|
@@ -350,7 +348,6 @@ interface CreatableInstances {
|
|
|
350
348
|
VelocityMotor: VelocityMotor;
|
|
351
349
|
VideoFrame: VideoFrame;
|
|
352
350
|
ViewportFrame: ViewportFrame;
|
|
353
|
-
VoiceChannel: VoiceChannel;
|
|
354
351
|
WedgePart: WedgePart;
|
|
355
352
|
Weld: Weld;
|
|
356
353
|
WeldConstraint: WeldConstraint;
|
|
@@ -421,6 +418,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
421
418
|
BaseWrap: BaseWrap;
|
|
422
419
|
BubbleChatConfiguration: BubbleChatConfiguration;
|
|
423
420
|
CatalogPages: CatalogPages;
|
|
421
|
+
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
424
422
|
ChatInputBarConfiguration: ChatInputBarConfiguration;
|
|
425
423
|
ChatWindowConfiguration: ChatWindowConfiguration;
|
|
426
424
|
CloudLocalizationTable: CloudLocalizationTable;
|
|
@@ -484,6 +482,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
484
482
|
ScreenshotHud: ScreenshotHud;
|
|
485
483
|
ScriptBuilder: ScriptBuilder;
|
|
486
484
|
ScriptDocument: ScriptDocument;
|
|
485
|
+
Speaker: Speaker;
|
|
487
486
|
StackFrame: StackFrame;
|
|
488
487
|
StandardPages: StandardPages;
|
|
489
488
|
StarterCharacterScripts: StarterCharacterScripts;
|
|
@@ -14446,6 +14445,7 @@ interface HttpService extends Instance {
|
|
|
14446
14445
|
* 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.
|
|
14447
14446
|
*
|
|
14448
14447
|
* 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,6 +16603,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
|
|
|
16603
16603
|
* @deprecated
|
|
16604
16604
|
*/
|
|
16605
16605
|
readonly _nominal_ImporterRootSettings: unique symbol;
|
|
16606
|
+
AddModelToInventory: boolean;
|
|
16606
16607
|
Anchored: boolean;
|
|
16607
16608
|
/**
|
|
16608
16609
|
* Tags: ReadOnly, NotReplicated
|
|
@@ -16633,6 +16634,7 @@ interface IncrementalPatchBuilder extends Instance {
|
|
|
16633
16634
|
* @deprecated
|
|
16634
16635
|
*/
|
|
16635
16636
|
readonly _nominal_IncrementalPatchBuilder: unique symbol;
|
|
16637
|
+
AddPathsToBundle: boolean;
|
|
16636
16638
|
HighCompression: boolean;
|
|
16637
16639
|
ZstdCompression: boolean;
|
|
16638
16640
|
}
|
|
@@ -24290,6 +24292,7 @@ interface Model extends PVInstance {
|
|
|
24290
24292
|
* Tags: NotReplicated
|
|
24291
24293
|
*/
|
|
24292
24294
|
WorldPivot: CFrame;
|
|
24295
|
+
AddPersistentPlayer(this: Model, playerInstance?: Player): void;
|
|
24293
24296
|
/**
|
|
24294
24297
|
* 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.
|
|
24295
24298
|
*
|
|
@@ -24384,6 +24387,7 @@ interface Model extends PVInstance {
|
|
|
24384
24387
|
* 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.
|
|
24385
24388
|
*/
|
|
24386
24389
|
MoveTo(this: Model, position: Vector3): void;
|
|
24390
|
+
RemovePersistentPlayer(this: Model, playerInstance?: Player): void;
|
|
24387
24391
|
/**
|
|
24388
24392
|
* 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.
|
|
24389
24393
|
* Tags: Deprecated
|
|
@@ -25887,6 +25891,8 @@ interface PhysicsService extends Instance {
|
|
|
25887
25891
|
*
|
|
25888
25892
|
* * The specified group does not exist.
|
|
25889
25893
|
* * The specified part is not a BasePart.
|
|
25894
|
+
* Tags: Deprecated
|
|
25895
|
+
* @deprecated
|
|
25890
25896
|
*/
|
|
25891
25897
|
CollisionGroupContainsPart(this: PhysicsService, name: string, part: BasePart): boolean;
|
|
25892
25898
|
/**
|
|
@@ -25903,18 +25909,24 @@ interface PhysicsService extends Instance {
|
|
|
25903
25909
|
CollisionGroupsAreCollidable(this: PhysicsService, name1: string, name2: string): boolean;
|
|
25904
25910
|
/**
|
|
25905
25911
|
* Creates a new collision group with the given name, and returns the id of the created group.
|
|
25912
|
+
* Tags: Deprecated
|
|
25913
|
+
* @deprecated
|
|
25906
25914
|
*/
|
|
25907
25915
|
CreateCollisionGroup(this: PhysicsService, name: string): number;
|
|
25908
25916
|
/**
|
|
25909
25917
|
* The GetCollisionGroupId function returns the id of the collision group with the specified name.
|
|
25910
25918
|
*
|
|
25911
25919
|
* This function will throw an error if no group with the given name exists.
|
|
25920
|
+
* Tags: Deprecated
|
|
25921
|
+
* @deprecated
|
|
25912
25922
|
*/
|
|
25913
25923
|
GetCollisionGroupId(this: PhysicsService, name: string): number;
|
|
25914
25924
|
/**
|
|
25915
25925
|
* 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.
|
|
25916
25926
|
*
|
|
25917
25927
|
* This function will throw an error if the id is not in the range of 0 <= id < maxCollisionGroups
|
|
25928
|
+
* Tags: Deprecated
|
|
25929
|
+
* @deprecated
|
|
25918
25930
|
*/
|
|
25919
25931
|
GetCollisionGroupName(this: PhysicsService, name: number): string;
|
|
25920
25932
|
/**
|
|
@@ -25943,6 +25955,8 @@ interface PhysicsService extends Instance {
|
|
|
25943
25955
|
* string
|
|
25944
25956
|
*
|
|
25945
25957
|
* The name of the group
|
|
25958
|
+
* Tags: Deprecated
|
|
25959
|
+
* @deprecated
|
|
25946
25960
|
*/
|
|
25947
25961
|
GetCollisionGroups(this: PhysicsService): Array<CollisionGroupInfo>;
|
|
25948
25962
|
/**
|
|
@@ -25961,6 +25975,8 @@ interface PhysicsService extends Instance {
|
|
|
25961
25975
|
*
|
|
25962
25976
|
* * The name “Default” is provided.
|
|
25963
25977
|
* * The function is called from a client.
|
|
25978
|
+
* Tags: Deprecated
|
|
25979
|
+
* @deprecated
|
|
25964
25980
|
*/
|
|
25965
25981
|
RemoveCollisionGroup(this: PhysicsService, name: string): void;
|
|
25966
25982
|
/**
|
|
@@ -25985,6 +26001,8 @@ interface PhysicsService extends Instance {
|
|
|
25985
26001
|
*
|
|
25986
26002
|
* * The part parameter is not a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) instance.
|
|
25987
26003
|
* * The specified group does not exist.
|
|
26004
|
+
* Tags: Deprecated
|
|
26005
|
+
* @deprecated
|
|
25988
26006
|
*/
|
|
25989
26007
|
SetPartCollisionGroup(this: PhysicsService, part: BasePart, name: string): void;
|
|
25990
26008
|
UnregisterCollisionGroup(this: PhysicsService, name: string): void;
|
|
@@ -35960,17 +35978,6 @@ interface VisibilityService extends Instance {
|
|
|
35960
35978
|
readonly _nominal_VisibilityService: unique symbol;
|
|
35961
35979
|
}
|
|
35962
35980
|
|
|
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
|
-
|
|
35974
35981
|
interface VoiceChatInternal extends Instance {
|
|
35975
35982
|
/**
|
|
35976
35983
|
* **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: 9;
|
|
6753
6753
|
EnumType: typeof globalThis.Enum.GraphicsMode;
|
|
6754
6754
|
}
|
|
6755
6755
|
|
|
@@ -10915,9 +10915,17 @@ 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
|
+
|
|
10918
10926
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ModelStreamingMode>;
|
|
10919
10927
|
}
|
|
10920
|
-
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent;
|
|
10928
|
+
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent | ModelStreamingMode.PersistentPerPlayer;
|
|
10921
10929
|
|
|
10922
10930
|
export namespace ModifierKey {
|
|
10923
10931
|
export interface Alt extends globalThis.EnumItem {
|
|
@@ -11948,7 +11956,7 @@ declare namespace Enum {
|
|
|
11948
11956
|
|
|
11949
11957
|
export interface None extends globalThis.EnumItem {
|
|
11950
11958
|
Name: "None";
|
|
11951
|
-
Value:
|
|
11959
|
+
Value: 20;
|
|
11952
11960
|
EnumType: typeof globalThis.Enum.Platform;
|
|
11953
11961
|
}
|
|
11954
11962
|
|
|
@@ -12610,6 +12618,35 @@ declare namespace Enum {
|
|
|
12610
12618
|
}
|
|
12611
12619
|
export type RaycastFilterType = RaycastFilterType.Blacklist | RaycastFilterType.Whitelist;
|
|
12612
12620
|
|
|
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
|
+
|
|
12613
12650
|
export namespace RenderFidelity {
|
|
12614
12651
|
export interface Automatic extends globalThis.EnumItem {
|
|
12615
12652
|
Name: "Automatic";
|