@rbxts/types 1.0.645 → 1.0.647
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 +65 -29
- package/include/generated/enums.d.ts +85 -6
- package/include/roblox.d.ts +2 -0
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@ interface Services {
|
|
|
37
37
|
DeviceIdService: DeviceIdService;
|
|
38
38
|
DraggerService: DraggerService;
|
|
39
39
|
EventIngestService: EventIngestService;
|
|
40
|
+
ExperienceAuthService: ExperienceAuthService;
|
|
40
41
|
FaceAnimatorService: FaceAnimatorService;
|
|
41
42
|
FacialAnimationRecordingService: FacialAnimationRecordingService;
|
|
42
43
|
FacialAnimationStreamingService: FacialAnimationStreamingService;
|
|
@@ -119,6 +120,7 @@ interface Services {
|
|
|
119
120
|
UserInputService: UserInputService;
|
|
120
121
|
UserService: UserService;
|
|
121
122
|
VideoCaptureService: VideoCaptureService;
|
|
123
|
+
VisibilityCheckDispatcher: VisibilityCheckDispatcher;
|
|
122
124
|
VisibilityService: VisibilityService;
|
|
123
125
|
VoiceChatInternal: VoiceChatInternal;
|
|
124
126
|
VoiceChatService: VoiceChatService;
|
|
@@ -438,6 +440,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
438
440
|
DebuggerConnection: DebuggerConnection;
|
|
439
441
|
DebuggerLuaResponse: DebuggerLuaResponse;
|
|
440
442
|
DebuggerVariable: DebuggerVariable;
|
|
443
|
+
DynamicTextureAlpha: DynamicTextureAlpha;
|
|
441
444
|
EmotesPages: EmotesPages;
|
|
442
445
|
FriendPages: FriendPages;
|
|
443
446
|
GlobalDataStore: GlobalDataStore;
|
|
@@ -1949,6 +1952,7 @@ interface AnimationTrack extends Instance {
|
|
|
1949
1952
|
* Currently it may also fire at the exact end of a non looped animation track but this behavior should not be relied upon.
|
|
1950
1953
|
*/
|
|
1951
1954
|
readonly DidLoop: RBXScriptSignal<() => void>;
|
|
1955
|
+
readonly Ended: RBXScriptSignal<() => void>;
|
|
1952
1956
|
/**
|
|
1953
1957
|
* Fires every time playback of an [AnimationTrack](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) reaches a [Keyframe](https://developer.roblox.com/en-us/api-reference/class/Keyframe) that does not have the default name - “Keyframe”.
|
|
1954
1958
|
*
|
|
@@ -2494,7 +2498,7 @@ interface Bone extends Attachment {
|
|
|
2494
2498
|
*
|
|
2495
2499
|
* * [Transform](https://developer.roblox.com/en-us/api-reference/property/Bone/Transform), a property which partially determines this property's value
|
|
2496
2500
|
* * [Bone.TransformedWorldCFrame](https://developer.roblox.com/en-us/api-reference/property/Bone/TransformedWorldCFrame), a world-space variant of this property
|
|
2497
|
-
* Tags: ReadOnly, NotReplicated
|
|
2501
|
+
* Tags: Hidden, ReadOnly, NotReplicated
|
|
2498
2502
|
*/
|
|
2499
2503
|
readonly TransformedCFrame: CFrame;
|
|
2500
2504
|
/**
|
|
@@ -2767,14 +2771,9 @@ interface AvatarEditorService extends Instance {
|
|
|
2767
2771
|
* }
|
|
2768
2772
|
* }
|
|
2769
2773
|
* \]
|
|
2770
|
-
* Tags: Yields, Deprecated
|
|
2771
|
-
* @deprecated
|
|
2772
|
-
*/
|
|
2773
|
-
GetRecommendedAssets(this: AvatarEditorService, assetType: CastsToEnum<Enum.AvatarAssetType>, contextAssetId?: number): unknown;
|
|
2774
|
-
/**
|
|
2775
2774
|
* Tags: Yields
|
|
2776
2775
|
*/
|
|
2777
|
-
|
|
2776
|
+
GetRecommendedAssets(this: AvatarEditorService, assetType: CastsToEnum<Enum.AvatarAssetType>, contextAssetId?: number): unknown;
|
|
2778
2777
|
/**
|
|
2779
2778
|
* This function returns a list of recommended bundles for a given bundle id.
|
|
2780
2779
|
*
|
|
@@ -2812,14 +2811,9 @@ interface AvatarEditorService extends Instance {
|
|
|
2812
2811
|
* }
|
|
2813
2812
|
* }
|
|
2814
2813
|
* \]
|
|
2815
|
-
* Tags: Yields, Deprecated
|
|
2816
|
-
* @deprecated
|
|
2817
|
-
*/
|
|
2818
|
-
GetRecommendedBundles(this: AvatarEditorService, bundleId: number): unknown;
|
|
2819
|
-
/**
|
|
2820
2814
|
* Tags: Yields
|
|
2821
2815
|
*/
|
|
2822
|
-
|
|
2816
|
+
GetRecommendedBundles(this: AvatarEditorService, bundleId: number): unknown;
|
|
2823
2817
|
/**
|
|
2824
2818
|
* This function returns a [CatalogPages](https://developer.roblox.com/en-us/api-reference/class/CatalogPages) object containing the result of the given search.
|
|
2825
2819
|
*
|
|
@@ -6853,6 +6847,7 @@ interface AlignOrientation extends Constraint {
|
|
|
6853
6847
|
Mode: Enum.OrientationAlignmentMode;
|
|
6854
6848
|
/**
|
|
6855
6849
|
* The [PrimaryAxis](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/PrimaryAxis) is the direction of the goal's X-Axis, represented as a unit `Vector3`. This is only used when the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation)'s [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode) is [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/OrientationAlignmentMode).
|
|
6850
|
+
* Tags: NotReplicated
|
|
6856
6851
|
*/
|
|
6857
6852
|
PrimaryAxis: Vector3;
|
|
6858
6853
|
/**
|
|
@@ -6873,6 +6868,7 @@ interface AlignOrientation extends Constraint {
|
|
|
6873
6868
|
RigidityEnabled: boolean;
|
|
6874
6869
|
/**
|
|
6875
6870
|
* The [SecondaryAxis](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/SecondaryAxis) is the direction of the goal's Y-Axis, represented as a unit `Vector3`. This is only used when the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation)'s [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode) is [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/OrientationAlignmentMode).
|
|
6871
|
+
* Tags: NotReplicated
|
|
6876
6872
|
*/
|
|
6877
6873
|
SecondaryAxis: Vector3;
|
|
6878
6874
|
}
|
|
@@ -8490,10 +8486,6 @@ interface GroundController extends ControllerBase {
|
|
|
8490
8486
|
Friction: number;
|
|
8491
8487
|
FrictionWeight: number;
|
|
8492
8488
|
GroundOffset: number;
|
|
8493
|
-
/**
|
|
8494
|
-
* Tags: Hidden, NotReplicated
|
|
8495
|
-
*/
|
|
8496
|
-
MaxSlopeAngle: number;
|
|
8497
8489
|
StandForce: number;
|
|
8498
8490
|
StandSpeed: number;
|
|
8499
8491
|
TurningFactor: number;
|
|
@@ -8531,10 +8523,6 @@ interface ControllerManager extends Instance {
|
|
|
8531
8523
|
BaseMoveSpeed: number;
|
|
8532
8524
|
BaseTurnSpeed: number;
|
|
8533
8525
|
FacingDirection: Vector3;
|
|
8534
|
-
/**
|
|
8535
|
-
* Tags: Hidden, NotReplicated
|
|
8536
|
-
*/
|
|
8537
|
-
HipHeight: number;
|
|
8538
8526
|
MovingDirection: Vector3;
|
|
8539
8527
|
GetControllers(this: ControllerManager): Array<Instance>;
|
|
8540
8528
|
}
|
|
@@ -9588,6 +9576,17 @@ interface DraggerService extends Instance {
|
|
|
9588
9576
|
ShowPivotIndicator: boolean;
|
|
9589
9577
|
}
|
|
9590
9578
|
|
|
9579
|
+
interface DynamicTextureAlpha extends Instance {
|
|
9580
|
+
/**
|
|
9581
|
+
* **DO NOT USE!**
|
|
9582
|
+
*
|
|
9583
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9584
|
+
* @hidden
|
|
9585
|
+
* @deprecated
|
|
9586
|
+
*/
|
|
9587
|
+
readonly _nominal_DynamicTextureAlpha: unique symbol;
|
|
9588
|
+
}
|
|
9589
|
+
|
|
9591
9590
|
/** A EulerRotation Curve represents a 3D rotation curve, it groups 3 [FloatCurves](https://developer.roblox.com/en-us/api-reference/class/FloatCurve), stored as 3 FloatCurve child instances. The rotation is decomposed in 3 Euler angles channels that can be accessed via [EulerRotationCurve:X](https://developer.roblox.com/en-us/api-reference/function/EulerRotationCurve/X), [EulerRotationCurve:Y](https://developer.roblox.com/en-us/api-reference/function/EulerRotationCurve/Y), [EulerRotationCurve:Z](https://developer.roblox.com/en-us/api-reference/function/EulerRotationCurve/Z) methods. The 3 axes can be sampled simultaneously via the method [EulerRotationCurve:GetAnglesAtTime](https://developer.roblox.com/en-us/api-reference/function/EulerRotationCurve/GetAnglesAtTime) returning the 3 Euler angles as a Vector3. Similarly, [EulerRotationCurve:GetRotationAtTime](https://developer.roblox.com/en-us/api-reference/function/EulerRotationCurve/GetRotationAtTime) samples all channels simultaneously but returns a CFrame rotated by X, Y, and Z according to the specified rotation order. */
|
|
9592
9591
|
interface EulerRotationCurve extends Instance {
|
|
9593
9592
|
/**
|
|
@@ -9635,6 +9634,17 @@ interface EventIngestService extends Instance {
|
|
|
9635
9634
|
readonly _nominal_EventIngestService: unique symbol;
|
|
9636
9635
|
}
|
|
9637
9636
|
|
|
9637
|
+
interface ExperienceAuthService extends Instance {
|
|
9638
|
+
/**
|
|
9639
|
+
* **DO NOT USE!**
|
|
9640
|
+
*
|
|
9641
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9642
|
+
* @hidden
|
|
9643
|
+
* @deprecated
|
|
9644
|
+
*/
|
|
9645
|
+
readonly _nominal_ExperienceAuthService: unique symbol;
|
|
9646
|
+
}
|
|
9647
|
+
|
|
9638
9648
|
interface ExperienceInviteOptions extends Instance {
|
|
9639
9649
|
/**
|
|
9640
9650
|
* **DO NOT USE!**
|
|
@@ -9644,7 +9654,7 @@ interface ExperienceInviteOptions extends Instance {
|
|
|
9644
9654
|
* @deprecated
|
|
9645
9655
|
*/
|
|
9646
9656
|
readonly _nominal_ExperienceInviteOptions: unique symbol;
|
|
9647
|
-
InviteMessageId:
|
|
9657
|
+
InviteMessageId: string;
|
|
9648
9658
|
InviteUser: number;
|
|
9649
9659
|
LaunchData: string;
|
|
9650
9660
|
PromptMessage: string;
|
|
@@ -22652,6 +22662,14 @@ interface BasePart extends PVInstance {
|
|
|
22652
22662
|
* @deprecated
|
|
22653
22663
|
*/
|
|
22654
22664
|
Elasticity: number;
|
|
22665
|
+
/**
|
|
22666
|
+
* Tags: ReadOnly, NotReplicated
|
|
22667
|
+
*/
|
|
22668
|
+
readonly ExtentsCFrame: CFrame;
|
|
22669
|
+
/**
|
|
22670
|
+
* Tags: ReadOnly, NotReplicated
|
|
22671
|
+
*/
|
|
22672
|
+
readonly ExtentsSize: Vector3;
|
|
22655
22673
|
/**
|
|
22656
22674
|
* Used to control the Friction of the part, but now it no longer does anything. The Friction of a part is now determined by either its [Material](https://developer.roblox.com/api-reference/property/BasePart/Material "Material") or its [CustomPhysicalProperties](https://developer.roblox.com/api-reference/property/BasePart/CustomPhysicalProperties "CustomPhysicalProperties").
|
|
22657
22675
|
* Tags: Hidden, NotReplicated, Deprecated
|
|
@@ -29211,7 +29229,7 @@ interface SocialService extends Instance {
|
|
|
29211
29229
|
*
|
|
29212
29230
|
* Before using this function, you should use the [CanSendGameInviteAsync](https://developer.roblox.com/en-us/api-reference/function/SocialService/CanSendGameInviteAsync) function to determine whether a player can send a game invite, as this can vary depending on the platform or player. After determining that invites are possible for this player, allow the player to opt-in to inviting others. For example, the player clicked on an “Invite Friends” button, shown after `CanSendGameInviteAsync` returned true.\`
|
|
29213
29231
|
*/
|
|
29214
|
-
PromptGameInvite(this: SocialService, player: Player): void;
|
|
29232
|
+
PromptGameInvite(this: SocialService, player: Player, experienceInviteOptions?: ExperienceInviteOptions): void;
|
|
29215
29233
|
/**
|
|
29216
29234
|
* **CanSendGameInviteAsync** indicates whether the given [Player](https://developer.roblox.com/en-us/api-reference/class/Player) can invite other players to the current game. If they can, it returns true.
|
|
29217
29235
|
*
|
|
@@ -32067,7 +32085,11 @@ interface BubbleChatConfiguration extends TextChatConfigurations {
|
|
|
32067
32085
|
BubbleDuration: number;
|
|
32068
32086
|
BubblesSpacing: number;
|
|
32069
32087
|
Enabled: boolean;
|
|
32088
|
+
/**
|
|
32089
|
+
* Tags: Hidden
|
|
32090
|
+
*/
|
|
32070
32091
|
Font: Enum.Font;
|
|
32092
|
+
FontFace: Font;
|
|
32071
32093
|
LocalPlayerStudsOffset: Vector3;
|
|
32072
32094
|
MaxDistance: number;
|
|
32073
32095
|
MinimizeDistance: number;
|
|
@@ -32114,15 +32136,18 @@ interface ChatWindowConfiguration extends TextChatConfigurations {
|
|
|
32114
32136
|
* Tags: ReadOnly, NotReplicated
|
|
32115
32137
|
*/
|
|
32116
32138
|
readonly AbsoluteSize: Vector2;
|
|
32139
|
+
BackgroundColor3: Color3;
|
|
32140
|
+
BackgroundTransparency: number;
|
|
32117
32141
|
Enabled: boolean;
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
*/
|
|
32142
|
+
FontFace: Font;
|
|
32143
|
+
HeightScale: number;
|
|
32121
32144
|
HorizontalAlignment: Enum.HorizontalAlignment;
|
|
32122
|
-
|
|
32123
|
-
|
|
32124
|
-
|
|
32145
|
+
TextColor3: Color3;
|
|
32146
|
+
TextSize: number;
|
|
32147
|
+
TextStrokeColor3: Color3;
|
|
32148
|
+
TextStrokeTransparency: number;
|
|
32125
32149
|
VerticalAlignment: Enum.VerticalAlignment;
|
|
32150
|
+
WidthScale: number;
|
|
32126
32151
|
}
|
|
32127
32152
|
|
|
32128
32153
|
interface TextChatMessage extends Instance {
|
|
@@ -35868,6 +35893,17 @@ interface VideoCaptureService extends Instance {
|
|
|
35868
35893
|
readonly _nominal_VideoCaptureService: unique symbol;
|
|
35869
35894
|
}
|
|
35870
35895
|
|
|
35896
|
+
interface VisibilityCheckDispatcher extends Instance {
|
|
35897
|
+
/**
|
|
35898
|
+
* **DO NOT USE!**
|
|
35899
|
+
*
|
|
35900
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
35901
|
+
* @hidden
|
|
35902
|
+
* @deprecated
|
|
35903
|
+
*/
|
|
35904
|
+
readonly _nominal_VisibilityCheckDispatcher: unique symbol;
|
|
35905
|
+
}
|
|
35906
|
+
|
|
35871
35907
|
interface VisibilityService extends Instance {
|
|
35872
35908
|
/**
|
|
35873
35909
|
* **DO NOT USE!**
|
|
@@ -1365,9 +1365,17 @@ declare namespace Enum {
|
|
|
1365
1365
|
|
|
1366
1366
|
export const DynamicHead: DynamicHead;
|
|
1367
1367
|
|
|
1368
|
+
export interface FontFamily extends globalThis.EnumItem {
|
|
1369
|
+
Name: "FontFamily";
|
|
1370
|
+
Value: 73;
|
|
1371
|
+
EnumType: typeof globalThis.Enum.AssetType;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export const FontFamily: FontFamily;
|
|
1375
|
+
|
|
1368
1376
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AssetType>;
|
|
1369
1377
|
}
|
|
1370
|
-
export type AssetType = AssetType.Image | AssetType.TShirt | AssetType.Audio | AssetType.Mesh | AssetType.Lua | AssetType.Hat | AssetType.Place | AssetType.Model | AssetType.Shirt | AssetType.Pants | AssetType.Decal | AssetType.Head | AssetType.Face | AssetType.Gear | AssetType.Badge | AssetType.Animation | AssetType.Torso | AssetType.RightArm | AssetType.LeftArm | AssetType.LeftLeg | AssetType.RightLeg | AssetType.Package | AssetType.GamePass | AssetType.Plugin | AssetType.MeshPart | AssetType.HairAccessory | AssetType.FaceAccessory | AssetType.NeckAccessory | AssetType.ShoulderAccessory | AssetType.FrontAccessory | AssetType.BackAccessory | AssetType.WaistAccessory | AssetType.ClimbAnimation | AssetType.DeathAnimation | AssetType.FallAnimation | AssetType.IdleAnimation | AssetType.JumpAnimation | AssetType.RunAnimation | AssetType.SwimAnimation | AssetType.WalkAnimation | AssetType.PoseAnimation | AssetType.MoodAnimation | AssetType.EarAccessory | AssetType.EyeAccessory | AssetType.EmoteAnimation | AssetType.Video | AssetType.TShirtAccessory | AssetType.ShirtAccessory | AssetType.PantsAccessory | AssetType.JacketAccessory | AssetType.SweaterAccessory | AssetType.ShortsAccessory | AssetType.LeftShoeAccessory | AssetType.RightShoeAccessory | AssetType.DressSkirtAccessory | AssetType.EyebrowAccessory | AssetType.EyelashAccessory | AssetType.DynamicHead;
|
|
1378
|
+
export type AssetType = AssetType.Image | AssetType.TShirt | AssetType.Audio | AssetType.Mesh | AssetType.Lua | AssetType.Hat | AssetType.Place | AssetType.Model | AssetType.Shirt | AssetType.Pants | AssetType.Decal | AssetType.Head | AssetType.Face | AssetType.Gear | AssetType.Badge | AssetType.Animation | AssetType.Torso | AssetType.RightArm | AssetType.LeftArm | AssetType.LeftLeg | AssetType.RightLeg | AssetType.Package | AssetType.GamePass | AssetType.Plugin | AssetType.MeshPart | AssetType.HairAccessory | AssetType.FaceAccessory | AssetType.NeckAccessory | AssetType.ShoulderAccessory | AssetType.FrontAccessory | AssetType.BackAccessory | AssetType.WaistAccessory | AssetType.ClimbAnimation | AssetType.DeathAnimation | AssetType.FallAnimation | AssetType.IdleAnimation | AssetType.JumpAnimation | AssetType.RunAnimation | AssetType.SwimAnimation | AssetType.WalkAnimation | AssetType.PoseAnimation | AssetType.MoodAnimation | AssetType.EarAccessory | AssetType.EyeAccessory | AssetType.EmoteAnimation | AssetType.Video | AssetType.TShirtAccessory | AssetType.ShirtAccessory | AssetType.PantsAccessory | AssetType.JacketAccessory | AssetType.SweaterAccessory | AssetType.ShortsAccessory | AssetType.LeftShoeAccessory | AssetType.RightShoeAccessory | AssetType.DressSkirtAccessory | AssetType.EyebrowAccessory | AssetType.EyelashAccessory | AssetType.DynamicHead | AssetType.FontFamily;
|
|
1371
1379
|
|
|
1372
1380
|
export namespace AssetTypeVerification {
|
|
1373
1381
|
export interface Default extends globalThis.EnumItem {
|
|
@@ -3832,6 +3840,22 @@ declare namespace Enum {
|
|
|
3832
3840
|
|
|
3833
3841
|
export const DisconnectOutOfMemoryKeepPlayingExit: DisconnectOutOfMemoryKeepPlayingExit;
|
|
3834
3842
|
|
|
3843
|
+
export interface ReplicatorTimeout extends globalThis.EnumItem {
|
|
3844
|
+
Name: "ReplicatorTimeout";
|
|
3845
|
+
Value: 290;
|
|
3846
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
export const ReplicatorTimeout: ReplicatorTimeout;
|
|
3850
|
+
|
|
3851
|
+
export interface PlayerRemoved extends globalThis.EnumItem {
|
|
3852
|
+
Name: "PlayerRemoved";
|
|
3853
|
+
Value: 291;
|
|
3854
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
export const PlayerRemoved: PlayerRemoved;
|
|
3858
|
+
|
|
3835
3859
|
export interface PlacelaunchErrors extends globalThis.EnumItem {
|
|
3836
3860
|
Name: "PlacelaunchErrors";
|
|
3837
3861
|
Value: 512;
|
|
@@ -4026,7 +4050,7 @@ declare namespace Enum {
|
|
|
4026
4050
|
|
|
4027
4051
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ConnectionError>;
|
|
4028
4052
|
}
|
|
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;
|
|
4053
|
+
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.ReplicatorTimeout | ConnectionError.PlayerRemoved | 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;
|
|
4030
4054
|
|
|
4031
4055
|
export namespace ConnectionState {
|
|
4032
4056
|
export interface Connected extends globalThis.EnumItem {
|
|
@@ -5411,6 +5435,11 @@ declare namespace Enum {
|
|
|
5411
5435
|
}
|
|
5412
5436
|
export type EnviromentalPhysicsThrottle = EnviromentalPhysicsThrottle.DefaultAuto | EnviromentalPhysicsThrottle.Disabled | EnviromentalPhysicsThrottle.Always | EnviromentalPhysicsThrottle.Skip2 | EnviromentalPhysicsThrottle.Skip4 | EnviromentalPhysicsThrottle.Skip8 | EnviromentalPhysicsThrottle.Skip16;
|
|
5413
5437
|
|
|
5438
|
+
export namespace ExperienceAuthScope {
|
|
5439
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ExperienceAuthScope>;
|
|
5440
|
+
}
|
|
5441
|
+
export type ExperienceAuthScope = never;
|
|
5442
|
+
|
|
5414
5443
|
export namespace ExplosionType {
|
|
5415
5444
|
export interface NoCraters extends globalThis.EnumItem {
|
|
5416
5445
|
Name: "NoCraters";
|
|
@@ -10878,9 +10907,17 @@ declare namespace Enum {
|
|
|
10878
10907
|
|
|
10879
10908
|
export const Atomic: Atomic;
|
|
10880
10909
|
|
|
10910
|
+
export interface Persistent extends globalThis.EnumItem {
|
|
10911
|
+
Name: "Persistent";
|
|
10912
|
+
Value: 2;
|
|
10913
|
+
EnumType: typeof globalThis.Enum.ModelStreamingMode;
|
|
10914
|
+
}
|
|
10915
|
+
|
|
10916
|
+
export const Persistent: Persistent;
|
|
10917
|
+
|
|
10881
10918
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ModelStreamingMode>;
|
|
10882
10919
|
}
|
|
10883
|
-
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic;
|
|
10920
|
+
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent;
|
|
10884
10921
|
|
|
10885
10922
|
export namespace ModifierKey {
|
|
10886
10923
|
export interface Alt extends globalThis.EnumItem {
|
|
@@ -12729,7 +12766,7 @@ declare namespace Enum {
|
|
|
12729
12766
|
|
|
12730
12767
|
export interface Selection extends globalThis.EnumItem {
|
|
12731
12768
|
Name: "Selection";
|
|
12732
|
-
Value:
|
|
12769
|
+
Value: 524288;
|
|
12733
12770
|
EnumType: typeof globalThis.Enum.ReservedHighlightId;
|
|
12734
12771
|
}
|
|
12735
12772
|
|
|
@@ -12737,7 +12774,7 @@ declare namespace Enum {
|
|
|
12737
12774
|
|
|
12738
12775
|
export interface Hover extends globalThis.EnumItem {
|
|
12739
12776
|
Name: "Hover";
|
|
12740
|
-
Value:
|
|
12777
|
+
Value: 262144;
|
|
12741
12778
|
EnumType: typeof globalThis.Enum.ReservedHighlightId;
|
|
12742
12779
|
}
|
|
12743
12780
|
|
|
@@ -12745,7 +12782,7 @@ declare namespace Enum {
|
|
|
12745
12782
|
|
|
12746
12783
|
export interface Active extends globalThis.EnumItem {
|
|
12747
12784
|
Name: "Active";
|
|
12748
|
-
Value:
|
|
12785
|
+
Value: 131072;
|
|
12749
12786
|
EnumType: typeof globalThis.Enum.ReservedHighlightId;
|
|
12750
12787
|
}
|
|
12751
12788
|
|
|
@@ -13500,6 +13537,11 @@ declare namespace Enum {
|
|
|
13500
13537
|
}
|
|
13501
13538
|
export type ScaleType = ScaleType.Stretch | ScaleType.Slice | ScaleType.Tile | ScaleType.Fit | ScaleType.Crop;
|
|
13502
13539
|
|
|
13540
|
+
export namespace ScopeCheckResult {
|
|
13541
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ScopeCheckResult>;
|
|
13542
|
+
}
|
|
13543
|
+
export type ScopeCheckResult = never;
|
|
13544
|
+
|
|
13503
13545
|
export namespace ScreenOrientation {
|
|
13504
13546
|
export interface LandscapeLeft extends globalThis.EnumItem {
|
|
13505
13547
|
Name: "LandscapeLeft";
|
|
@@ -17276,6 +17318,43 @@ declare namespace Enum {
|
|
|
17276
17318
|
}
|
|
17277
17319
|
export type UserInputType = UserInputType.MouseButton1 | UserInputType.MouseButton2 | UserInputType.MouseButton3 | UserInputType.MouseWheel | UserInputType.MouseMovement | UserInputType.Touch | UserInputType.Keyboard | UserInputType.Focus | UserInputType.Accelerometer | UserInputType.Gyro | UserInputType.Gamepad1 | UserInputType.Gamepad2 | UserInputType.Gamepad3 | UserInputType.Gamepad4 | UserInputType.Gamepad5 | UserInputType.Gamepad6 | UserInputType.Gamepad7 | UserInputType.Gamepad8 | UserInputType.TextInput | UserInputType.InputMethod | UserInputType.None;
|
|
17278
17320
|
|
|
17321
|
+
export namespace VRSessionState {
|
|
17322
|
+
export interface Idle extends globalThis.EnumItem {
|
|
17323
|
+
Name: "Idle";
|
|
17324
|
+
Value: 0;
|
|
17325
|
+
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17326
|
+
}
|
|
17327
|
+
|
|
17328
|
+
export const Idle: Idle;
|
|
17329
|
+
|
|
17330
|
+
export interface Visible extends globalThis.EnumItem {
|
|
17331
|
+
Name: "Visible";
|
|
17332
|
+
Value: 1;
|
|
17333
|
+
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17334
|
+
}
|
|
17335
|
+
|
|
17336
|
+
export const Visible: Visible;
|
|
17337
|
+
|
|
17338
|
+
export interface Focused extends globalThis.EnumItem {
|
|
17339
|
+
Name: "Focused";
|
|
17340
|
+
Value: 2;
|
|
17341
|
+
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17342
|
+
}
|
|
17343
|
+
|
|
17344
|
+
export const Focused: Focused;
|
|
17345
|
+
|
|
17346
|
+
export interface Undefined extends globalThis.EnumItem {
|
|
17347
|
+
Name: "Undefined";
|
|
17348
|
+
Value: 3;
|
|
17349
|
+
EnumType: typeof globalThis.Enum.VRSessionState;
|
|
17350
|
+
}
|
|
17351
|
+
|
|
17352
|
+
export const Undefined: Undefined;
|
|
17353
|
+
|
|
17354
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VRSessionState>;
|
|
17355
|
+
}
|
|
17356
|
+
export type VRSessionState = VRSessionState.Idle | VRSessionState.Visible | VRSessionState.Focused | VRSessionState.Undefined;
|
|
17357
|
+
|
|
17279
17358
|
export namespace VRTouchpad {
|
|
17280
17359
|
export interface Left extends globalThis.EnumItem {
|
|
17281
17360
|
Name: "Left";
|
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
|
|