@rbxts/types 1.0.777 → 1.0.778
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.
|
@@ -11,6 +11,7 @@ interface Services {
|
|
|
11
11
|
AnimationClipProvider: AnimationClipProvider;
|
|
12
12
|
AnimationFromVideoCreatorService: AnimationFromVideoCreatorService;
|
|
13
13
|
AnimationFromVideoCreatorStudioService: AnimationFromVideoCreatorStudioService;
|
|
14
|
+
AnnotationsService: AnnotationsService;
|
|
14
15
|
AppUpdateService: AppUpdateService;
|
|
15
16
|
AssetCounterService: AssetCounterService;
|
|
16
17
|
AssetDeliveryProxy: AssetDeliveryProxy;
|
|
@@ -2263,6 +2264,17 @@ interface Animator extends Instance {
|
|
|
2263
2264
|
readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
|
|
2264
2265
|
}
|
|
2265
2266
|
|
|
2267
|
+
interface AnnotationsService extends Instance {
|
|
2268
|
+
/**
|
|
2269
|
+
* **DO NOT USE!**
|
|
2270
|
+
*
|
|
2271
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2272
|
+
* @hidden
|
|
2273
|
+
* @deprecated
|
|
2274
|
+
*/
|
|
2275
|
+
readonly _nominal_AnnotationsService: unique symbol;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2266
2278
|
interface AppUpdateService extends Instance {
|
|
2267
2279
|
/**
|
|
2268
2280
|
* **DO NOT USE!**
|
|
@@ -3103,6 +3115,18 @@ interface AvatarCreationService extends Instance {
|
|
|
3103
3115
|
* Tags: Yields
|
|
3104
3116
|
*/
|
|
3105
3117
|
PromptCreateAvatarAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
3118
|
+
/**
|
|
3119
|
+
* Tags: Yields
|
|
3120
|
+
*/
|
|
3121
|
+
ValidateUGCAccessoryAsync(this: AvatarCreationService, player: Player, accessory: Accessory, accessoryType: CastsToEnum<Enum.AccessoryType>): unknown;
|
|
3122
|
+
/**
|
|
3123
|
+
* Tags: Yields
|
|
3124
|
+
*/
|
|
3125
|
+
ValidateUGCBodyPartAsync(this: AvatarCreationService, player: Player, instance: Instance, bodyPart: CastsToEnum<Enum.BodyPart>): unknown;
|
|
3126
|
+
/**
|
|
3127
|
+
* Tags: Yields
|
|
3128
|
+
*/
|
|
3129
|
+
ValidateUGCFullBodyAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
3106
3130
|
}
|
|
3107
3131
|
|
|
3108
3132
|
/** 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.
|
|
@@ -3548,6 +3572,7 @@ interface AvatarGenerationJob extends Instance {
|
|
|
3548
3572
|
Progress: number;
|
|
3549
3573
|
Status: Enum.AvatarGenerationJobStatus;
|
|
3550
3574
|
Cancel(this: AvatarGenerationJob): void;
|
|
3575
|
+
GetOutput(this: AvatarGenerationJob): object;
|
|
3551
3576
|
/**
|
|
3552
3577
|
* Tags: Yields
|
|
3553
3578
|
*/
|
|
@@ -3935,6 +3960,7 @@ interface RootImportData extends BaseImportData {
|
|
|
3935
3960
|
InsertInWorkspace: boolean;
|
|
3936
3961
|
InsertWithScenePosition: boolean;
|
|
3937
3962
|
InvertNegativeFaces: boolean;
|
|
3963
|
+
KeepZeroInfluenceBones: boolean;
|
|
3938
3964
|
MergeMeshes: boolean;
|
|
3939
3965
|
/**
|
|
3940
3966
|
* Tags: NotReplicated
|
|
@@ -415,6 +415,88 @@ declare namespace Enum {
|
|
|
415
415
|
}
|
|
416
416
|
export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.InGameMenuBackButton | AdTeleportMethod.UIBackButton;
|
|
417
417
|
|
|
418
|
+
export namespace AdUIEventType {
|
|
419
|
+
export interface AdLabelClicked extends globalThis.EnumItem {
|
|
420
|
+
Name: "AdLabelClicked";
|
|
421
|
+
Value: 0;
|
|
422
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export const AdLabelClicked: AdLabelClicked;
|
|
426
|
+
|
|
427
|
+
export interface VolumeButtonClicked extends globalThis.EnumItem {
|
|
428
|
+
Name: "VolumeButtonClicked";
|
|
429
|
+
Value: 1;
|
|
430
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export const VolumeButtonClicked: VolumeButtonClicked;
|
|
434
|
+
|
|
435
|
+
export interface FullscreenButtonClicked extends globalThis.EnumItem {
|
|
436
|
+
Name: "FullscreenButtonClicked";
|
|
437
|
+
Value: 2;
|
|
438
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export const FullscreenButtonClicked: FullscreenButtonClicked;
|
|
442
|
+
|
|
443
|
+
export interface PlayButtonClicked extends globalThis.EnumItem {
|
|
444
|
+
Name: "PlayButtonClicked";
|
|
445
|
+
Value: 3;
|
|
446
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export const PlayButtonClicked: PlayButtonClicked;
|
|
450
|
+
|
|
451
|
+
export interface PauseButtonClicked extends globalThis.EnumItem {
|
|
452
|
+
Name: "PauseButtonClicked";
|
|
453
|
+
Value: 4;
|
|
454
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export const PauseButtonClicked: PauseButtonClicked;
|
|
458
|
+
|
|
459
|
+
export interface CloseButtonClicked extends globalThis.EnumItem {
|
|
460
|
+
Name: "CloseButtonClicked";
|
|
461
|
+
Value: 5;
|
|
462
|
+
EnumType: typeof globalThis.Enum.AdUIEventType;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export const CloseButtonClicked: CloseButtonClicked;
|
|
466
|
+
|
|
467
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUIEventType>;
|
|
468
|
+
}
|
|
469
|
+
export type AdUIEventType = AdUIEventType.AdLabelClicked | AdUIEventType.VolumeButtonClicked | AdUIEventType.FullscreenButtonClicked | AdUIEventType.PlayButtonClicked | AdUIEventType.PauseButtonClicked | AdUIEventType.CloseButtonClicked;
|
|
470
|
+
|
|
471
|
+
export namespace AdUIType {
|
|
472
|
+
export interface None extends globalThis.EnumItem {
|
|
473
|
+
Name: "None";
|
|
474
|
+
Value: 0;
|
|
475
|
+
EnumType: typeof globalThis.Enum.AdUIType;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export const None: None;
|
|
479
|
+
|
|
480
|
+
export interface Image extends globalThis.EnumItem {
|
|
481
|
+
Name: "Image";
|
|
482
|
+
Value: 1;
|
|
483
|
+
EnumType: typeof globalThis.Enum.AdUIType;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export const Image: Image;
|
|
487
|
+
|
|
488
|
+
export interface Video extends globalThis.EnumItem {
|
|
489
|
+
Name: "Video";
|
|
490
|
+
Value: 2;
|
|
491
|
+
EnumType: typeof globalThis.Enum.AdUIType;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export const Video: Video;
|
|
495
|
+
|
|
496
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUIType>;
|
|
497
|
+
}
|
|
498
|
+
export type AdUIType = AdUIType.None | AdUIType.Image | AdUIType.Video;
|
|
499
|
+
|
|
418
500
|
export namespace AdUnitStatus {
|
|
419
501
|
export interface Inactive extends globalThis.EnumItem {
|
|
420
502
|
Name: "Inactive";
|
|
@@ -2441,9 +2523,17 @@ declare namespace Enum {
|
|
|
2441
2523
|
|
|
2442
2524
|
export const Canceled: Canceled;
|
|
2443
2525
|
|
|
2526
|
+
export interface Offensive extends globalThis.EnumItem {
|
|
2527
|
+
Name: "Offensive";
|
|
2528
|
+
Value: 4;
|
|
2529
|
+
EnumType: typeof globalThis.Enum.AvatarGenerationError;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
export const Offensive: Offensive;
|
|
2533
|
+
|
|
2444
2534
|
export interface Unknown extends globalThis.EnumItem {
|
|
2445
2535
|
Name: "Unknown";
|
|
2446
|
-
Value:
|
|
2536
|
+
Value: 5;
|
|
2447
2537
|
EnumType: typeof globalThis.Enum.AvatarGenerationError;
|
|
2448
2538
|
}
|
|
2449
2539
|
|
|
@@ -2451,7 +2541,7 @@ declare namespace Enum {
|
|
|
2451
2541
|
|
|
2452
2542
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AvatarGenerationError>;
|
|
2453
2543
|
}
|
|
2454
|
-
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Unknown;
|
|
2544
|
+
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Offensive | AvatarGenerationError.Unknown;
|
|
2455
2545
|
|
|
2456
2546
|
export namespace AvatarGenerationJobStatus {
|
|
2457
2547
|
export interface NotStarted extends globalThis.EnumItem {
|