@rbxts/types 1.0.712 → 1.0.713
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.
|
@@ -44,6 +44,7 @@ interface Services {
|
|
|
44
44
|
EventIngestService: EventIngestService;
|
|
45
45
|
ExperienceAuthService: ExperienceAuthService;
|
|
46
46
|
ExperienceNotificationService: ExperienceNotificationService;
|
|
47
|
+
ExperienceService: ExperienceService;
|
|
47
48
|
FaceAnimatorService: FaceAnimatorService;
|
|
48
49
|
FacialAnimationRecordingService: FacialAnimationRecordingService;
|
|
49
50
|
FacialAnimationStreamingServiceV2: FacialAnimationStreamingServiceV2;
|
|
@@ -98,6 +99,7 @@ interface Services {
|
|
|
98
99
|
RemoteDebuggerServer: RemoteDebuggerServer;
|
|
99
100
|
ReplicatedFirst: ReplicatedFirst;
|
|
100
101
|
ReplicatedStorage: ReplicatedStorage;
|
|
102
|
+
RibbonNotificationService: RibbonNotificationService;
|
|
101
103
|
RobloxServerStorage: RobloxServerStorage;
|
|
102
104
|
RomarkService: RomarkService;
|
|
103
105
|
RtMessagingService: RtMessagingService;
|
|
@@ -238,6 +240,7 @@ interface CreatableInstances {
|
|
|
238
240
|
CylinderHandleAdornment: CylinderHandleAdornment;
|
|
239
241
|
CylinderMesh: CylinderMesh;
|
|
240
242
|
CylindricalConstraint: CylindricalConstraint;
|
|
243
|
+
DataStoreGetOptions: DataStoreGetOptions;
|
|
241
244
|
DataStoreIncrementOptions: DataStoreIncrementOptions;
|
|
242
245
|
DataStoreOptions: DataStoreOptions;
|
|
243
246
|
DataStoreSetOptions: DataStoreSetOptions;
|
|
@@ -249,6 +252,7 @@ interface CreatableInstances {
|
|
|
249
252
|
DoubleConstrainedValue: DoubleConstrainedValue;
|
|
250
253
|
DragDetector: DragDetector;
|
|
251
254
|
Dragger: Dragger;
|
|
255
|
+
DynamicImage: DynamicImage;
|
|
252
256
|
DynamicMesh: DynamicMesh;
|
|
253
257
|
EchoSoundEffect: EchoSoundEffect;
|
|
254
258
|
EqualizerSoundEffect: EqualizerSoundEffect;
|
|
@@ -512,7 +516,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
512
516
|
DebuggerConnection: DebuggerConnection;
|
|
513
517
|
DebuggerLuaResponse: DebuggerLuaResponse;
|
|
514
518
|
DebuggerVariable: DebuggerVariable;
|
|
515
|
-
DynamicImage: DynamicImage;
|
|
516
519
|
EmotesPages: EmotesPages;
|
|
517
520
|
FacialAnimationStreamingServiceStats: FacialAnimationStreamingServiceStats;
|
|
518
521
|
FacialAnimationStreamingSubsessionStats: FacialAnimationStreamingSubsessionStats;
|
|
@@ -1712,6 +1715,10 @@ interface AnimationClipProvider extends Instance {
|
|
|
1712
1715
|
* Tags: Yields
|
|
1713
1716
|
*/
|
|
1714
1717
|
GetAnimations(this: AnimationClipProvider, userId: number): Instance | undefined;
|
|
1718
|
+
/**
|
|
1719
|
+
* Tags: Yields
|
|
1720
|
+
*/
|
|
1721
|
+
GetClipEvaluatorAsync(this: AnimationClipProvider, assetId: string): ClipEvaluator;
|
|
1715
1722
|
}
|
|
1716
1723
|
|
|
1717
1724
|
/** An object which allows animations to be loaded and applied to a character or model in place of a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) when a Humanoid is not needed. Creates an [Animator](https://developer.roblox.com/en-us/api-reference/class/Animator) and loads animations to update [Motor6Ds](https://developer.roblox.com/en-us/api-reference/class/Motor6D) of said character to react in the way that is described within the animation asset referenced by an [Animation](https://developer.roblox.com/en-us/api-reference/class/Animation) object.
|
|
@@ -2258,6 +2265,10 @@ interface AssetService extends Instance {
|
|
|
2258
2265
|
* Tags: Yields
|
|
2259
2266
|
*/
|
|
2260
2267
|
CreateDynamicImageAsync(this: AssetService, textureId: string): DynamicImage;
|
|
2268
|
+
/**
|
|
2269
|
+
* Tags: Yields
|
|
2270
|
+
*/
|
|
2271
|
+
CreateDynamicMeshAsync(this: AssetService, meshId: string): DynamicMesh;
|
|
2261
2272
|
/**
|
|
2262
2273
|
* Clones a place with placeId equal to given templatePlaceId. It is placed into the inventory of the place's creator with the given name and description. This method will also return the placeId of the new place, which can be used with TeleportService. This method cannot be used to clone places that you do not own.
|
|
2263
2274
|
*
|
|
@@ -7808,6 +7819,7 @@ interface LinearVelocity extends Constraint {
|
|
|
7808
7819
|
*/
|
|
7809
7820
|
readonly _nominal_LinearVelocity: unique symbol;
|
|
7810
7821
|
ForceLimitMode: Enum.ForceLimitMode;
|
|
7822
|
+
ForceLimitsEnabled: boolean;
|
|
7811
7823
|
/**
|
|
7812
7824
|
* The normalized [Vector3](https://developer.roblox.com/en-us/api-reference/datatype/Vector3) direction for constraining the velocity along a line, when [ VelocityConstraintMode](https://developer.roblox.com/en-us/api-reference/property/LinearVelocity/VelocityConstraintMode) is set to **Line**. Default is \[1, 0, 0\].
|
|
7813
7825
|
*/
|
|
@@ -9331,8 +9343,6 @@ interface DynamicMesh extends DataModelMesh {
|
|
|
9331
9343
|
GetVertexColorAlpha(this: DynamicMesh, vertexId: number): number;
|
|
9332
9344
|
GetVertexNormal(this: DynamicMesh, vertexId: number): Vector3;
|
|
9333
9345
|
GetVertices(this: DynamicMesh): unknown;
|
|
9334
|
-
InitializeFromMeshIdAsync(this: DynamicMesh, meshId: string): void;
|
|
9335
|
-
InitializeFromMeshPartAsync(this: DynamicMesh, meshPart: MeshPart): void;
|
|
9336
9346
|
Raycast(this: DynamicMesh, origin: Vector3, direction: Vector3): unknown;
|
|
9337
9347
|
RemoveTriangle(this: DynamicMesh, triangleId: number): void;
|
|
9338
9348
|
RemoveVertex(this: DynamicMesh, vertexId: number): void;
|
|
@@ -9469,6 +9479,18 @@ interface DataModelPatchService extends Instance {
|
|
|
9469
9479
|
readonly _nominal_DataModelPatchService: unique symbol;
|
|
9470
9480
|
}
|
|
9471
9481
|
|
|
9482
|
+
interface DataStoreGetOptions extends Instance {
|
|
9483
|
+
/**
|
|
9484
|
+
* **DO NOT USE!**
|
|
9485
|
+
*
|
|
9486
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9487
|
+
* @hidden
|
|
9488
|
+
* @deprecated
|
|
9489
|
+
*/
|
|
9490
|
+
readonly _nominal_DataStoreGetOptions: unique symbol;
|
|
9491
|
+
UseCache: boolean;
|
|
9492
|
+
}
|
|
9493
|
+
|
|
9472
9494
|
/** An object that specifies additional parameters for a [GlobalDataStore:IncrementAsync](https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/IncrementAsync) call.
|
|
9473
9495
|
*
|
|
9474
9496
|
* See Also
|
|
@@ -10236,16 +10258,16 @@ interface DynamicImage extends Instance {
|
|
|
10236
10258
|
*/
|
|
10237
10259
|
readonly _nominal_DynamicImage: unique symbol;
|
|
10238
10260
|
Size: Vector2;
|
|
10239
|
-
Clear(this: DynamicImage): void;
|
|
10240
10261
|
Crop(this: DynamicImage, min: Vector2, max: Vector2): void;
|
|
10241
10262
|
DrawCircle(this: DynamicImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
|
|
10242
10263
|
DrawImage(this: DynamicImage, position: Vector2, image: DynamicImage, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10264
|
+
DrawRectangle(this: DynamicImage, position: Vector2, size: Vector2, color: Color3, transparency: number): void;
|
|
10243
10265
|
/**
|
|
10244
10266
|
* Tags: CustomLuaState
|
|
10245
10267
|
*/
|
|
10246
10268
|
ReadPixels(this: DynamicImage, position: Vector2, size: Vector2): unknown;
|
|
10247
|
-
Resize(this: DynamicImage,
|
|
10248
|
-
Rotate(this: DynamicImage, degrees: number,
|
|
10269
|
+
Resize(this: DynamicImage, size: Vector2): void;
|
|
10270
|
+
Rotate(this: DynamicImage, degrees: number, changeSize: boolean): void;
|
|
10249
10271
|
/**
|
|
10250
10272
|
* Tags: CustomLuaState
|
|
10251
10273
|
*/
|
|
@@ -10340,6 +10362,17 @@ interface ExperienceNotificationService extends Instance {
|
|
|
10340
10362
|
CreateUserNotificationAsync(this: ExperienceNotificationService, userId: string, userNotification: UserNotification): Instance | undefined;
|
|
10341
10363
|
}
|
|
10342
10364
|
|
|
10365
|
+
interface ExperienceService extends Instance {
|
|
10366
|
+
/**
|
|
10367
|
+
* **DO NOT USE!**
|
|
10368
|
+
*
|
|
10369
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10370
|
+
* @hidden
|
|
10371
|
+
* @deprecated
|
|
10372
|
+
*/
|
|
10373
|
+
readonly _nominal_ExperienceService: unique symbol;
|
|
10374
|
+
}
|
|
10375
|
+
|
|
10343
10376
|
/** An Explosion applies force to `BaseParts` within the explosion's [Explosion.BlastRadius](https://developer.roblox.com/en-us/api-reference/property/Explosion/BlastRadius). This force breaks joints between parts and kills [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) characters not protected by a [ForceField](https://developer.roblox.com/en-us/api-reference/class/ForceField).
|
|
10344
10377
|
*
|
|
10345
10378
|
* If an explosion is instanced whilst the game is running, it will destroy itself shortly afterwards meaning they do not need to be cleaned up using the [Debris](https://developer.roblox.com/en-us/api-reference/class/Debris) service.
|
|
@@ -14238,9 +14271,6 @@ interface SurfaceGui extends SurfaceGuiBase {
|
|
|
14238
14271
|
* Controls how much the SurfaceGui is influenced by the lighting in the game world.
|
|
14239
14272
|
*/
|
|
14240
14273
|
LightInfluence: number;
|
|
14241
|
-
/**
|
|
14242
|
-
* Tags: NotBrowsable
|
|
14243
|
-
*/
|
|
14244
14274
|
MaxDistance: number;
|
|
14245
14275
|
/**
|
|
14246
14276
|
* **PixelsPerStud** determines the density of pixels used for each world-space stud to render the contents of the SurfaceGui.
|
|
@@ -21937,7 +21967,6 @@ interface MarketplaceService extends Instance {
|
|
|
21937
21967
|
currencyType?: CastsToEnum<Enum.CurrencyType>,
|
|
21938
21968
|
): void;
|
|
21939
21969
|
PromptSubscriptionPurchase(this: MarketplaceService, user: Player, subscriptionId: string): void;
|
|
21940
|
-
SignalPromptSubscriptionPurchaseFinished(this: MarketplaceService, subscriptionId: string, didTryPurchasing: boolean): void;
|
|
21941
21970
|
/**
|
|
21942
21971
|
* Returns a [Pages](https://developer.roblox.com/en-us/api-reference/class/Pages) object which contains information for all of the current game's developer products.
|
|
21943
21972
|
*
|
|
@@ -22163,6 +22192,18 @@ interface MarketplaceService extends Instance {
|
|
|
22163
22192
|
id: number,
|
|
22164
22193
|
infoType?: CastsToEnum<Enum.InfoType>,
|
|
22165
22194
|
): AssetProductInfo | BundleInfo | GamePassProductInfo | DeveloperProductInfo | SubscriptionProductInfo;
|
|
22195
|
+
/**
|
|
22196
|
+
* Tags: Yields
|
|
22197
|
+
*/
|
|
22198
|
+
GetSubscriptionProductInfoAsync(this: MarketplaceService, subscriptionId: string): object;
|
|
22199
|
+
/**
|
|
22200
|
+
* Tags: Yields
|
|
22201
|
+
*/
|
|
22202
|
+
GetUserSubscriptionPaymentHistoryAsync(this: MarketplaceService, user: Player, subscriptionId: string): unknown;
|
|
22203
|
+
/**
|
|
22204
|
+
* Tags: Yields
|
|
22205
|
+
*/
|
|
22206
|
+
GetUserSubscriptionStatusAsync(this: MarketplaceService, user: Player, subscriptionId: string): object;
|
|
22166
22207
|
/**
|
|
22167
22208
|
* Returns whether the inventory of given [Player](https://developer.roblox.com/en-us/api-reference/class/Player) contains an asset, given the ID. This method can query for hats, models, sounds, etc. This function takes a small amount of time to send a request the Roblox website.
|
|
22168
22209
|
*
|
|
@@ -22269,6 +22310,7 @@ interface MarketplaceService extends Instance {
|
|
|
22269
22310
|
* end)
|
|
22270
22311
|
*/
|
|
22271
22312
|
readonly PromptPurchaseFinished: RBXScriptSignal<(player: Player, assetId: number, isPurchased: boolean) => void>;
|
|
22313
|
+
readonly PromptSubscriptionPurchaseFinished: RBXScriptSignal<(user: Player, subscriptionId: string, didTryPurchasing: boolean) => void>;
|
|
22272
22314
|
ProcessReceipt: ((receiptInfo: ReceiptInfo) => Enum.ProductPurchaseDecision) | undefined;
|
|
22273
22315
|
}
|
|
22274
22316
|
|
|
@@ -29438,6 +29480,17 @@ interface ReplicatedStorage extends Instance {
|
|
|
29438
29480
|
readonly _nominal_ReplicatedStorage: unique symbol;
|
|
29439
29481
|
}
|
|
29440
29482
|
|
|
29483
|
+
interface RibbonNotificationService extends Instance {
|
|
29484
|
+
/**
|
|
29485
|
+
* **DO NOT USE!**
|
|
29486
|
+
*
|
|
29487
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29488
|
+
* @hidden
|
|
29489
|
+
* @deprecated
|
|
29490
|
+
*/
|
|
29491
|
+
readonly _nominal_RibbonNotificationService: unique symbol;
|
|
29492
|
+
}
|
|
29493
|
+
|
|
29441
29494
|
interface RobloxServerStorage extends Instance {
|
|
29442
29495
|
/**
|
|
29443
29496
|
* **DO NOT USE!**
|
|
@@ -37215,6 +37268,10 @@ interface VRService extends Instance {
|
|
|
37215
37268
|
* Since [VRService](https://developer.roblox.com/en-us/api-reference/class/VRService) only runs client-side, this property will only work when used in a [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript).
|
|
37216
37269
|
*/
|
|
37217
37270
|
GuiInputUserCFrame: Enum.UserCFrame;
|
|
37271
|
+
/**
|
|
37272
|
+
* Tags: NotReplicated
|
|
37273
|
+
*/
|
|
37274
|
+
readonly ThirdPersonFollowCamEnabled: boolean;
|
|
37218
37275
|
/**
|
|
37219
37276
|
* This property describes whether the user is using a virtual reality (VR) device.
|
|
37220
37277
|
*
|
|
@@ -3141,6 +3141,10 @@ interface ScriptEditorService extends Instance {
|
|
|
3141
3141
|
* Tags: Yields
|
|
3142
3142
|
*/
|
|
3143
3143
|
OpenScriptDocumentAsync(this: ScriptEditorService, script: LuaSourceContainer): unknown;
|
|
3144
|
+
/**
|
|
3145
|
+
* Tags: Yields
|
|
3146
|
+
*/
|
|
3147
|
+
UpdateSourceAsync(this: ScriptEditorService, script: LuaSourceContainer, callback: Callback): unknown;
|
|
3144
3148
|
readonly TextDocumentDidChange: RBXScriptSignal<(document: ScriptDocument, changesArray: unknown) => void>;
|
|
3145
3149
|
readonly TextDocumentDidClose: RBXScriptSignal<(oldDocument: ScriptDocument) => void>;
|
|
3146
3150
|
readonly TextDocumentDidOpen: RBXScriptSignal<(newDocument: ScriptDocument) => void>;
|
|
@@ -3596,7 +3600,6 @@ interface Studio extends Instance {
|
|
|
3596
3600
|
* Tags: NotReplicated
|
|
3597
3601
|
*/
|
|
3598
3602
|
["Property Color"]: Color3;
|
|
3599
|
-
["Render Throttle Percentage"]: number;
|
|
3600
3603
|
["Respect Studio shortcuts when game has focus"]: boolean;
|
|
3601
3604
|
/**
|
|
3602
3605
|
* Tags: NotReplicated
|
|
@@ -3460,9 +3460,41 @@ declare namespace Enum {
|
|
|
3460
3460
|
export type ClientAnimatorThrottlingMode = ClientAnimatorThrottlingMode.Default | ClientAnimatorThrottlingMode.Disabled | ClientAnimatorThrottlingMode.Enabled;
|
|
3461
3461
|
|
|
3462
3462
|
export namespace CollaboratorStatus {
|
|
3463
|
+
export interface Editing3D extends globalThis.EnumItem {
|
|
3464
|
+
Name: "Editing3D";
|
|
3465
|
+
Value: 0;
|
|
3466
|
+
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
export const Editing3D: Editing3D;
|
|
3470
|
+
|
|
3471
|
+
export interface Scripting extends globalThis.EnumItem {
|
|
3472
|
+
Name: "Scripting";
|
|
3473
|
+
Value: 1;
|
|
3474
|
+
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
export const Scripting: Scripting;
|
|
3478
|
+
|
|
3479
|
+
export interface PrivateScripting extends globalThis.EnumItem {
|
|
3480
|
+
Name: "PrivateScripting";
|
|
3481
|
+
Value: 2;
|
|
3482
|
+
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
export const PrivateScripting: PrivateScripting;
|
|
3486
|
+
|
|
3487
|
+
export interface None extends globalThis.EnumItem {
|
|
3488
|
+
Name: "None";
|
|
3489
|
+
Value: 3;
|
|
3490
|
+
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
export const None: None;
|
|
3494
|
+
|
|
3463
3495
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CollaboratorStatus>;
|
|
3464
3496
|
}
|
|
3465
|
-
export type CollaboratorStatus =
|
|
3497
|
+
export type CollaboratorStatus = CollaboratorStatus.Editing3D | CollaboratorStatus.Scripting | CollaboratorStatus.PrivateScripting | CollaboratorStatus.None;
|
|
3466
3498
|
|
|
3467
3499
|
export namespace CollisionFidelity {
|
|
3468
3500
|
export interface Default extends globalThis.EnumItem {
|
|
@@ -4225,6 +4257,14 @@ declare namespace Enum {
|
|
|
4225
4257
|
|
|
4226
4258
|
export const DisconnectModeratedGame: DisconnectModeratedGame;
|
|
4227
4259
|
|
|
4260
|
+
export interface ServerShutdown extends globalThis.EnumItem {
|
|
4261
|
+
Name: "ServerShutdown";
|
|
4262
|
+
Value: 288;
|
|
4263
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4266
|
+
export const ServerShutdown: ServerShutdown;
|
|
4267
|
+
|
|
4228
4268
|
export interface DisconnectRomarkEndOfTest extends globalThis.EnumItem {
|
|
4229
4269
|
Name: "DisconnectRomarkEndOfTest";
|
|
4230
4270
|
Value: 293;
|
|
@@ -4465,9 +4505,49 @@ declare namespace Enum {
|
|
|
4465
4505
|
|
|
4466
4506
|
export const TeleportIsTeleporting: TeleportIsTeleporting;
|
|
4467
4507
|
|
|
4508
|
+
export interface NetworkInternal extends globalThis.EnumItem {
|
|
4509
|
+
Name: "NetworkInternal";
|
|
4510
|
+
Value: 296;
|
|
4511
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4512
|
+
}
|
|
4513
|
+
|
|
4514
|
+
export const NetworkInternal: NetworkInternal;
|
|
4515
|
+
|
|
4516
|
+
export interface NetworkSend extends globalThis.EnumItem {
|
|
4517
|
+
Name: "NetworkSend";
|
|
4518
|
+
Value: 297;
|
|
4519
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4520
|
+
}
|
|
4521
|
+
|
|
4522
|
+
export const NetworkSend: NetworkSend;
|
|
4523
|
+
|
|
4524
|
+
export interface NetworkTimeout extends globalThis.EnumItem {
|
|
4525
|
+
Name: "NetworkTimeout";
|
|
4526
|
+
Value: 298;
|
|
4527
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
export const NetworkTimeout: NetworkTimeout;
|
|
4531
|
+
|
|
4532
|
+
export interface NetworkMisbehavior extends globalThis.EnumItem {
|
|
4533
|
+
Name: "NetworkMisbehavior";
|
|
4534
|
+
Value: 299;
|
|
4535
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4536
|
+
}
|
|
4537
|
+
|
|
4538
|
+
export const NetworkMisbehavior: NetworkMisbehavior;
|
|
4539
|
+
|
|
4540
|
+
export interface NetworkSecurity extends globalThis.EnumItem {
|
|
4541
|
+
Name: "NetworkSecurity";
|
|
4542
|
+
Value: 300;
|
|
4543
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4544
|
+
}
|
|
4545
|
+
|
|
4546
|
+
export const NetworkSecurity: NetworkSecurity;
|
|
4547
|
+
|
|
4468
4548
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ConnectionError>;
|
|
4469
4549
|
}
|
|
4470
|
-
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectPrivateServerKickout | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.DisconnectCollaboratorPermissionRevoked | ConnectionError.DisconnectCollaboratorUnderage | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
4550
|
+
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectPrivateServerKickout | ConnectionError.DisconnectModeratedGame | ConnectionError.ServerShutdown | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.DisconnectCollaboratorPermissionRevoked | ConnectionError.DisconnectCollaboratorUnderage | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting | ConnectionError.NetworkInternal | ConnectionError.NetworkSend | ConnectionError.NetworkTimeout | ConnectionError.NetworkMisbehavior | ConnectionError.NetworkSecurity;
|
|
4471
4551
|
|
|
4472
4552
|
export namespace ConnectionState {
|
|
4473
4553
|
export interface Connected extends globalThis.EnumItem {
|
|
@@ -4810,9 +4890,33 @@ declare namespace Enum {
|
|
|
4810
4890
|
|
|
4811
4891
|
export const OnUpdate: OnUpdate;
|
|
4812
4892
|
|
|
4893
|
+
export interface ListAsync extends globalThis.EnumItem {
|
|
4894
|
+
Name: "ListAsync";
|
|
4895
|
+
Value: 6;
|
|
4896
|
+
EnumType: typeof globalThis.Enum.DataStoreRequestType;
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
export const ListAsync: ListAsync;
|
|
4900
|
+
|
|
4901
|
+
export interface GetVersionAsync extends globalThis.EnumItem {
|
|
4902
|
+
Name: "GetVersionAsync";
|
|
4903
|
+
Value: 7;
|
|
4904
|
+
EnumType: typeof globalThis.Enum.DataStoreRequestType;
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4907
|
+
export const GetVersionAsync: GetVersionAsync;
|
|
4908
|
+
|
|
4909
|
+
export interface RemoveVersionAsync extends globalThis.EnumItem {
|
|
4910
|
+
Name: "RemoveVersionAsync";
|
|
4911
|
+
Value: 8;
|
|
4912
|
+
EnumType: typeof globalThis.Enum.DataStoreRequestType;
|
|
4913
|
+
}
|
|
4914
|
+
|
|
4915
|
+
export const RemoveVersionAsync: RemoveVersionAsync;
|
|
4916
|
+
|
|
4813
4917
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.DataStoreRequestType>;
|
|
4814
4918
|
}
|
|
4815
|
-
export type DataStoreRequestType = DataStoreRequestType.GetAsync | DataStoreRequestType.SetIncrementAsync | DataStoreRequestType.UpdateAsync | DataStoreRequestType.GetSortedAsync | DataStoreRequestType.SetIncrementSortedAsync | DataStoreRequestType.OnUpdate;
|
|
4919
|
+
export type DataStoreRequestType = DataStoreRequestType.GetAsync | DataStoreRequestType.SetIncrementAsync | DataStoreRequestType.UpdateAsync | DataStoreRequestType.GetSortedAsync | DataStoreRequestType.SetIncrementSortedAsync | DataStoreRequestType.OnUpdate | DataStoreRequestType.ListAsync | DataStoreRequestType.GetVersionAsync | DataStoreRequestType.RemoveVersionAsync;
|
|
4816
4920
|
|
|
4817
4921
|
export namespace DeathStyle {
|
|
4818
4922
|
export interface Default extends globalThis.EnumItem {
|
|
@@ -10845,6 +10949,72 @@ declare namespace Enum {
|
|
|
10845
10949
|
}
|
|
10846
10950
|
export type ListenerType = ListenerType.Camera | ListenerType.CFrame | ListenerType.ObjectPosition | ListenerType.ObjectCFrame;
|
|
10847
10951
|
|
|
10952
|
+
export namespace LiveEditingAtomicUpdateResponse {
|
|
10953
|
+
export interface Success extends globalThis.EnumItem {
|
|
10954
|
+
Name: "Success";
|
|
10955
|
+
Value: 0;
|
|
10956
|
+
EnumType: typeof globalThis.Enum.LiveEditingAtomicUpdateResponse;
|
|
10957
|
+
}
|
|
10958
|
+
|
|
10959
|
+
export const Success: Success;
|
|
10960
|
+
|
|
10961
|
+
export interface FailureGuidNotFound extends globalThis.EnumItem {
|
|
10962
|
+
Name: "FailureGuidNotFound";
|
|
10963
|
+
Value: 1;
|
|
10964
|
+
EnumType: typeof globalThis.Enum.LiveEditingAtomicUpdateResponse;
|
|
10965
|
+
}
|
|
10966
|
+
|
|
10967
|
+
export const FailureGuidNotFound: FailureGuidNotFound;
|
|
10968
|
+
|
|
10969
|
+
export interface FailureHashMismatch extends globalThis.EnumItem {
|
|
10970
|
+
Name: "FailureHashMismatch";
|
|
10971
|
+
Value: 2;
|
|
10972
|
+
EnumType: typeof globalThis.Enum.LiveEditingAtomicUpdateResponse;
|
|
10973
|
+
}
|
|
10974
|
+
|
|
10975
|
+
export const FailureHashMismatch: FailureHashMismatch;
|
|
10976
|
+
|
|
10977
|
+
export interface FailureOperationIllegal extends globalThis.EnumItem {
|
|
10978
|
+
Name: "FailureOperationIllegal";
|
|
10979
|
+
Value: 3;
|
|
10980
|
+
EnumType: typeof globalThis.Enum.LiveEditingAtomicUpdateResponse;
|
|
10981
|
+
}
|
|
10982
|
+
|
|
10983
|
+
export const FailureOperationIllegal: FailureOperationIllegal;
|
|
10984
|
+
|
|
10985
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.LiveEditingAtomicUpdateResponse>;
|
|
10986
|
+
}
|
|
10987
|
+
export type LiveEditingAtomicUpdateResponse = LiveEditingAtomicUpdateResponse.Success | LiveEditingAtomicUpdateResponse.FailureGuidNotFound | LiveEditingAtomicUpdateResponse.FailureHashMismatch | LiveEditingAtomicUpdateResponse.FailureOperationIllegal;
|
|
10988
|
+
|
|
10989
|
+
export namespace LiveEditingBroadcastMessageType {
|
|
10990
|
+
export interface Normal extends globalThis.EnumItem {
|
|
10991
|
+
Name: "Normal";
|
|
10992
|
+
Value: 0;
|
|
10993
|
+
EnumType: typeof globalThis.Enum.LiveEditingBroadcastMessageType;
|
|
10994
|
+
}
|
|
10995
|
+
|
|
10996
|
+
export const Normal: Normal;
|
|
10997
|
+
|
|
10998
|
+
export interface Warning extends globalThis.EnumItem {
|
|
10999
|
+
Name: "Warning";
|
|
11000
|
+
Value: 1;
|
|
11001
|
+
EnumType: typeof globalThis.Enum.LiveEditingBroadcastMessageType;
|
|
11002
|
+
}
|
|
11003
|
+
|
|
11004
|
+
export const Warning: Warning;
|
|
11005
|
+
|
|
11006
|
+
export interface Error extends globalThis.EnumItem {
|
|
11007
|
+
Name: "Error";
|
|
11008
|
+
Value: 2;
|
|
11009
|
+
EnumType: typeof globalThis.Enum.LiveEditingBroadcastMessageType;
|
|
11010
|
+
}
|
|
11011
|
+
|
|
11012
|
+
export const Error: Error;
|
|
11013
|
+
|
|
11014
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.LiveEditingBroadcastMessageType>;
|
|
11015
|
+
}
|
|
11016
|
+
export type LiveEditingBroadcastMessageType = LiveEditingBroadcastMessageType.Normal | LiveEditingBroadcastMessageType.Warning | LiveEditingBroadcastMessageType.Error;
|
|
11017
|
+
|
|
10848
11018
|
export namespace LoadCharacterLayeredClothing {
|
|
10849
11019
|
export interface Default extends globalThis.EnumItem {
|
|
10850
11020
|
Name: "Default";
|
|
@@ -17007,6 +17177,40 @@ declare namespace Enum {
|
|
|
17007
17177
|
}
|
|
17008
17178
|
export type Style = Style.AlternatingSupports | Style.BridgeStyleSupports | Style.NoSupports;
|
|
17009
17179
|
|
|
17180
|
+
export namespace SubscriptionPaymentStatus {
|
|
17181
|
+
export interface Paid extends globalThis.EnumItem {
|
|
17182
|
+
Name: "Paid";
|
|
17183
|
+
Value: 0;
|
|
17184
|
+
EnumType: typeof globalThis.Enum.SubscriptionPaymentStatus;
|
|
17185
|
+
}
|
|
17186
|
+
|
|
17187
|
+
export const Paid: Paid;
|
|
17188
|
+
|
|
17189
|
+
export interface Refunded extends globalThis.EnumItem {
|
|
17190
|
+
Name: "Refunded";
|
|
17191
|
+
Value: 1;
|
|
17192
|
+
EnumType: typeof globalThis.Enum.SubscriptionPaymentStatus;
|
|
17193
|
+
}
|
|
17194
|
+
|
|
17195
|
+
export const Refunded: Refunded;
|
|
17196
|
+
|
|
17197
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SubscriptionPaymentStatus>;
|
|
17198
|
+
}
|
|
17199
|
+
export type SubscriptionPaymentStatus = SubscriptionPaymentStatus.Paid | SubscriptionPaymentStatus.Refunded;
|
|
17200
|
+
|
|
17201
|
+
export namespace SubscriptionPeriod {
|
|
17202
|
+
export interface Month extends globalThis.EnumItem {
|
|
17203
|
+
Name: "Month";
|
|
17204
|
+
Value: 0;
|
|
17205
|
+
EnumType: typeof globalThis.Enum.SubscriptionPeriod;
|
|
17206
|
+
}
|
|
17207
|
+
|
|
17208
|
+
export const Month: Month;
|
|
17209
|
+
|
|
17210
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SubscriptionPeriod>;
|
|
17211
|
+
}
|
|
17212
|
+
export type SubscriptionPeriod = SubscriptionPeriod.Month;
|
|
17213
|
+
|
|
17010
17214
|
export namespace SurfaceConstraint {
|
|
17011
17215
|
export interface None extends globalThis.EnumItem {
|
|
17012
17216
|
Name: "None";
|
|
@@ -18915,6 +19119,43 @@ declare namespace Enum {
|
|
|
18915
19119
|
}
|
|
18916
19120
|
export type UserInputType = UserInputType.MouseButton1 | UserInputType.MouseButton2 | UserInputType.MouseButton3 | UserInputType.MouseWheel | UserInputType.MouseMovement | UserInputType.Touch | UserInputType.Keyboard | UserInputType.Focus | UserInputType.Accelerometer | UserInputType.Gyro | UserInputType.Gamepad1 | UserInputType.Gamepad2 | UserInputType.Gamepad3 | UserInputType.Gamepad4 | UserInputType.Gamepad5 | UserInputType.Gamepad6 | UserInputType.Gamepad7 | UserInputType.Gamepad8 | UserInputType.TextInput | UserInputType.InputMethod | UserInputType.None;
|
|
18917
19121
|
|
|
19122
|
+
export namespace VRComfortSetting {
|
|
19123
|
+
export interface Comfort extends globalThis.EnumItem {
|
|
19124
|
+
Name: "Comfort";
|
|
19125
|
+
Value: 0;
|
|
19126
|
+
EnumType: typeof globalThis.Enum.VRComfortSetting;
|
|
19127
|
+
}
|
|
19128
|
+
|
|
19129
|
+
export const Comfort: Comfort;
|
|
19130
|
+
|
|
19131
|
+
export interface Normal extends globalThis.EnumItem {
|
|
19132
|
+
Name: "Normal";
|
|
19133
|
+
Value: 1;
|
|
19134
|
+
EnumType: typeof globalThis.Enum.VRComfortSetting;
|
|
19135
|
+
}
|
|
19136
|
+
|
|
19137
|
+
export const Normal: Normal;
|
|
19138
|
+
|
|
19139
|
+
export interface Expert extends globalThis.EnumItem {
|
|
19140
|
+
Name: "Expert";
|
|
19141
|
+
Value: 2;
|
|
19142
|
+
EnumType: typeof globalThis.Enum.VRComfortSetting;
|
|
19143
|
+
}
|
|
19144
|
+
|
|
19145
|
+
export const Expert: Expert;
|
|
19146
|
+
|
|
19147
|
+
export interface Custom extends globalThis.EnumItem {
|
|
19148
|
+
Name: "Custom";
|
|
19149
|
+
Value: 3;
|
|
19150
|
+
EnumType: typeof globalThis.Enum.VRComfortSetting;
|
|
19151
|
+
}
|
|
19152
|
+
|
|
19153
|
+
export const Custom: Custom;
|
|
19154
|
+
|
|
19155
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VRComfortSetting>;
|
|
19156
|
+
}
|
|
19157
|
+
export type VRComfortSetting = VRComfortSetting.Comfort | VRComfortSetting.Normal | VRComfortSetting.Expert | VRComfortSetting.Custom;
|
|
19158
|
+
|
|
18918
19159
|
export namespace VRSafetyBubbleMode {
|
|
18919
19160
|
export interface NoOne extends globalThis.EnumItem {
|
|
18920
19161
|
Name: "NoOne";
|
|
@@ -19348,6 +19589,35 @@ declare namespace Enum {
|
|
|
19348
19589
|
}
|
|
19349
19590
|
export type VoiceChatState = VoiceChatState.Idle | VoiceChatState.Joining | VoiceChatState.JoiningRetry | VoiceChatState.Joined | VoiceChatState.Leaving | VoiceChatState.Ended | VoiceChatState.Failed;
|
|
19350
19591
|
|
|
19592
|
+
export namespace VoiceControlPath {
|
|
19593
|
+
export interface Publish extends globalThis.EnumItem {
|
|
19594
|
+
Name: "Publish";
|
|
19595
|
+
Value: 0;
|
|
19596
|
+
EnumType: typeof globalThis.Enum.VoiceControlPath;
|
|
19597
|
+
}
|
|
19598
|
+
|
|
19599
|
+
export const Publish: Publish;
|
|
19600
|
+
|
|
19601
|
+
export interface Subscribe extends globalThis.EnumItem {
|
|
19602
|
+
Name: "Subscribe";
|
|
19603
|
+
Value: 1;
|
|
19604
|
+
EnumType: typeof globalThis.Enum.VoiceControlPath;
|
|
19605
|
+
}
|
|
19606
|
+
|
|
19607
|
+
export const Subscribe: Subscribe;
|
|
19608
|
+
|
|
19609
|
+
export interface Join extends globalThis.EnumItem {
|
|
19610
|
+
Name: "Join";
|
|
19611
|
+
Value: 2;
|
|
19612
|
+
EnumType: typeof globalThis.Enum.VoiceControlPath;
|
|
19613
|
+
}
|
|
19614
|
+
|
|
19615
|
+
export const Join: Join;
|
|
19616
|
+
|
|
19617
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VoiceControlPath>;
|
|
19618
|
+
}
|
|
19619
|
+
export type VoiceControlPath = VoiceControlPath.Publish | VoiceControlPath.Subscribe | VoiceControlPath.Join;
|
|
19620
|
+
|
|
19351
19621
|
export namespace VolumetricAudio {
|
|
19352
19622
|
export interface Disabled extends globalThis.EnumItem {
|
|
19353
19623
|
Name: "Disabled";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1421,6 +1421,17 @@ interface CFrameConstructor {
|
|
|
1421
1421
|
|
|
1422
1422
|
declare const CFrame: CFrameConstructor;
|
|
1423
1423
|
|
|
1424
|
+
interface ClipEvaluator {
|
|
1425
|
+
/**
|
|
1426
|
+
* **DO NOT USE!**
|
|
1427
|
+
*
|
|
1428
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1429
|
+
* @hidden
|
|
1430
|
+
* @deprecated
|
|
1431
|
+
*/
|
|
1432
|
+
readonly _nominal_ClipEvaluator: unique symbol;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1424
1435
|
interface Color3 {
|
|
1425
1436
|
/**
|
|
1426
1437
|
* **DO NOT USE!**
|