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 May 29, 2024
1 parent b64820d commit 25af93b
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 2 deletions.
26 changes: 26 additions & 0 deletions include/generated/None.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ interface Services {
AnimationClipProvider: AnimationClipProvider;
AnimationFromVideoCreatorService: AnimationFromVideoCreatorService;
AnimationFromVideoCreatorStudioService: AnimationFromVideoCreatorStudioService;
AnnotationsService: AnnotationsService;
AppUpdateService: AppUpdateService;
AssetCounterService: AssetCounterService;
AssetDeliveryProxy: AssetDeliveryProxy;
Expand Down Expand Up @@ -2263,6 +2264,17 @@ interface Animator extends Instance {
readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
}

interface AnnotationsService extends Instance {
/**
* **DO NOT USE!**
*
* This field exists to force TypeScript to recognize this as a nominal type
* @hidden
* @deprecated
*/
readonly _nominal_AnnotationsService: unique symbol;
}

interface AppUpdateService extends Instance {
/**
* **DO NOT USE!**
Expand Down Expand Up @@ -3103,6 +3115,18 @@ interface AvatarCreationService extends Instance {
* Tags: Yields
*/
PromptCreateAvatarAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
/**
* Tags: Yields
*/
ValidateUGCAccessoryAsync(this: AvatarCreationService, player: Player, accessory: Accessory, accessoryType: CastsToEnum<Enum.AccessoryType>): unknown;
/**
* Tags: Yields
*/
ValidateUGCBodyPartAsync(this: AvatarCreationService, player: Player, instance: Instance, bodyPart: CastsToEnum<Enum.BodyPart>): unknown;
/**
* Tags: Yields
*/
ValidateUGCFullBodyAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
}

/** 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.
Expand Down Expand Up @@ -3548,6 +3572,7 @@ interface AvatarGenerationJob extends Instance {
Progress: number;
Status: Enum.AvatarGenerationJobStatus;
Cancel(this: AvatarGenerationJob): void;
GetOutput(this: AvatarGenerationJob): object;
/**
* Tags: Yields
*/
Expand Down Expand Up @@ -3935,6 +3960,7 @@ interface RootImportData extends BaseImportData {
InsertInWorkspace: boolean;
InsertWithScenePosition: boolean;
InvertNegativeFaces: boolean;
KeepZeroInfluenceBones: boolean;
MergeMeshes: boolean;
/**
* Tags: NotReplicated
Expand Down
94 changes: 92 additions & 2 deletions include/generated/enums.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,88 @@ declare namespace Enum {
}
export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.InGameMenuBackButton | AdTeleportMethod.UIBackButton;

export namespace AdUIEventType {
export interface AdLabelClicked extends globalThis.EnumItem {
Name: "AdLabelClicked";
Value: 0;
EnumType: typeof globalThis.Enum.AdUIEventType;
}

export const AdLabelClicked: AdLabelClicked;

export interface VolumeButtonClicked extends globalThis.EnumItem {
Name: "VolumeButtonClicked";
Value: 1;
EnumType: typeof globalThis.Enum.AdUIEventType;
}

export const VolumeButtonClicked: VolumeButtonClicked;

export interface FullscreenButtonClicked extends globalThis.EnumItem {
Name: "FullscreenButtonClicked";
Value: 2;
EnumType: typeof globalThis.Enum.AdUIEventType;
}

export const FullscreenButtonClicked: FullscreenButtonClicked;

export interface PlayButtonClicked extends globalThis.EnumItem {
Name: "PlayButtonClicked";
Value: 3;
EnumType: typeof globalThis.Enum.AdUIEventType;
}

export const PlayButtonClicked: PlayButtonClicked;

export interface PauseButtonClicked extends globalThis.EnumItem {
Name: "PauseButtonClicked";
Value: 4;
EnumType: typeof globalThis.Enum.AdUIEventType;
}

export const PauseButtonClicked: PauseButtonClicked;

export interface CloseButtonClicked extends globalThis.EnumItem {
Name: "CloseButtonClicked";
Value: 5;
EnumType: typeof globalThis.Enum.AdUIEventType;
}

export const CloseButtonClicked: CloseButtonClicked;

export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUIEventType>;
}
export type AdUIEventType = AdUIEventType.AdLabelClicked | AdUIEventType.VolumeButtonClicked | AdUIEventType.FullscreenButtonClicked | AdUIEventType.PlayButtonClicked | AdUIEventType.PauseButtonClicked | AdUIEventType.CloseButtonClicked;

export namespace AdUIType {
export interface None extends globalThis.EnumItem {
Name: "None";
Value: 0;
EnumType: typeof globalThis.Enum.AdUIType;
}

export const None: None;

export interface Image extends globalThis.EnumItem {
Name: "Image";
Value: 1;
EnumType: typeof globalThis.Enum.AdUIType;
}

export const Image: Image;

export interface Video extends globalThis.EnumItem {
Name: "Video";
Value: 2;
EnumType: typeof globalThis.Enum.AdUIType;
}

export const Video: Video;

export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUIType>;
}
export type AdUIType = AdUIType.None | AdUIType.Image | AdUIType.Video;

export namespace AdUnitStatus {
export interface Inactive extends globalThis.EnumItem {
Name: "Inactive";
Expand Down Expand Up @@ -2441,17 +2523,25 @@ declare namespace Enum {

export const Canceled: Canceled;

export interface Offensive extends globalThis.EnumItem {
Name: "Offensive";
Value: 4;
EnumType: typeof globalThis.Enum.AvatarGenerationError;
}

export const Offensive: Offensive;

export interface Unknown extends globalThis.EnumItem {
Name: "Unknown";
Value: 4;
Value: 5;
EnumType: typeof globalThis.Enum.AvatarGenerationError;
}

export const Unknown: Unknown;

export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AvatarGenerationError>;
}
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Unknown;
export type AvatarGenerationError = AvatarGenerationError.None | AvatarGenerationError.Timeout | AvatarGenerationError.DownloadFailed | AvatarGenerationError.Canceled | AvatarGenerationError.Offensive | AvatarGenerationError.Unknown;

export namespace AvatarGenerationJobStatus {
export interface NotStarted extends globalThis.EnumItem {
Expand Down

0 comments on commit 25af93b

Please sign in to comment.