Skip to content

Commit

Permalink
Update generated files [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Aug 14, 2024
1 parent e3a6103 commit 26a6100
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 21 deletions.
40 changes: 27 additions & 13 deletions include/generated/None.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ interface Services {
PluginPolicyService: PluginPolicyService;
PolicyService: PolicyService;
ProcessInstancePhysicsService: ProcessInstancePhysicsService;
ProjectFolderService: ProjectFolderService;
ProximityPromptService: ProximityPromptService;
PublishService: PublishService;
ReflectionService: ReflectionService;
Expand Down Expand Up @@ -305,6 +304,7 @@ interface CreatableInstances {
Glue: Glue;
GroundController: GroundController;
Handles: Handles;
HapticEffect: HapticEffect;
Hat: Hat;
HiddenSurfaceRemovalAsset: HiddenSurfaceRemovalAsset;
Highlight: Highlight;
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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 {
/**
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -38416,6 +38429,7 @@ interface VRService extends Instance {
* Tags: NotReplicated
*/
GuiInputUserCFrame: Enum.UserCFrame;
LaserPointer: Enum.VRLaserPointerMode;
/**
* Tags: NotReplicated
*/
Expand Down
2 changes: 1 addition & 1 deletion include/generated/PluginSecurity.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*
Expand Down
146 changes: 139 additions & 7 deletions include/generated/enums.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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<globalThis.Enum.AvatarGenerationError>;
}
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 {
Expand Down Expand Up @@ -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<globalThis.Enum.DeviceLevel>;
}
export type DeviceLevel = DeviceLevel.Low | DeviceLevel.Medium | DeviceLevel.High;

export namespace DeviceType {
export interface Unknown extends globalThis.EnumItem {
Name: "Unknown";
Expand Down Expand Up @@ -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<globalThis.Enum.HapticEffectType>;
}
export type HapticEffectType = HapticEffectType.UIHover | HapticEffectType.UIClick | HapticEffectType.UINotification | HapticEffectType.GameplayExplosion | HapticEffectType.GameplayCollision;

export namespace HighlightDepthMode {
export interface AlwaysOnTop extends globalThis.EnumItem {
Name: "AlwaysOnTop";
Expand Down Expand Up @@ -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<globalThis.Enum.VRControllerModelMode>;
}
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<globalThis.Enum.VRLaserPointerMode>;
}
export type VRLaserPointerMode = VRLaserPointerMode.Disabled | VRLaserPointerMode.Pointer | VRLaserPointerMode.DualPointer;

export namespace VRSafetyBubbleMode {
export interface NoOne extends globalThis.EnumItem {
Name: "NoOne";
Expand Down

0 comments on commit 26a6100

Please sign in to comment.