@rbxts/types 1.0.709 → 1.0.711
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.
|
@@ -43,6 +43,7 @@ interface Services {
|
|
|
43
43
|
DraggerService: DraggerService;
|
|
44
44
|
EventIngestService: EventIngestService;
|
|
45
45
|
ExperienceAuthService: ExperienceAuthService;
|
|
46
|
+
ExperienceNotificationService: ExperienceNotificationService;
|
|
46
47
|
FaceAnimatorService: FaceAnimatorService;
|
|
47
48
|
FacialAnimationRecordingService: FacialAnimationRecordingService;
|
|
48
49
|
FacialAnimationStreamingServiceV2: FacialAnimationStreamingServiceV2;
|
|
@@ -124,6 +125,7 @@ interface Services {
|
|
|
124
125
|
StarterPack: StarterPack;
|
|
125
126
|
StarterPlayer: StarterPlayer;
|
|
126
127
|
Stats: Stats;
|
|
128
|
+
StreamingService: StreamingService;
|
|
127
129
|
StudioAssetService: StudioAssetService;
|
|
128
130
|
StudioDeviceEmulatorService: StudioDeviceEmulatorService;
|
|
129
131
|
StudioPublishService: StudioPublishService;
|
|
@@ -401,6 +403,11 @@ interface CreatableInstances {
|
|
|
401
403
|
UITextSizeConstraint: UITextSizeConstraint;
|
|
402
404
|
UnionOperation: UnionOperation;
|
|
403
405
|
UniversalConstraint: UniversalConstraint;
|
|
406
|
+
UserNotification: UserNotification;
|
|
407
|
+
UserNotificationPayload: UserNotificationPayload;
|
|
408
|
+
UserNotificationPayloadAnalyticsData: UserNotificationPayloadAnalyticsData;
|
|
409
|
+
UserNotificationPayloadJoinExperience: UserNotificationPayloadJoinExperience;
|
|
410
|
+
UserNotificationPayloadParameterValue: UserNotificationPayloadParameterValue;
|
|
404
411
|
Vector3Curve: Vector3Curve;
|
|
405
412
|
Vector3Value: Vector3Value;
|
|
406
413
|
VectorForce: VectorForce;
|
|
@@ -3530,6 +3537,8 @@ interface BaseImportData extends Instance {
|
|
|
3530
3537
|
readonly Id: string;
|
|
3531
3538
|
ImportName: string;
|
|
3532
3539
|
ShouldImport: boolean;
|
|
3540
|
+
readonly StatusRemoved: RBXScriptSignal<(status: object) => void>;
|
|
3541
|
+
readonly StatusReported: RBXScriptSignal<(status: object) => void>;
|
|
3533
3542
|
}
|
|
3534
3543
|
|
|
3535
3544
|
interface AnimationImportData extends BaseImportData {
|
|
@@ -5811,6 +5820,7 @@ interface BubbleChatMessageProperties extends Instance {
|
|
|
5811
5820
|
BackgroundColor3: Color3;
|
|
5812
5821
|
BackgroundTransparency: number;
|
|
5813
5822
|
FontFace: Font;
|
|
5823
|
+
TailVisible: boolean;
|
|
5814
5824
|
TextColor3: Color3;
|
|
5815
5825
|
TextSize: number;
|
|
5816
5826
|
}
|
|
@@ -7029,6 +7039,9 @@ interface Collaborator extends Instance {
|
|
|
7029
7039
|
*/
|
|
7030
7040
|
readonly _nominal_Collaborator: unique symbol;
|
|
7031
7041
|
CFrame: CFrame;
|
|
7042
|
+
CollaboratorColor: number;
|
|
7043
|
+
CurDocGUID: string;
|
|
7044
|
+
CurScriptLineNumber: number;
|
|
7032
7045
|
UserId: number;
|
|
7033
7046
|
Username: string;
|
|
7034
7047
|
}
|
|
@@ -9297,6 +9310,10 @@ interface DynamicMesh extends DataModelMesh {
|
|
|
9297
9310
|
* @deprecated
|
|
9298
9311
|
*/
|
|
9299
9312
|
readonly _nominal_DynamicMesh: unique symbol;
|
|
9313
|
+
/**
|
|
9314
|
+
* Tags: Hidden
|
|
9315
|
+
*/
|
|
9316
|
+
readonly MeshVersion: number;
|
|
9300
9317
|
AddTriangle(this: DynamicMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9301
9318
|
AddVertex(this: DynamicMesh, p: Vector3): number;
|
|
9302
9319
|
FindClosestPointOnSurface(this: DynamicMesh, point: Vector3): unknown;
|
|
@@ -10304,6 +10321,17 @@ interface ExperienceInviteOptions extends Instance {
|
|
|
10304
10321
|
PromptMessage: string;
|
|
10305
10322
|
}
|
|
10306
10323
|
|
|
10324
|
+
interface ExperienceNotificationService extends Instance {
|
|
10325
|
+
/**
|
|
10326
|
+
* **DO NOT USE!**
|
|
10327
|
+
*
|
|
10328
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10329
|
+
* @hidden
|
|
10330
|
+
* @deprecated
|
|
10331
|
+
*/
|
|
10332
|
+
readonly _nominal_ExperienceNotificationService: unique symbol;
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10307
10335
|
/** 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).
|
|
10308
10336
|
*
|
|
10309
10337
|
* 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.
|
|
@@ -11088,7 +11116,7 @@ interface GeometryService extends Instance {
|
|
|
11088
11116
|
* @deprecated
|
|
11089
11117
|
*/
|
|
11090
11118
|
readonly _nominal_GeometryService: unique symbol;
|
|
11091
|
-
CalculateConstraintsToPreserve(this: GeometryService, source: Instance, destination: Array<Instance>, options: unknown):
|
|
11119
|
+
CalculateConstraintsToPreserve(this: GeometryService, source: Instance, destination: Array<Instance>, options: unknown): unknown;
|
|
11092
11120
|
/**
|
|
11093
11121
|
* Tags: Yields
|
|
11094
11122
|
*/
|
|
@@ -14202,6 +14230,10 @@ interface SurfaceGui extends SurfaceGuiBase {
|
|
|
14202
14230
|
* Controls how much the SurfaceGui is influenced by the lighting in the game world.
|
|
14203
14231
|
*/
|
|
14204
14232
|
LightInfluence: number;
|
|
14233
|
+
/**
|
|
14234
|
+
* Tags: NotBrowsable
|
|
14235
|
+
*/
|
|
14236
|
+
MaxDistance: number;
|
|
14205
14237
|
/**
|
|
14206
14238
|
* **PixelsPerStud** determines the density of pixels used for each world-space stud to render the contents of the SurfaceGui.
|
|
14207
14239
|
*
|
|
@@ -15045,6 +15077,7 @@ interface GuiService extends Instance {
|
|
|
15045
15077
|
* Fires when the user **opens** the Roblox coregui escape menu.
|
|
15046
15078
|
*/
|
|
15047
15079
|
readonly MenuOpened: RBXScriptSignal<() => void>;
|
|
15080
|
+
readonly TopbarInsetChanged: RBXScriptSignal<(topbarInset: object) => void>;
|
|
15048
15081
|
}
|
|
15049
15082
|
|
|
15050
15083
|
/** The _Xbox One_ controller and some other USB gamepad controllers have motors built in to provide haptic feedback. Adding rumbles and vibrations can greatly enhance a game's experience and provide subtle feedback that is hard to convey through visuals or audio. */
|
|
@@ -21892,6 +21925,8 @@ interface MarketplaceService extends Instance {
|
|
|
21892
21925
|
equipIfPurchased?: boolean,
|
|
21893
21926
|
currencyType?: CastsToEnum<Enum.CurrencyType>,
|
|
21894
21927
|
): void;
|
|
21928
|
+
PromptSubscriptionPurchase(this: MarketplaceService, user: Player, subscriptionId: string): void;
|
|
21929
|
+
SignalPromptSubscriptionPurchaseFinished(this: MarketplaceService, subscriptionId: string, didTryPurchasing: boolean): void;
|
|
21895
21930
|
/**
|
|
21896
21931
|
* 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.
|
|
21897
21932
|
*
|
|
@@ -32310,6 +32345,17 @@ interface Stats extends Instance {
|
|
|
32310
32345
|
GetTotalMemoryUsageMb(this: Stats): number;
|
|
32311
32346
|
}
|
|
32312
32347
|
|
|
32348
|
+
interface StreamingService extends Instance {
|
|
32349
|
+
/**
|
|
32350
|
+
* **DO NOT USE!**
|
|
32351
|
+
*
|
|
32352
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
32353
|
+
* @hidden
|
|
32354
|
+
* @deprecated
|
|
32355
|
+
*/
|
|
32356
|
+
readonly _nominal_StreamingService: unique symbol;
|
|
32357
|
+
}
|
|
32358
|
+
|
|
32313
32359
|
interface StudioAssetService extends Instance {
|
|
32314
32360
|
/**
|
|
32315
32361
|
* **DO NOT USE!**
|
|
@@ -37003,6 +37049,76 @@ interface UserInputService extends Instance {
|
|
|
37003
37049
|
readonly WindowFocused: RBXScriptSignal<() => void>;
|
|
37004
37050
|
}
|
|
37005
37051
|
|
|
37052
|
+
interface UserNotification extends Instance {
|
|
37053
|
+
/**
|
|
37054
|
+
* **DO NOT USE!**
|
|
37055
|
+
*
|
|
37056
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37057
|
+
* @hidden
|
|
37058
|
+
* @deprecated
|
|
37059
|
+
*/
|
|
37060
|
+
readonly _nominal_UserNotification: unique symbol;
|
|
37061
|
+
/**
|
|
37062
|
+
* Tags: NotReplicated
|
|
37063
|
+
*/
|
|
37064
|
+
readonly Id: string;
|
|
37065
|
+
Payload: UserNotificationPayload | undefined;
|
|
37066
|
+
}
|
|
37067
|
+
|
|
37068
|
+
interface UserNotificationPayload extends Instance {
|
|
37069
|
+
/**
|
|
37070
|
+
* **DO NOT USE!**
|
|
37071
|
+
*
|
|
37072
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37073
|
+
* @hidden
|
|
37074
|
+
* @deprecated
|
|
37075
|
+
*/
|
|
37076
|
+
readonly _nominal_UserNotificationPayload: unique symbol;
|
|
37077
|
+
AnalyticsData: UserNotificationPayloadAnalyticsData | undefined;
|
|
37078
|
+
JoinExperience: UserNotificationPayloadJoinExperience | undefined;
|
|
37079
|
+
MessageId: string;
|
|
37080
|
+
Type: string;
|
|
37081
|
+
GetParameters(this: UserNotificationPayload): unknown;
|
|
37082
|
+
SetParameters(this: UserNotificationPayload, parameters: unknown): void;
|
|
37083
|
+
}
|
|
37084
|
+
|
|
37085
|
+
interface UserNotificationPayloadAnalyticsData extends Instance {
|
|
37086
|
+
/**
|
|
37087
|
+
* **DO NOT USE!**
|
|
37088
|
+
*
|
|
37089
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37090
|
+
* @hidden
|
|
37091
|
+
* @deprecated
|
|
37092
|
+
*/
|
|
37093
|
+
readonly _nominal_UserNotificationPayloadAnalyticsData: unique symbol;
|
|
37094
|
+
Category: string;
|
|
37095
|
+
}
|
|
37096
|
+
|
|
37097
|
+
interface UserNotificationPayloadJoinExperience extends Instance {
|
|
37098
|
+
/**
|
|
37099
|
+
* **DO NOT USE!**
|
|
37100
|
+
*
|
|
37101
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37102
|
+
* @hidden
|
|
37103
|
+
* @deprecated
|
|
37104
|
+
*/
|
|
37105
|
+
readonly _nominal_UserNotificationPayloadJoinExperience: unique symbol;
|
|
37106
|
+
LaunchData: string;
|
|
37107
|
+
}
|
|
37108
|
+
|
|
37109
|
+
interface UserNotificationPayloadParameterValue extends Instance {
|
|
37110
|
+
/**
|
|
37111
|
+
* **DO NOT USE!**
|
|
37112
|
+
*
|
|
37113
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37114
|
+
* @hidden
|
|
37115
|
+
* @deprecated
|
|
37116
|
+
*/
|
|
37117
|
+
readonly _nominal_UserNotificationPayloadParameterValue: unique symbol;
|
|
37118
|
+
Int64Value: number;
|
|
37119
|
+
StringValue: string;
|
|
37120
|
+
}
|
|
37121
|
+
|
|
37006
37122
|
/** A service that handles queries regarding users on the Roblox platform. */
|
|
37007
37123
|
interface UserService extends Instance {
|
|
37008
37124
|
/**
|
|
@@ -4255,10 +4255,14 @@ interface TestService extends Instance {
|
|
|
4255
4255
|
ExecuteWithStudioRun: boolean;
|
|
4256
4256
|
/**
|
|
4257
4257
|
* Sets whether or not the physics engine should be throttled to 30 FPS while the test is being ran.
|
|
4258
|
+
*
|
|
4259
|
+
* Tags: Hidden, NotReplicated
|
|
4258
4260
|
*/
|
|
4259
4261
|
Is30FpsThrottleEnabled: boolean;
|
|
4260
4262
|
/**
|
|
4261
4263
|
* Sets whether or not the physics environment should be throttled while running this test.
|
|
4264
|
+
*
|
|
4265
|
+
* Tags: Hidden, NotReplicated
|
|
4262
4266
|
*/
|
|
4263
4267
|
IsPhysicsEnvironmentalThrottled: boolean;
|
|
4264
4268
|
/**
|
|
@@ -3438,6 +3438,11 @@ declare namespace Enum {
|
|
|
3438
3438
|
}
|
|
3439
3439
|
export type ClientAnimatorThrottlingMode = ClientAnimatorThrottlingMode.Default | ClientAnimatorThrottlingMode.Disabled | ClientAnimatorThrottlingMode.Enabled;
|
|
3440
3440
|
|
|
3441
|
+
export namespace CollaboratorStatus {
|
|
3442
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CollaboratorStatus>;
|
|
3443
|
+
}
|
|
3444
|
+
export type CollaboratorStatus = never;
|
|
3445
|
+
|
|
3441
3446
|
export namespace CollisionFidelity {
|
|
3442
3447
|
export interface Default extends globalThis.EnumItem {
|
|
3443
3448
|
Name: "Default";
|
|
@@ -3471,17 +3476,9 @@ declare namespace Enum {
|
|
|
3471
3476
|
|
|
3472
3477
|
export const PreciseConvexDecomposition: PreciseConvexDecomposition;
|
|
3473
3478
|
|
|
3474
|
-
export interface DynamicPreciseConvexDecomposition extends globalThis.EnumItem {
|
|
3475
|
-
Name: "DynamicPreciseConvexDecomposition";
|
|
3476
|
-
Value: 4;
|
|
3477
|
-
EnumType: typeof globalThis.Enum.CollisionFidelity;
|
|
3478
|
-
}
|
|
3479
|
-
|
|
3480
|
-
export const DynamicPreciseConvexDecomposition: DynamicPreciseConvexDecomposition;
|
|
3481
|
-
|
|
3482
3479
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CollisionFidelity>;
|
|
3483
3480
|
}
|
|
3484
|
-
export type CollisionFidelity = CollisionFidelity.Default | CollisionFidelity.Hull | CollisionFidelity.Box | CollisionFidelity.PreciseConvexDecomposition
|
|
3481
|
+
export type CollisionFidelity = CollisionFidelity.Default | CollisionFidelity.Hull | CollisionFidelity.Box | CollisionFidelity.PreciseConvexDecomposition;
|
|
3485
3482
|
|
|
3486
3483
|
export namespace CommandPermission {
|
|
3487
3484
|
export interface Plugin extends globalThis.EnumItem {
|
|
@@ -14070,9 +14067,17 @@ declare namespace Enum {
|
|
|
14070
14067
|
|
|
14071
14068
|
export const None: None;
|
|
14072
14069
|
|
|
14070
|
+
export interface PivotEditor extends globalThis.EnumItem {
|
|
14071
|
+
Name: "PivotEditor";
|
|
14072
|
+
Value: 10;
|
|
14073
|
+
EnumType: typeof globalThis.Enum.RibbonTool;
|
|
14074
|
+
}
|
|
14075
|
+
|
|
14076
|
+
export const PivotEditor: PivotEditor;
|
|
14077
|
+
|
|
14073
14078
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.RibbonTool>;
|
|
14074
14079
|
}
|
|
14075
|
-
export type RibbonTool = RibbonTool.Select | RibbonTool.Scale | RibbonTool.Rotate | RibbonTool.Move | RibbonTool.Transform | RibbonTool.ColorPicker | RibbonTool.MaterialPicker | RibbonTool.Group | RibbonTool.Ungroup | RibbonTool.None;
|
|
14080
|
+
export type RibbonTool = RibbonTool.Select | RibbonTool.Scale | RibbonTool.Rotate | RibbonTool.Move | RibbonTool.Transform | RibbonTool.ColorPicker | RibbonTool.MaterialPicker | RibbonTool.Group | RibbonTool.Ungroup | RibbonTool.None | RibbonTool.PivotEditor;
|
|
14076
14081
|
|
|
14077
14082
|
export namespace RigScale {
|
|
14078
14083
|
export interface Default extends globalThis.EnumItem {
|
package/include/roblox.d.ts
CHANGED
|
@@ -611,6 +611,9 @@ interface ItemDetailsBase {
|
|
|
611
611
|
Id: number;
|
|
612
612
|
Name: string;
|
|
613
613
|
Description: string;
|
|
614
|
+
IsPurchasable: boolean;
|
|
615
|
+
LowestPrice?: number;
|
|
616
|
+
LowestResalePrice?: number;
|
|
614
617
|
CreatorTargetId: number;
|
|
615
618
|
CreatorName: string;
|
|
616
619
|
CreatorType: string;
|