@rbxts/types 1.0.644 → 1.0.646
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.
- package/include/generated/None.d.ts +93 -17
- package/include/generated/enums.d.ts +122 -11
- package/include/roblox.d.ts +2 -0
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ interface Services {
|
|
|
40
40
|
FaceAnimatorService: FaceAnimatorService;
|
|
41
41
|
FacialAnimationRecordingService: FacialAnimationRecordingService;
|
|
42
42
|
FacialAnimationStreamingService: FacialAnimationStreamingService;
|
|
43
|
+
FacialAnimationStreamingServiceV2: FacialAnimationStreamingServiceV2;
|
|
43
44
|
GamepadService: GamepadService;
|
|
44
45
|
GamePassService: GamePassService;
|
|
45
46
|
GroupService: GroupService;
|
|
@@ -136,6 +137,7 @@ interface CreatableInstances {
|
|
|
136
137
|
AlignPosition: AlignPosition;
|
|
137
138
|
AngularVelocity: AngularVelocity;
|
|
138
139
|
Animation: Animation;
|
|
140
|
+
AnimationConstraint: AnimationConstraint;
|
|
139
141
|
AnimationController: AnimationController;
|
|
140
142
|
AnimationRigData: AnimationRigData;
|
|
141
143
|
Animator: Animator;
|
|
@@ -411,6 +413,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
411
413
|
AnimationStreamTrack: AnimationStreamTrack;
|
|
412
414
|
AnimationTrack: AnimationTrack;
|
|
413
415
|
AssetImportSession: AssetImportSession;
|
|
416
|
+
AssetPatchSettings: AssetPatchSettings;
|
|
414
417
|
AssetSoundEffect: AssetSoundEffect;
|
|
415
418
|
BaseWrap: BaseWrap;
|
|
416
419
|
BubbleChatConfiguration: BubbleChatConfiguration;
|
|
@@ -420,6 +423,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
420
423
|
CloudLocalizationTable: CloudLocalizationTable;
|
|
421
424
|
CommandInstance: CommandInstance;
|
|
422
425
|
ControllerBase: ControllerBase;
|
|
426
|
+
CoreScriptBuilder: CoreScriptBuilder;
|
|
423
427
|
CustomSoundEffect: CustomSoundEffect;
|
|
424
428
|
DataModel: DataModel;
|
|
425
429
|
DataStore: DataStore;
|
|
@@ -461,7 +465,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
461
465
|
OutfitPages: OutfitPages;
|
|
462
466
|
PackageLink: PackageLink;
|
|
463
467
|
ParabolaAdornment: ParabolaAdornment;
|
|
464
|
-
PatchMapping: PatchMapping;
|
|
465
468
|
Path: Path;
|
|
466
469
|
PausedState: PausedState;
|
|
467
470
|
PausedStateBreakpoint: PausedStateBreakpoint;
|
|
@@ -474,6 +477,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
474
477
|
PluginManagerInterface: PluginManagerInterface;
|
|
475
478
|
PoseBase: PoseBase;
|
|
476
479
|
ScreenshotHud: ScreenshotHud;
|
|
480
|
+
ScriptBuilder: ScriptBuilder;
|
|
477
481
|
ScriptDocument: ScriptDocument;
|
|
478
482
|
StackFrame: StackFrame;
|
|
479
483
|
StandardPages: StandardPages;
|
|
@@ -2071,6 +2075,9 @@ interface AssetDeliveryProxy extends Instance {
|
|
|
2071
2075
|
* @deprecated
|
|
2072
2076
|
*/
|
|
2073
2077
|
readonly _nominal_AssetDeliveryProxy: unique symbol;
|
|
2078
|
+
Interface: string;
|
|
2079
|
+
Port: number;
|
|
2080
|
+
StartServer: boolean;
|
|
2074
2081
|
}
|
|
2075
2082
|
|
|
2076
2083
|
interface AssetImportService extends Instance {
|
|
@@ -2108,6 +2115,20 @@ interface AssetManagerService extends Instance {
|
|
|
2108
2115
|
readonly _nominal_AssetManagerService: unique symbol;
|
|
2109
2116
|
}
|
|
2110
2117
|
|
|
2118
|
+
interface AssetPatchSettings extends Instance {
|
|
2119
|
+
/**
|
|
2120
|
+
* **DO NOT USE!**
|
|
2121
|
+
*
|
|
2122
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2123
|
+
* @hidden
|
|
2124
|
+
* @deprecated
|
|
2125
|
+
*/
|
|
2126
|
+
readonly _nominal_AssetPatchSettings: unique symbol;
|
|
2127
|
+
ContentId: string;
|
|
2128
|
+
OutputPath: string;
|
|
2129
|
+
PatchId: string;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2111
2132
|
/** The AssetService is a non-replicated service that handles asset related queries to the Roblox web API. Eventually, this will house all asset related queries for Roblox objects stored in the web. One should mind the [limitations](https://developer.roblox.com/en-us/articles/multi-place-games) this API has. */
|
|
2112
2133
|
interface AssetService extends Instance {
|
|
2113
2134
|
/**
|
|
@@ -6981,6 +7002,20 @@ interface AngularVelocity extends Constraint {
|
|
|
6981
7002
|
RelativeTo: Enum.ActuatorRelativeTo;
|
|
6982
7003
|
}
|
|
6983
7004
|
|
|
7005
|
+
interface AnimationConstraint extends Constraint {
|
|
7006
|
+
/**
|
|
7007
|
+
* **DO NOT USE!**
|
|
7008
|
+
*
|
|
7009
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7010
|
+
* @hidden
|
|
7011
|
+
* @deprecated
|
|
7012
|
+
*/
|
|
7013
|
+
readonly _nominal_AnimationConstraint: unique symbol;
|
|
7014
|
+
MaxForce: number;
|
|
7015
|
+
MaxTorque: number;
|
|
7016
|
+
Transform: CFrame;
|
|
7017
|
+
}
|
|
7018
|
+
|
|
6984
7019
|
/** A **BallSocketConstraint** constrains its [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment) so that they occupy the same position. By default it allows both attachments to freely rotate about all of their axes, but if [BallSocketConstraint.LimitsEnabled](https://developer.roblox.com/en-us/api-reference/property/BallSocketConstraint/LimitsEnabled) is `true`, the attachments can only rotate in a limited cone.
|
|
6985
7020
|
*
|
|
6986
7021
|
* Note that if this constraint attaches one part (**A**) to another part (**B**) that is anchored or connected to an anchored part (**Z**), part **A** will not be locally simulated when interacting with a player.
|
|
@@ -8189,7 +8224,7 @@ interface ContextActionService extends Instance {
|
|
|
8189
8224
|
*
|
|
8190
8225
|
* Note that the [UserInputType](https://developer.roblox.com/en-us/api-reference/enum/UserInputType) specified must be `Keyboard` or `Gamepad1` through `Gamepad8` in order to be valid.
|
|
8191
8226
|
*/
|
|
8192
|
-
BindActivate(this: ContextActionService, userInputTypeForActivation: CastsToEnum<Enum.UserInputType>,
|
|
8227
|
+
BindActivate(this: ContextActionService, userInputTypeForActivation: CastsToEnum<Enum.UserInputType>, keyCodesForActivation: Array<any>): void;
|
|
8193
8228
|
/**
|
|
8194
8229
|
* GetAllBoundActioninfo returns a table which maps all actions' names (those originally passed to [BindAction](https://developer.roblox.com/en-us/api-reference/function/ContextActionService/BindAction)) to a table returned by [GetBoundActionInfo](https://developer.roblox.com/en-us/api-reference/function/ContextActionService/GetBoundActionInfo) when called with the action name itself. Using this function, you can inspect all presently bound actions. This is useful when debugging their priority levels or stack orders.
|
|
8195
8230
|
*/
|
|
@@ -9985,6 +10020,17 @@ interface FacialAnimationStreamingService extends Instance {
|
|
|
9985
10020
|
readonly _nominal_FacialAnimationStreamingService: unique symbol;
|
|
9986
10021
|
}
|
|
9987
10022
|
|
|
10023
|
+
interface FacialAnimationStreamingServiceV2 extends Instance {
|
|
10024
|
+
/**
|
|
10025
|
+
* **DO NOT USE!**
|
|
10026
|
+
*
|
|
10027
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10028
|
+
* @hidden
|
|
10029
|
+
* @deprecated
|
|
10030
|
+
*/
|
|
10031
|
+
readonly _nominal_FacialAnimationStreamingServiceV2: unique symbol;
|
|
10032
|
+
}
|
|
10033
|
+
|
|
9988
10034
|
/** The base class for the legacy motor system. */
|
|
9989
10035
|
interface Feature extends Instance {
|
|
9990
10036
|
/**
|
|
@@ -11838,6 +11884,7 @@ interface TextButton extends GuiButton {
|
|
|
11838
11884
|
* The Font property selects one of several pre-defined fonts with which the UI element will render its text. Some fonts have bold, italic and/or light variants (as there is no font-weight or font-style properties).
|
|
11839
11885
|
*
|
|
11840
11886
|
* With the exception of the “Legacy” font, each font will render text with the line height equal to the [TextButton.TextSize](https://developer.roblox.com/en-us/api-reference/property/TextButton/TextSize) property. The “Code” font is the only monospace font. It has the unique property that each character has the exact same width and height ratio of 1:2. The width of each character is approximately half the [TextButton.TextSize](https://developer.roblox.com/en-us/api-reference/property/TextButton/TextSize) property.
|
|
11887
|
+
* Tags: Hidden
|
|
11841
11888
|
*/
|
|
11842
11889
|
Font: Enum.Font;
|
|
11843
11890
|
FontFace: Font;
|
|
@@ -12151,6 +12198,7 @@ interface TextLabel extends GuiLabel {
|
|
|
12151
12198
|
* The Font property selects one of several pre-defined fonts with which the UI element will render its text. Some fonts have bold, italic and/or light variants (as there is no font-weight or font-style properties).
|
|
12152
12199
|
*
|
|
12153
12200
|
* With the exception of the “Legacy” font, each font will render text with the line height equal to the [TextLabel.TextSize](https://developer.roblox.com/en-us/api-reference/property/TextLabel/TextSize) property. The “Code” font is the only monospace font. It has the unique property that each character has the exact same width and height ratio of 1:2. The width of each character is approximately half the [TextLabel.TextSize](https://developer.roblox.com/en-us/api-reference/property/TextLabel/TextSize) property.
|
|
12201
|
+
* Tags: Hidden
|
|
12154
12202
|
*/
|
|
12155
12203
|
Font: Enum.Font;
|
|
12156
12204
|
FontFace: Font;
|
|
@@ -12537,6 +12585,7 @@ interface TextBox extends GuiObject {
|
|
|
12537
12585
|
* The Font property selects one of several pre-defined [fonts](https://developer.roblox.com/en-us/api-reference/enum/Font) with which the UI element will render its text. Some fonts have bold, italic and/or light variants (as there is no font-weight or font-style properties).
|
|
12538
12586
|
*
|
|
12539
12587
|
* With the exception of the “Legacy” font, each font will render text with the line height equal to the [TextBox.TextSize](https://developer.roblox.com/en-us/api-reference/property/TextBox/TextSize) property. The “Code” font is the only monospace font. It has the unique property that each character has the exact same width and height ratio of 1:2. The width of each character is approximately half the [TextBox.TextSize](https://developer.roblox.com/en-us/api-reference/property/TextBox/TextSize) property.
|
|
12588
|
+
* Tags: Hidden
|
|
12540
12589
|
*/
|
|
12541
12590
|
Font: Enum.Font;
|
|
12542
12591
|
FontFace: Font;
|
|
@@ -13287,6 +13336,10 @@ interface ScreenGui extends LayerCollector {
|
|
|
13287
13336
|
* @deprecated
|
|
13288
13337
|
*/
|
|
13289
13338
|
readonly _nominal_ScreenGui: unique symbol;
|
|
13339
|
+
/**
|
|
13340
|
+
* Tags: NotBrowsable
|
|
13341
|
+
*/
|
|
13342
|
+
ClipToDeviceSafeArea: boolean;
|
|
13290
13343
|
/**
|
|
13291
13344
|
* This property controls the order that multiple ScreenGuis are drawn.
|
|
13292
13345
|
*
|
|
@@ -13297,6 +13350,10 @@ interface ScreenGui extends LayerCollector {
|
|
|
13297
13350
|
* IgnoreGuiInset is a boolean property of ScreenGuis that, when set to true, will force the [GUI Inset](https://developer.roblox.com/en-us/api-reference/function/GuiService/GetGuiInset) imposed by Roblox's CoreGuis to be ignored by this ScreenGui and its descendants. This means that an element with a UDim2 size of `{1,0},{1,0}` will fill up the entire screen, without a 36 pixel gap reserved for Roblox's top bar.
|
|
13298
13351
|
*/
|
|
13299
13352
|
IgnoreGuiInset: boolean;
|
|
13353
|
+
/**
|
|
13354
|
+
* Tags: NotBrowsable
|
|
13355
|
+
*/
|
|
13356
|
+
SafeAreaCompatibility: Enum.SafeAreaCompatibility;
|
|
13300
13357
|
}
|
|
13301
13358
|
|
|
13302
13359
|
interface SurfaceGuiBase extends LayerCollector {
|
|
@@ -25482,20 +25539,6 @@ interface ParticleEmitter extends Instance {
|
|
|
25482
25539
|
Emit(this: ParticleEmitter, particleCount?: number): void;
|
|
25483
25540
|
}
|
|
25484
25541
|
|
|
25485
|
-
interface PatchMapping extends Instance {
|
|
25486
|
-
/**
|
|
25487
|
-
* **DO NOT USE!**
|
|
25488
|
-
*
|
|
25489
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
25490
|
-
* @hidden
|
|
25491
|
-
* @deprecated
|
|
25492
|
-
*/
|
|
25493
|
-
readonly _nominal_PatchMapping: unique symbol;
|
|
25494
|
-
FlattenTree: boolean;
|
|
25495
|
-
PatchId: string;
|
|
25496
|
-
TargetPath: string;
|
|
25497
|
-
}
|
|
25498
|
-
|
|
25499
25542
|
/** **Path** objects store the result of paths created by [PathfindingService:CreatePath()](https://developer.roblox.com/en-us/api-reference/function/PathfindingService/CreatePath).
|
|
25500
25543
|
*
|
|
25501
25544
|
* Once a path object is created, you can call [Path:ComputeAsync()](https://developer.roblox.com/en-us/api-reference/function/Path/ComputeAsync) with a starting point and ending point. This will attempt to compute a valid path for a character to move along, based on default or custom parameters passed to [CreatePath()](https://developer.roblox.com/en-us/api-reference/function/PathfindingService/CreatePath). If [ComputeAsync()](https://developer.roblox.com/en-us/api-reference/function/Path/ComputeAsync) successfully finds a path, the [Path](https://developer.roblox.com/en-us/api-reference/class/Path) object will have a [Path.Status](https://developer.roblox.com/en-us/api-reference/property/Path/Status) value of `Enum.PathStatus.Success`. Otherwise the status will be `Enum.PathStatus.NoPath` which can occur if there are obstacles between the two points (and no way around) or if the points are inside of solid objects.
|
|
@@ -28460,6 +28503,28 @@ interface ScreenshotHud extends Instance {
|
|
|
28460
28503
|
Visible: boolean;
|
|
28461
28504
|
}
|
|
28462
28505
|
|
|
28506
|
+
interface ScriptBuilder extends Instance {
|
|
28507
|
+
/**
|
|
28508
|
+
* **DO NOT USE!**
|
|
28509
|
+
*
|
|
28510
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28511
|
+
* @hidden
|
|
28512
|
+
* @deprecated
|
|
28513
|
+
*/
|
|
28514
|
+
readonly _nominal_ScriptBuilder: unique symbol;
|
|
28515
|
+
}
|
|
28516
|
+
|
|
28517
|
+
interface CoreScriptBuilder extends ScriptBuilder {
|
|
28518
|
+
/**
|
|
28519
|
+
* **DO NOT USE!**
|
|
28520
|
+
*
|
|
28521
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28522
|
+
* @hidden
|
|
28523
|
+
* @deprecated
|
|
28524
|
+
*/
|
|
28525
|
+
readonly _nominal_CoreScriptBuilder: unique symbol;
|
|
28526
|
+
}
|
|
28527
|
+
|
|
28463
28528
|
interface ScriptChangeService extends Instance {
|
|
28464
28529
|
/**
|
|
28465
28530
|
* **DO NOT USE!**
|
|
@@ -29153,7 +29218,7 @@ interface SocialService extends Instance {
|
|
|
29153
29218
|
* You should always use the result of this function before the [PromptGameInvite](https://developer.roblox.com/en-us/api-reference/function/SocialService/PromptGameInvite) function, since the ability to invite players can vary depending on the platform or player. Only after determining that invites are possible for this player, should you allow the player to opt-in (eg, a button press) to inviting others using the `PromptGameInvite` function.
|
|
29154
29219
|
* Tags: Yields
|
|
29155
29220
|
*/
|
|
29156
|
-
CanSendGameInviteAsync(this: SocialService, player: Player): boolean;
|
|
29221
|
+
CanSendGameInviteAsync(this: SocialService, player: Player, recipientId?: number): boolean;
|
|
29157
29222
|
/**
|
|
29158
29223
|
* This event is a signal invoked when a player has closed the game invite prompt and batches all users and conversation participants into a single array. This prompt can be prompted by the developer or accessed from the SettingsHub menu.
|
|
29159
29224
|
*
|
|
@@ -29246,6 +29311,7 @@ interface Sound extends Instance {
|
|
|
29246
29311
|
* Tags: ReadOnly, NotReplicated
|
|
29247
29312
|
*/
|
|
29248
29313
|
readonly IsPlaying: boolean;
|
|
29314
|
+
LoopRegion: NumberRange;
|
|
29249
29315
|
/**
|
|
29250
29316
|
* This sets whether or not the [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) repeats once it has finished when it is playing.
|
|
29251
29317
|
*
|
|
@@ -29297,6 +29363,11 @@ interface Sound extends Instance {
|
|
|
29297
29363
|
* Tags: ReadOnly, NotReplicated
|
|
29298
29364
|
*/
|
|
29299
29365
|
readonly PlaybackLoudness: number;
|
|
29366
|
+
PlaybackRegion: NumberRange;
|
|
29367
|
+
/**
|
|
29368
|
+
* Tags: NotBrowsable
|
|
29369
|
+
*/
|
|
29370
|
+
PlaybackRegionsEnabled: boolean;
|
|
29300
29371
|
/**
|
|
29301
29372
|
* Determines the speed at which a [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) will play. The greater the value the faster the sound will play back.
|
|
29302
29373
|
*
|
|
@@ -30589,6 +30660,10 @@ interface StarterPlayer extends Instance {
|
|
|
30589
30660
|
* If a Humanoid's health bar is visible, you can set the display type using [Humanoid.DisplayDistanceType](https://developer.roblox.com/en-us/api-reference/property/Humanoid/DisplayDistanceType).
|
|
30590
30661
|
*/
|
|
30591
30662
|
HealthDisplayDistance: number;
|
|
30663
|
+
/**
|
|
30664
|
+
* Tags: NotBrowsable
|
|
30665
|
+
*/
|
|
30666
|
+
HumanoidStateMachineMode: Enum.HumanoidStateMachineMode;
|
|
30592
30667
|
/**
|
|
30593
30668
|
* The LoadCharacterAppearance [StarterPlayer](https://developer.roblox.com/en-us/api-reference/class/StarterPlayer) property sets whether or not the appearance of a player's character should be loaded.
|
|
30594
30669
|
*
|
|
@@ -31949,6 +32024,7 @@ interface TextChannel extends Instance {
|
|
|
31949
32024
|
SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
|
|
31950
32025
|
readonly MessageReceived: RBXScriptSignal<(incomingMessage: TextChatMessage) => void>;
|
|
31951
32026
|
OnIncomingMessage: (message: TextChatMessage) => void;
|
|
32027
|
+
ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) => void;
|
|
31952
32028
|
}
|
|
31953
32029
|
|
|
31954
32030
|
interface TextChatCommand extends Instance {
|
|
@@ -3936,6 +3936,14 @@ declare namespace Enum {
|
|
|
3936
3936
|
|
|
3937
3937
|
export const PlacelaunchHttpError: PlacelaunchHttpError;
|
|
3938
3938
|
|
|
3939
|
+
export interface PlacelaunchUserPrivacyUnauthorized extends globalThis.EnumItem {
|
|
3940
|
+
Name: "PlacelaunchUserPrivacyUnauthorized";
|
|
3941
|
+
Value: 533;
|
|
3942
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
export const PlacelaunchUserPrivacyUnauthorized: PlacelaunchUserPrivacyUnauthorized;
|
|
3946
|
+
|
|
3939
3947
|
export interface PlacelaunchCustomMessage extends globalThis.EnumItem {
|
|
3940
3948
|
Name: "PlacelaunchCustomMessage";
|
|
3941
3949
|
Value: 610;
|
|
@@ -4018,7 +4026,7 @@ declare namespace Enum {
|
|
|
4018
4026
|
|
|
4019
4027
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ConnectionError>;
|
|
4020
4028
|
}
|
|
4021
|
-
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | 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.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectOutOfMemoryExitContinue | ConnectionError.DisconnectOutOfMemoryKeepPlayingExit | 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;
|
|
4029
|
+
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | 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.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectOutOfMemoryExitContinue | ConnectionError.DisconnectOutOfMemoryKeepPlayingExit | 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.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
4022
4030
|
|
|
4023
4031
|
export namespace ConnectionState {
|
|
4024
4032
|
export interface Connected extends globalThis.EnumItem {
|
|
@@ -5463,6 +5471,51 @@ declare namespace Enum {
|
|
|
5463
5471
|
}
|
|
5464
5472
|
export type FacialAnimationFlags = FacialAnimationFlags.None | FacialAnimationFlags.Place | FacialAnimationFlags.Server | FacialAnimationFlags.PlaceServer;
|
|
5465
5473
|
|
|
5474
|
+
export namespace FacialAnimationStreamingState {
|
|
5475
|
+
export interface None extends globalThis.EnumItem {
|
|
5476
|
+
Name: "None";
|
|
5477
|
+
Value: 0;
|
|
5478
|
+
EnumType: typeof globalThis.Enum.FacialAnimationStreamingState;
|
|
5479
|
+
}
|
|
5480
|
+
|
|
5481
|
+
export const None: None;
|
|
5482
|
+
|
|
5483
|
+
export interface Audio extends globalThis.EnumItem {
|
|
5484
|
+
Name: "Audio";
|
|
5485
|
+
Value: 1;
|
|
5486
|
+
EnumType: typeof globalThis.Enum.FacialAnimationStreamingState;
|
|
5487
|
+
}
|
|
5488
|
+
|
|
5489
|
+
export const Audio: Audio;
|
|
5490
|
+
|
|
5491
|
+
export interface Video extends globalThis.EnumItem {
|
|
5492
|
+
Name: "Video";
|
|
5493
|
+
Value: 2;
|
|
5494
|
+
EnumType: typeof globalThis.Enum.FacialAnimationStreamingState;
|
|
5495
|
+
}
|
|
5496
|
+
|
|
5497
|
+
export const Video: Video;
|
|
5498
|
+
|
|
5499
|
+
export interface Place extends globalThis.EnumItem {
|
|
5500
|
+
Name: "Place";
|
|
5501
|
+
Value: 4;
|
|
5502
|
+
EnumType: typeof globalThis.Enum.FacialAnimationStreamingState;
|
|
5503
|
+
}
|
|
5504
|
+
|
|
5505
|
+
export const Place: Place;
|
|
5506
|
+
|
|
5507
|
+
export interface Server extends globalThis.EnumItem {
|
|
5508
|
+
Name: "Server";
|
|
5509
|
+
Value: 8;
|
|
5510
|
+
EnumType: typeof globalThis.Enum.FacialAnimationStreamingState;
|
|
5511
|
+
}
|
|
5512
|
+
|
|
5513
|
+
export const Server: Server;
|
|
5514
|
+
|
|
5515
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.FacialAnimationStreamingState>;
|
|
5516
|
+
}
|
|
5517
|
+
export type FacialAnimationStreamingState = FacialAnimationStreamingState.None | FacialAnimationStreamingState.Audio | FacialAnimationStreamingState.Video | FacialAnimationStreamingState.Place | FacialAnimationStreamingState.Server;
|
|
5518
|
+
|
|
5466
5519
|
export namespace FieldOfViewMode {
|
|
5467
5520
|
export interface Vertical extends globalThis.EnumItem {
|
|
5468
5521
|
Name: "Vertical";
|
|
@@ -7219,6 +7272,43 @@ declare namespace Enum {
|
|
|
7219
7272
|
}
|
|
7220
7273
|
export type HumanoidRigType = HumanoidRigType.R6 | HumanoidRigType.R15;
|
|
7221
7274
|
|
|
7275
|
+
export namespace HumanoidStateMachineMode {
|
|
7276
|
+
export interface Default extends globalThis.EnumItem {
|
|
7277
|
+
Name: "Default";
|
|
7278
|
+
Value: 0;
|
|
7279
|
+
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
7280
|
+
}
|
|
7281
|
+
|
|
7282
|
+
export const Default: Default;
|
|
7283
|
+
|
|
7284
|
+
export interface Legacy extends globalThis.EnumItem {
|
|
7285
|
+
Name: "Legacy";
|
|
7286
|
+
Value: 1;
|
|
7287
|
+
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
7288
|
+
}
|
|
7289
|
+
|
|
7290
|
+
export const Legacy: Legacy;
|
|
7291
|
+
|
|
7292
|
+
export interface NoStateMachine extends globalThis.EnumItem {
|
|
7293
|
+
Name: "NoStateMachine";
|
|
7294
|
+
Value: 2;
|
|
7295
|
+
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
export const NoStateMachine: NoStateMachine;
|
|
7299
|
+
|
|
7300
|
+
export interface LuaStateMachine extends globalThis.EnumItem {
|
|
7301
|
+
Name: "LuaStateMachine";
|
|
7302
|
+
Value: 3;
|
|
7303
|
+
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
7304
|
+
}
|
|
7305
|
+
|
|
7306
|
+
export const LuaStateMachine: LuaStateMachine;
|
|
7307
|
+
|
|
7308
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.HumanoidStateMachineMode>;
|
|
7309
|
+
}
|
|
7310
|
+
export type HumanoidStateMachineMode = HumanoidStateMachineMode.Default | HumanoidStateMachineMode.Legacy | HumanoidStateMachineMode.NoStateMachine | HumanoidStateMachineMode.LuaStateMachine;
|
|
7311
|
+
|
|
7222
7312
|
export namespace HumanoidStateType {
|
|
7223
7313
|
export interface FallingDown extends globalThis.EnumItem {
|
|
7224
7314
|
Name: "FallingDown";
|
|
@@ -11350,33 +11440,33 @@ declare namespace Enum {
|
|
|
11350
11440
|
|
|
11351
11441
|
export const None: None;
|
|
11352
11442
|
|
|
11353
|
-
export interface
|
|
11354
|
-
Name: "
|
|
11443
|
+
export interface Grid2x2 extends globalThis.EnumItem {
|
|
11444
|
+
Name: "Grid2x2";
|
|
11355
11445
|
Value: 1;
|
|
11356
11446
|
EnumType: typeof globalThis.Enum.ParticleFlipbookLayout;
|
|
11357
11447
|
}
|
|
11358
11448
|
|
|
11359
|
-
export const
|
|
11449
|
+
export const Grid2x2: Grid2x2;
|
|
11360
11450
|
|
|
11361
|
-
export interface
|
|
11362
|
-
Name: "
|
|
11451
|
+
export interface Grid4x4 extends globalThis.EnumItem {
|
|
11452
|
+
Name: "Grid4x4";
|
|
11363
11453
|
Value: 2;
|
|
11364
11454
|
EnumType: typeof globalThis.Enum.ParticleFlipbookLayout;
|
|
11365
11455
|
}
|
|
11366
11456
|
|
|
11367
|
-
export const
|
|
11457
|
+
export const Grid4x4: Grid4x4;
|
|
11368
11458
|
|
|
11369
|
-
export interface
|
|
11370
|
-
Name: "
|
|
11459
|
+
export interface Grid8x8 extends globalThis.EnumItem {
|
|
11460
|
+
Name: "Grid8x8";
|
|
11371
11461
|
Value: 3;
|
|
11372
11462
|
EnumType: typeof globalThis.Enum.ParticleFlipbookLayout;
|
|
11373
11463
|
}
|
|
11374
11464
|
|
|
11375
|
-
export const
|
|
11465
|
+
export const Grid8x8: Grid8x8;
|
|
11376
11466
|
|
|
11377
11467
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ParticleFlipbookLayout>;
|
|
11378
11468
|
}
|
|
11379
|
-
export type ParticleFlipbookLayout = ParticleFlipbookLayout.None | ParticleFlipbookLayout.
|
|
11469
|
+
export type ParticleFlipbookLayout = ParticleFlipbookLayout.None | ParticleFlipbookLayout.Grid2x2 | ParticleFlipbookLayout.Grid4x4 | ParticleFlipbookLayout.Grid8x8;
|
|
11380
11470
|
|
|
11381
11471
|
export namespace ParticleFlipbookMode {
|
|
11382
11472
|
export interface Loop extends globalThis.EnumItem {
|
|
@@ -13222,6 +13312,27 @@ declare namespace Enum {
|
|
|
13222
13312
|
}
|
|
13223
13313
|
export type RuntimeUndoBehavior = RuntimeUndoBehavior.Aggregate | RuntimeUndoBehavior.Snapshot | RuntimeUndoBehavior.Hybrid;
|
|
13224
13314
|
|
|
13315
|
+
export namespace SafeAreaCompatibility {
|
|
13316
|
+
export interface None extends globalThis.EnumItem {
|
|
13317
|
+
Name: "None";
|
|
13318
|
+
Value: 0;
|
|
13319
|
+
EnumType: typeof globalThis.Enum.SafeAreaCompatibility;
|
|
13320
|
+
}
|
|
13321
|
+
|
|
13322
|
+
export const None: None;
|
|
13323
|
+
|
|
13324
|
+
export interface FullscreenExtension extends globalThis.EnumItem {
|
|
13325
|
+
Name: "FullscreenExtension";
|
|
13326
|
+
Value: 1;
|
|
13327
|
+
EnumType: typeof globalThis.Enum.SafeAreaCompatibility;
|
|
13328
|
+
}
|
|
13329
|
+
|
|
13330
|
+
export const FullscreenExtension: FullscreenExtension;
|
|
13331
|
+
|
|
13332
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SafeAreaCompatibility>;
|
|
13333
|
+
}
|
|
13334
|
+
export type SafeAreaCompatibility = SafeAreaCompatibility.None | SafeAreaCompatibility.FullscreenExtension;
|
|
13335
|
+
|
|
13225
13336
|
export namespace SaveFilter {
|
|
13226
13337
|
export interface SaveAll extends globalThis.EnumItem {
|
|
13227
13338
|
Name: "SaveAll";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1527,6 +1527,8 @@ interface Font {
|
|
|
1527
1527
|
interface FontConstructor {
|
|
1528
1528
|
new (family: string, weight?: Enum.FontWeight, style?: Enum.FontStyle): Font;
|
|
1529
1529
|
fromEnum: (value: Enum.Font) => Font;
|
|
1530
|
+
fromName: (name: string, weight?: Enum.FontWeight, style?: Enum.FontStyle) => Font;
|
|
1531
|
+
fromId: (id: number, weight?: Enum.FontWeight, style?: Enum.FontStyle) => Font;
|
|
1530
1532
|
}
|
|
1531
1533
|
declare const Font: FontConstructor;
|
|
1532
1534
|
|