diff --git a/include/generated/None.d.ts b/include/generated/None.d.ts index 893dbfdab..0b22a4cb0 100644 --- a/include/generated/None.d.ts +++ b/include/generated/None.d.ts @@ -113,7 +113,6 @@ interface Services { PluginPolicyService: PluginPolicyService; PolicyService: PolicyService; ProcessInstancePhysicsService: ProcessInstancePhysicsService; - ProjectFolderService: ProjectFolderService; ProximityPromptService: ProximityPromptService; PublishService: PublishService; ReflectionService: ReflectionService; @@ -305,6 +304,7 @@ interface CreatableInstances { Glue: Glue; GroundController: GroundController; Handles: Handles; + HapticEffect: HapticEffect; Hat: Hat; HiddenSurfaceRemovalAsset: HiddenSurfaceRemovalAsset; Highlight: Highlight; @@ -3195,6 +3195,14 @@ interface AvatarCreationService extends Instance { * Tags: Yields */ CreateAvatarGenerationSessionAsync(this: AvatarCreationService, player: Player): AvatarGenerationSession; + /** + * Tags: Yields + */ + GenerateAvatarModelAsync(this: AvatarCreationService, player: Player, previewJobId: string, options: object, progressCallback: Callback): string; + /** + * Tags: Yields + */ + GenerateAvatarPreviewAsync(this: AvatarCreationService, player: Player, textPrompt: string, options: object, progressCallback: Callback): string; /** * Tags: Yields */ @@ -15930,6 +15938,21 @@ interface GuiService extends Instance { readonly MenuOpened: RBXScriptSignal<() => void>; } +interface HapticEffect extends Instance { + /** + * **DO NOT USE!** + * + * This field exists to force TypeScript to recognize this as a nominal type + * @hidden + * @deprecated + */ + readonly _nominal_HapticEffect: unique symbol; + Looped: boolean; + Type: Enum.HapticEffectType; + Play(this: HapticEffect): void; + Stop(this: HapticEffect): void; +} + /** 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. */ interface HapticService extends Instance { /** @@ -26852,7 +26875,7 @@ interface WorldRoot extends Model { direction: Vector3, raycastParams?: RaycastParams, ): RaycastResult | undefined; - Shapecast(this: WorldRoot, part: BasePart, direction: Vector3, params?: RaycastParams): RaycastResult; + Shapecast(this: WorldRoot, part: BasePart, direction: Vector3, params?: RaycastParams): RaycastResult | undefined; Spherecast( this: WorldRoot, position: Vector3, @@ -30026,17 +30049,6 @@ interface ProcessInstancePhysicsService extends Instance { readonly _nominal_ProcessInstancePhysicsService: unique symbol; } -interface ProjectFolderService extends Instance { - /** - * **DO NOT USE!** - * - * This field exists to force TypeScript to recognize this as a nominal type - * @hidden - * @deprecated - */ - readonly _nominal_ProjectFolderService: unique symbol; -} - /** The ProximityPrompt is an object that allows developers to prompt users to interact with an object in the 3D world, such as opening a door or picking up an item. * * ProximityPrompts work when parented to a [Part](https://developer.roblox.com/en-us/api-reference/class/Part), [Model](https://developer.roblox.com/en-us/api-reference/class/Model), or [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment) in the workspace. @@ -38405,6 +38417,7 @@ interface VRService extends Instance { readonly _nominal_VRService: unique symbol; AutomaticScaling: Enum.VRScaling; AvatarGestures: boolean; + ControllerModels: Enum.VRControllerModelMode; FadeOutViewOnCollision: boolean; /** * The GuiInputUserCFrame property describes what [UserCFrame](https://developer.roblox.com/en-us/api-reference/enum/UserCFrame) is responsible for input in VR. For instance, if a VR headset is responsible, the value of this property will be UserCFrame.Head. @@ -38416,6 +38429,7 @@ interface VRService extends Instance { * Tags: NotReplicated */ GuiInputUserCFrame: Enum.UserCFrame; + LaserPointer: Enum.VRLaserPointerMode; /** * Tags: NotReplicated */ diff --git a/include/generated/PluginSecurity.d.ts b/include/generated/PluginSecurity.d.ts index 8374d0bfd..c2715364e 100644 --- a/include/generated/PluginSecurity.d.ts +++ b/include/generated/PluginSecurity.d.ts @@ -3907,7 +3907,7 @@ interface StudioService extends Instance { * Returns the studio user's userId if they're logged in, otherwise returns 0. */ GetUserId(this: StudioService): number; - GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult; + GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult | undefined; /** * This function prompts the current Studio user to select one file, which will then be loaded as a [File](https://developer.roblox.com/en-us/api-reference/class/File). * diff --git a/include/generated/enums.d.ts b/include/generated/enums.d.ts index f9506eae8..3f5297f4c 100644 --- a/include/generated/enums.d.ts +++ b/include/generated/enums.d.ts @@ -2637,13 +2637,13 @@ declare namespace Enum { export const None: None; - export interface Timeout extends globalThis.EnumItem { - Name: "Timeout"; + export interface Unknown extends globalThis.EnumItem { + Name: "Unknown"; Value: 1; EnumType: typeof globalThis.Enum.AvatarGenerationError; } - export const Timeout: Timeout; + export const Unknown: Unknown; export interface DownloadFailed extends globalThis.EnumItem { Name: "DownloadFailed"; @@ -2669,17 +2669,25 @@ declare namespace Enum { export const Offensive: Offensive; - export interface Unknown extends globalThis.EnumItem { - Name: "Unknown"; + export interface Timeout extends globalThis.EnumItem { + Name: "Timeout"; Value: 5; EnumType: typeof globalThis.Enum.AvatarGenerationError; } - export const Unknown: Unknown; + export const Timeout: Timeout; + + export interface JobNotFound extends globalThis.EnumItem { + Name: "JobNotFound"; + Value: 6; + EnumType: typeof globalThis.Enum.AvatarGenerationError; + } + + export const JobNotFound: JobNotFound; export function GetEnumItems(this: globalThis.Enum): Array; } - export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Offensive | AvatarGenerationError.Unknown; + export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Unknown | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Offensive | AvatarGenerationError.Timeout | AvatarGenerationError.JobNotFound; export namespace AvatarGenerationJobStatus { export interface NotStarted extends globalThis.EnumItem { @@ -6444,6 +6452,35 @@ declare namespace Enum { } export type DeviceFeatureType = DeviceFeatureType.DeviceCapture; + export namespace DeviceLevel { + export interface Low extends globalThis.EnumItem { + Name: "Low"; + Value: 0; + EnumType: typeof globalThis.Enum.DeviceLevel; + } + + export const Low: Low; + + export interface Medium extends globalThis.EnumItem { + Name: "Medium"; + Value: 1; + EnumType: typeof globalThis.Enum.DeviceLevel; + } + + export const Medium: Medium; + + export interface High extends globalThis.EnumItem { + Name: "High"; + Value: 2; + EnumType: typeof globalThis.Enum.DeviceLevel; + } + + export const High: High; + + export function GetEnumItems(this: globalThis.Enum): Array; + } + export type DeviceLevel = DeviceLevel.Low | DeviceLevel.Medium | DeviceLevel.High; + export namespace DeviceType { export interface Unknown extends globalThis.EnumItem { Name: "Unknown"; @@ -8635,6 +8672,51 @@ declare namespace Enum { } export type HandlesStyle = HandlesStyle.Resize | HandlesStyle.Movement; + export namespace HapticEffectType { + export interface UIHover extends globalThis.EnumItem { + Name: "UIHover"; + Value: 0; + EnumType: typeof globalThis.Enum.HapticEffectType; + } + + export const UIHover: UIHover; + + export interface UIClick extends globalThis.EnumItem { + Name: "UIClick"; + Value: 1; + EnumType: typeof globalThis.Enum.HapticEffectType; + } + + export const UIClick: UIClick; + + export interface UINotification extends globalThis.EnumItem { + Name: "UINotification"; + Value: 2; + EnumType: typeof globalThis.Enum.HapticEffectType; + } + + export const UINotification: UINotification; + + export interface GameplayExplosion extends globalThis.EnumItem { + Name: "GameplayExplosion"; + Value: 3; + EnumType: typeof globalThis.Enum.HapticEffectType; + } + + export const GameplayExplosion: GameplayExplosion; + + export interface GameplayCollision extends globalThis.EnumItem { + Name: "GameplayCollision"; + Value: 4; + EnumType: typeof globalThis.Enum.HapticEffectType; + } + + export const GameplayCollision: GameplayCollision; + + export function GetEnumItems(this: globalThis.Enum): Array; + } + export type HapticEffectType = HapticEffectType.UIHover | HapticEffectType.UIClick | HapticEffectType.UINotification | HapticEffectType.GameplayExplosion | HapticEffectType.GameplayCollision; + export namespace HighlightDepthMode { export interface AlwaysOnTop extends globalThis.EnumItem { Name: "AlwaysOnTop"; @@ -21711,6 +21793,56 @@ declare namespace Enum { } export type VRComfortSetting = VRComfortSetting.Comfort | VRComfortSetting.Normal | VRComfortSetting.Expert | VRComfortSetting.Custom; + export namespace VRControllerModelMode { + export interface Disabled extends globalThis.EnumItem { + Name: "Disabled"; + Value: 0; + EnumType: typeof globalThis.Enum.VRControllerModelMode; + } + + export const Disabled: Disabled; + + export interface Transparent extends globalThis.EnumItem { + Name: "Transparent"; + Value: 1; + EnumType: typeof globalThis.Enum.VRControllerModelMode; + } + + export const Transparent: Transparent; + + export function GetEnumItems(this: globalThis.Enum): Array; + } + export type VRControllerModelMode = VRControllerModelMode.Disabled | VRControllerModelMode.Transparent; + + export namespace VRLaserPointerMode { + export interface Disabled extends globalThis.EnumItem { + Name: "Disabled"; + Value: 0; + EnumType: typeof globalThis.Enum.VRLaserPointerMode; + } + + export const Disabled: Disabled; + + export interface Pointer extends globalThis.EnumItem { + Name: "Pointer"; + Value: 1; + EnumType: typeof globalThis.Enum.VRLaserPointerMode; + } + + export const Pointer: Pointer; + + export interface DualPointer extends globalThis.EnumItem { + Name: "DualPointer"; + Value: 2; + EnumType: typeof globalThis.Enum.VRLaserPointerMode; + } + + export const DualPointer: DualPointer; + + export function GetEnumItems(this: globalThis.Enum): Array; + } + export type VRLaserPointerMode = VRLaserPointerMode.Disabled | VRLaserPointerMode.Pointer | VRLaserPointerMode.DualPointer; + export namespace VRSafetyBubbleMode { export interface NoOne extends globalThis.EnumItem { Name: "NoOne";