@rbxts/types 1.0.882 → 1.0.883

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.
@@ -897,7 +897,6 @@ interface ConfigSnapshot extends RBXObject {
897
897
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ConfigSnapshot#GetValue)
898
898
  * @param this
899
899
  * @param key
900
- * @param defaultValue
901
900
  */
902
901
  GetValue(this: ConfigSnapshot, key: string): unknown;
903
902
  /**
@@ -7293,17 +7292,27 @@ interface AvatarCreationService extends Instance {
7293
7292
  */
7294
7293
  AutoSetupAvatarAsync(this: AvatarCreationService, player: Player, model: Model, progressCallback?: Callback): string;
7295
7294
  /**
7295
+ * Creates a 2D avatar preview and returns a previewId.
7296
+ *
7296
7297
  * - **ThreadSafety**: Unsafe
7297
7298
  * - **Tags**: Yields
7298
7299
  *
7299
7300
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#GenerateAvatar2DPreviewAsync)
7301
+ * @param this A service to support developer avatar creators.
7302
+ * @param avatarGeneration2dPreviewParams A table of arguments for 2D preview generation. Type: `avatarGeneration2dPreviewParams: {SessionId: string, FileId: string, TextPrompt: string?}`
7303
+ * @returns A string previewId
7300
7304
  */
7301
7305
  GenerateAvatar2DPreviewAsync(this: AvatarCreationService, avatarGeneration2dPreviewParams: object): string;
7302
7306
  /**
7307
+ * Generates an avatar and returns a generationId.
7308
+ *
7303
7309
  * - **ThreadSafety**: Unsafe
7304
7310
  * - **Tags**: Yields
7305
7311
  *
7306
7312
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#GenerateAvatarAsync)
7313
+ * @param this A service to support developer avatar creators.
7314
+ * @param avatarGenerationParams A table of arguments for generating an avatar. Type: `avatarGenerationParams: {SessionId: string, PreviewId: string}`
7315
+ * @returns A string generationId.
7307
7316
  */
7308
7317
  GenerateAvatarAsync(this: AvatarCreationService, avatarGenerationParams: object): string;
7309
7318
  /**
@@ -7319,10 +7328,15 @@ interface AvatarCreationService extends Instance {
7319
7328
  */
7320
7329
  GetBatchTokenDetailsAsync(this: AvatarCreationService, tokenIds: Array<unknown>): Array<unknown>;
7321
7330
  /**
7331
+ * Load an AvatarGeneration 2D preview on the client from a previewId.
7332
+ *
7322
7333
  * - **ThreadSafety**: Unsafe
7323
7334
  * - **Tags**: Yields
7324
7335
  *
7325
7336
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#LoadAvatar2DPreviewAsync)
7337
+ * @param this A service to support developer avatar creators.
7338
+ * @param previewId Load the preview generated from `GenerateAvatar2DPreviewAsync()`.
7339
+ * @returns An `EditableImage` containing the preview image.
7326
7340
  */
7327
7341
  LoadAvatar2DPreviewAsync(this: AvatarCreationService, previewId: string): EditableImage;
7328
7342
  /**
@@ -7348,6 +7362,13 @@ interface AvatarCreationService extends Instance {
7348
7362
  * @param humanoidModel The `Model` containing `MeshPart` children with `WrapDeformer` instances that require HSR data updating for preview.
7349
7363
  */
7350
7364
  PrepareAvatarForPreviewAsync(this: AvatarCreationService, humanoidModel: Model): void;
7365
+ /**
7366
+ * - **ThreadSafety**: Unsafe
7367
+ * - **Tags**: Yields
7368
+ *
7369
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#PromptCreateAvatarAssetAsync)
7370
+ */
7371
+ PromptCreateAvatarAssetAsync(this: AvatarCreationService, tokenId: string, player: Player, assetInstance: Instance, assetType: CastsToEnum<Enum.AvatarAssetType>): unknown;
7351
7372
  /**
7352
7373
  * Prompts a `Player` to purchase and create an avatar from a `HumanoidDescription`.
7353
7374
  *
@@ -7365,17 +7386,28 @@ interface AvatarCreationService extends Instance {
7365
7386
  */
7366
7387
  PromptCreateAvatarAsync(this: AvatarCreationService, tokenId: string, player: Player, humanoidDescription: HumanoidDescription): unknown;
7367
7388
  /**
7389
+ * Prompt the `Player` to take a selfie and return the FileId.
7390
+ *
7368
7391
  * - **ThreadSafety**: Unsafe
7369
7392
  * - **Tags**: Yields
7370
7393
  *
7371
7394
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#PromptSelectAvatarGenerationImageAsync)
7395
+ * @param this A service to support developer avatar creators.
7396
+ * @param player The `Player` to prompt for taking a selfie.
7397
+ * @returns A string FileId of the selfie.
7372
7398
  */
7373
7399
  PromptSelectAvatarGenerationImageAsync(this: AvatarCreationService, player: Player): string;
7374
7400
  /**
7401
+ * Request an AvatarGeneration session for a `Player`.
7402
+ *
7375
7403
  * - **ThreadSafety**: Unsafe
7376
7404
  * - **Tags**: Yields
7377
7405
  *
7378
7406
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#RequestAvatarGenerationSessionAsync)
7407
+ * @param this A service to support developer avatar creators.
7408
+ * @param player The `Player` to request an AvatarGeneration session for.
7409
+ * @param callback Callback function that is invoked with a SessionInfo table, with information about the session. Type: `(SessionInfo: { SessionId: string, Allowed2DGenerations: number, Allowed3DGenerations: number, SessionTime: number }) -> ()`
7410
+ * @returns A tuple containing a `RBXScriptConnection` that can be used to cancel the session request and the estimated wait time in seconds.
7379
7411
  */
7380
7412
  RequestAvatarGenerationSessionAsync(this: AvatarCreationService, player: Player, callback: Callback): unknown;
7381
7413
  /**
@@ -7422,6 +7454,12 @@ interface AvatarCreationService extends Instance {
7422
7454
  * - An optional table of strings. This includes failure reasons if validation was unsuccessful; otherwise `nil` if validation was successful.
7423
7455
  */
7424
7456
  ValidateUGCFullBodyAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
7457
+ /**
7458
+ * - **ThreadSafety**: Unsafe
7459
+ *
7460
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#AvatarAssetModerationCompleted)
7461
+ */
7462
+ readonly AvatarAssetModerationCompleted: RBXScriptSignal<(assetId: number, moderationStatus: Enum.ModerationStatus) => void>;
7425
7463
  /**
7426
7464
  * Fires when an in-experience-created avatar's moderation status has been updated from pending.
7427
7465
  *
@@ -21284,6 +21322,12 @@ interface HapticEffect extends Instance {
21284
21322
  * @param this
21285
21323
  */
21286
21324
  Stop(this: HapticEffect): void;
21325
+ /**
21326
+ * - **ThreadSafety**: Unsafe
21327
+ *
21328
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HapticEffect#Ended)
21329
+ */
21330
+ readonly Ended: RBXScriptSignal<() => void>;
21287
21331
  }
21288
21332
  /**
21289
21333
  * Provides haptic feedback to controllers and devices.
@@ -26912,6 +26956,18 @@ interface MaterialVariant extends Instance {
26912
26956
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#CustomPhysicalProperties)
26913
26957
  */
26914
26958
  CustomPhysicalProperties: PhysicalProperties;
26959
+ /**
26960
+ * - **ThreadSafety**: ReadSafe
26961
+ *
26962
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#EmissiveStrength)
26963
+ */
26964
+ EmissiveStrength: number;
26965
+ /**
26966
+ * - **ThreadSafety**: ReadSafe
26967
+ *
26968
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#EmissiveTint)
26969
+ */
26970
+ EmissiveTint: Color3;
26915
26971
  /**
26916
26972
  * Determines texture tiling method.
26917
26973
  *
@@ -31973,6 +32029,18 @@ interface ParticleEmitter extends Instance {
31973
32029
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ParticleEmitter#FlipbookMode)
31974
32030
  */
31975
32031
  FlipbookMode: Enum.ParticleFlipbookMode;
32032
+ /**
32033
+ * - **ThreadSafety**: ReadSafe
32034
+ *
32035
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ParticleEmitter#FlipbookSizeX)
32036
+ */
32037
+ FlipbookSizeX: number;
32038
+ /**
32039
+ * - **ThreadSafety**: ReadSafe
32040
+ *
32041
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ParticleEmitter#FlipbookSizeY)
32042
+ */
32043
+ FlipbookSizeY: number;
31976
32044
  /**
31977
32045
  * Determines whether the animation starts at a random frame chosen per particle instead of always starting at frame zero.
31978
32046
  *
@@ -39486,6 +39554,24 @@ interface SurfaceAppearance extends Instance {
39486
39554
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#ColorMapContent)
39487
39555
  */
39488
39556
  get ColorMapContent(): Content;
39557
+ /**
39558
+ * - **ThreadSafety**: ReadSafe
39559
+ *
39560
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveMaskContent)
39561
+ */
39562
+ get EmissiveMaskContent(): Content;
39563
+ /**
39564
+ * - **ThreadSafety**: ReadSafe
39565
+ *
39566
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveStrength)
39567
+ */
39568
+ EmissiveStrength: number;
39569
+ /**
39570
+ * - **ThreadSafety**: ReadSafe
39571
+ *
39572
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveTint)
39573
+ */
39574
+ EmissiveTint: Color3;
39489
39575
  /**
39490
39576
  * - **ThreadSafety**: ReadSafe
39491
39577
  * - **Tags**: Hidden
@@ -40060,6 +40146,18 @@ interface TerrainDetail extends Instance {
40060
40146
  * @deprecated
40061
40147
  */
40062
40148
  readonly _nominal_TerrainDetail: unique symbol;
40149
+ /**
40150
+ * - **ThreadSafety**: ReadSafe
40151
+ *
40152
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TerrainDetail#EmissiveStrength)
40153
+ */
40154
+ EmissiveStrength: number;
40155
+ /**
40156
+ * - **ThreadSafety**: ReadSafe
40157
+ *
40158
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TerrainDetail#EmissiveTint)
40159
+ */
40160
+ EmissiveTint: Color3;
40063
40161
  /**
40064
40162
  * The face this TerrainDetail overrides.
40065
40163
  *
@@ -8003,6 +8003,12 @@ interface MaterialVariant extends Instance {
8003
8003
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#ColorMapContent)
8004
8004
  */
8005
8005
  ColorMapContent: Content;
8006
+ /**
8007
+ * - **ThreadSafety**: ReadSafe
8008
+ *
8009
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#EmissiveMaskContent)
8010
+ */
8011
+ EmissiveMaskContent: Content;
8006
8012
  /**
8007
8013
  * Determines which parts of the surface are metal and are non-metal.
8008
8014
  *
@@ -10145,6 +10151,8 @@ interface Plugin extends Instance {
10145
10151
  */
10146
10152
  Negate(this: Plugin, objects: Array<Instance>): Array<Instance>;
10147
10153
  /**
10154
+ * **Deprecated:**
10155
+ *
10148
10156
  * Used to open the given script instance in an editor window, in Roblox studio, at the given line. If no line is given as an argument it will default to 1.
10149
10157
  *
10150
10158
  * - **ThreadSafety**: Unsafe
@@ -13313,6 +13321,12 @@ interface SurfaceAppearance extends Instance {
13313
13321
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#ColorMapContent)
13314
13322
  */
13315
13323
  set ColorMapContent(value: Content);
13324
+ /**
13325
+ * - **ThreadSafety**: ReadSafe
13326
+ *
13327
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveMaskContent)
13328
+ */
13329
+ set EmissiveMaskContent(value: Content);
13316
13330
  /**
13317
13331
  * Determines which parts of the surface are metal or non-metal.
13318
13332
  *
@@ -13592,6 +13606,12 @@ interface TerrainDetail extends Instance {
13592
13606
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TerrainDetail#ColorMapContent)
13593
13607
  */
13594
13608
  ColorMapContent: Content;
13609
+ /**
13610
+ * - **ThreadSafety**: ReadSafe
13611
+ *
13612
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TerrainDetail#EmissiveMaskContent)
13613
+ */
13614
+ EmissiveMaskContent: Content;
13595
13615
  /**
13596
13616
  * Determines which parts of the surface are metal and are non-metal.
13597
13617
  *
@@ -2779,24 +2779,6 @@ declare namespace Enum {
2779
2779
  EnumType: typeof globalThis.Enum.AssetType;
2780
2780
  }
2781
2781
  export const PoseAnimation: PoseAnimation;
2782
- /**
2783
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AssetType#EarAccessory)
2784
- */
2785
- export interface EarAccessory extends globalThis.EnumItem {
2786
- Name: "EarAccessory";
2787
- Value: 57;
2788
- EnumType: typeof globalThis.Enum.AssetType;
2789
- }
2790
- export const EarAccessory: EarAccessory;
2791
- /**
2792
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AssetType#EyeAccessory)
2793
- */
2794
- export interface EyeAccessory extends globalThis.EnumItem {
2795
- Name: "EyeAccessory";
2796
- Value: 58;
2797
- EnumType: typeof globalThis.Enum.AssetType;
2798
- }
2799
- export const EyeAccessory: EyeAccessory;
2800
2782
  /**
2801
2783
  * The asset is an emote animation.
2802
2784
  *
@@ -2949,11 +2931,29 @@ declare namespace Enum {
2949
2931
  EnumType: typeof globalThis.Enum.AssetType;
2950
2932
  }
2951
2933
  export const DynamicHead: DynamicHead;
2934
+ /**
2935
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AssetType#EarAccessory)
2936
+ */
2937
+ export interface EarAccessory extends globalThis.EnumItem {
2938
+ Name: "EarAccessory";
2939
+ Value: 57;
2940
+ EnumType: typeof globalThis.Enum.AssetType;
2941
+ }
2942
+ export const EarAccessory: EarAccessory;
2943
+ /**
2944
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AssetType#EyeAccessory)
2945
+ */
2946
+ export interface EyeAccessory extends globalThis.EnumItem {
2947
+ Name: "EyeAccessory";
2948
+ Value: 58;
2949
+ EnumType: typeof globalThis.Enum.AssetType;
2950
+ }
2951
+ export const EyeAccessory: EyeAccessory;
2952
2952
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AssetType>;
2953
2953
  export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.AssetType | undefined;
2954
2954
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.AssetType | undefined;
2955
2955
  }
2956
- export type AssetType = AssetType.Image | AssetType.TShirt | AssetType.Audio | AssetType.Mesh | AssetType.Lua | AssetType.Hat | AssetType.Place | AssetType.Model | AssetType.Shirt | AssetType.Pants | AssetType.Decal | AssetType.Head | AssetType.Face | AssetType.Gear | AssetType.Badge | AssetType.Animation | AssetType.Torso | AssetType.RightArm | AssetType.LeftArm | AssetType.LeftLeg | AssetType.RightLeg | AssetType.Package | AssetType.GamePass | AssetType.Plugin | AssetType.MeshPart | AssetType.HairAccessory | AssetType.FaceAccessory | AssetType.NeckAccessory | AssetType.ShoulderAccessory | AssetType.FrontAccessory | AssetType.BackAccessory | AssetType.WaistAccessory | AssetType.ClimbAnimation | AssetType.DeathAnimation | AssetType.FallAnimation | AssetType.IdleAnimation | AssetType.JumpAnimation | AssetType.RunAnimation | AssetType.SwimAnimation | AssetType.WalkAnimation | AssetType.PoseAnimation | AssetType.EarAccessory | AssetType.EyeAccessory | AssetType.EmoteAnimation | AssetType.Video | AssetType.TShirtAccessory | AssetType.ShirtAccessory | AssetType.PantsAccessory | AssetType.JacketAccessory | AssetType.SweaterAccessory | AssetType.ShortsAccessory | AssetType.LeftShoeAccessory | AssetType.RightShoeAccessory | AssetType.DressSkirtAccessory | AssetType.FontFamily | AssetType.EyebrowAccessory | AssetType.EyelashAccessory | AssetType.MoodAnimation | AssetType.DynamicHead;
2956
+ export type AssetType = AssetType.Image | AssetType.TShirt | AssetType.Audio | AssetType.Mesh | AssetType.Lua | AssetType.Hat | AssetType.Place | AssetType.Model | AssetType.Shirt | AssetType.Pants | AssetType.Decal | AssetType.Head | AssetType.Face | AssetType.Gear | AssetType.Badge | AssetType.Animation | AssetType.Torso | AssetType.RightArm | AssetType.LeftArm | AssetType.LeftLeg | AssetType.RightLeg | AssetType.Package | AssetType.GamePass | AssetType.Plugin | AssetType.MeshPart | AssetType.HairAccessory | AssetType.FaceAccessory | AssetType.NeckAccessory | AssetType.ShoulderAccessory | AssetType.FrontAccessory | AssetType.BackAccessory | AssetType.WaistAccessory | AssetType.ClimbAnimation | AssetType.DeathAnimation | AssetType.FallAnimation | AssetType.IdleAnimation | AssetType.JumpAnimation | AssetType.RunAnimation | AssetType.SwimAnimation | AssetType.WalkAnimation | AssetType.PoseAnimation | AssetType.EmoteAnimation | AssetType.Video | AssetType.TShirtAccessory | AssetType.ShirtAccessory | AssetType.PantsAccessory | AssetType.JacketAccessory | AssetType.SweaterAccessory | AssetType.ShortsAccessory | AssetType.LeftShoeAccessory | AssetType.RightShoeAccessory | AssetType.DressSkirtAccessory | AssetType.FontFamily | AssetType.EyebrowAccessory | AssetType.EyelashAccessory | AssetType.MoodAnimation | AssetType.DynamicHead | AssetType.EarAccessory | AssetType.EyeAccessory;
2957
2957
  /**
2958
2958
  * Determines the asset type verification mode.
2959
2959
  *
@@ -22045,11 +22045,20 @@ declare namespace Enum {
22045
22045
  EnumType: typeof globalThis.Enum.ParticleFlipbookLayout;
22046
22046
  }
22047
22047
  export const Grid8x8: Grid8x8;
22048
+ /**
22049
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ParticleFlipbookLayout#Custom)
22050
+ */
22051
+ export interface Custom extends globalThis.EnumItem {
22052
+ Name: "Custom";
22053
+ Value: 4;
22054
+ EnumType: typeof globalThis.Enum.ParticleFlipbookLayout;
22055
+ }
22056
+ export const Custom: Custom;
22048
22057
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ParticleFlipbookLayout>;
22049
22058
  export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.ParticleFlipbookLayout | undefined;
22050
22059
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.ParticleFlipbookLayout | undefined;
22051
22060
  }
22052
- export type ParticleFlipbookLayout = ParticleFlipbookLayout.None | ParticleFlipbookLayout.Grid2x2 | ParticleFlipbookLayout.Grid4x4 | ParticleFlipbookLayout.Grid8x8;
22061
+ export type ParticleFlipbookLayout = ParticleFlipbookLayout.None | ParticleFlipbookLayout.Grid2x2 | ParticleFlipbookLayout.Grid4x4 | ParticleFlipbookLayout.Grid8x8 | ParticleFlipbookLayout.Custom;
22053
22062
  /**
22054
22063
  * Determines the type of the flipbook animation.
22055
22064
  *
@@ -23311,14 +23320,14 @@ declare namespace Enum {
23311
23320
  */
23312
23321
  export namespace PredictionMode {
23313
23322
  /**
23314
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode#Auto)
23323
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode#Automatic)
23315
23324
  */
23316
- export interface Auto extends globalThis.EnumItem {
23317
- Name: "Auto";
23325
+ export interface Automatic extends globalThis.EnumItem {
23326
+ Name: "Automatic";
23318
23327
  Value: 0;
23319
23328
  EnumType: typeof globalThis.Enum.PredictionMode;
23320
23329
  }
23321
- export const Auto: Auto;
23330
+ export const Automatic: Automatic;
23322
23331
  /**
23323
23332
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode#On)
23324
23333
  */
@@ -23341,7 +23350,7 @@ declare namespace Enum {
23341
23350
  export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PredictionMode | undefined;
23342
23351
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PredictionMode | undefined;
23343
23352
  }
23344
- export type PredictionMode = PredictionMode.Auto | PredictionMode.On | PredictionMode.Off;
23353
+ export type PredictionMode = PredictionMode.Automatic | PredictionMode.On | PredictionMode.Off;
23345
23354
  /**
23346
23355
  * This enum is used with `UserInputService.PreferredInput` to indicate the primary input type a player is likely using.
23347
23356
  *
@@ -23786,11 +23795,47 @@ declare namespace Enum {
23786
23795
  EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
23787
23796
  }
23788
23797
  export const UnknownFailure: UnknownFailure;
23798
+ /**
23799
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateAssetResult#UGCValidationFailed)
23800
+ */
23801
+ export interface UGCValidationFailed extends globalThis.EnumItem {
23802
+ Name: "UGCValidationFailed";
23803
+ Value: 7;
23804
+ EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
23805
+ }
23806
+ export const UGCValidationFailed: UGCValidationFailed;
23807
+ /**
23808
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateAssetResult#ModeratedName)
23809
+ */
23810
+ export interface ModeratedName extends globalThis.EnumItem {
23811
+ Name: "ModeratedName";
23812
+ Value: 8;
23813
+ EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
23814
+ }
23815
+ export const ModeratedName: ModeratedName;
23816
+ /**
23817
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateAssetResult#PurchaseFailure)
23818
+ */
23819
+ export interface PurchaseFailure extends globalThis.EnumItem {
23820
+ Name: "PurchaseFailure";
23821
+ Value: 9;
23822
+ EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
23823
+ }
23824
+ export const PurchaseFailure: PurchaseFailure;
23825
+ /**
23826
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateAssetResult#TokenInvalid)
23827
+ */
23828
+ export interface TokenInvalid extends globalThis.EnumItem {
23829
+ Name: "TokenInvalid";
23830
+ Value: 10;
23831
+ EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
23832
+ }
23833
+ export const TokenInvalid: TokenInvalid;
23789
23834
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PromptCreateAssetResult>;
23790
23835
  export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PromptCreateAssetResult | undefined;
23791
23836
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PromptCreateAssetResult | undefined;
23792
23837
  }
23793
- export type PromptCreateAssetResult = PromptCreateAssetResult.Success | PromptCreateAssetResult.PermissionDenied | PromptCreateAssetResult.Timeout | PromptCreateAssetResult.UploadFailed | PromptCreateAssetResult.NoUserInput | PromptCreateAssetResult.UnknownFailure;
23838
+ export type PromptCreateAssetResult = PromptCreateAssetResult.Success | PromptCreateAssetResult.PermissionDenied | PromptCreateAssetResult.Timeout | PromptCreateAssetResult.UploadFailed | PromptCreateAssetResult.NoUserInput | PromptCreateAssetResult.UnknownFailure | PromptCreateAssetResult.UGCValidationFailed | PromptCreateAssetResult.ModeratedName | PromptCreateAssetResult.PurchaseFailure | PromptCreateAssetResult.TokenInvalid;
23794
23839
  /**
23795
23840
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateAvatarResult)
23796
23841
  */
@@ -34541,6 +34586,96 @@ declare namespace Enum {
34541
34586
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.VoiceChatState | undefined;
34542
34587
  }
34543
34588
  export type VoiceChatState = VoiceChatState.Idle | VoiceChatState.Joining | VoiceChatState.JoiningRetry | VoiceChatState.Joined | VoiceChatState.Leaving | VoiceChatState.Ended | VoiceChatState.Failed;
34589
+ /**
34590
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons)
34591
+ */
34592
+ export namespace VoiceClientLeaveReasons {
34593
+ /**
34594
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#Unknown)
34595
+ */
34596
+ export interface Unknown extends globalThis.EnumItem {
34597
+ Name: "Unknown";
34598
+ Value: 0;
34599
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34600
+ }
34601
+ export const Unknown: Unknown;
34602
+ /**
34603
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#ClientNetworkDisconnected)
34604
+ */
34605
+ export interface ClientNetworkDisconnected extends globalThis.EnumItem {
34606
+ Name: "ClientNetworkDisconnected";
34607
+ Value: 1;
34608
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34609
+ }
34610
+ export const ClientNetworkDisconnected: ClientNetworkDisconnected;
34611
+ /**
34612
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#PlayerLeft)
34613
+ */
34614
+ export interface PlayerLeft extends globalThis.EnumItem {
34615
+ Name: "PlayerLeft";
34616
+ Value: 2;
34617
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34618
+ }
34619
+ export const PlayerLeft: PlayerLeft;
34620
+ /**
34621
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#ClientShutdown)
34622
+ */
34623
+ export interface ClientShutdown extends globalThis.EnumItem {
34624
+ Name: "ClientShutdown";
34625
+ Value: 3;
34626
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34627
+ }
34628
+ export const ClientShutdown: ClientShutdown;
34629
+ /**
34630
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#PublishFailed)
34631
+ */
34632
+ export interface PublishFailed extends globalThis.EnumItem {
34633
+ Name: "PublishFailed";
34634
+ Value: 4;
34635
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34636
+ }
34637
+ export const PublishFailed: PublishFailed;
34638
+ /**
34639
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#RejoinReceived)
34640
+ */
34641
+ export interface RejoinReceived extends globalThis.EnumItem {
34642
+ Name: "RejoinReceived";
34643
+ Value: 5;
34644
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34645
+ }
34646
+ export const RejoinReceived: RejoinReceived;
34647
+ /**
34648
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#VoiceReboot)
34649
+ */
34650
+ export interface VoiceReboot extends globalThis.EnumItem {
34651
+ Name: "VoiceReboot";
34652
+ Value: 6;
34653
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34654
+ }
34655
+ export const VoiceReboot: VoiceReboot;
34656
+ /**
34657
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#ImguiDebugLeave)
34658
+ */
34659
+ export interface ImguiDebugLeave extends globalThis.EnumItem {
34660
+ Name: "ImguiDebugLeave";
34661
+ Value: 7;
34662
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34663
+ }
34664
+ export const ImguiDebugLeave: ImguiDebugLeave;
34665
+ /**
34666
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceClientLeaveReasons#LuaInitiated)
34667
+ */
34668
+ export interface LuaInitiated extends globalThis.EnumItem {
34669
+ Name: "LuaInitiated";
34670
+ Value: 8;
34671
+ EnumType: typeof globalThis.Enum.VoiceClientLeaveReasons;
34672
+ }
34673
+ export const LuaInitiated: LuaInitiated;
34674
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VoiceClientLeaveReasons>;
34675
+ export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.VoiceClientLeaveReasons | undefined;
34676
+ export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.VoiceClientLeaveReasons | undefined;
34677
+ }
34678
+ export type VoiceClientLeaveReasons = VoiceClientLeaveReasons.Unknown | VoiceClientLeaveReasons.ClientNetworkDisconnected | VoiceClientLeaveReasons.PlayerLeft | VoiceClientLeaveReasons.ClientShutdown | VoiceClientLeaveReasons.PublishFailed | VoiceClientLeaveReasons.RejoinReceived | VoiceClientLeaveReasons.VoiceReboot | VoiceClientLeaveReasons.ImguiDebugLeave | VoiceClientLeaveReasons.LuaInitiated;
34544
34679
  /**
34545
34680
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VoiceControlPath)
34546
34681
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.882",
3
+ "version": "1.0.883",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },