@rbxts/types 1.0.862 → 1.0.863
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.
|
@@ -5475,8 +5475,6 @@ interface AudioFocusService extends Instance {
|
|
|
5475
5475
|
readonly _nominal_AudioFocusService: unique symbol;
|
|
5476
5476
|
}
|
|
5477
5477
|
/**
|
|
5478
|
-
* - **Tags**: NotBrowsable
|
|
5479
|
-
*
|
|
5480
5478
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioGate)
|
|
5481
5479
|
*/
|
|
5482
5480
|
interface AudioGate extends Instance {
|
|
@@ -5516,18 +5514,22 @@ interface AudioGate extends Instance {
|
|
|
5516
5514
|
* - **ThreadSafety**: Unsafe
|
|
5517
5515
|
*
|
|
5518
5516
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioGate#GetConnectedWires)
|
|
5517
|
+
* @param this
|
|
5518
|
+
* @param pin
|
|
5519
5519
|
*/
|
|
5520
5520
|
GetConnectedWires(this: AudioGate, pin: string): Array<Instance>;
|
|
5521
5521
|
/**
|
|
5522
5522
|
* - **ThreadSafety**: Unsafe
|
|
5523
5523
|
*
|
|
5524
5524
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioGate#GetInputPins)
|
|
5525
|
+
* @param this
|
|
5525
5526
|
*/
|
|
5526
5527
|
GetInputPins(this: AudioGate): Array<unknown>;
|
|
5527
5528
|
/**
|
|
5528
5529
|
* - **ThreadSafety**: Unsafe
|
|
5529
5530
|
*
|
|
5530
5531
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioGate#GetOutputPins)
|
|
5532
|
+
* @param this
|
|
5531
5533
|
*/
|
|
5532
5534
|
GetOutputPins(this: AudioGate): Array<unknown>;
|
|
5533
5535
|
/**
|
|
@@ -6668,6 +6670,12 @@ interface AuroraService extends Instance {
|
|
|
6668
6670
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraService#IgnoreRotation)
|
|
6669
6671
|
*/
|
|
6670
6672
|
IgnoreRotation: boolean;
|
|
6673
|
+
/**
|
|
6674
|
+
* - **ThreadSafety**: ReadSafe
|
|
6675
|
+
*
|
|
6676
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraService#LockStepIdOffset)
|
|
6677
|
+
*/
|
|
6678
|
+
LockStepIdOffset: boolean;
|
|
6671
6679
|
/**
|
|
6672
6680
|
* - **ThreadSafety**: ReadSafe
|
|
6673
6681
|
*
|
|
@@ -6901,6 +6909,9 @@ interface AvatarCreationService extends Instance {
|
|
|
6901
6909
|
* - **Tags**: Yields
|
|
6902
6910
|
*
|
|
6903
6911
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#AutoSetupAvatarAsync)
|
|
6912
|
+
* @param this A service to support developer avatar creators.
|
|
6913
|
+
* @param player
|
|
6914
|
+
* @param model
|
|
6904
6915
|
*/
|
|
6905
6916
|
AutoSetupAvatarAsync(this: AvatarCreationService, player: Player, model: Model): string;
|
|
6906
6917
|
/**
|
|
@@ -6941,6 +6952,8 @@ interface AvatarCreationService extends Instance {
|
|
|
6941
6952
|
* - **Tags**: Yields
|
|
6942
6953
|
*
|
|
6943
6954
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#LoadGeneratedAvatarAsync)
|
|
6955
|
+
* @param this A service to support developer avatar creators.
|
|
6956
|
+
* @param generationId
|
|
6944
6957
|
*/
|
|
6945
6958
|
LoadGeneratedAvatarAsync(this: AvatarCreationService, generationId: string): HumanoidDescription;
|
|
6946
6959
|
/**
|
|
@@ -8307,7 +8320,7 @@ interface UnreliableRemoteEvent<T extends Callback = Callback> extends BaseRemot
|
|
|
8307
8320
|
*/
|
|
8308
8321
|
readonly _nominal_UnreliableRemoteEvent: unique symbol;
|
|
8309
8322
|
/**
|
|
8310
|
-
* Fires the `OnClientEvent` event for each client connected to the same `UnreliableRemoteEvent`. Has a
|
|
8323
|
+
* Fires the `OnClientEvent` event for each client connected to the same `UnreliableRemoteEvent`. Has a 1000 byte limit to the payload of the event. Otherwise, the event is dropped.
|
|
8311
8324
|
*
|
|
8312
8325
|
* - **ThreadSafety**: Unsafe
|
|
8313
8326
|
*
|
|
@@ -8317,7 +8330,7 @@ interface UnreliableRemoteEvent<T extends Callback = Callback> extends BaseRemot
|
|
|
8317
8330
|
*/
|
|
8318
8331
|
FireAllClients(this: UnreliableRemoteEvent, ...args: Parameters<T>): void;
|
|
8319
8332
|
/**
|
|
8320
|
-
* Fires the `OnClientEvent` event for a specific client connected to the same `UnreliableRemoteEvent`. Has a
|
|
8333
|
+
* Fires the `OnClientEvent` event for a specific client connected to the same `UnreliableRemoteEvent`. Has a 1000 byte limit to the payload of the event. Otherwise, the event is dropped.
|
|
8321
8334
|
*
|
|
8322
8335
|
* - **ThreadSafety**: Unsafe
|
|
8323
8336
|
*
|
|
@@ -8328,7 +8341,7 @@ interface UnreliableRemoteEvent<T extends Callback = Callback> extends BaseRemot
|
|
|
8328
8341
|
*/
|
|
8329
8342
|
FireClient(this: UnreliableRemoteEvent, player: Player, ...args: Parameters<T>): void;
|
|
8330
8343
|
/**
|
|
8331
|
-
* Fires the `OnServerEvent` event on the server from one client connected to the same `UnreliableRemoteEvent`. Has a
|
|
8344
|
+
* Fires the `OnServerEvent` event on the server from one client connected to the same `UnreliableRemoteEvent`. Has a 1000 byte limit to the payload of the event, otherwise event is dropped.
|
|
8332
8345
|
*
|
|
8333
8346
|
* - **ThreadSafety**: Unsafe
|
|
8334
8347
|
*
|
|
@@ -9444,6 +9457,12 @@ interface CaptureService extends Instance {
|
|
|
9444
9457
|
* @param onCaptureReady A callback function that is called with the `contentId` of the new capture once it is ready.
|
|
9445
9458
|
*/
|
|
9446
9459
|
CaptureScreenshot(this: CaptureService, onCaptureReady: (captureContentId: string) => void): void;
|
|
9460
|
+
/**
|
|
9461
|
+
* - **ThreadSafety**: Unsafe
|
|
9462
|
+
*
|
|
9463
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#GetDeviceInfo)
|
|
9464
|
+
*/
|
|
9465
|
+
GetDeviceInfo(this: CaptureService): object;
|
|
9447
9466
|
/**
|
|
9448
9467
|
* Prompts the user to save specified captures to their gallery.
|
|
9449
9468
|
*
|
|
@@ -28094,6 +28113,8 @@ interface BasePart extends PVInstance {
|
|
|
28094
28113
|
*/
|
|
28095
28114
|
GetRenderCFrame(this: BasePart): CFrame;
|
|
28096
28115
|
/**
|
|
28116
|
+
* **Deprecated:**
|
|
28117
|
+
*
|
|
28097
28118
|
* Returns the base part of an assembly of parts.
|
|
28098
28119
|
*
|
|
28099
28120
|
* - **ThreadSafety**: Safe
|
|
@@ -36560,6 +36581,9 @@ interface SocialService extends Instance {
|
|
|
36560
36581
|
* - **Tags**: Yields
|
|
36561
36582
|
*
|
|
36562
36583
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SocialService#PromptLinkSharing)
|
|
36584
|
+
* @param this Facilitates social functions that impact relationships made on the Roblox platform.
|
|
36585
|
+
* @param player
|
|
36586
|
+
* @param options
|
|
36563
36587
|
*/
|
|
36564
36588
|
PromptLinkSharing(this: SocialService, player: Player, options?: object): unknown;
|
|
36565
36589
|
/**
|
|
@@ -38664,6 +38688,14 @@ interface SurfaceAppearance extends Instance {
|
|
|
38664
38688
|
* @deprecated
|
|
38665
38689
|
*/
|
|
38666
38690
|
readonly _nominal_SurfaceAppearance: unique symbol;
|
|
38691
|
+
/**
|
|
38692
|
+
* Determines how the alpha channel of the `SurfaceAppearance.ColorMap` is used.
|
|
38693
|
+
*
|
|
38694
|
+
* - **ThreadSafety**: ReadSafe
|
|
38695
|
+
*
|
|
38696
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#AlphaMode)
|
|
38697
|
+
*/
|
|
38698
|
+
AlphaMode: Enum.AlphaMode;
|
|
38667
38699
|
/**
|
|
38668
38700
|
* Applies a tint to your existing colormap. Set directly with color picker or programmatically with `Color3`.
|
|
38669
38701
|
*
|
|
@@ -1720,8 +1720,6 @@ interface AudioFocusService extends Instance {
|
|
|
1720
1720
|
readonly _nominal_AudioFocusService: unique symbol;
|
|
1721
1721
|
}
|
|
1722
1722
|
/**
|
|
1723
|
-
* - **Tags**: NotBrowsable
|
|
1724
|
-
*
|
|
1725
1723
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioGate)
|
|
1726
1724
|
*/
|
|
1727
1725
|
interface AudioGate extends Instance {
|
|
@@ -13117,14 +13115,6 @@ interface SurfaceAppearance extends Instance {
|
|
|
13117
13115
|
* @deprecated
|
|
13118
13116
|
*/
|
|
13119
13117
|
readonly _nominal_SurfaceAppearance: unique symbol;
|
|
13120
|
-
/**
|
|
13121
|
-
* Determines how the alpha channel of the `SurfaceAppearance.ColorMap` is used.
|
|
13122
|
-
*
|
|
13123
|
-
* - **ThreadSafety**: ReadSafe
|
|
13124
|
-
*
|
|
13125
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#AlphaMode)
|
|
13126
|
-
*/
|
|
13127
|
-
AlphaMode: Enum.AlphaMode;
|
|
13128
13118
|
/**
|
|
13129
13119
|
* Determines the color and opacity of the surface.
|
|
13130
13120
|
*
|
|
@@ -22979,6 +22979,42 @@ declare namespace Enum {
|
|
|
22979
22979
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PositionAlignmentMode | undefined;
|
|
22980
22980
|
}
|
|
22981
22981
|
export type PositionAlignmentMode = PositionAlignmentMode.OneAttachment | PositionAlignmentMode.TwoAttachment;
|
|
22982
|
+
/**
|
|
22983
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode)
|
|
22984
|
+
*/
|
|
22985
|
+
export namespace PredictionMode {
|
|
22986
|
+
/**
|
|
22987
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode#Auto)
|
|
22988
|
+
*/
|
|
22989
|
+
export interface Auto extends globalThis.EnumItem {
|
|
22990
|
+
Name: "Auto";
|
|
22991
|
+
Value: 0;
|
|
22992
|
+
EnumType: typeof globalThis.Enum.PredictionMode;
|
|
22993
|
+
}
|
|
22994
|
+
export const Auto: Auto;
|
|
22995
|
+
/**
|
|
22996
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode#None)
|
|
22997
|
+
*/
|
|
22998
|
+
export interface None extends globalThis.EnumItem {
|
|
22999
|
+
Name: "None";
|
|
23000
|
+
Value: 1;
|
|
23001
|
+
EnumType: typeof globalThis.Enum.PredictionMode;
|
|
23002
|
+
}
|
|
23003
|
+
export const None: None;
|
|
23004
|
+
/**
|
|
23005
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PredictionMode#Forced)
|
|
23006
|
+
*/
|
|
23007
|
+
export interface Forced extends globalThis.EnumItem {
|
|
23008
|
+
Name: "Forced";
|
|
23009
|
+
Value: 2;
|
|
23010
|
+
EnumType: typeof globalThis.Enum.PredictionMode;
|
|
23011
|
+
}
|
|
23012
|
+
export const Forced: Forced;
|
|
23013
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PredictionMode>;
|
|
23014
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PredictionMode | undefined;
|
|
23015
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PredictionMode | undefined;
|
|
23016
|
+
}
|
|
23017
|
+
export type PredictionMode = PredictionMode.Auto | PredictionMode.None | PredictionMode.Forced;
|
|
22982
23018
|
/**
|
|
22983
23019
|
* This enum is used with `UserInputService.PreferredInput` to indicate the primary input type a player is likely using.
|
|
22984
23020
|
*
|