@rbxts/types 1.0.938 → 1.0.939
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.
|
@@ -67,6 +67,7 @@ interface Services {
|
|
|
67
67
|
DeviceIdService: DeviceIdService;
|
|
68
68
|
DraggerService: DraggerService;
|
|
69
69
|
EditableService: EditableService;
|
|
70
|
+
EditorSourceService: EditorSourceService;
|
|
70
71
|
EncodingService: EncodingService;
|
|
71
72
|
EventIngestService: EventIngestService;
|
|
72
73
|
ExampleV2Service: ExampleV2Service;
|
|
@@ -3094,7 +3095,7 @@ interface AnalyticsService extends Instance {
|
|
|
3094
3095
|
/**
|
|
3095
3096
|
* **Deprecated:** This deprecated function is a variant of `AnalyticsService:LogEconomyEvent()` which should be used instead.
|
|
3096
3097
|
*
|
|
3097
|
-
* Fire an event used to track player actions pertaining to the in-game
|
|
3098
|
+
* Fire an event used to track player actions pertaining to the in-game
|
|
3098
3099
|
*
|
|
3099
3100
|
* - **ThreadSafety**: Unsafe
|
|
3100
3101
|
* - **Tags**:
|
|
@@ -3215,6 +3216,12 @@ interface AnalyticsService extends Instance {
|
|
|
3215
3216
|
* @param customFields Optional dictionary of custom fields that will provide breakdowns in Roblox-provided charts. Only specific keys, provided by `AnalyticsCustomFieldKeys`, will be used for these breakdowns. Limited to 8,000 unique combinations of values across the three custom fields per experience.
|
|
3216
3217
|
*/
|
|
3217
3218
|
LogFunnelStepEvent(this: AnalyticsService, player: Player, funnelName: string, funnelSessionId?: string, step?: number, stepName?: string, customFields?: object): void;
|
|
3219
|
+
/**
|
|
3220
|
+
* - **ThreadSafety**: Unsafe
|
|
3221
|
+
*
|
|
3222
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnalyticsService#LogJourneyEvent)
|
|
3223
|
+
*/
|
|
3224
|
+
LogJourneyEvent(this: AnalyticsService, player: Player, journeyName: string, nodeName: string, journeySessionId?: string, customFields?: object): void;
|
|
3218
3225
|
/**
|
|
3219
3226
|
* Logs an event used to track user actions stepping through an onboarding funnel.
|
|
3220
3227
|
*
|
|
@@ -7357,6 +7364,18 @@ interface AudioSpeechToText extends Instance {
|
|
|
7357
7364
|
* @returns An array of `Wires`
|
|
7358
7365
|
*/
|
|
7359
7366
|
GetConnectedWires(this: AudioSpeechToText, pin: string): Array<Instance>;
|
|
7367
|
+
/**
|
|
7368
|
+
* - **ThreadSafety**: Unsafe
|
|
7369
|
+
*
|
|
7370
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioSpeechToText#GetInputPins)
|
|
7371
|
+
*/
|
|
7372
|
+
GetInputPins(this: AudioSpeechToText): Array<unknown>;
|
|
7373
|
+
/**
|
|
7374
|
+
* - **ThreadSafety**: Unsafe
|
|
7375
|
+
*
|
|
7376
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioSpeechToText#GetOutputPins)
|
|
7377
|
+
*/
|
|
7378
|
+
GetOutputPins(this: AudioSpeechToText): Array<unknown>;
|
|
7360
7379
|
/**
|
|
7361
7380
|
* Fires when another instance is connected to or disconnected from the `AudioSpeechToText` via a `Wire`.
|
|
7362
7381
|
*
|
|
@@ -7481,6 +7500,18 @@ interface AudioTextToSpeech extends Instance {
|
|
|
7481
7500
|
* @returns An array of `Wires`
|
|
7482
7501
|
*/
|
|
7483
7502
|
GetConnectedWires(this: AudioTextToSpeech, pin: string): Array<Instance>;
|
|
7503
|
+
/**
|
|
7504
|
+
* - **ThreadSafety**: Unsafe
|
|
7505
|
+
*
|
|
7506
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTextToSpeech#GetInputPins)
|
|
7507
|
+
*/
|
|
7508
|
+
GetInputPins(this: AudioTextToSpeech): Array<unknown>;
|
|
7509
|
+
/**
|
|
7510
|
+
* - **ThreadSafety**: Unsafe
|
|
7511
|
+
*
|
|
7512
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTextToSpeech#GetOutputPins)
|
|
7513
|
+
*/
|
|
7514
|
+
GetOutputPins(this: AudioTextToSpeech): Array<unknown>;
|
|
7484
7515
|
/**
|
|
7485
7516
|
* Pauses the `AudioTextToSpeech` object wherever its `TimePosition` is.
|
|
7486
7517
|
*
|
|
@@ -8150,6 +8181,13 @@ interface AvatarCreationService extends Instance {
|
|
|
8150
8181
|
* - A secondary optional string result. In the case of `PromptCreateAvatarResult.Success`, this will indicate the outfit ID. In the case of any failure enum, this will be `nil`.
|
|
8151
8182
|
*/
|
|
8152
8183
|
PromptCreateAvatarAsync(this: AvatarCreationService, tokenId: string, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
8184
|
+
/**
|
|
8185
|
+
* - **ThreadSafety**: Unsafe
|
|
8186
|
+
* - **Tags**: Yields
|
|
8187
|
+
*
|
|
8188
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#PromptCreateMakeupAsync)
|
|
8189
|
+
*/
|
|
8190
|
+
PromptCreateMakeupAsync(this: AvatarCreationService, player: Player, makeupAssetEntries: Array<unknown>, thumbnailHeadColor?: Color3): unknown;
|
|
8153
8191
|
/**
|
|
8154
8192
|
* Prompt the `Player` to take a selfie and return the FileId.
|
|
8155
8193
|
*
|
|
@@ -9555,7 +9593,7 @@ interface BasePlayerGui extends Instance {
|
|
|
9555
9593
|
*/
|
|
9556
9594
|
readonly _nominal_BasePlayerGui: unique symbol;
|
|
9557
9595
|
/**
|
|
9558
|
-
* Returns a list of all `GuiObject` instances occupying the given
|
|
9596
|
+
* Returns a list of all `GuiObject` instances occupying the given
|
|
9559
9597
|
*
|
|
9560
9598
|
* - **ThreadSafety**: Unsafe
|
|
9561
9599
|
*
|
|
@@ -10215,6 +10253,8 @@ interface Beam extends Instance {
|
|
|
10215
10253
|
*/
|
|
10216
10254
|
LightInfluence: number;
|
|
10217
10255
|
/**
|
|
10256
|
+
* Determines a multiplier for `Beam.Transparency` that is only visible to the local client.
|
|
10257
|
+
*
|
|
10218
10258
|
* - **ThreadSafety**: ReadSafe
|
|
10219
10259
|
* - **Tags**: Hidden, NotReplicated
|
|
10220
10260
|
*
|
|
@@ -16758,6 +16798,21 @@ interface EditableService extends Instance {
|
|
|
16758
16798
|
*/
|
|
16759
16799
|
readonly _nominal_EditableService: unique symbol;
|
|
16760
16800
|
}
|
|
16801
|
+
/**
|
|
16802
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
16803
|
+
*
|
|
16804
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EditorSourceService)
|
|
16805
|
+
*/
|
|
16806
|
+
interface EditorSourceService extends Instance {
|
|
16807
|
+
/**
|
|
16808
|
+
* **DO NOT USE!**
|
|
16809
|
+
*
|
|
16810
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
16811
|
+
* @hidden
|
|
16812
|
+
* @deprecated
|
|
16813
|
+
*/
|
|
16814
|
+
readonly _nominal_EditorSourceService: unique symbol;
|
|
16815
|
+
}
|
|
16761
16816
|
/**
|
|
16762
16817
|
* Service providing common encoding, hashing, and compression methods.
|
|
16763
16818
|
*
|
|
@@ -18403,6 +18458,13 @@ interface GlobalDataStore extends Instance {
|
|
|
18403
18458
|
* @deprecated
|
|
18404
18459
|
*/
|
|
18405
18460
|
OnUpdate(this: GlobalDataStore, key: string, callback: Callback): RBXScriptConnection;
|
|
18461
|
+
/**
|
|
18462
|
+
* - **ThreadSafety**: Unsafe
|
|
18463
|
+
* - **Tags**: Yields
|
|
18464
|
+
*
|
|
18465
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GlobalDataStore#BatchGetAsync)
|
|
18466
|
+
*/
|
|
18467
|
+
BatchGetAsync(this: GlobalDataStore, keys: Array<unknown>, options?: object): object;
|
|
18406
18468
|
/**
|
|
18407
18469
|
* Returns the value of a key in a specified data store and a `DataStoreKeyInfo` instance.
|
|
18408
18470
|
*
|
|
@@ -20141,7 +20203,7 @@ interface TextLabel extends GuiLabel {
|
|
|
20141
20203
|
*/
|
|
20142
20204
|
Text: string;
|
|
20143
20205
|
/**
|
|
20144
|
-
* Read-only property which reflects the absolute size of rendered text in
|
|
20206
|
+
* Read-only property which reflects the absolute size of rendered text in
|
|
20145
20207
|
*
|
|
20146
20208
|
* - **ThreadSafety**: ReadSafe
|
|
20147
20209
|
* - **Tags**: NotReplicated
|
|
@@ -20249,7 +20311,7 @@ interface TextLabel extends GuiLabel {
|
|
|
20249
20311
|
*/
|
|
20250
20312
|
TextWrap: boolean;
|
|
20251
20313
|
/**
|
|
20252
|
-
* Determines if text wraps to multiple lines within the `TextLabel`
|
|
20314
|
+
* Determines if text wraps to multiple lines within the `TextLabel`
|
|
20253
20315
|
*
|
|
20254
20316
|
* - **ThreadSafety**: ReadSafe
|
|
20255
20317
|
*
|
|
@@ -26087,6 +26149,13 @@ interface InputAction extends Instance {
|
|
|
26087
26149
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputAction#Enabled)
|
|
26088
26150
|
*/
|
|
26089
26151
|
Enabled: boolean;
|
|
26152
|
+
/**
|
|
26153
|
+
* - **ThreadSafety**: ReadSafe
|
|
26154
|
+
* - **Tags**: NotReplicated
|
|
26155
|
+
*
|
|
26156
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputAction#PreferredBinding)
|
|
26157
|
+
*/
|
|
26158
|
+
readonly PreferredBinding: InputBinding | undefined;
|
|
26090
26159
|
/**
|
|
26091
26160
|
* Specifies what type of input value the action is expecting.
|
|
26092
26161
|
*
|
|
@@ -26175,6 +26244,18 @@ interface InputBinding extends Instance {
|
|
|
26175
26244
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputBinding#ClampMagnitudeToOne)
|
|
26176
26245
|
*/
|
|
26177
26246
|
ClampMagnitudeToOne: boolean;
|
|
26247
|
+
/**
|
|
26248
|
+
* - **ThreadSafety**: ReadSafe
|
|
26249
|
+
*
|
|
26250
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputBinding#DisplayImage)
|
|
26251
|
+
*/
|
|
26252
|
+
DisplayImage: Content;
|
|
26253
|
+
/**
|
|
26254
|
+
* - **ThreadSafety**: ReadSafe
|
|
26255
|
+
*
|
|
26256
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputBinding#DisplayName)
|
|
26257
|
+
*/
|
|
26258
|
+
DisplayName: string;
|
|
26178
26259
|
/**
|
|
26179
26260
|
* Specifies an alternate `KeyCode` for dispatching directionally "down" inputs to the parent `InputAction`.
|
|
26180
26261
|
*
|
|
@@ -36061,10 +36142,14 @@ interface Player extends Instance {
|
|
|
36061
36142
|
*/
|
|
36062
36143
|
DistanceFromCharacter(this: Player, point: Vector3): number;
|
|
36063
36144
|
/**
|
|
36145
|
+
* Returns a dictionary containing the player's current camera state.
|
|
36146
|
+
*
|
|
36064
36147
|
* - **ThreadSafety**: Safe
|
|
36065
36148
|
* - **Tags**: CustomLuaState
|
|
36066
36149
|
*
|
|
36067
36150
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Player#GetCameraState)
|
|
36151
|
+
* @param this An object that represents a presently connected client to the experience.
|
|
36152
|
+
* @returns A dictionary containing `CFrame`, `FieldOfView`, and `ViewportSize` values.
|
|
36068
36153
|
*/
|
|
36069
36154
|
GetCameraState(this: Player): object;
|
|
36070
36155
|
/**
|
|
@@ -36417,7 +36502,7 @@ interface Player extends Instance {
|
|
|
36417
36502
|
/**
|
|
36418
36503
|
* **Deprecated:** This method has been superseded by the `Player:IsFriendsWithAsync()` method which should be used for new work.
|
|
36419
36504
|
*
|
|
36420
|
-
* Checks whether a player is a friend of the user with the given
|
|
36505
|
+
* Checks whether a player is a friend of the user with the given
|
|
36421
36506
|
*
|
|
36422
36507
|
* - **ThreadSafety**: Unsafe
|
|
36423
36508
|
* - **Tags**: Yields
|
|
@@ -40201,13 +40286,6 @@ interface DataModel extends ServiceProvider<Services> {
|
|
|
40201
40286
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#PrivateServerOwnerId)
|
|
40202
40287
|
*/
|
|
40203
40288
|
readonly PrivateServerOwnerId: number;
|
|
40204
|
-
/**
|
|
40205
|
-
* - **ThreadSafety**: ReadSafe
|
|
40206
|
-
* - **Tags**: NotReplicated
|
|
40207
|
-
*
|
|
40208
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#RunService)
|
|
40209
|
-
*/
|
|
40210
|
-
readonly RunService: RunService | undefined;
|
|
40211
40289
|
/**
|
|
40212
40290
|
* **Deprecated:** This property has been deprecated. Use `DataModel.PrivateServerId` instead.
|
|
40213
40291
|
*
|
|
@@ -40243,6 +40321,13 @@ interface DataModel extends ServiceProvider<Services> {
|
|
|
40243
40321
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#Workspace)
|
|
40244
40322
|
*/
|
|
40245
40323
|
readonly Workspace: Workspace;
|
|
40324
|
+
/**
|
|
40325
|
+
* - **ThreadSafety**: ReadSafe
|
|
40326
|
+
* - **Tags**: NotReplicated
|
|
40327
|
+
*
|
|
40328
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#RunService)
|
|
40329
|
+
*/
|
|
40330
|
+
readonly RunService: RunService | undefined;
|
|
40246
40331
|
/**
|
|
40247
40332
|
* Binds a function to be called before the server shuts down.
|
|
40248
40333
|
*
|
|
@@ -45954,7 +46039,7 @@ interface TextService extends Instance {
|
|
|
45954
46039
|
*/
|
|
45955
46040
|
FilterAndTranslateStringAsync(this: TextService, stringToFilter: string, fromUserId: number, targetLocales: Array<unknown>, textContext?: CastsToEnum<Enum.TextFilterContext>): TextFilterTranslatedResult;
|
|
45956
46041
|
/**
|
|
45957
|
-
* Filters a string being received from a user and returns a
|
|
46042
|
+
* Filters a string being received from a user and returns a
|
|
45958
46043
|
*
|
|
45959
46044
|
* - **ThreadSafety**: Unsafe
|
|
45960
46045
|
* - **Tags**: Yields
|
|
@@ -71,6 +71,7 @@ interface Services {
|
|
|
71
71
|
DeviceIdService: DeviceIdService;
|
|
72
72
|
DraggerService: DraggerService;
|
|
73
73
|
EditableService: EditableService;
|
|
74
|
+
EditorSourceService: EditorSourceService;
|
|
74
75
|
EncodingService: EncodingService;
|
|
75
76
|
EventIngestService: EventIngestService;
|
|
76
77
|
ExampleV2Service: ExampleV2Service;
|
|
@@ -4961,6 +4962,21 @@ interface EditableService extends Instance {
|
|
|
4961
4962
|
*/
|
|
4962
4963
|
readonly _nominal_EditableService: unique symbol;
|
|
4963
4964
|
}
|
|
4965
|
+
/**
|
|
4966
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4967
|
+
*
|
|
4968
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EditorSourceService)
|
|
4969
|
+
*/
|
|
4970
|
+
interface EditorSourceService extends Instance {
|
|
4971
|
+
/**
|
|
4972
|
+
* **DO NOT USE!**
|
|
4973
|
+
*
|
|
4974
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
4975
|
+
* @hidden
|
|
4976
|
+
* @deprecated
|
|
4977
|
+
*/
|
|
4978
|
+
readonly _nominal_EditorSourceService: unique symbol;
|
|
4979
|
+
}
|
|
4964
4980
|
/**
|
|
4965
4981
|
* Service providing common encoding, hashing, and compression methods.
|
|
4966
4982
|
*
|
|
@@ -11252,25 +11268,25 @@ interface Plugin extends Instance {
|
|
|
11252
11268
|
*/
|
|
11253
11269
|
ImportFbxRigAsync(this: Plugin, isR15?: boolean): Instance | undefined;
|
|
11254
11270
|
/**
|
|
11255
|
-
* Opens a window in Roblox Studio
|
|
11271
|
+
* Opens a window in Roblox Studio that prompts the user to select an existing `AssetType.Animation` asset. The `assetType` parameter must be `Animation`; other values are not supported and cause an error.
|
|
11256
11272
|
*
|
|
11257
11273
|
* - **ThreadSafety**: Unsafe
|
|
11258
11274
|
* - **Tags**: Yields
|
|
11259
11275
|
*
|
|
11260
11276
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#PromptForExistingAssetId)
|
|
11261
11277
|
* @param this
|
|
11262
|
-
* @param assetType
|
|
11278
|
+
* @param assetType The asset type to browse. Only `Animation` is supported.
|
|
11263
11279
|
*/
|
|
11264
11280
|
PromptForExistingAssetId(this: Plugin, assetType: string): number;
|
|
11265
11281
|
/**
|
|
11266
|
-
* Opens a window in Roblox Studio
|
|
11282
|
+
* Opens a window in Roblox Studio that prompts the user to select an existing `AssetType.Animation` asset. The `assetType` parameter must be `Animation`; other values are not supported and cause an error.
|
|
11267
11283
|
*
|
|
11268
11284
|
* - **ThreadSafety**: Unsafe
|
|
11269
11285
|
* - **Tags**: Yields
|
|
11270
11286
|
*
|
|
11271
11287
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#PromptForExistingAssetIdAsync)
|
|
11272
11288
|
* @param this
|
|
11273
|
-
* @param assetType
|
|
11289
|
+
* @param assetType The asset type to browse. Only `Animation` is supported.
|
|
11274
11290
|
*/
|
|
11275
11291
|
PromptForExistingAssetIdAsync(this: Plugin, assetType: string): number;
|
|
11276
11292
|
/**
|
|
@@ -13020,6 +13036,13 @@ interface ScriptDocument extends Instance {
|
|
|
13020
13036
|
* @param anchorCharacter
|
|
13021
13037
|
*/
|
|
13022
13038
|
RequestSetSelectionAsync(this: ScriptDocument, cursorLine: number, cursorCharacter: number, anchorLine?: number, anchorCharacter?: number): unknown;
|
|
13039
|
+
/**
|
|
13040
|
+
* - **ThreadSafety**: Unsafe
|
|
13041
|
+
* - **Tags**: Yields
|
|
13042
|
+
*
|
|
13043
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDocument#ReviewableTextEditsAsync)
|
|
13044
|
+
*/
|
|
13045
|
+
ReviewableTextEditsAsync(this: ScriptDocument, changes: Array<unknown>): unknown;
|
|
13023
13046
|
/**
|
|
13024
13047
|
* Fires when the ScriptDocument changes, including immediately after a text change.
|
|
13025
13048
|
*
|
|
@@ -26844,6 +26844,42 @@ declare namespace Enum {
|
|
|
26844
26844
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PredictionStatus | undefined;
|
|
26845
26845
|
}
|
|
26846
26846
|
export type PredictionStatus = PredictionStatus.Authoritative | PredictionStatus.Predicted | PredictionStatus.None;
|
|
26847
|
+
/**
|
|
26848
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictiveStreamingMode)
|
|
26849
|
+
*/
|
|
26850
|
+
export namespace PredictiveStreamingMode {
|
|
26851
|
+
/**
|
|
26852
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictiveStreamingMode#Default)
|
|
26853
|
+
*/
|
|
26854
|
+
export interface Default extends globalThis.EnumItem {
|
|
26855
|
+
Name: "Default";
|
|
26856
|
+
Value: 0;
|
|
26857
|
+
EnumType: typeof globalThis.Enum.PredictiveStreamingMode;
|
|
26858
|
+
}
|
|
26859
|
+
export const Default: Default;
|
|
26860
|
+
/**
|
|
26861
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictiveStreamingMode#Enabled)
|
|
26862
|
+
*/
|
|
26863
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
26864
|
+
Name: "Enabled";
|
|
26865
|
+
Value: 1;
|
|
26866
|
+
EnumType: typeof globalThis.Enum.PredictiveStreamingMode;
|
|
26867
|
+
}
|
|
26868
|
+
export const Enabled: Enabled;
|
|
26869
|
+
/**
|
|
26870
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictiveStreamingMode#Disabled)
|
|
26871
|
+
*/
|
|
26872
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
26873
|
+
Name: "Disabled";
|
|
26874
|
+
Value: 2;
|
|
26875
|
+
EnumType: typeof globalThis.Enum.PredictiveStreamingMode;
|
|
26876
|
+
}
|
|
26877
|
+
export const Disabled: Disabled;
|
|
26878
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PredictiveStreamingMode>;
|
|
26879
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PredictiveStreamingMode | undefined;
|
|
26880
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PredictiveStreamingMode | undefined;
|
|
26881
|
+
}
|
|
26882
|
+
export type PredictiveStreamingMode = PredictiveStreamingMode.Default | PredictiveStreamingMode.Enabled | PredictiveStreamingMode.Disabled;
|
|
26847
26883
|
/**
|
|
26848
26884
|
* This enum is used with `UserInputService.PreferredInput` to indicate the primary input type a player is likely using.
|
|
26849
26885
|
*
|
|
@@ -27499,6 +27535,78 @@ declare namespace Enum {
|
|
|
27499
27535
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PromptCreateAvatarResult | undefined;
|
|
27500
27536
|
}
|
|
27501
27537
|
export type PromptCreateAvatarResult = PromptCreateAvatarResult.Success | PromptCreateAvatarResult.PermissionDenied | PromptCreateAvatarResult.Timeout | PromptCreateAvatarResult.UploadFailed | PromptCreateAvatarResult.NoUserInput | PromptCreateAvatarResult.InvalidHumanoidDescription | PromptCreateAvatarResult.UGCValidationFailed | PromptCreateAvatarResult.ModeratedName | PromptCreateAvatarResult.MaxOutfits | PromptCreateAvatarResult.PurchaseFailure | PromptCreateAvatarResult.UnknownFailure | PromptCreateAvatarResult.TokenInvalid;
|
|
27538
|
+
/**
|
|
27539
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult)
|
|
27540
|
+
*/
|
|
27541
|
+
export namespace PromptCreateOutfitResult {
|
|
27542
|
+
/**
|
|
27543
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#Success)
|
|
27544
|
+
*/
|
|
27545
|
+
export interface Success extends globalThis.EnumItem {
|
|
27546
|
+
Name: "Success";
|
|
27547
|
+
Value: 1;
|
|
27548
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27549
|
+
}
|
|
27550
|
+
export const Success: Success;
|
|
27551
|
+
/**
|
|
27552
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#PartialSuccess)
|
|
27553
|
+
*/
|
|
27554
|
+
export interface PartialSuccess extends globalThis.EnumItem {
|
|
27555
|
+
Name: "PartialSuccess";
|
|
27556
|
+
Value: 2;
|
|
27557
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27558
|
+
}
|
|
27559
|
+
export const PartialSuccess: PartialSuccess;
|
|
27560
|
+
/**
|
|
27561
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#CreationFailure)
|
|
27562
|
+
*/
|
|
27563
|
+
export interface CreationFailure extends globalThis.EnumItem {
|
|
27564
|
+
Name: "CreationFailure";
|
|
27565
|
+
Value: 3;
|
|
27566
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27567
|
+
}
|
|
27568
|
+
export const CreationFailure: CreationFailure;
|
|
27569
|
+
/**
|
|
27570
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#PermissionDenied)
|
|
27571
|
+
*/
|
|
27572
|
+
export interface PermissionDenied extends globalThis.EnumItem {
|
|
27573
|
+
Name: "PermissionDenied";
|
|
27574
|
+
Value: 4;
|
|
27575
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27576
|
+
}
|
|
27577
|
+
export const PermissionDenied: PermissionDenied;
|
|
27578
|
+
/**
|
|
27579
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#Timeout)
|
|
27580
|
+
*/
|
|
27581
|
+
export interface Timeout extends globalThis.EnumItem {
|
|
27582
|
+
Name: "Timeout";
|
|
27583
|
+
Value: 5;
|
|
27584
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27585
|
+
}
|
|
27586
|
+
export const Timeout: Timeout;
|
|
27587
|
+
/**
|
|
27588
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#NoUserInput)
|
|
27589
|
+
*/
|
|
27590
|
+
export interface NoUserInput extends globalThis.EnumItem {
|
|
27591
|
+
Name: "NoUserInput";
|
|
27592
|
+
Value: 6;
|
|
27593
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27594
|
+
}
|
|
27595
|
+
export const NoUserInput: NoUserInput;
|
|
27596
|
+
/**
|
|
27597
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptCreateOutfitResult#UnknownFailure)
|
|
27598
|
+
*/
|
|
27599
|
+
export interface UnknownFailure extends globalThis.EnumItem {
|
|
27600
|
+
Name: "UnknownFailure";
|
|
27601
|
+
Value: 7;
|
|
27602
|
+
EnumType: typeof globalThis.Enum.PromptCreateOutfitResult;
|
|
27603
|
+
}
|
|
27604
|
+
export const UnknownFailure: UnknownFailure;
|
|
27605
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PromptCreateOutfitResult>;
|
|
27606
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PromptCreateOutfitResult | undefined;
|
|
27607
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PromptCreateOutfitResult | undefined;
|
|
27608
|
+
}
|
|
27609
|
+
export type PromptCreateOutfitResult = PromptCreateOutfitResult.Success | PromptCreateOutfitResult.PartialSuccess | PromptCreateOutfitResult.CreationFailure | PromptCreateOutfitResult.PermissionDenied | PromptCreateOutfitResult.Timeout | PromptCreateOutfitResult.NoUserInput | PromptCreateOutfitResult.UnknownFailure;
|
|
27502
27610
|
/**
|
|
27503
27611
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PromptExperienceDetailsResult)
|
|
27504
27612
|
*/
|
|
@@ -30917,10 +31025,14 @@ declare namespace Enum {
|
|
|
30917
31025
|
}
|
|
30918
31026
|
export type ScreenOrientation = ScreenOrientation.LandscapeLeft | ScreenOrientation.LandscapeRight | ScreenOrientation.LandscapeSensor | ScreenOrientation.Portrait | ScreenOrientation.Sensor;
|
|
30919
31027
|
/**
|
|
31028
|
+
* Describes the result of a screenshot capture initiated by `CaptureService:TakeScreenshotCaptureAsync()`.
|
|
31029
|
+
*
|
|
30920
31030
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ScreenshotCaptureResult)
|
|
30921
31031
|
*/
|
|
30922
31032
|
export namespace ScreenshotCaptureResult {
|
|
30923
31033
|
/**
|
|
31034
|
+
* The screenshot capture completed successfully.
|
|
31035
|
+
*
|
|
30924
31036
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ScreenshotCaptureResult#Success)
|
|
30925
31037
|
*/
|
|
30926
31038
|
export interface Success extends globalThis.EnumItem {
|
|
@@ -30930,6 +31042,8 @@ declare namespace Enum {
|
|
|
30930
31042
|
}
|
|
30931
31043
|
export const Success: Success;
|
|
30932
31044
|
/**
|
|
31045
|
+
* The screenshot capture failed due to an unspecified error.
|
|
31046
|
+
*
|
|
30933
31047
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ScreenshotCaptureResult#OtherError)
|
|
30934
31048
|
*/
|
|
30935
31049
|
export interface OtherError extends globalThis.EnumItem {
|
|
@@ -30939,6 +31053,8 @@ declare namespace Enum {
|
|
|
30939
31053
|
}
|
|
30940
31054
|
export const OtherError: OtherError;
|
|
30941
31055
|
/**
|
|
31056
|
+
* The device does not support screenshot captures.
|
|
31057
|
+
*
|
|
30942
31058
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ScreenshotCaptureResult#NoDeviceSupport)
|
|
30943
31059
|
*/
|
|
30944
31060
|
export interface NoDeviceSupport extends globalThis.EnumItem {
|
|
@@ -30948,6 +31064,8 @@ declare namespace Enum {
|
|
|
30948
31064
|
}
|
|
30949
31065
|
export const NoDeviceSupport: NoDeviceSupport;
|
|
30950
31066
|
/**
|
|
31067
|
+
* The device does not have enough storage space to save the screenshot capture.
|
|
31068
|
+
*
|
|
30951
31069
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ScreenshotCaptureResult#NoSpaceOnDevice)
|
|
30952
31070
|
*/
|
|
30953
31071
|
export interface NoSpaceOnDevice extends globalThis.EnumItem {
|
|
@@ -32212,24 +32330,6 @@ declare namespace Enum {
|
|
|
32212
32330
|
EnumType: typeof globalThis.Enum.SlimTintMode;
|
|
32213
32331
|
}
|
|
32214
32332
|
export const Meshes: Meshes;
|
|
32215
|
-
/**
|
|
32216
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/SlimTintMode#MeshResourcePtr)
|
|
32217
|
-
*/
|
|
32218
|
-
export interface MeshResourcePtr extends globalThis.EnumItem {
|
|
32219
|
-
Name: "MeshResourcePtr";
|
|
32220
|
-
Value: 3;
|
|
32221
|
-
EnumType: typeof globalThis.Enum.SlimTintMode;
|
|
32222
|
-
}
|
|
32223
|
-
export const MeshResourcePtr: MeshResourcePtr;
|
|
32224
|
-
/**
|
|
32225
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/SlimTintMode#ContentId)
|
|
32226
|
-
*/
|
|
32227
|
-
export interface ContentId extends globalThis.EnumItem {
|
|
32228
|
-
Name: "ContentId";
|
|
32229
|
-
Value: 4;
|
|
32230
|
-
EnumType: typeof globalThis.Enum.SlimTintMode;
|
|
32231
|
-
}
|
|
32232
|
-
export const ContentId: ContentId;
|
|
32233
32333
|
/**
|
|
32234
32334
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/SlimTintMode#Zone)
|
|
32235
32335
|
*/
|
|
@@ -32243,7 +32343,7 @@ declare namespace Enum {
|
|
|
32243
32343
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.SlimTintMode | undefined;
|
|
32244
32344
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.SlimTintMode | undefined;
|
|
32245
32345
|
}
|
|
32246
|
-
export type SlimTintMode = SlimTintMode.None | SlimTintMode.LOD | SlimTintMode.Meshes | SlimTintMode.
|
|
32346
|
+
export type SlimTintMode = SlimTintMode.None | SlimTintMode.LOD | SlimTintMode.Meshes | SlimTintMode.Zone;
|
|
32247
32347
|
/**
|
|
32248
32348
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/SolidPrimitiveType)
|
|
32249
32349
|
*/
|