@rbxts/types 1.0.556 → 1.0.560
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.
|
@@ -92,6 +92,7 @@ interface Services {
|
|
|
92
92
|
TeleportService: TeleportService;
|
|
93
93
|
TemporaryCageMeshProvider: TemporaryCageMeshProvider;
|
|
94
94
|
TemporaryScriptService: TemporaryScriptService;
|
|
95
|
+
TextBoxService: TextBoxService;
|
|
95
96
|
TextChatService: TextChatService;
|
|
96
97
|
TextService: TextService;
|
|
97
98
|
ToastNotificationService: ToastNotificationService;
|
|
@@ -125,7 +126,6 @@ interface CreatableInstances {
|
|
|
125
126
|
BallSocketConstraint: BallSocketConstraint;
|
|
126
127
|
Beam: Beam;
|
|
127
128
|
BillboardGui: BillboardGui;
|
|
128
|
-
BinaryStringValue: BinaryStringValue;
|
|
129
129
|
BindableEvent: BindableEvent;
|
|
130
130
|
BindableFunction: BindableFunction;
|
|
131
131
|
BlockMesh: BlockMesh;
|
|
@@ -187,6 +187,7 @@ interface CreatableInstances {
|
|
|
187
187
|
Glue: Glue;
|
|
188
188
|
Handles: Handles;
|
|
189
189
|
Hat: Hat;
|
|
190
|
+
HiddenSurfaceRemovalAsset: HiddenSurfaceRemovalAsset;
|
|
190
191
|
Highlight: Highlight;
|
|
191
192
|
HingeConstraint: HingeConstraint;
|
|
192
193
|
Hole: Hole;
|
|
@@ -1129,7 +1130,7 @@ interface Accessory extends Accoutrement {
|
|
|
1129
1130
|
*/
|
|
1130
1131
|
readonly _nominal_Accessory: unique symbol;
|
|
1131
1132
|
/**
|
|
1132
|
-
* Specifies the AccessoryType of the Accessory. Will be `Enum/AccessoryType|AccessoryType.Unknown` unless the Accessory has been equipped through the player spawning process or [Humanoid:ApplyDescription](https://developer.roblox.com/en-us/api-reference/function/Humanoid/ApplyDescription).
|
|
1133
|
+
* Specifies the AccessoryType of the Accessory. Will be `Enum/AccessoryType|AccessoryType.Unknown` unless the Accessory has been equipped through the player spawning process or [Humanoid:ApplyDescription](https://developer.roblox.com/en-us/api-reference/function/Humanoid/ApplyDescription). If available on the Avatar shop, the Accessory item is categorized by the set [AccessoryType](https://developer.roblox.com/en-us/api-reference/enum/AccessoryType) (for example, “Hat” or “Face”).
|
|
1133
1134
|
*/
|
|
1134
1135
|
readonly AccessoryType: Enum.AccessoryType;
|
|
1135
1136
|
}
|
|
@@ -1497,7 +1498,7 @@ interface CurveAnimation extends AnimationClip {
|
|
|
1497
1498
|
*
|
|
1498
1499
|
* In some cases the developer may wish to download the KeyframeSequence corresponding to an existing uploaded Animation. This can be done so using [KeyframeSequenceProvider:GetKeyframeSequenceAsync](https://developer.roblox.com/en-us/api-reference/function/KeyframeSequenceProvider/GetKeyframeSequenceAsync).
|
|
1499
1500
|
*/
|
|
1500
|
-
interface KeyframeSequence extends
|
|
1501
|
+
interface KeyframeSequence extends AnimationClip {
|
|
1501
1502
|
/**
|
|
1502
1503
|
* **DO NOT USE!**
|
|
1503
1504
|
*
|
|
@@ -2960,12 +2961,16 @@ interface Tool extends BackpackItem {
|
|
|
2960
2961
|
/**
|
|
2961
2962
|
* The Equipped event fires when a player when a player takes a [Tool](https://developer.roblox.com/en-us/api-reference/class/Tool) out of their [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack) to use. This event can be used to determine when a player stops using and puts a tool away.
|
|
2962
2963
|
*
|
|
2964
|
+
* This event does not fire when [Tool.RequiresHandle](https://developer.roblox.com/en-us/api-reference/property/Tool/RequiresHandle) is enabled and no handle is present.
|
|
2965
|
+
*
|
|
2963
2966
|
* The opposite of this event, [Tool.Unequipped](https://developer.roblox.com/en-us/api-reference/event/Tool/Unequipped), can be used alongside this event to determine unequips a [Tool](https://developer.roblox.com/en-us/api-reference/class/Tool) by putting in back in their backpack.
|
|
2964
2967
|
*/
|
|
2965
2968
|
readonly Equipped: RBXScriptSignal<(mouse: Mouse) => void>;
|
|
2966
2969
|
/**
|
|
2967
2970
|
* The Unequipped event fires when a player unequips a [Tool](https://developer.roblox.com/en-us/api-reference/class/Tool) by putting in back in their [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack). This event can be used to determine when a player stops using and puts a tool away.
|
|
2968
2971
|
*
|
|
2972
|
+
* This event does not fire when [Tool.RequiresHandle](https://developer.roblox.com/en-us/api-reference/property/Tool/RequiresHandle) is enabled and no handle is present.
|
|
2973
|
+
*
|
|
2969
2974
|
* The opposite of this event, [Tool.Equipped](https://developer.roblox.com/en-us/api-reference/event/Tool/Equipped), can be used alongside this event to determine when a player takes a tool out of their backpack to use.
|
|
2970
2975
|
*
|
|
2971
2976
|
* The example shown below will print “A tool was unequipped” each time the tool is unequipped by the player. Please note that the below example assumes that you've already defined what “Tool” is.
|
|
@@ -9608,7 +9613,7 @@ interface FloatCurve extends Instance {
|
|
|
9608
9613
|
/**
|
|
9609
9614
|
* Samples the float curve at a given time passed as argument.
|
|
9610
9615
|
*/
|
|
9611
|
-
GetValueAtTime(this: FloatCurve, time: number):
|
|
9616
|
+
GetValueAtTime(this: FloatCurve, time: number): number | undefined;
|
|
9612
9617
|
/**
|
|
9613
9618
|
* Adds the key passed as argument to this curve. If a key exists at the same time it will be replaced. First return value is true if a key was added, false if a previous key was replaced. Second return value is the index at which the marker was added.
|
|
9614
9619
|
*/
|
|
@@ -13360,6 +13365,17 @@ interface HeightmapImporterService extends Instance {
|
|
|
13360
13365
|
readonly _nominal_HeightmapImporterService: unique symbol;
|
|
13361
13366
|
}
|
|
13362
13367
|
|
|
13368
|
+
interface HiddenSurfaceRemovalAsset extends Instance {
|
|
13369
|
+
/**
|
|
13370
|
+
* **DO NOT USE!**
|
|
13371
|
+
*
|
|
13372
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
13373
|
+
* @hidden
|
|
13374
|
+
* @deprecated
|
|
13375
|
+
*/
|
|
13376
|
+
readonly _nominal_HiddenSurfaceRemovalAsset: unique symbol;
|
|
13377
|
+
}
|
|
13378
|
+
|
|
13363
13379
|
interface Highlight extends Instance {
|
|
13364
13380
|
/**
|
|
13365
13381
|
* **DO NOT USE!**
|
|
@@ -23214,7 +23230,7 @@ interface Model extends PVInstance {
|
|
|
23214
23230
|
TranslateBy(this: Model, delta: Vector3): void;
|
|
23215
23231
|
}
|
|
23216
23232
|
|
|
23217
|
-
/** Actor Class */
|
|
23233
|
+
/** This is the Actor Class */
|
|
23218
23234
|
interface Actor extends Model {
|
|
23219
23235
|
/**
|
|
23220
23236
|
* **DO NOT USE!**
|
|
@@ -24163,6 +24179,11 @@ interface ParticleEmitter extends Instance {
|
|
|
24163
24179
|
* If you want no particles to render, you should call [ParticleEmitter:Clear](https://developer.roblox.com/en-us/api-reference/function/ParticleEmitter/Clear) to clear any existing particles. You can use [ParticleEmitter:Emit](https://developer.roblox.com/en-us/api-reference/function/ParticleEmitter/Emit) on disabled [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter)s and they will still emit and render particles.
|
|
24164
24180
|
*/
|
|
24165
24181
|
Enabled: boolean;
|
|
24182
|
+
FlipbookFramerate: NumberRange;
|
|
24183
|
+
FlipbookIncompatible: string;
|
|
24184
|
+
FlipbookLayout: Enum.ParticleFlipbookLayout;
|
|
24185
|
+
FlipbookMode: Enum.ParticleFlipbookMode;
|
|
24186
|
+
FlipbookStartRandom: boolean;
|
|
24166
24187
|
/**
|
|
24167
24188
|
* The Lifetime property defines the maximum and minimum ages a newly emit particle will. When a particle is emit, a random lifetime is chosen uniformly. Lifetimes are stored on a per-particle basis, so if this value is changed, existing particles will stay “alive” until their randomly chosen lifetime is lived. The bounds for this property should be in the range \[0, 20\]. By default, [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter)s will have a lifetime of 5 to 10 seconds. A lifetime of 0 will prevent particles from being emit in the first place.
|
|
24168
24189
|
*
|
|
@@ -26884,7 +26905,7 @@ interface RotationCurve extends Instance {
|
|
|
26884
26905
|
/**
|
|
26885
26906
|
* Samples the RotationCurve at a given time and returns the corresponding rotation. Empty RotationCurves are interpreted as zero.
|
|
26886
26907
|
*/
|
|
26887
|
-
GetValueAtTime(this: RotationCurve, time: number):
|
|
26908
|
+
GetValueAtTime(this: RotationCurve, time: number): CFrame | undefined;
|
|
26888
26909
|
/**
|
|
26889
26910
|
* Adds the key passed as argument to this curve. If a key at the same time is found it will be replaced. First return value is true if a key was added, false if a previous key was replaced. Second return value is the index at which the marker was added.
|
|
26890
26911
|
*/
|
|
@@ -30590,6 +30611,17 @@ interface TerrainRegion extends Instance {
|
|
|
30590
30611
|
readonly SizeInCells: Vector3;
|
|
30591
30612
|
}
|
|
30592
30613
|
|
|
30614
|
+
interface TextBoxService extends Instance {
|
|
30615
|
+
/**
|
|
30616
|
+
* **DO NOT USE!**
|
|
30617
|
+
*
|
|
30618
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
30619
|
+
* @hidden
|
|
30620
|
+
* @deprecated
|
|
30621
|
+
*/
|
|
30622
|
+
readonly _nominal_TextBoxService: unique symbol;
|
|
30623
|
+
}
|
|
30624
|
+
|
|
30593
30625
|
interface TextChannel extends Instance {
|
|
30594
30626
|
/**
|
|
30595
30627
|
* **DO NOT USE!**
|
|
@@ -33873,29 +33905,6 @@ interface ValueBase extends Instance {
|
|
|
33873
33905
|
readonly Changed: RBXScriptSignal<(value?: unknown) => void>;
|
|
33874
33906
|
}
|
|
33875
33907
|
|
|
33876
|
-
/** An internal type of [StringValue](https://developer.roblox.com/en-us/api-reference/class/StringValue) object, that stores a `BinaryString` value. */
|
|
33877
|
-
interface BinaryStringValue extends ValueBase {
|
|
33878
|
-
/**
|
|
33879
|
-
* **DO NOT USE!**
|
|
33880
|
-
*
|
|
33881
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
33882
|
-
* @hidden
|
|
33883
|
-
* @deprecated
|
|
33884
|
-
*/
|
|
33885
|
-
readonly _nominal_BinaryStringValue: unique symbol;
|
|
33886
|
-
/**
|
|
33887
|
-
* Fires if the `BinaryStringValue/Value` of the [BinaryStringValue](https://developer.roblox.com/en-us/api-reference/class/BinaryStringValue) is changed by the engine.
|
|
33888
|
-
*
|
|
33889
|
-
* In practice, this object is stored out of reach from normal scripts, so this event cannot be connected to. If a BinaryStringValue is created by a script, the engine will not do anything with it, so the event will never fire.
|
|
33890
|
-
*
|
|
33891
|
-
* Note
|
|
33892
|
-
* ----
|
|
33893
|
-
*
|
|
33894
|
-
* Equivalent changed events exist for similar objects, such as [NumberValue](https://developer.roblox.com/en-us/api-reference/class/NumberValue) and [StringValue](https://developer.roblox.com/en-us/api-reference/class/StringValue), depending on what object type best suits the need.
|
|
33895
|
-
*/
|
|
33896
|
-
readonly Changed: RBXScriptSignal<(value: unknown) => void>;
|
|
33897
|
-
}
|
|
33898
|
-
|
|
33899
33908
|
/** An instance which is used to hold a boolean value. The value can be used for many things, including to communicate between scripts. */
|
|
33900
33909
|
interface BoolValue extends ValueBase {
|
|
33901
33910
|
/**
|
|
@@ -124,7 +124,7 @@ interface ABTestService extends Instance {
|
|
|
124
124
|
readonly OnUserABTestLoadingStatusChanged: RBXScriptSignal<(status: Enum.ABTestLoadingStatus, userId: number) => void>;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
interface KeyframeSequence extends
|
|
127
|
+
interface KeyframeSequence extends AnimationClip {
|
|
128
128
|
/**
|
|
129
129
|
* **DO NOT USE!**
|
|
130
130
|
*
|
|
@@ -3394,6 +3394,7 @@ interface Studio extends Instance {
|
|
|
3394
3394
|
readonly ["Show Light Guides"]: boolean;
|
|
3395
3395
|
readonly ["Show Navigation Areas"]: boolean;
|
|
3396
3396
|
["Show Navigation Mesh"]: boolean;
|
|
3397
|
+
readonly ["Show Pathfinding Links"]: boolean;
|
|
3397
3398
|
["Show Plugin GUI Service in Explorer"]: boolean;
|
|
3398
3399
|
["Show QT warnings in output"]: boolean;
|
|
3399
3400
|
["Show Whitespace"]: boolean;
|
|
@@ -3642,6 +3643,7 @@ interface StudioService extends Instance {
|
|
|
3642
3643
|
* displayClassIcon(imageLabel, "Part")
|
|
3643
3644
|
*/
|
|
3644
3645
|
GetClassIcon(this: StudioService, className: string): object;
|
|
3646
|
+
GetPlaceIsPersistedToCloud(this: StudioService): boolean;
|
|
3645
3647
|
GetResourceByCategory(this: StudioService, category: string): object;
|
|
3646
3648
|
GetStartupAssetId(this: StudioService): string;
|
|
3647
3649
|
GetStartupPluginId(this: StudioService): string;
|
|
@@ -3650,15 +3652,18 @@ interface StudioService extends Instance {
|
|
|
3650
3652
|
* Returns the studio user's userId if they're logged in, otherwise returns 0.
|
|
3651
3653
|
*/
|
|
3652
3654
|
GetUserId(this: StudioService): number;
|
|
3655
|
+
GetUserIsInTeamCreateToggleRamp(this: StudioService): boolean;
|
|
3653
3656
|
GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult;
|
|
3654
3657
|
HasInternalPermission(this: StudioService): boolean;
|
|
3655
3658
|
IsPluginInstalled(this: StudioService, assetId: number): boolean;
|
|
3656
3659
|
IsPluginUpToDate(this: StudioService, assetId: number, currentAssetVersion: number): boolean;
|
|
3657
3660
|
OpenInBrowser_DONOTUSE(this: StudioService, url: string): void;
|
|
3658
3661
|
PublishAs(this: StudioService, universeId: number, placeId: number, groupId: number): void;
|
|
3662
|
+
RefreshDocumentDisplayName(this: StudioService): void;
|
|
3659
3663
|
RequestClose(this: StudioService, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
|
|
3660
3664
|
SerializeInstances(this: StudioService, instances: Array<Instance>): string;
|
|
3661
3665
|
SetPluginEnabled(this: StudioService, assetId: number, state: boolean): void;
|
|
3666
|
+
SetTurnOnTeamCreateOnPublish(this: StudioService, turnOn: boolean): void;
|
|
3662
3667
|
SetUniverseDisplayName(this: StudioService, newName: string): void;
|
|
3663
3668
|
ShowPlaceVersionHistoryDialog(this: StudioService, placeId: number): void;
|
|
3664
3669
|
ShowPublishToRoblox(this: StudioService): void;
|
|
@@ -3222,6 +3222,14 @@ declare namespace Enum {
|
|
|
3222
3222
|
|
|
3223
3223
|
export const DisconnectClientFailure: DisconnectClientFailure;
|
|
3224
3224
|
|
|
3225
|
+
export interface DisconnectClientRequest {
|
|
3226
|
+
Name: "DisconnectClientRequest";
|
|
3227
|
+
Value: 285;
|
|
3228
|
+
EnumType: EnumType<ConnectionError>;
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
export const DisconnectClientRequest: DisconnectClientRequest;
|
|
3232
|
+
|
|
3225
3233
|
export interface PlacelaunchErrors {
|
|
3226
3234
|
Name: "PlacelaunchErrors";
|
|
3227
3235
|
Value: 512;
|
|
@@ -3408,7 +3416,7 @@ declare namespace Enum {
|
|
|
3408
3416
|
|
|
3409
3417
|
export function GetEnumItems(this: defined): Array<ConnectionError>
|
|
3410
3418
|
}
|
|
3411
|
-
export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
3419
|
+
export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
3412
3420
|
export namespace ConnectionState {
|
|
3413
3421
|
export interface Connected {
|
|
3414
3422
|
Name: "Connected";
|
|
@@ -3918,9 +3926,17 @@ declare namespace Enum {
|
|
|
3918
3926
|
|
|
3919
3927
|
export const InvalidArgument: InvalidArgument;
|
|
3920
3928
|
|
|
3929
|
+
export interface ConnectionClosed {
|
|
3930
|
+
Name: "ConnectionClosed";
|
|
3931
|
+
Value: 8;
|
|
3932
|
+
EnumType: EnumType<DebuggerStatus>;
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
export const ConnectionClosed: ConnectionClosed;
|
|
3936
|
+
|
|
3921
3937
|
export function GetEnumItems(this: defined): Array<DebuggerStatus>
|
|
3922
3938
|
}
|
|
3923
|
-
export type DebuggerStatus = DebuggerStatus.Success | DebuggerStatus.Timeout | DebuggerStatus.ConnectionLost | DebuggerStatus.InvalidResponse | DebuggerStatus.InternalError | DebuggerStatus.InvalidState | DebuggerStatus.RpcError | DebuggerStatus.InvalidArgument;
|
|
3939
|
+
export type DebuggerStatus = DebuggerStatus.Success | DebuggerStatus.Timeout | DebuggerStatus.ConnectionLost | DebuggerStatus.InvalidResponse | DebuggerStatus.InternalError | DebuggerStatus.InvalidState | DebuggerStatus.RpcError | DebuggerStatus.InvalidArgument | DebuggerStatus.ConnectionClosed;
|
|
3924
3940
|
export namespace DevCameraOcclusionMode {
|
|
3925
3941
|
export interface Zoom {
|
|
3926
3942
|
Name: "Zoom";
|
|
@@ -4192,7 +4208,7 @@ declare namespace Enum {
|
|
|
4192
4208
|
|
|
4193
4209
|
export interface GraphicsMeshParts {
|
|
4194
4210
|
Name: "GraphicsMeshParts";
|
|
4195
|
-
Value:
|
|
4211
|
+
Value: 10;
|
|
4196
4212
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4197
4213
|
}
|
|
4198
4214
|
|
|
@@ -4200,7 +4216,7 @@ declare namespace Enum {
|
|
|
4200
4216
|
|
|
4201
4217
|
export interface GraphicsParticles {
|
|
4202
4218
|
Name: "GraphicsParticles";
|
|
4203
|
-
Value:
|
|
4219
|
+
Value: 11;
|
|
4204
4220
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4205
4221
|
}
|
|
4206
4222
|
|
|
@@ -4208,7 +4224,7 @@ declare namespace Enum {
|
|
|
4208
4224
|
|
|
4209
4225
|
export interface GraphicsParts {
|
|
4210
4226
|
Name: "GraphicsParts";
|
|
4211
|
-
Value:
|
|
4227
|
+
Value: 12;
|
|
4212
4228
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4213
4229
|
}
|
|
4214
4230
|
|
|
@@ -4216,7 +4232,7 @@ declare namespace Enum {
|
|
|
4216
4232
|
|
|
4217
4233
|
export interface GraphicsSpatialHash {
|
|
4218
4234
|
Name: "GraphicsSpatialHash";
|
|
4219
|
-
Value:
|
|
4235
|
+
Value: 13;
|
|
4220
4236
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4221
4237
|
}
|
|
4222
4238
|
|
|
@@ -4224,7 +4240,7 @@ declare namespace Enum {
|
|
|
4224
4240
|
|
|
4225
4241
|
export interface GraphicsTerrain {
|
|
4226
4242
|
Name: "GraphicsTerrain";
|
|
4227
|
-
Value:
|
|
4243
|
+
Value: 14;
|
|
4228
4244
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4229
4245
|
}
|
|
4230
4246
|
|
|
@@ -4232,7 +4248,7 @@ declare namespace Enum {
|
|
|
4232
4248
|
|
|
4233
4249
|
export interface GraphicsTexture {
|
|
4234
4250
|
Name: "GraphicsTexture";
|
|
4235
|
-
Value:
|
|
4251
|
+
Value: 15;
|
|
4236
4252
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4237
4253
|
}
|
|
4238
4254
|
|
|
@@ -4240,7 +4256,7 @@ declare namespace Enum {
|
|
|
4240
4256
|
|
|
4241
4257
|
export interface GraphicsTextureCharacter {
|
|
4242
4258
|
Name: "GraphicsTextureCharacter";
|
|
4243
|
-
Value:
|
|
4259
|
+
Value: 16;
|
|
4244
4260
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4245
4261
|
}
|
|
4246
4262
|
|
|
@@ -4248,7 +4264,7 @@ declare namespace Enum {
|
|
|
4248
4264
|
|
|
4249
4265
|
export interface Sounds {
|
|
4250
4266
|
Name: "Sounds";
|
|
4251
|
-
Value:
|
|
4267
|
+
Value: 17;
|
|
4252
4268
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4253
4269
|
}
|
|
4254
4270
|
|
|
@@ -4256,7 +4272,7 @@ declare namespace Enum {
|
|
|
4256
4272
|
|
|
4257
4273
|
export interface StreamingSounds {
|
|
4258
4274
|
Name: "StreamingSounds";
|
|
4259
|
-
Value:
|
|
4275
|
+
Value: 18;
|
|
4260
4276
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4261
4277
|
}
|
|
4262
4278
|
|
|
@@ -4264,7 +4280,7 @@ declare namespace Enum {
|
|
|
4264
4280
|
|
|
4265
4281
|
export interface TerrainVoxels {
|
|
4266
4282
|
Name: "TerrainVoxels";
|
|
4267
|
-
Value:
|
|
4283
|
+
Value: 19;
|
|
4268
4284
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4269
4285
|
}
|
|
4270
4286
|
|
|
@@ -4272,7 +4288,7 @@ declare namespace Enum {
|
|
|
4272
4288
|
|
|
4273
4289
|
export interface Gui {
|
|
4274
4290
|
Name: "Gui";
|
|
4275
|
-
Value:
|
|
4291
|
+
Value: 21;
|
|
4276
4292
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4277
4293
|
}
|
|
4278
4294
|
|
|
@@ -4280,7 +4296,7 @@ declare namespace Enum {
|
|
|
4280
4296
|
|
|
4281
4297
|
export interface Animation {
|
|
4282
4298
|
Name: "Animation";
|
|
4283
|
-
Value:
|
|
4299
|
+
Value: 22;
|
|
4284
4300
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4285
4301
|
}
|
|
4286
4302
|
|
|
@@ -4288,7 +4304,7 @@ declare namespace Enum {
|
|
|
4288
4304
|
|
|
4289
4305
|
export interface Navigation {
|
|
4290
4306
|
Name: "Navigation";
|
|
4291
|
-
Value:
|
|
4307
|
+
Value: 23;
|
|
4292
4308
|
EnumType: EnumType<DeveloperMemoryTag>;
|
|
4293
4309
|
}
|
|
4294
4310
|
|
|
@@ -10265,6 +10281,78 @@ declare namespace Enum {
|
|
|
10265
10281
|
export function GetEnumItems(this: defined): Array<ParticleEmitterShapeStyle>
|
|
10266
10282
|
}
|
|
10267
10283
|
export type ParticleEmitterShapeStyle = ParticleEmitterShapeStyle.Volume | ParticleEmitterShapeStyle.Surface;
|
|
10284
|
+
export namespace ParticleFlipbookLayout {
|
|
10285
|
+
export interface None {
|
|
10286
|
+
Name: "None";
|
|
10287
|
+
Value: 0;
|
|
10288
|
+
EnumType: EnumType<ParticleFlipbookLayout>;
|
|
10289
|
+
}
|
|
10290
|
+
|
|
10291
|
+
export const None: None;
|
|
10292
|
+
|
|
10293
|
+
export interface TwoByTwo {
|
|
10294
|
+
Name: "TwoByTwo";
|
|
10295
|
+
Value: 1;
|
|
10296
|
+
EnumType: EnumType<ParticleFlipbookLayout>;
|
|
10297
|
+
}
|
|
10298
|
+
|
|
10299
|
+
export const TwoByTwo: TwoByTwo;
|
|
10300
|
+
|
|
10301
|
+
export interface FourByFour {
|
|
10302
|
+
Name: "FourByFour";
|
|
10303
|
+
Value: 2;
|
|
10304
|
+
EnumType: EnumType<ParticleFlipbookLayout>;
|
|
10305
|
+
}
|
|
10306
|
+
|
|
10307
|
+
export const FourByFour: FourByFour;
|
|
10308
|
+
|
|
10309
|
+
export interface EightByEight {
|
|
10310
|
+
Name: "EightByEight";
|
|
10311
|
+
Value: 3;
|
|
10312
|
+
EnumType: EnumType<ParticleFlipbookLayout>;
|
|
10313
|
+
}
|
|
10314
|
+
|
|
10315
|
+
export const EightByEight: EightByEight;
|
|
10316
|
+
|
|
10317
|
+
export function GetEnumItems(this: defined): Array<ParticleFlipbookLayout>
|
|
10318
|
+
}
|
|
10319
|
+
export type ParticleFlipbookLayout = ParticleFlipbookLayout.None | ParticleFlipbookLayout.TwoByTwo | ParticleFlipbookLayout.FourByFour | ParticleFlipbookLayout.EightByEight;
|
|
10320
|
+
export namespace ParticleFlipbookMode {
|
|
10321
|
+
export interface Loop {
|
|
10322
|
+
Name: "Loop";
|
|
10323
|
+
Value: 0;
|
|
10324
|
+
EnumType: EnumType<ParticleFlipbookMode>;
|
|
10325
|
+
}
|
|
10326
|
+
|
|
10327
|
+
export const Loop: Loop;
|
|
10328
|
+
|
|
10329
|
+
export interface OneShot {
|
|
10330
|
+
Name: "OneShot";
|
|
10331
|
+
Value: 1;
|
|
10332
|
+
EnumType: EnumType<ParticleFlipbookMode>;
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10335
|
+
export const OneShot: OneShot;
|
|
10336
|
+
|
|
10337
|
+
export interface PingPong {
|
|
10338
|
+
Name: "PingPong";
|
|
10339
|
+
Value: 2;
|
|
10340
|
+
EnumType: EnumType<ParticleFlipbookMode>;
|
|
10341
|
+
}
|
|
10342
|
+
|
|
10343
|
+
export const PingPong: PingPong;
|
|
10344
|
+
|
|
10345
|
+
export interface Random {
|
|
10346
|
+
Name: "Random";
|
|
10347
|
+
Value: 3;
|
|
10348
|
+
EnumType: EnumType<ParticleFlipbookMode>;
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10351
|
+
export const Random: Random;
|
|
10352
|
+
|
|
10353
|
+
export function GetEnumItems(this: defined): Array<ParticleFlipbookMode>
|
|
10354
|
+
}
|
|
10355
|
+
export type ParticleFlipbookMode = ParticleFlipbookMode.Loop | ParticleFlipbookMode.OneShot | ParticleFlipbookMode.PingPong | ParticleFlipbookMode.Random;
|
|
10268
10356
|
export namespace ParticleOrientation {
|
|
10269
10357
|
export interface FacingCamera {
|
|
10270
10358
|
Name: "FacingCamera";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1447,6 +1447,28 @@ interface Faces {
|
|
|
1447
1447
|
type FacesConstructor = new (...ids: Array<Enum.NormalId>) => Faces;
|
|
1448
1448
|
declare const Faces: FacesConstructor;
|
|
1449
1449
|
|
|
1450
|
+
// FloatCurveKey
|
|
1451
|
+
interface FloatCurveKey {
|
|
1452
|
+
/**
|
|
1453
|
+
* **DO NOT USE!**
|
|
1454
|
+
*
|
|
1455
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1456
|
+
* @hidden
|
|
1457
|
+
* @deprecated
|
|
1458
|
+
*/
|
|
1459
|
+
readonly _nominal_FloatCurveKey: unique symbol;
|
|
1460
|
+
readonly Time: number;
|
|
1461
|
+
readonly Value: number;
|
|
1462
|
+
readonly RightTangent: number;
|
|
1463
|
+
readonly LeftTangent: number;
|
|
1464
|
+
}
|
|
1465
|
+
type FloatCurveKeyConstructor = new (
|
|
1466
|
+
time: number,
|
|
1467
|
+
value: number,
|
|
1468
|
+
interpolation: CastsToEnum<Enum.KeyInterpolationMode>,
|
|
1469
|
+
) => FloatCurveKey;
|
|
1470
|
+
declare const FloatCurveKey: FloatCurveKeyConstructor;
|
|
1471
|
+
|
|
1450
1472
|
// NumberRange
|
|
1451
1473
|
interface NumberRange {
|
|
1452
1474
|
/**
|
|
@@ -1736,6 +1758,38 @@ type Region3int16Constructor = new (min?: Vector3int16, max?: Vector3int16) => R
|
|
|
1736
1758
|
|
|
1737
1759
|
declare const Region3int16: Region3int16Constructor;
|
|
1738
1760
|
|
|
1761
|
+
// RotationCurveKey
|
|
1762
|
+
interface RotationCurveKey {
|
|
1763
|
+
/**
|
|
1764
|
+
* **DO NOT USE!**
|
|
1765
|
+
*
|
|
1766
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1767
|
+
* @hidden
|
|
1768
|
+
* @deprecated
|
|
1769
|
+
*/
|
|
1770
|
+
readonly _nominal_RotationCurveKey: unique symbol;
|
|
1771
|
+
readonly Time: number;
|
|
1772
|
+
readonly Value: CFrame;
|
|
1773
|
+
}
|
|
1774
|
+
type RotationCurveKeyConstructor = new (
|
|
1775
|
+
time: number,
|
|
1776
|
+
value: CFrame,
|
|
1777
|
+
interpolation: CastsToEnum<Enum.KeyInterpolationMode>,
|
|
1778
|
+
) => RotationCurveKey;
|
|
1779
|
+
declare const RotationCurveKey: RotationCurveKeyConstructor;
|
|
1780
|
+
|
|
1781
|
+
// TextChatMessage
|
|
1782
|
+
interface TextChatMessage {
|
|
1783
|
+
/**
|
|
1784
|
+
* **DO NOT USE!**
|
|
1785
|
+
*
|
|
1786
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1787
|
+
* @hidden
|
|
1788
|
+
* @deprecated
|
|
1789
|
+
*/
|
|
1790
|
+
readonly _nominal_TextChatMessage: unique symbol;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1739
1793
|
// TweenInfo
|
|
1740
1794
|
interface TweenInfo {
|
|
1741
1795
|
/**
|