@rbxts/types 1.0.878 → 1.0.880
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.
|
@@ -273,6 +273,7 @@ interface CreatableInstances {
|
|
|
273
273
|
AudioSearchParams: AudioSearchParams;
|
|
274
274
|
AudioSpeechToText: AudioSpeechToText;
|
|
275
275
|
AudioTextToSpeech: AudioTextToSpeech;
|
|
276
|
+
AudioTremolo: AudioTremolo;
|
|
276
277
|
AuroraScript: AuroraScript;
|
|
277
278
|
AvatarAccessoryRules: AvatarAccessoryRules;
|
|
278
279
|
AvatarAnimationRules: AvatarAnimationRules;
|
|
@@ -6806,6 +6807,87 @@ interface AudioTextToSpeech extends Instance {
|
|
|
6806
6807
|
*/
|
|
6807
6808
|
readonly WiringChanged: RBXScriptSignal<(connected: boolean, pin: string, wire: Wire, instance: Instance) => void>;
|
|
6808
6809
|
}
|
|
6810
|
+
/**
|
|
6811
|
+
* - **Tags**: NotBrowsable
|
|
6812
|
+
*
|
|
6813
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo)
|
|
6814
|
+
*/
|
|
6815
|
+
interface AudioTremolo extends Instance {
|
|
6816
|
+
/**
|
|
6817
|
+
* **DO NOT USE!**
|
|
6818
|
+
*
|
|
6819
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
6820
|
+
* @hidden
|
|
6821
|
+
* @deprecated
|
|
6822
|
+
*/
|
|
6823
|
+
readonly _nominal_AudioTremolo: unique symbol;
|
|
6824
|
+
/**
|
|
6825
|
+
* - **ThreadSafety**: ReadSafe
|
|
6826
|
+
*
|
|
6827
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Bypass)
|
|
6828
|
+
*/
|
|
6829
|
+
Bypass: boolean;
|
|
6830
|
+
/**
|
|
6831
|
+
* - **ThreadSafety**: ReadSafe
|
|
6832
|
+
*
|
|
6833
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Depth)
|
|
6834
|
+
*/
|
|
6835
|
+
Depth: number;
|
|
6836
|
+
/**
|
|
6837
|
+
* - **ThreadSafety**: ReadSafe
|
|
6838
|
+
*
|
|
6839
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Duty)
|
|
6840
|
+
*/
|
|
6841
|
+
Duty: number;
|
|
6842
|
+
/**
|
|
6843
|
+
* - **ThreadSafety**: ReadSafe
|
|
6844
|
+
*
|
|
6845
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Frequency)
|
|
6846
|
+
*/
|
|
6847
|
+
Frequency: number;
|
|
6848
|
+
/**
|
|
6849
|
+
* - **ThreadSafety**: ReadSafe
|
|
6850
|
+
*
|
|
6851
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Shape)
|
|
6852
|
+
*/
|
|
6853
|
+
Shape: number;
|
|
6854
|
+
/**
|
|
6855
|
+
* - **ThreadSafety**: ReadSafe
|
|
6856
|
+
*
|
|
6857
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Skew)
|
|
6858
|
+
*/
|
|
6859
|
+
Skew: number;
|
|
6860
|
+
/**
|
|
6861
|
+
* - **ThreadSafety**: ReadSafe
|
|
6862
|
+
*
|
|
6863
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#Square)
|
|
6864
|
+
*/
|
|
6865
|
+
Square: number;
|
|
6866
|
+
/**
|
|
6867
|
+
* - **ThreadSafety**: Unsafe
|
|
6868
|
+
*
|
|
6869
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#GetConnectedWires)
|
|
6870
|
+
*/
|
|
6871
|
+
GetConnectedWires(this: AudioTremolo, pin: string): Array<Instance>;
|
|
6872
|
+
/**
|
|
6873
|
+
* - **ThreadSafety**: Unsafe
|
|
6874
|
+
*
|
|
6875
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#GetInputPins)
|
|
6876
|
+
*/
|
|
6877
|
+
GetInputPins(this: AudioTremolo): Array<unknown>;
|
|
6878
|
+
/**
|
|
6879
|
+
* - **ThreadSafety**: Unsafe
|
|
6880
|
+
*
|
|
6881
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#GetOutputPins)
|
|
6882
|
+
*/
|
|
6883
|
+
GetOutputPins(this: AudioTremolo): Array<unknown>;
|
|
6884
|
+
/**
|
|
6885
|
+
* - **ThreadSafety**: Unsafe
|
|
6886
|
+
*
|
|
6887
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo#WiringChanged)
|
|
6888
|
+
*/
|
|
6889
|
+
readonly WiringChanged: RBXScriptSignal<(connected: boolean, pin: string, wire: Wire, instance: Instance) => void>;
|
|
6890
|
+
}
|
|
6809
6891
|
/**
|
|
6810
6892
|
* - **Tags**: NotCreatable
|
|
6811
6893
|
*
|
|
@@ -6857,6 +6939,20 @@ interface AuroraScriptService extends Instance {
|
|
|
6857
6939
|
* @deprecated
|
|
6858
6940
|
*/
|
|
6859
6941
|
readonly _nominal_AuroraScriptService: unique symbol;
|
|
6942
|
+
/**
|
|
6943
|
+
* - **ThreadSafety**: Safe
|
|
6944
|
+
* - **Tags**: CustomLuaState
|
|
6945
|
+
*
|
|
6946
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScriptService#FindBinding)
|
|
6947
|
+
*/
|
|
6948
|
+
FindBinding(this: AuroraScriptService, instance: Instance, scriptName: string): RBXObject;
|
|
6949
|
+
/**
|
|
6950
|
+
* - **ThreadSafety**: Safe
|
|
6951
|
+
* - **Tags**: CustomLuaState
|
|
6952
|
+
*
|
|
6953
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScriptService#FindBindings)
|
|
6954
|
+
*/
|
|
6955
|
+
FindBindings(this: AuroraScriptService, instance: Instance): object;
|
|
6860
6956
|
/**
|
|
6861
6957
|
* - **ThreadSafety**: Safe
|
|
6862
6958
|
*
|
|
@@ -10300,6 +10396,8 @@ interface ClickDetector extends Instance {
|
|
|
10300
10396
|
*/
|
|
10301
10397
|
CursorIcon: ContentId;
|
|
10302
10398
|
/**
|
|
10399
|
+
* Sets the cursor icon to display when the mouse is hovered over the parent of this `ClickDetector` or `DragDetector`. Only supports asset URIs.
|
|
10400
|
+
*
|
|
10303
10401
|
* - **ThreadSafety**: ReadSafe
|
|
10304
10402
|
*
|
|
10305
10403
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ClickDetector#CursorIconContent)
|
|
@@ -10369,6 +10467,8 @@ interface DragDetector extends ClickDetector {
|
|
|
10369
10467
|
*/
|
|
10370
10468
|
ActivatedCursorIcon: ContentId;
|
|
10371
10469
|
/**
|
|
10470
|
+
* Sets the cursor icon to display when the mouse is activated over the parent of this `DragDetector`. Only supports asset URIs
|
|
10471
|
+
*
|
|
10372
10472
|
* - **ThreadSafety**: ReadSafe
|
|
10373
10473
|
*
|
|
10374
10474
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DragDetector#ActivatedCursorIconContent)
|
|
@@ -21376,9 +21476,15 @@ interface HttpService extends Instance {
|
|
|
21376
21476
|
*/
|
|
21377
21477
|
get HttpEnabled(): boolean;
|
|
21378
21478
|
/**
|
|
21479
|
+
* Creates a client that opens a persistent connection to stream data.
|
|
21480
|
+
*
|
|
21379
21481
|
* - **ThreadSafety**: Unsafe
|
|
21380
21482
|
*
|
|
21381
21483
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HttpService#CreateWebStreamClient)
|
|
21484
|
+
* @param this Allows sending HTTP requests and provides various web-related and JSON methods.
|
|
21485
|
+
* @param streamClientType The type of streaming connection to intiialize the client with.
|
|
21486
|
+
* @param requestOptions A dictionary containing information to be requested from the server. It is identical to `requestOptions` in `HttpService:RequestAsync()`.
|
|
21487
|
+
* @returns A stateful client that emits events in the stream lifecycle.
|
|
21382
21488
|
*/
|
|
21383
21489
|
CreateWebStreamClient(this: HttpService, streamClientType: CastsToEnum<Enum.WebStreamClientType>, requestOptions: object): WebStreamClient;
|
|
21384
21490
|
/**
|
|
@@ -26011,7 +26117,7 @@ interface AuroraScript extends LuaSourceContainer {
|
|
|
26011
26117
|
*
|
|
26012
26118
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#AddTo)
|
|
26013
26119
|
*/
|
|
26014
|
-
AddTo(this: AuroraScript, instance: Instance): void;
|
|
26120
|
+
AddTo(this: AuroraScript, instance: Instance, parameters?: object): void;
|
|
26015
26121
|
/**
|
|
26016
26122
|
* - **ThreadSafety**: Unsafe
|
|
26017
26123
|
*
|
|
@@ -27280,6 +27386,8 @@ interface Mouse extends Instance {
|
|
|
27280
27386
|
*/
|
|
27281
27387
|
Icon: ContentId;
|
|
27282
27388
|
/**
|
|
27389
|
+
* The content of the image used as the `Mouse` icon. Only supports asset URIs.
|
|
27390
|
+
*
|
|
27283
27391
|
* - **ThreadSafety**: ReadSafe
|
|
27284
27392
|
*
|
|
27285
27393
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Mouse#IconContent)
|
|
@@ -30646,6 +30754,8 @@ interface BackpackItem extends Model {
|
|
|
30646
30754
|
*/
|
|
30647
30755
|
readonly _nominal_BackpackItem: unique symbol;
|
|
30648
30756
|
/**
|
|
30757
|
+
* The texture icon that is displayed for a tool in the player's backpack. Only supports asset URIs.
|
|
30758
|
+
*
|
|
30649
30759
|
* - **ThreadSafety**: ReadSafe
|
|
30650
30760
|
*
|
|
30651
30761
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/BackpackItem#TextureContent)
|
|
@@ -31122,6 +31232,12 @@ interface Workspace extends WorldRoot {
|
|
|
31122
31232
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Workspace#AirDensity)
|
|
31123
31233
|
*/
|
|
31124
31234
|
AirDensity: number;
|
|
31235
|
+
/**
|
|
31236
|
+
* - **ThreadSafety**: ReadSafe
|
|
31237
|
+
*
|
|
31238
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Workspace#AirTurbulenceIntensity)
|
|
31239
|
+
*/
|
|
31240
|
+
AirTurbulenceIntensity: number;
|
|
31125
31241
|
/**
|
|
31126
31242
|
* Determines whether assets created by other users can be sold in the game.
|
|
31127
31243
|
*
|
|
@@ -35523,13 +35639,13 @@ interface RunService extends Instance {
|
|
|
35523
35639
|
*/
|
|
35524
35640
|
IsClient(this: RunService): boolean;
|
|
35525
35641
|
/**
|
|
35526
|
-
* Returns whether
|
|
35642
|
+
* Returns whether a **Run** playtest has been initiated in Studio.
|
|
35527
35643
|
*
|
|
35528
35644
|
* - **ThreadSafety**: Safe
|
|
35529
35645
|
*
|
|
35530
35646
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RunService#IsRunMode)
|
|
35531
35647
|
* @param this Service responsible for all runtime activity and progression of time.
|
|
35532
|
-
* @returns Whether
|
|
35648
|
+
* @returns Whether a **Run** playtest has been initiated in Studio.
|
|
35533
35649
|
*/
|
|
35534
35650
|
IsRunMode(this: RunService): boolean;
|
|
35535
35651
|
/**
|
|
@@ -42378,6 +42494,8 @@ interface UIDragDetector extends UIComponent {
|
|
|
42378
42494
|
*/
|
|
42379
42495
|
ActivatedCursorIcon: ContentId;
|
|
42380
42496
|
/**
|
|
42497
|
+
* Sets the cursor icon to display when the mouse is activated over the parent of this `UIDragDetector`. Only supports asset URIs
|
|
42498
|
+
*
|
|
42381
42499
|
* - **ThreadSafety**: ReadSafe
|
|
42382
42500
|
*
|
|
42383
42501
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UIDragDetector#ActivatedCursorIconContent)
|
|
@@ -42408,6 +42526,8 @@ interface UIDragDetector extends UIComponent {
|
|
|
42408
42526
|
*/
|
|
42409
42527
|
CursorIcon: ContentId;
|
|
42410
42528
|
/**
|
|
42529
|
+
* Sets the cursor icon to display when the mouse is hovered over the parent of this `UIDragDetector`. Only asset URIs are supported.
|
|
42530
|
+
*
|
|
42411
42531
|
* - **ThreadSafety**: ReadSafe
|
|
42412
42532
|
*
|
|
42413
42533
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UIDragDetector#CursorIconContent)
|
|
@@ -43328,6 +43448,12 @@ interface UniqueIdLookupService extends Instance {
|
|
|
43328
43448
|
* @deprecated
|
|
43329
43449
|
*/
|
|
43330
43450
|
readonly _nominal_UniqueIdLookupService: unique symbol;
|
|
43451
|
+
/**
|
|
43452
|
+
* - **ThreadSafety**: Unsafe
|
|
43453
|
+
*
|
|
43454
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UniqueIdLookupService#GetOrCreateUniqueIdRemoteCommand)
|
|
43455
|
+
*/
|
|
43456
|
+
GetOrCreateUniqueIdRemoteCommand(this: UniqueIdLookupService, instance: Instance): string;
|
|
43331
43457
|
}
|
|
43332
43458
|
/**
|
|
43333
43459
|
* - **Tags**: NotCreatable, Service
|
|
@@ -43639,6 +43765,8 @@ interface UserInputService extends Instance {
|
|
|
43639
43765
|
*/
|
|
43640
43766
|
MouseIcon: ContentId;
|
|
43641
43767
|
/**
|
|
43768
|
+
* The content ID of the image for the user's mouse icon. Only supports asset URIs.
|
|
43769
|
+
*
|
|
43642
43770
|
* - **ThreadSafety**: ReadSafe
|
|
43643
43771
|
*
|
|
43644
43772
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UserInputService#MouseIconContent)
|
|
@@ -45763,6 +45891,8 @@ interface TerrainWriteOperation extends RBXObject {
|
|
|
45763
45891
|
GetBlock(this: TerrainWriteOperation): object;
|
|
45764
45892
|
}
|
|
45765
45893
|
/**
|
|
45894
|
+
* Maintains a streaming connection.
|
|
45895
|
+
*
|
|
45766
45896
|
* - **Tags**: NotCreatable, NotReplicated
|
|
45767
45897
|
*
|
|
45768
45898
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient)
|
|
@@ -45777,6 +45907,8 @@ interface WebStreamClient extends RBXObject {
|
|
|
45777
45907
|
*/
|
|
45778
45908
|
readonly _nominal_WebStreamClient: unique symbol;
|
|
45779
45909
|
/**
|
|
45910
|
+
* The current `WebStreamClientState` of the client.
|
|
45911
|
+
*
|
|
45780
45912
|
* - **ThreadSafety**: ReadSafe
|
|
45781
45913
|
* - **Tags**: NotReplicated
|
|
45782
45914
|
*
|
|
@@ -45784,9 +45916,12 @@ interface WebStreamClient extends RBXObject {
|
|
|
45784
45916
|
*/
|
|
45785
45917
|
readonly ConnectionState: Enum.WebStreamClientState;
|
|
45786
45918
|
/**
|
|
45919
|
+
* Closes the client, aborting the ongoing request.
|
|
45920
|
+
*
|
|
45787
45921
|
* - **ThreadSafety**: Unsafe
|
|
45788
45922
|
*
|
|
45789
45923
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient#Close)
|
|
45924
|
+
* @param this Maintains a streaming connection.
|
|
45790
45925
|
*/
|
|
45791
45926
|
Close(this: WebStreamClient): void;
|
|
45792
45927
|
/**
|
|
@@ -45796,18 +45931,24 @@ interface WebStreamClient extends RBXObject {
|
|
|
45796
45931
|
*/
|
|
45797
45932
|
readonly Closed: RBXScriptSignal<() => void>;
|
|
45798
45933
|
/**
|
|
45934
|
+
* Fires if an error is received while establishing the connection or during the connection lifetime.
|
|
45935
|
+
*
|
|
45799
45936
|
* - **ThreadSafety**: Unsafe
|
|
45800
45937
|
*
|
|
45801
45938
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient#Error)
|
|
45802
45939
|
*/
|
|
45803
45940
|
readonly Error: RBXScriptSignal<(responseStatusCode: number, errorMessage: string) => void>;
|
|
45804
45941
|
/**
|
|
45942
|
+
* Fires each time a message is received from the server.
|
|
45943
|
+
*
|
|
45805
45944
|
* - **ThreadSafety**: Unsafe
|
|
45806
45945
|
*
|
|
45807
45946
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient#MessageReceived)
|
|
45808
45947
|
*/
|
|
45809
45948
|
readonly MessageReceived: RBXScriptSignal<(message: string) => void>;
|
|
45810
45949
|
/**
|
|
45950
|
+
* Fires when the a connection is successfully established between the client and server, allowing for events to begin streaming.
|
|
45951
|
+
*
|
|
45811
45952
|
* - **ThreadSafety**: Unsafe
|
|
45812
45953
|
*
|
|
45813
45954
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient#Opened)
|
|
@@ -291,6 +291,7 @@ interface CreatableInstances {
|
|
|
291
291
|
AudioSearchParams: AudioSearchParams;
|
|
292
292
|
AudioSpeechToText: AudioSpeechToText;
|
|
293
293
|
AudioTextToSpeech: AudioTextToSpeech;
|
|
294
|
+
AudioTremolo: AudioTremolo;
|
|
294
295
|
AuroraScript: AuroraScript;
|
|
295
296
|
AvatarAccessoryRules: AvatarAccessoryRules;
|
|
296
297
|
AvatarAnimationRules: AvatarAnimationRules;
|
|
@@ -1911,6 +1912,21 @@ interface AudioTextToSpeech extends Instance {
|
|
|
1911
1912
|
*/
|
|
1912
1913
|
readonly _nominal_AudioTextToSpeech: unique symbol;
|
|
1913
1914
|
}
|
|
1915
|
+
/**
|
|
1916
|
+
* - **Tags**: NotBrowsable
|
|
1917
|
+
*
|
|
1918
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTremolo)
|
|
1919
|
+
*/
|
|
1920
|
+
interface AudioTremolo extends Instance {
|
|
1921
|
+
/**
|
|
1922
|
+
* **DO NOT USE!**
|
|
1923
|
+
*
|
|
1924
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1925
|
+
* @hidden
|
|
1926
|
+
* @deprecated
|
|
1927
|
+
*/
|
|
1928
|
+
readonly _nominal_AudioTremolo: unique symbol;
|
|
1929
|
+
}
|
|
1914
1930
|
/**
|
|
1915
1931
|
* - **Tags**: NotCreatable
|
|
1916
1932
|
*
|
|
@@ -15237,6 +15253,8 @@ interface TerrainWriteOperation extends RBXObject {
|
|
|
15237
15253
|
readonly _nominal_TerrainWriteOperation: unique symbol;
|
|
15238
15254
|
}
|
|
15239
15255
|
/**
|
|
15256
|
+
* Maintains a streaming connection.
|
|
15257
|
+
*
|
|
15240
15258
|
* - **Tags**: NotCreatable, NotReplicated
|
|
15241
15259
|
*
|
|
15242
15260
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient)
|
|
@@ -8816,7 +8816,7 @@ declare namespace Enum {
|
|
|
8816
8816
|
}
|
|
8817
8817
|
export const GetSortedAsync: GetSortedAsync;
|
|
8818
8818
|
/**
|
|
8819
|
-
* Refers to `SetAsync()` and `
|
|
8819
|
+
* Refers to `SetAsync()` `IncrementAsync()`, `RemoveAsync()`, and the write of `UpdateAsync()` while using an `OrderedDataStore`.
|
|
8820
8820
|
*
|
|
8821
8821
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/DataStoreRequestType#SetIncrementSortedAsync)
|
|
8822
8822
|
*/
|
|
@@ -21635,11 +21635,20 @@ declare namespace Enum {
|
|
|
21635
21635
|
EnumType: typeof globalThis.Enum.OutfitType;
|
|
21636
21636
|
}
|
|
21637
21637
|
export const DynamicHead: DynamicHead;
|
|
21638
|
+
/**
|
|
21639
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/OutfitType#Shoes)
|
|
21640
|
+
*/
|
|
21641
|
+
export interface Shoes extends globalThis.EnumItem {
|
|
21642
|
+
Name: "Shoes";
|
|
21643
|
+
Value: 4;
|
|
21644
|
+
EnumType: typeof globalThis.Enum.OutfitType;
|
|
21645
|
+
}
|
|
21646
|
+
export const Shoes: Shoes;
|
|
21638
21647
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.OutfitType>;
|
|
21639
21648
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.OutfitType | undefined;
|
|
21640
21649
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.OutfitType | undefined;
|
|
21641
21650
|
}
|
|
21642
|
-
export type OutfitType = OutfitType.All | OutfitType.Avatar | OutfitType.DynamicHead;
|
|
21651
|
+
export type OutfitType = OutfitType.All | OutfitType.Avatar | OutfitType.DynamicHead | OutfitType.Shoes;
|
|
21643
21652
|
/**
|
|
21644
21653
|
* Sets the layout mode of the output.
|
|
21645
21654
|
*
|
|
@@ -32857,6 +32866,60 @@ declare namespace Enum {
|
|
|
32857
32866
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.UiMessageType | undefined;
|
|
32858
32867
|
}
|
|
32859
32868
|
export type UiMessageType = UiMessageType.UiMessageError | UiMessageType.UiMessageInfo;
|
|
32869
|
+
/**
|
|
32870
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UpdateState)
|
|
32871
|
+
*/
|
|
32872
|
+
export namespace UpdateState {
|
|
32873
|
+
/**
|
|
32874
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UpdateState#UpdateNotAvailable)
|
|
32875
|
+
*/
|
|
32876
|
+
export interface UpdateNotAvailable extends globalThis.EnumItem {
|
|
32877
|
+
Name: "UpdateNotAvailable";
|
|
32878
|
+
Value: 0;
|
|
32879
|
+
EnumType: typeof globalThis.Enum.UpdateState;
|
|
32880
|
+
}
|
|
32881
|
+
export const UpdateNotAvailable: UpdateNotAvailable;
|
|
32882
|
+
/**
|
|
32883
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UpdateState#UpdateAvailable)
|
|
32884
|
+
*/
|
|
32885
|
+
export interface UpdateAvailable extends globalThis.EnumItem {
|
|
32886
|
+
Name: "UpdateAvailable";
|
|
32887
|
+
Value: 1;
|
|
32888
|
+
EnumType: typeof globalThis.Enum.UpdateState;
|
|
32889
|
+
}
|
|
32890
|
+
export const UpdateAvailable: UpdateAvailable;
|
|
32891
|
+
/**
|
|
32892
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UpdateState#UpdateInProgress)
|
|
32893
|
+
*/
|
|
32894
|
+
export interface UpdateInProgress extends globalThis.EnumItem {
|
|
32895
|
+
Name: "UpdateInProgress";
|
|
32896
|
+
Value: 2;
|
|
32897
|
+
EnumType: typeof globalThis.Enum.UpdateState;
|
|
32898
|
+
}
|
|
32899
|
+
export const UpdateInProgress: UpdateInProgress;
|
|
32900
|
+
/**
|
|
32901
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UpdateState#UpdateReady)
|
|
32902
|
+
*/
|
|
32903
|
+
export interface UpdateReady extends globalThis.EnumItem {
|
|
32904
|
+
Name: "UpdateReady";
|
|
32905
|
+
Value: 3;
|
|
32906
|
+
EnumType: typeof globalThis.Enum.UpdateState;
|
|
32907
|
+
}
|
|
32908
|
+
export const UpdateReady: UpdateReady;
|
|
32909
|
+
/**
|
|
32910
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UpdateState#UpdateFailed)
|
|
32911
|
+
*/
|
|
32912
|
+
export interface UpdateFailed extends globalThis.EnumItem {
|
|
32913
|
+
Name: "UpdateFailed";
|
|
32914
|
+
Value: 4;
|
|
32915
|
+
EnumType: typeof globalThis.Enum.UpdateState;
|
|
32916
|
+
}
|
|
32917
|
+
export const UpdateFailed: UpdateFailed;
|
|
32918
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UpdateState>;
|
|
32919
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.UpdateState | undefined;
|
|
32920
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.UpdateState | undefined;
|
|
32921
|
+
}
|
|
32922
|
+
export type UpdateState = UpdateState.UpdateNotAvailable | UpdateState.UpdateAvailable | UpdateState.UpdateInProgress | UpdateState.UpdateReady | UpdateState.UpdateFailed;
|
|
32860
32923
|
/**
|
|
32861
32924
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/UploadCaptureResult)
|
|
32862
32925
|
*/
|
|
@@ -34662,10 +34725,14 @@ declare namespace Enum {
|
|
|
34662
34725
|
}
|
|
34663
34726
|
export type WebSocketState = WebSocketState.Connecting | WebSocketState.Open | WebSocketState.Closing | WebSocketState.Closed;
|
|
34664
34727
|
/**
|
|
34728
|
+
* WebStreamClientState indicates the current state of a WebStreamClient object.
|
|
34729
|
+
*
|
|
34665
34730
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientState)
|
|
34666
34731
|
*/
|
|
34667
34732
|
export namespace WebStreamClientState {
|
|
34668
34733
|
/**
|
|
34734
|
+
* The client has sent a request to connect with the server and is waiting for a response.
|
|
34735
|
+
*
|
|
34669
34736
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientState#Connecting)
|
|
34670
34737
|
*/
|
|
34671
34738
|
export interface Connecting extends globalThis.EnumItem {
|
|
@@ -34675,6 +34742,8 @@ declare namespace Enum {
|
|
|
34675
34742
|
}
|
|
34676
34743
|
export const Connecting: Connecting;
|
|
34677
34744
|
/**
|
|
34745
|
+
* The client is connected to the server, allowing for data to be streamed between the server and client.
|
|
34746
|
+
*
|
|
34678
34747
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientState#Open)
|
|
34679
34748
|
*/
|
|
34680
34749
|
export interface Open extends globalThis.EnumItem {
|
|
@@ -34684,6 +34753,8 @@ declare namespace Enum {
|
|
|
34684
34753
|
}
|
|
34685
34754
|
export const Open: Open;
|
|
34686
34755
|
/**
|
|
34756
|
+
* An unrecoverable error has occured while setting up the connection orduring the connection lifetime, cutting off the stream.
|
|
34757
|
+
*
|
|
34687
34758
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientState#Error)
|
|
34688
34759
|
*/
|
|
34689
34760
|
export interface Error extends globalThis.EnumItem {
|
|
@@ -34693,6 +34764,8 @@ declare namespace Enum {
|
|
|
34693
34764
|
}
|
|
34694
34765
|
export const Error: Error;
|
|
34695
34766
|
/**
|
|
34767
|
+
* The connection has run to completion without issues, either closed naturally by the server or manually by the user.
|
|
34768
|
+
*
|
|
34696
34769
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientState#Closed)
|
|
34697
34770
|
*/
|
|
34698
34771
|
export interface Closed extends globalThis.EnumItem {
|
|
@@ -34707,10 +34780,14 @@ declare namespace Enum {
|
|
|
34707
34780
|
}
|
|
34708
34781
|
export type WebStreamClientState = WebStreamClientState.Connecting | WebStreamClientState.Open | WebStreamClientState.Error | WebStreamClientState.Closed;
|
|
34709
34782
|
/**
|
|
34783
|
+
* Specifies what type of streaming to use when creating a `WebStreamClient`.
|
|
34784
|
+
*
|
|
34710
34785
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientType)
|
|
34711
34786
|
*/
|
|
34712
34787
|
export namespace WebStreamClientType {
|
|
34713
34788
|
/**
|
|
34789
|
+
* Traditional Server-Sent Events (SSE) client. Requires `text/event-stream` to be returned in the `Content-Type` header. Messages in the stream will follow the [event stream format](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#event_stream_format).
|
|
34790
|
+
*
|
|
34714
34791
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientType#SSE)
|
|
34715
34792
|
*/
|
|
34716
34793
|
export interface SSE extends globalThis.EnumItem {
|
|
@@ -34720,6 +34797,8 @@ declare namespace Enum {
|
|
|
34720
34797
|
}
|
|
34721
34798
|
export const SSE: SSE;
|
|
34722
34799
|
/**
|
|
34800
|
+
* The client can connect to any server that provides streaming data transfer (e.g. [chunked encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Transfer-Encoding)). It provides no guarantees about the stream format.
|
|
34801
|
+
*
|
|
34723
34802
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/WebStreamClientType#RawStream)
|
|
34724
34803
|
*/
|
|
34725
34804
|
export interface RawStream extends globalThis.EnumItem {
|
package/include/roblox.d.ts
CHANGED
|
@@ -76,9 +76,9 @@ interface GetGroupsAsyncResult {
|
|
|
76
76
|
IsInClan: boolean;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
type HttpHeaders = Record<string, string> | Map<string, string>;
|
|
79
|
+
type HttpHeaders = Record<string, string | Secret> | Map<string, string | Secret>;
|
|
80
80
|
interface RequestAsyncRequest {
|
|
81
|
-
Url: string;
|
|
81
|
+
Url: string | Secret;
|
|
82
82
|
Method?: "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
83
83
|
Body?: string;
|
|
84
84
|
Headers?: HttpHeaders;
|