@rbxts/types 1.0.776 → 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!**
@@ -3082,6 +3094,7 @@ interface AvatarCreationService extends Instance {
3082
3094
  * @deprecated
3083
3095
  */
3084
3096
  readonly _nominal_AvatarCreationService: unique symbol;
3097
+ SendAnalyticsEvent(this: AvatarCreationService, eventName: string, params: object): void;
3085
3098
  /**
3086
3099
  * Tags: Yields
3087
3100
  */
@@ -3102,6 +3115,18 @@ interface AvatarCreationService extends Instance {
3102
3115
  * Tags: Yields
3103
3116
  */
3104
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;
3105
3130
  }
3106
3131
 
3107
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.
@@ -3547,6 +3572,7 @@ interface AvatarGenerationJob extends Instance {
3547
3572
  Progress: number;
3548
3573
  Status: Enum.AvatarGenerationJobStatus;
3549
3574
  Cancel(this: AvatarGenerationJob): void;
3575
+ GetOutput(this: AvatarGenerationJob): object;
3550
3576
  /**
3551
3577
  * Tags: Yields
3552
3578
  */
@@ -3934,6 +3960,7 @@ interface RootImportData extends BaseImportData {
3934
3960
  InsertInWorkspace: boolean;
3935
3961
  InsertWithScenePosition: boolean;
3936
3962
  InvertNegativeFaces: boolean;
3963
+ KeepZeroInfluenceBones: boolean;
3937
3964
  MergeMeshes: boolean;
3938
3965
  /**
3939
3966
  * Tags: NotReplicated
@@ -11007,6 +11034,10 @@ interface Explosion extends Instance {
11007
11034
  * If ExplosionType is set to create craters in [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain), the radius of the crater will be roughly equal to the [Explosion.BlastRadius](https://developer.roblox.com/en-us/api-reference/property/Explosion/BlastRadius). Craters are created in all [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain) materials other than water. The size of the crater is not influenced by the material, although some materials create rougher edges than others.
11008
11035
  */
11009
11036
  ExplosionType: Enum.ExplosionType;
11037
+ /**
11038
+ * Tags: Hidden, NotReplicated
11039
+ */
11040
+ LocalTransparencyModifier: number;
11010
11041
  /**
11011
11042
  * This property is the position of the center of the [Explosion](https://developer.roblox.com/en-us/api-reference/class/Explosion). It is defined in world-space and not influenced by the [Explosion](https://developer.roblox.com/en-us/api-reference/class/Explosion)'s parent.
11012
11043
  *
@@ -11444,6 +11475,10 @@ interface Fire extends Instance {
11444
11475
  * Tags: NotReplicated
11445
11476
  */
11446
11477
  Heat: number;
11478
+ /**
11479
+ * Tags: Hidden, NotReplicated
11480
+ */
11481
+ LocalTransparencyModifier: number;
11447
11482
  /**
11448
11483
  * The SecondaryColor property determines the color of the smaller particles emit by a [Fire](https://developer.roblox.com/en-us/api-reference/class/Fire) object. It is essentially the color of the inner portion of the flame. Below, you can see the SecondaryColor of the flame is set to white to differentiate with the larger, outer particles which have [Fire.Color](https://developer.roblox.com/en-us/api-reference/property/Fire/Color) set to blue. It should be noted that the inner particles use a [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission) of 1, so darker colors will instead cause the particles to appear transparent (and therefore black will stop rendering inner particles altogether).
11449
11484
  *
@@ -19571,6 +19606,10 @@ interface InsertService extends Instance {
19571
19606
  * @deprecated
19572
19607
  */
19573
19608
  Insert(this: InsertService, instance: Instance): void;
19609
+ /**
19610
+ * Tags: Yields
19611
+ */
19612
+ CreateMeshPartAsync(this: InsertService, meshId: string, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>, renderFidelity: CastsToEnum<Enum.RenderFidelity>): MeshPart;
19574
19613
  /**
19575
19614
  * Tags: Yields
19576
19615
  * @deprecated Use `GetBaseSets` instead
@@ -31468,6 +31507,10 @@ interface Smoke extends Instance {
31468
31507
  * stopSmoke(part.Smoke)
31469
31508
  */
31470
31509
  Enabled: boolean;
31510
+ /**
31511
+ * Tags: Hidden, NotReplicated
31512
+ */
31513
+ LocalTransparencyModifier: number;
31471
31514
  /**
31472
31515
  * Opacity determines the opaqueness of the smoke particles. It must be in the range \[0, 1\]. This property works **inversely** in comparison to a part's [BasePart.Transparency](https://developer.roblox.com/en-us/api-reference/property/BasePart/Transparency) or ParticleEmitter's [ParticleEmitter.Transparency](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Transparency): a value of 0 is completely invisible, 1 is completely visible. Below, the left [Smoke](https://developer.roblox.com/en-us/api-reference/class/Smoke) effect has an Opacity of 0.25 (or, 25%), the center has the default 0.5 (50%), and the right has 1.0 (or 100%).
31473
31516
  *
@@ -32683,6 +32726,10 @@ interface Sparkles extends Instance {
32683
32726
  * stopSparkling(part.Sparkles)
32684
32727
  */
32685
32728
  Enabled: boolean;
32729
+ /**
32730
+ * Tags: Hidden, NotReplicated
32731
+ */
32732
+ LocalTransparencyModifier: number;
32686
32733
  /**
32687
32734
  * **Note** This property functions identically to [Sparkles.Color](https://developer.roblox.com/en-us/api-reference/property/Sparkles/Color)
32688
32735
  *
@@ -1122,21 +1122,6 @@ interface Humanoid extends Instance {
1122
1122
  CollisionType: Enum.HumanoidCollisionType;
1123
1123
  }
1124
1124
 
1125
- interface InsertService extends Instance {
1126
- /**
1127
- * **DO NOT USE!**
1128
- *
1129
- * This field exists to force TypeScript to recognize this as a nominal type
1130
- * @hidden
1131
- * @deprecated
1132
- */
1133
- readonly _nominal_InsertService: unique symbol;
1134
- /**
1135
- * Tags: Yields
1136
- */
1137
- CreateMeshPartAsync(this: InsertService, meshId: string, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>, renderFidelity: CastsToEnum<Enum.RenderFidelity>): MeshPart;
1138
- }
1139
-
1140
1125
  interface KeyframeSequenceProvider extends Instance {
1141
1126
  /**
1142
1127
  * **DO NOT USE!**
@@ -3678,7 +3663,6 @@ interface Studio extends Instance {
3678
3663
  * Tags: NotReplicated
3679
3664
  */
3680
3665
  ["Selection Color"]: Color3;
3681
- ["Server Audio Behavior"]: Enum.ServerAudioBehavior;
3682
3666
  ["Set Pivot of Imported Parts"]: boolean;
3683
3667
  ["Show Core GUI in Explorer while Playing"]: boolean;
3684
3668
  ["Show Diagnostics Bar"]: boolean;
@@ -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: 4;
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 {
@@ -12080,9 +12170,17 @@ declare namespace Enum {
12080
12170
 
12081
12171
  export const InsufficientMembership: InsufficientMembership;
12082
12172
 
12173
+ export interface PlaceInvalid extends globalThis.EnumItem {
12174
+ Name: "PlaceInvalid";
12175
+ Value: 13;
12176
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12177
+ }
12178
+
12179
+ export const PlaceInvalid: PlaceInvalid;
12180
+
12083
12181
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MarketplaceItemPurchaseStatus>;
12084
12182
  }
12085
- export type MarketplaceItemPurchaseStatus = MarketplaceItemPurchaseStatus.Success | MarketplaceItemPurchaseStatus.SystemError | MarketplaceItemPurchaseStatus.AlreadyOwned | MarketplaceItemPurchaseStatus.InsufficientRobux | MarketplaceItemPurchaseStatus.QuantityLimitExceeded | MarketplaceItemPurchaseStatus.QuotaExceeded | MarketplaceItemPurchaseStatus.NotForSale | MarketplaceItemPurchaseStatus.NotAvailableForPurchaser | MarketplaceItemPurchaseStatus.PriceMismatch | MarketplaceItemPurchaseStatus.SoldOut | MarketplaceItemPurchaseStatus.PurchaserIsSeller | MarketplaceItemPurchaseStatus.InsufficientMembership;
12183
+ export type MarketplaceItemPurchaseStatus = MarketplaceItemPurchaseStatus.Success | MarketplaceItemPurchaseStatus.SystemError | MarketplaceItemPurchaseStatus.AlreadyOwned | MarketplaceItemPurchaseStatus.InsufficientRobux | MarketplaceItemPurchaseStatus.QuantityLimitExceeded | MarketplaceItemPurchaseStatus.QuotaExceeded | MarketplaceItemPurchaseStatus.NotForSale | MarketplaceItemPurchaseStatus.NotAvailableForPurchaser | MarketplaceItemPurchaseStatus.PriceMismatch | MarketplaceItemPurchaseStatus.SoldOut | MarketplaceItemPurchaseStatus.PurchaserIsSeller | MarketplaceItemPurchaseStatus.InsufficientMembership | MarketplaceItemPurchaseStatus.PlaceInvalid;
12086
12184
 
12087
12185
  export namespace MarketplaceProductType {
12088
12186
  export interface AvatarAsset extends globalThis.EnumItem {
@@ -16597,35 +16695,6 @@ declare namespace Enum {
16597
16695
  }
16598
16696
  export type SensorUpdateType = SensorUpdateType.OnRead | SensorUpdateType.Manual;
16599
16697
 
16600
- export namespace ServerAudioBehavior {
16601
- export interface Enabled extends globalThis.EnumItem {
16602
- Name: "Enabled";
16603
- Value: 0;
16604
- EnumType: typeof globalThis.Enum.ServerAudioBehavior;
16605
- }
16606
-
16607
- export const Enabled: Enabled;
16608
-
16609
- export interface Muted extends globalThis.EnumItem {
16610
- Name: "Muted";
16611
- Value: 1;
16612
- EnumType: typeof globalThis.Enum.ServerAudioBehavior;
16613
- }
16614
-
16615
- export const Muted: Muted;
16616
-
16617
- export interface OnlineGame extends globalThis.EnumItem {
16618
- Name: "OnlineGame";
16619
- Value: 2;
16620
- EnumType: typeof globalThis.Enum.ServerAudioBehavior;
16621
- }
16622
-
16623
- export const OnlineGame: OnlineGame;
16624
-
16625
- export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ServerAudioBehavior>;
16626
- }
16627
- export type ServerAudioBehavior = ServerAudioBehavior.Enabled | ServerAudioBehavior.Muted | ServerAudioBehavior.OnlineGame;
16628
-
16629
16698
  export namespace ServerLiveEditingMode {
16630
16699
  export interface Uninitialized extends globalThis.EnumItem {
16631
16700
  Name: "Uninitialized";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.776",
3
+ "version": "1.0.778",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },