@rbxts/types 1.0.666 → 1.0.667
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.
|
@@ -112,7 +112,6 @@ interface Services {
|
|
|
112
112
|
Stats: Stats;
|
|
113
113
|
StudioAssetService: StudioAssetService;
|
|
114
114
|
StudioDeviceEmulatorService: StudioDeviceEmulatorService;
|
|
115
|
-
StudioHighDpiService: StudioHighDpiService;
|
|
116
115
|
StudioPublishService: StudioPublishService;
|
|
117
116
|
StudioScriptDebugEventListener: StudioScriptDebugEventListener;
|
|
118
117
|
StudioSdkService: StudioSdkService;
|
|
@@ -159,6 +158,7 @@ interface CreatableInstances {
|
|
|
159
158
|
ArcHandles: ArcHandles;
|
|
160
159
|
Atmosphere: Atmosphere;
|
|
161
160
|
Attachment: Attachment;
|
|
161
|
+
AudioSearchParams: AudioSearchParams;
|
|
162
162
|
Backpack: Backpack;
|
|
163
163
|
BallSocketConstraint: BallSocketConstraint;
|
|
164
164
|
Beam: Beam;
|
|
@@ -431,6 +431,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
431
431
|
AssetImportSession: AssetImportSession;
|
|
432
432
|
AssetPatchSettings: AssetPatchSettings;
|
|
433
433
|
AssetSoundEffect: AssetSoundEffect;
|
|
434
|
+
AudioPages: AudioPages;
|
|
434
435
|
BaseWrap: BaseWrap;
|
|
435
436
|
BubbleChatConfiguration: BubbleChatConfiguration;
|
|
436
437
|
CatalogPages: CatalogPages;
|
|
@@ -1237,9 +1238,14 @@ interface AdPortal extends Instance {
|
|
|
1237
1238
|
*/
|
|
1238
1239
|
readonly _nominal_AdPortal: unique symbol;
|
|
1239
1240
|
/**
|
|
1240
|
-
* Tags: ReadOnly, NotReplicated
|
|
1241
|
+
* Tags: ReadOnly, NotReplicated, Deprecated
|
|
1242
|
+
* @deprecated
|
|
1241
1243
|
*/
|
|
1242
1244
|
readonly PortalStatus: Enum.AdPortalStatus;
|
|
1245
|
+
/**
|
|
1246
|
+
* Tags: ReadOnly, NotReplicated
|
|
1247
|
+
*/
|
|
1248
|
+
readonly Status: Enum.AdUnitStatus;
|
|
1243
1249
|
}
|
|
1244
1250
|
|
|
1245
1251
|
/** **Note**
|
|
@@ -2287,6 +2293,10 @@ interface AssetService extends Instance {
|
|
|
2287
2293
|
* Tags: Yields
|
|
2288
2294
|
*/
|
|
2289
2295
|
SavePlaceAsync(this: AssetService): void;
|
|
2296
|
+
/**
|
|
2297
|
+
* Tags: Yields
|
|
2298
|
+
*/
|
|
2299
|
+
SearchAudio(this: AssetService, searchParameters: AudioSearchParams): AudioPages;
|
|
2290
2300
|
}
|
|
2291
2301
|
|
|
2292
2302
|
/** **Note**
|
|
@@ -2546,6 +2556,25 @@ interface Bone extends Attachment {
|
|
|
2546
2556
|
readonly TransformedWorldCFrame: CFrame;
|
|
2547
2557
|
}
|
|
2548
2558
|
|
|
2559
|
+
interface AudioSearchParams extends Instance {
|
|
2560
|
+
/**
|
|
2561
|
+
* **DO NOT USE!**
|
|
2562
|
+
*
|
|
2563
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2564
|
+
* @hidden
|
|
2565
|
+
* @deprecated
|
|
2566
|
+
*/
|
|
2567
|
+
readonly _nominal_AudioSearchParams: unique symbol;
|
|
2568
|
+
Album: string;
|
|
2569
|
+
Artist: string;
|
|
2570
|
+
AudioSubtype: Enum.AudioSubType;
|
|
2571
|
+
MaxDuration: number;
|
|
2572
|
+
MinDuration: number;
|
|
2573
|
+
SearchKeyword: string;
|
|
2574
|
+
Tag: string;
|
|
2575
|
+
Title: string;
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2549
2578
|
/** AvatarEditorService is a service to support developer Avatar Editors. It provides methods to modify the player's platform avatar, request information about a user's inventory, and request information about the catalog.
|
|
2550
2579
|
*
|
|
2551
2580
|
* See also
|
|
@@ -8315,10 +8344,7 @@ interface ControllerManager extends Instance {
|
|
|
8315
8344
|
* @deprecated
|
|
8316
8345
|
*/
|
|
8317
8346
|
readonly _nominal_ControllerManager: unique symbol;
|
|
8318
|
-
|
|
8319
|
-
* Tags: ReadOnly, NotReplicated
|
|
8320
|
-
*/
|
|
8321
|
-
readonly ActiveController: ControllerBase | undefined;
|
|
8347
|
+
ActiveController: ControllerBase | undefined;
|
|
8322
8348
|
BaseMoveSpeed: number;
|
|
8323
8349
|
BaseTurnSpeed: number;
|
|
8324
8350
|
ClimbSensor: ControllerSensor | undefined;
|
|
@@ -13206,6 +13232,10 @@ interface AdGui extends SurfaceGuiBase {
|
|
|
13206
13232
|
*/
|
|
13207
13233
|
readonly _nominal_AdGui: unique symbol;
|
|
13208
13234
|
AdShape: Enum.AdShape;
|
|
13235
|
+
/**
|
|
13236
|
+
* Tags: ReadOnly, NotReplicated
|
|
13237
|
+
*/
|
|
13238
|
+
readonly Status: Enum.AdUnitStatus;
|
|
13209
13239
|
}
|
|
13210
13240
|
|
|
13211
13241
|
/** **Note:** SurfaceGuis must be descendants of PlayerGui in order to know the player who is interacting with it.Allows for the rendering of GUI elements onto a part's surface in the 3D world, whilst allowing for basic user interaction to occur.
|
|
@@ -16232,6 +16262,22 @@ interface IKControl extends Instance {
|
|
|
16232
16262
|
Weight: number;
|
|
16233
16263
|
GetChainCount(this: IKControl): number;
|
|
16234
16264
|
GetChainLength(this: IKControl): number;
|
|
16265
|
+
/**
|
|
16266
|
+
* Tags: NotBrowsable
|
|
16267
|
+
*/
|
|
16268
|
+
GetNodeLocalCFrame(this: IKControl, index: number): CFrame;
|
|
16269
|
+
/**
|
|
16270
|
+
* Tags: NotBrowsable
|
|
16271
|
+
*/
|
|
16272
|
+
GetNodeWorldCFrame(this: IKControl, index: number): CFrame;
|
|
16273
|
+
/**
|
|
16274
|
+
* Tags: NotBrowsable
|
|
16275
|
+
*/
|
|
16276
|
+
GetRawFinalTarget(this: IKControl): CFrame;
|
|
16277
|
+
/**
|
|
16278
|
+
* Tags: NotBrowsable
|
|
16279
|
+
*/
|
|
16280
|
+
GetSmoothedFinalTarget(this: IKControl): CFrame;
|
|
16235
16281
|
}
|
|
16236
16282
|
|
|
16237
16283
|
interface ILegacyStudioBridge extends Instance {
|
|
@@ -24434,6 +24480,9 @@ interface Actor extends Model {
|
|
|
24434
24480
|
* @deprecated
|
|
24435
24481
|
*/
|
|
24436
24482
|
readonly _nominal_Actor: unique symbol;
|
|
24483
|
+
BindToMessage(this: Actor, name: string, callback: Callback): RBXScriptConnection;
|
|
24484
|
+
BindToMessageParallel(this: Actor, name: string, callback: Callback): RBXScriptConnection;
|
|
24485
|
+
SendMessage(this: Actor, name: string, message: Array<any>): void;
|
|
24437
24486
|
}
|
|
24438
24487
|
|
|
24439
24488
|
/** BackpackItem is an abstract class for backpack items such as HopperBins and Tools. */
|
|
@@ -25390,6 +25439,17 @@ interface Pages<T = unknown> extends Instance {
|
|
|
25390
25439
|
AdvanceToNextPageAsync(this: Pages): void;
|
|
25391
25440
|
}
|
|
25392
25441
|
|
|
25442
|
+
interface AudioPages extends Pages {
|
|
25443
|
+
/**
|
|
25444
|
+
* **DO NOT USE!**
|
|
25445
|
+
*
|
|
25446
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
25447
|
+
* @hidden
|
|
25448
|
+
* @deprecated
|
|
25449
|
+
*/
|
|
25450
|
+
readonly _nominal_AudioPages: unique symbol;
|
|
25451
|
+
}
|
|
25452
|
+
|
|
25393
25453
|
interface CatalogPages extends Pages {
|
|
25394
25454
|
/**
|
|
25395
25455
|
* **DO NOT USE!**
|
|
@@ -31315,17 +31375,6 @@ interface StudioDeviceEmulatorService extends Instance {
|
|
|
31315
31375
|
readonly _nominal_StudioDeviceEmulatorService: unique symbol;
|
|
31316
31376
|
}
|
|
31317
31377
|
|
|
31318
|
-
interface StudioHighDpiService extends Instance {
|
|
31319
|
-
/**
|
|
31320
|
-
* **DO NOT USE!**
|
|
31321
|
-
*
|
|
31322
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31323
|
-
* @hidden
|
|
31324
|
-
* @deprecated
|
|
31325
|
-
*/
|
|
31326
|
-
readonly _nominal_StudioHighDpiService: unique symbol;
|
|
31327
|
-
}
|
|
31328
|
-
|
|
31329
31378
|
interface StudioPublishService extends Instance {
|
|
31330
31379
|
/**
|
|
31331
31380
|
* **DO NOT USE!**
|
|
@@ -1794,6 +1794,7 @@ interface Plugin extends Instance {
|
|
|
1794
1794
|
* @deprecated
|
|
1795
1795
|
*/
|
|
1796
1796
|
GetStudioUserId(this: Plugin): number;
|
|
1797
|
+
Intersect(this: Plugin, objects: Array<Instance>): Instance | undefined;
|
|
1797
1798
|
/**
|
|
1798
1799
|
* This function returns true if this plugin is currently active, after having been activated via the [Plugin:Activate](https://developer.roblox.com/en-us/api-reference/function/Plugin/Activate) function.
|
|
1799
1800
|
*/
|
|
@@ -399,6 +399,27 @@ declare namespace Enum {
|
|
|
399
399
|
}
|
|
400
400
|
export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.PortalReturn | AdTeleportMethod.InGameMenuBackButton | AdTeleportMethod.UIBackButton;
|
|
401
401
|
|
|
402
|
+
export namespace AdUnitStatus {
|
|
403
|
+
export interface Inactive extends globalThis.EnumItem {
|
|
404
|
+
Name: "Inactive";
|
|
405
|
+
Value: 0;
|
|
406
|
+
EnumType: typeof globalThis.Enum.AdUnitStatus;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export const Inactive: Inactive;
|
|
410
|
+
|
|
411
|
+
export interface Active extends globalThis.EnumItem {
|
|
412
|
+
Name: "Active";
|
|
413
|
+
Value: 1;
|
|
414
|
+
EnumType: typeof globalThis.Enum.AdUnitStatus;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export const Active: Active;
|
|
418
|
+
|
|
419
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUnitStatus>;
|
|
420
|
+
}
|
|
421
|
+
export type AdUnitStatus = AdUnitStatus.Inactive | AdUnitStatus.Active;
|
|
422
|
+
|
|
402
423
|
export namespace AdornCullingMode {
|
|
403
424
|
export interface Automatic extends globalThis.EnumItem {
|
|
404
425
|
Name: "Automatic";
|
|
@@ -1475,6 +1496,27 @@ declare namespace Enum {
|
|
|
1475
1496
|
}
|
|
1476
1497
|
export type AssetTypeVerification = AssetTypeVerification.Default | AssetTypeVerification.ClientOnly | AssetTypeVerification.Always;
|
|
1477
1498
|
|
|
1499
|
+
export namespace AudioSubType {
|
|
1500
|
+
export interface Music extends globalThis.EnumItem {
|
|
1501
|
+
Name: "Music";
|
|
1502
|
+
Value: 1;
|
|
1503
|
+
EnumType: typeof globalThis.Enum.AudioSubType;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export const Music: Music;
|
|
1507
|
+
|
|
1508
|
+
export interface SoundEffect extends globalThis.EnumItem {
|
|
1509
|
+
Name: "SoundEffect";
|
|
1510
|
+
Value: 2;
|
|
1511
|
+
EnumType: typeof globalThis.Enum.AudioSubType;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export const SoundEffect: SoundEffect;
|
|
1515
|
+
|
|
1516
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioSubType>;
|
|
1517
|
+
}
|
|
1518
|
+
export type AudioSubType = AudioSubType.Music | AudioSubType.SoundEffect;
|
|
1519
|
+
|
|
1478
1520
|
export namespace AutoIndentRule {
|
|
1479
1521
|
export interface Off extends globalThis.EnumItem {
|
|
1480
1522
|
Name: "Off";
|
|
@@ -14337,6 +14379,35 @@ declare namespace Enum {
|
|
|
14337
14379
|
}
|
|
14338
14380
|
export type SizeConstraint = SizeConstraint.RelativeXY | SizeConstraint.RelativeXX | SizeConstraint.RelativeYY;
|
|
14339
14381
|
|
|
14382
|
+
export namespace SolverConvergenceVisualizationMode {
|
|
14383
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
14384
|
+
Name: "Disabled";
|
|
14385
|
+
Value: 0;
|
|
14386
|
+
EnumType: typeof globalThis.Enum.SolverConvergenceVisualizationMode;
|
|
14387
|
+
}
|
|
14388
|
+
|
|
14389
|
+
export const Disabled: Disabled;
|
|
14390
|
+
|
|
14391
|
+
export interface PerIsland extends globalThis.EnumItem {
|
|
14392
|
+
Name: "PerIsland";
|
|
14393
|
+
Value: 1;
|
|
14394
|
+
EnumType: typeof globalThis.Enum.SolverConvergenceVisualizationMode;
|
|
14395
|
+
}
|
|
14396
|
+
|
|
14397
|
+
export const PerIsland: PerIsland;
|
|
14398
|
+
|
|
14399
|
+
export interface PerEdge extends globalThis.EnumItem {
|
|
14400
|
+
Name: "PerEdge";
|
|
14401
|
+
Value: 2;
|
|
14402
|
+
EnumType: typeof globalThis.Enum.SolverConvergenceVisualizationMode;
|
|
14403
|
+
}
|
|
14404
|
+
|
|
14405
|
+
export const PerEdge: PerEdge;
|
|
14406
|
+
|
|
14407
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SolverConvergenceVisualizationMode>;
|
|
14408
|
+
}
|
|
14409
|
+
export type SolverConvergenceVisualizationMode = SolverConvergenceVisualizationMode.Disabled | SolverConvergenceVisualizationMode.PerIsland | SolverConvergenceVisualizationMode.PerEdge;
|
|
14410
|
+
|
|
14340
14411
|
export namespace SortDirection {
|
|
14341
14412
|
export interface Ascending extends globalThis.EnumItem {
|
|
14342
14413
|
Name: "Ascending";
|
|
@@ -17928,6 +17999,35 @@ declare namespace Enum {
|
|
|
17928
17999
|
}
|
|
17929
18000
|
export type VRPlayMode = VRPlayMode.Seated | VRPlayMode.Standing;
|
|
17930
18001
|
|
|
18002
|
+
export namespace VRSafetyBubbleMode {
|
|
18003
|
+
export interface NoOne extends globalThis.EnumItem {
|
|
18004
|
+
Name: "NoOne";
|
|
18005
|
+
Value: 0;
|
|
18006
|
+
EnumType: typeof globalThis.Enum.VRSafetyBubbleMode;
|
|
18007
|
+
}
|
|
18008
|
+
|
|
18009
|
+
export const NoOne: NoOne;
|
|
18010
|
+
|
|
18011
|
+
export interface OnlyFriends extends globalThis.EnumItem {
|
|
18012
|
+
Name: "OnlyFriends";
|
|
18013
|
+
Value: 1;
|
|
18014
|
+
EnumType: typeof globalThis.Enum.VRSafetyBubbleMode;
|
|
18015
|
+
}
|
|
18016
|
+
|
|
18017
|
+
export const OnlyFriends: OnlyFriends;
|
|
18018
|
+
|
|
18019
|
+
export interface Anyone extends globalThis.EnumItem {
|
|
18020
|
+
Name: "Anyone";
|
|
18021
|
+
Value: 2;
|
|
18022
|
+
EnumType: typeof globalThis.Enum.VRSafetyBubbleMode;
|
|
18023
|
+
}
|
|
18024
|
+
|
|
18025
|
+
export const Anyone: Anyone;
|
|
18026
|
+
|
|
18027
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VRSafetyBubbleMode>;
|
|
18028
|
+
}
|
|
18029
|
+
export type VRSafetyBubbleMode = VRSafetyBubbleMode.NoOne | VRSafetyBubbleMode.OnlyFriends | VRSafetyBubbleMode.Anyone;
|
|
18030
|
+
|
|
17931
18031
|
export namespace VRSessionState {
|
|
17932
18032
|
export interface Idle extends globalThis.EnumItem {
|
|
17933
18033
|
Name: "Idle";
|