@rbxts/types 1.0.649 → 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 +46 -15
- package/include/generated/enums.d.ts +44 -7
- package/package.json +1 -1
|
@@ -93,6 +93,7 @@ interface Services {
|
|
|
93
93
|
ServerScriptService: ServerScriptService;
|
|
94
94
|
ServerStorage: ServerStorage;
|
|
95
95
|
SessionService: SessionService;
|
|
96
|
+
ShorelineUpgraderService: ShorelineUpgraderService;
|
|
96
97
|
SnippetService: SnippetService;
|
|
97
98
|
SocialService: SocialService;
|
|
98
99
|
SoundService: SoundService;
|
|
@@ -170,7 +171,6 @@ interface CreatableInstances {
|
|
|
170
171
|
Camera: Camera;
|
|
171
172
|
CanvasGroup: CanvasGroup;
|
|
172
173
|
CFrameValue: CFrameValue;
|
|
173
|
-
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
174
174
|
CharacterMesh: CharacterMesh;
|
|
175
175
|
ChorusSoundEffect: ChorusSoundEffect;
|
|
176
176
|
ClickDetector: ClickDetector;
|
|
@@ -296,7 +296,6 @@ interface CreatableInstances {
|
|
|
296
296
|
SoundGroup: SoundGroup;
|
|
297
297
|
Sparkles: Sparkles;
|
|
298
298
|
SpawnLocation: SpawnLocation;
|
|
299
|
-
Speaker: Speaker;
|
|
300
299
|
SpecialMesh: SpecialMesh;
|
|
301
300
|
SphereHandleAdornment: SphereHandleAdornment;
|
|
302
301
|
SpotLight: SpotLight;
|
|
@@ -349,7 +348,6 @@ interface CreatableInstances {
|
|
|
349
348
|
VelocityMotor: VelocityMotor;
|
|
350
349
|
VideoFrame: VideoFrame;
|
|
351
350
|
ViewportFrame: ViewportFrame;
|
|
352
|
-
VoiceChannel: VoiceChannel;
|
|
353
351
|
WedgePart: WedgePart;
|
|
354
352
|
Weld: Weld;
|
|
355
353
|
WeldConstraint: WeldConstraint;
|
|
@@ -420,6 +418,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
420
418
|
BaseWrap: BaseWrap;
|
|
421
419
|
BubbleChatConfiguration: BubbleChatConfiguration;
|
|
422
420
|
CatalogPages: CatalogPages;
|
|
421
|
+
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
423
422
|
ChatInputBarConfiguration: ChatInputBarConfiguration;
|
|
424
423
|
ChatWindowConfiguration: ChatWindowConfiguration;
|
|
425
424
|
CloudLocalizationTable: CloudLocalizationTable;
|
|
@@ -483,6 +482,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
483
482
|
ScreenshotHud: ScreenshotHud;
|
|
484
483
|
ScriptBuilder: ScriptBuilder;
|
|
485
484
|
ScriptDocument: ScriptDocument;
|
|
485
|
+
Speaker: Speaker;
|
|
486
486
|
StackFrame: StackFrame;
|
|
487
487
|
StandardPages: StandardPages;
|
|
488
488
|
StarterCharacterScripts: StarterCharacterScripts;
|
|
@@ -14445,6 +14445,7 @@ interface HttpService extends Instance {
|
|
|
14445
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.
|
|
14446
14446
|
*
|
|
14447
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
|
|
14448
14449
|
*/
|
|
14449
14450
|
JSONDecode(this: HttpService, input: string): unknown;
|
|
14450
14451
|
/**
|
|
@@ -14462,6 +14463,7 @@ interface HttpService extends Instance {
|
|
|
14462
14463
|
* Many web endpoints use JSON, as it is commonly used on the Internet. Visit [JSON.org](http://robloxdev.com/articles/JSON-Storage-Format) to become more familiar with the format.
|
|
14463
14464
|
*
|
|
14464
14465
|
* This method can be used regardless of whether HTTP Requests are [enabled](https://developer.roblox.com/en-us/api-reference/property/HttpService/HttpEnabled).
|
|
14466
|
+
* Tags: CustomLuaState
|
|
14465
14467
|
*/
|
|
14466
14468
|
JSONEncode(this: HttpService, input: unknown): string;
|
|
14467
14469
|
/**
|
|
@@ -16404,16 +16406,18 @@ interface IKControl extends Instance {
|
|
|
16404
16406
|
* @deprecated
|
|
16405
16407
|
*/
|
|
16406
16408
|
readonly _nominal_IKControl: unique symbol;
|
|
16407
|
-
AlignmentOffset: CFrame;
|
|
16408
16409
|
ChainRoot: Instance | undefined;
|
|
16409
16410
|
Enabled: boolean;
|
|
16410
16411
|
EndEffector: Instance | undefined;
|
|
16412
|
+
EndEffectorOffset: CFrame;
|
|
16411
16413
|
Offset: CFrame;
|
|
16412
16414
|
Pole: Instance | undefined;
|
|
16413
16415
|
Priority: number;
|
|
16414
16416
|
Target: Instance | undefined;
|
|
16415
16417
|
Type: Enum.IKControlType;
|
|
16416
16418
|
Weight: number;
|
|
16419
|
+
GetChainCount(this: IKControl): number;
|
|
16420
|
+
GetChainLength(this: IKControl): number;
|
|
16417
16421
|
}
|
|
16418
16422
|
|
|
16419
16423
|
interface ILegacyStudioBridge extends Instance {
|
|
@@ -16599,6 +16603,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
|
|
|
16599
16603
|
* @deprecated
|
|
16600
16604
|
*/
|
|
16601
16605
|
readonly _nominal_ImporterRootSettings: unique symbol;
|
|
16606
|
+
AddModelToInventory: boolean;
|
|
16602
16607
|
Anchored: boolean;
|
|
16603
16608
|
/**
|
|
16604
16609
|
* Tags: ReadOnly, NotReplicated
|
|
@@ -16629,6 +16634,7 @@ interface IncrementalPatchBuilder extends Instance {
|
|
|
16629
16634
|
* @deprecated
|
|
16630
16635
|
*/
|
|
16631
16636
|
readonly _nominal_IncrementalPatchBuilder: unique symbol;
|
|
16637
|
+
AddPathsToBundle: boolean;
|
|
16632
16638
|
HighCompression: boolean;
|
|
16633
16639
|
ZstdCompression: boolean;
|
|
16634
16640
|
}
|
|
@@ -24286,6 +24292,7 @@ interface Model extends PVInstance {
|
|
|
24286
24292
|
* Tags: NotReplicated
|
|
24287
24293
|
*/
|
|
24288
24294
|
WorldPivot: CFrame;
|
|
24295
|
+
AddPersistentPlayer(this: Model, playerInstance?: Player): void;
|
|
24289
24296
|
/**
|
|
24290
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.
|
|
24291
24298
|
*
|
|
@@ -24380,6 +24387,7 @@ interface Model extends PVInstance {
|
|
|
24380
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.
|
|
24381
24388
|
*/
|
|
24382
24389
|
MoveTo(this: Model, position: Vector3): void;
|
|
24390
|
+
RemovePersistentPlayer(this: Model, playerInstance?: Player): void;
|
|
24383
24391
|
/**
|
|
24384
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.
|
|
24385
24393
|
* Tags: Deprecated
|
|
@@ -25883,6 +25891,8 @@ interface PhysicsService extends Instance {
|
|
|
25883
25891
|
*
|
|
25884
25892
|
* * The specified group does not exist.
|
|
25885
25893
|
* * The specified part is not a BasePart.
|
|
25894
|
+
* Tags: Deprecated
|
|
25895
|
+
* @deprecated
|
|
25886
25896
|
*/
|
|
25887
25897
|
CollisionGroupContainsPart(this: PhysicsService, name: string, part: BasePart): boolean;
|
|
25888
25898
|
/**
|
|
@@ -25899,18 +25909,24 @@ interface PhysicsService extends Instance {
|
|
|
25899
25909
|
CollisionGroupsAreCollidable(this: PhysicsService, name1: string, name2: string): boolean;
|
|
25900
25910
|
/**
|
|
25901
25911
|
* Creates a new collision group with the given name, and returns the id of the created group.
|
|
25912
|
+
* Tags: Deprecated
|
|
25913
|
+
* @deprecated
|
|
25902
25914
|
*/
|
|
25903
25915
|
CreateCollisionGroup(this: PhysicsService, name: string): number;
|
|
25904
25916
|
/**
|
|
25905
25917
|
* The GetCollisionGroupId function returns the id of the collision group with the specified name.
|
|
25906
25918
|
*
|
|
25907
25919
|
* This function will throw an error if no group with the given name exists.
|
|
25920
|
+
* Tags: Deprecated
|
|
25921
|
+
* @deprecated
|
|
25908
25922
|
*/
|
|
25909
25923
|
GetCollisionGroupId(this: PhysicsService, name: string): number;
|
|
25910
25924
|
/**
|
|
25911
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.
|
|
25912
25926
|
*
|
|
25913
25927
|
* This function will throw an error if the id is not in the range of 0 <= id < maxCollisionGroups
|
|
25928
|
+
* Tags: Deprecated
|
|
25929
|
+
* @deprecated
|
|
25914
25930
|
*/
|
|
25915
25931
|
GetCollisionGroupName(this: PhysicsService, name: number): string;
|
|
25916
25932
|
/**
|
|
@@ -25939,6 +25955,8 @@ interface PhysicsService extends Instance {
|
|
|
25939
25955
|
* string
|
|
25940
25956
|
*
|
|
25941
25957
|
* The name of the group
|
|
25958
|
+
* Tags: Deprecated
|
|
25959
|
+
* @deprecated
|
|
25942
25960
|
*/
|
|
25943
25961
|
GetCollisionGroups(this: PhysicsService): Array<CollisionGroupInfo>;
|
|
25944
25962
|
/**
|
|
@@ -25957,6 +25975,8 @@ interface PhysicsService extends Instance {
|
|
|
25957
25975
|
*
|
|
25958
25976
|
* * The name “Default” is provided.
|
|
25959
25977
|
* * The function is called from a client.
|
|
25978
|
+
* Tags: Deprecated
|
|
25979
|
+
* @deprecated
|
|
25960
25980
|
*/
|
|
25961
25981
|
RemoveCollisionGroup(this: PhysicsService, name: string): void;
|
|
25962
25982
|
/**
|
|
@@ -25981,6 +26001,8 @@ interface PhysicsService extends Instance {
|
|
|
25981
26001
|
*
|
|
25982
26002
|
* * The part parameter is not a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) instance.
|
|
25983
26003
|
* * The specified group does not exist.
|
|
26004
|
+
* Tags: Deprecated
|
|
26005
|
+
* @deprecated
|
|
25984
26006
|
*/
|
|
25985
26007
|
SetPartCollisionGroup(this: PhysicsService, part: BasePart, name: string): void;
|
|
25986
26008
|
UnregisterCollisionGroup(this: PhysicsService, name: string): void;
|
|
@@ -26242,6 +26264,7 @@ interface Player extends Instance {
|
|
|
26242
26264
|
* * [Workspace.StreamingPauseMode](https://developer.roblox.com/en-us/api-reference/property/Workspace/StreamingPauseMode) which controls the streaming physics pause mode
|
|
26243
26265
|
*/
|
|
26244
26266
|
readonly GameplayPaused: boolean;
|
|
26267
|
+
HasVerifiedBadge: boolean;
|
|
26245
26268
|
/**
|
|
26246
26269
|
* The HealthDisplayDistance [Player](https://developer.roblox.com/en-us/api-reference/class/Player) property sets the distance in studs at which this player will see other [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid)'s health bars. If set to 0, the health bars will not be displayed. This property is set to [StarterPlayer.HealthDisplayDistance](https://developer.roblox.com/en-us/api-reference/property/StarterPlayer/HealthDisplayDistance) by default.
|
|
26247
26270
|
*
|
|
@@ -29086,6 +29109,17 @@ interface SessionService extends Instance {
|
|
|
29086
29109
|
readonly _nominal_SessionService: unique symbol;
|
|
29087
29110
|
}
|
|
29088
29111
|
|
|
29112
|
+
interface ShorelineUpgraderService extends Instance {
|
|
29113
|
+
/**
|
|
29114
|
+
* **DO NOT USE!**
|
|
29115
|
+
*
|
|
29116
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29117
|
+
* @hidden
|
|
29118
|
+
* @deprecated
|
|
29119
|
+
*/
|
|
29120
|
+
readonly _nominal_ShorelineUpgraderService: unique symbol;
|
|
29121
|
+
}
|
|
29122
|
+
|
|
29089
29123
|
/** The Sky object is an object, when placed inside [Lighting](https://developer.roblox.com/en-us/api-reference/class/Lighting), will change the appearance of the game's sky. This allows for a custom sky to be used as opposed to the Roblox default sky. The Skybox is composed of six sides, much like that of a cube. If the skybox is changed/customised, the Sun and other objects in the sky will remain visible, unless you turn off the Sky object's [Sky.CelestialBodiesShown](https://developer.roblox.com/en-us/api-reference/property/Sky/CelestialBodiesShown) property, which will remove the Sun, Moon, and stars from the sky. The recommended picture dimensions for a Skybox side are 256x256 pixels. By adjusting the [Sky.StarCount](https://developer.roblox.com/en-us/api-reference/property/Sky/StarCount) property of the Sky object, you can change how many stars will appear in the sky at night. */
|
|
29090
29124
|
interface Sky extends Instance {
|
|
29091
29125
|
/**
|
|
@@ -32136,8 +32170,16 @@ interface ChatInputBarConfiguration extends TextChatConfigurations {
|
|
|
32136
32170
|
* Tags: ReadOnly, NotReplicated
|
|
32137
32171
|
*/
|
|
32138
32172
|
readonly AbsoluteSize: Vector2;
|
|
32173
|
+
BackgroundColor3: Color3;
|
|
32174
|
+
BackgroundTransparency: number;
|
|
32139
32175
|
Enabled: boolean;
|
|
32176
|
+
FontFace: Font;
|
|
32177
|
+
PlaceholderColor3: Color3;
|
|
32140
32178
|
TargetTextChannel: TextChannel | undefined;
|
|
32179
|
+
TextColor3: Color3;
|
|
32180
|
+
TextSize: number;
|
|
32181
|
+
TextStrokeColor3: Color3;
|
|
32182
|
+
TextStrokeTransparency: number;
|
|
32141
32183
|
}
|
|
32142
32184
|
|
|
32143
32185
|
interface ChatWindowConfiguration extends TextChatConfigurations {
|
|
@@ -35936,17 +35978,6 @@ interface VisibilityService extends Instance {
|
|
|
35936
35978
|
readonly _nominal_VisibilityService: unique symbol;
|
|
35937
35979
|
}
|
|
35938
35980
|
|
|
35939
|
-
interface VoiceChannel extends Instance {
|
|
35940
|
-
/**
|
|
35941
|
-
* **DO NOT USE!**
|
|
35942
|
-
*
|
|
35943
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
35944
|
-
* @hidden
|
|
35945
|
-
* @deprecated
|
|
35946
|
-
*/
|
|
35947
|
-
readonly _nominal_VoiceChannel: unique symbol;
|
|
35948
|
-
}
|
|
35949
|
-
|
|
35950
35981
|
interface VoiceChatInternal extends Instance {
|
|
35951
35982
|
/**
|
|
35952
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";
|
|
@@ -17350,7 +17387,7 @@ declare namespace Enum {
|
|
|
17350
17387
|
export namespace VRSessionState {
|
|
17351
17388
|
export interface Idle extends globalThis.EnumItem {
|
|
17352
17389
|
Name: "Idle";
|
|
17353
|
-
Value:
|
|
17390
|
+
Value: 1;
|
|
17354
17391
|
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17355
17392
|
}
|
|
17356
17393
|
|
|
@@ -17358,7 +17395,7 @@ declare namespace Enum {
|
|
|
17358
17395
|
|
|
17359
17396
|
export interface Visible extends globalThis.EnumItem {
|
|
17360
17397
|
Name: "Visible";
|
|
17361
|
-
Value:
|
|
17398
|
+
Value: 2;
|
|
17362
17399
|
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17363
17400
|
}
|
|
17364
17401
|
|
|
@@ -17366,7 +17403,7 @@ declare namespace Enum {
|
|
|
17366
17403
|
|
|
17367
17404
|
export interface Focused extends globalThis.EnumItem {
|
|
17368
17405
|
Name: "Focused";
|
|
17369
|
-
Value:
|
|
17406
|
+
Value: 3;
|
|
17370
17407
|
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17371
17408
|
}
|
|
17372
17409
|
|
|
@@ -17374,7 +17411,7 @@ declare namespace Enum {
|
|
|
17374
17411
|
|
|
17375
17412
|
export interface Undefined extends globalThis.EnumItem {
|
|
17376
17413
|
Name: "Undefined";
|
|
17377
|
-
Value:
|
|
17414
|
+
Value: 0;
|
|
17378
17415
|
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17379
17416
|
}
|
|
17380
17417
|
|