@rbxts/types 1.0.705 → 1.0.707
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 +118 -53
- package/include/generated/PluginSecurity.d.ts +2 -1
- package/include/generated/enums.d.ts +180 -32
- package/include/roblox.d.ts +11 -0
- package/package.json +1 -1
|
@@ -94,6 +94,7 @@ interface Services {
|
|
|
94
94
|
RemoteDebuggerServer: RemoteDebuggerServer;
|
|
95
95
|
ReplicatedFirst: ReplicatedFirst;
|
|
96
96
|
ReplicatedStorage: ReplicatedStorage;
|
|
97
|
+
RobloxServerStorage: RobloxServerStorage;
|
|
97
98
|
RomarkService: RomarkService;
|
|
98
99
|
RtMessagingService: RtMessagingService;
|
|
99
100
|
RunService: RunService;
|
|
@@ -151,6 +152,7 @@ interface Services {
|
|
|
151
152
|
VoiceChatInternal: VoiceChatInternal;
|
|
152
153
|
VoiceChatService: VoiceChatService;
|
|
153
154
|
VRService: VRService;
|
|
155
|
+
VRStatusService: VRStatusService;
|
|
154
156
|
Workspace: Workspace;
|
|
155
157
|
}
|
|
156
158
|
|
|
@@ -294,6 +296,7 @@ interface CreatableInstances {
|
|
|
294
296
|
PitchShiftSoundEffect: PitchShiftSoundEffect;
|
|
295
297
|
Plane: Plane;
|
|
296
298
|
PlaneConstraint: PlaneConstraint;
|
|
299
|
+
PluginCapabilities: PluginCapabilities;
|
|
297
300
|
PointLight: PointLight;
|
|
298
301
|
Pose: Pose;
|
|
299
302
|
PrismaticConstraint: PrismaticConstraint;
|
|
@@ -543,7 +546,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
543
546
|
TextFilterResult: TextFilterResult;
|
|
544
547
|
TextFilterTranslatedResult: TextFilterTranslatedResult;
|
|
545
548
|
TextSource: TextSource;
|
|
546
|
-
TextureGuiExperimental: TextureGuiExperimental;
|
|
547
549
|
ThreadState: ThreadState;
|
|
548
550
|
TouchTransmitter: TouchTransmitter;
|
|
549
551
|
TrackerLodController: TrackerLodController;
|
|
@@ -2343,7 +2345,7 @@ interface AssetService extends Instance {
|
|
|
2343
2345
|
/**
|
|
2344
2346
|
* Tags: Yields
|
|
2345
2347
|
*/
|
|
2346
|
-
|
|
2348
|
+
PromptCreateAssetAsync(this: AssetService, player: Player, instance: Instance, assetType: CastsToEnum<Enum.AssetType>): unknown;
|
|
2347
2349
|
/**
|
|
2348
2350
|
* Saves the state of the current place. This will only work for places that have been created with [AssetService:CreatePlaceAsync](https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceAsync) or [AssetService:CreatePlaceInPlayerInventoryAsync](https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceInPlayerInventoryAsync).
|
|
2349
2351
|
*
|
|
@@ -3426,6 +3428,7 @@ interface RootImportData extends BaseImportData {
|
|
|
3426
3428
|
RestPose: Enum.RestPose;
|
|
3427
3429
|
RigScale: Enum.RigScale;
|
|
3428
3430
|
RigType: Enum.RigType;
|
|
3431
|
+
RigVisualization: boolean;
|
|
3429
3432
|
ScaleUnit: Enum.MeshScaleUnit;
|
|
3430
3433
|
UseSceneOriginAsCFrame: boolean;
|
|
3431
3434
|
UseSceneOriginAsPivot: boolean;
|
|
@@ -8989,6 +8992,46 @@ interface CylinderMesh extends BevelMesh {
|
|
|
8989
8992
|
readonly _nominal_CylinderMesh: unique symbol;
|
|
8990
8993
|
}
|
|
8991
8994
|
|
|
8995
|
+
interface DynamicMesh extends DataModelMesh {
|
|
8996
|
+
/**
|
|
8997
|
+
* **DO NOT USE!**
|
|
8998
|
+
*
|
|
8999
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9000
|
+
* @hidden
|
|
9001
|
+
* @deprecated
|
|
9002
|
+
*/
|
|
9003
|
+
readonly _nominal_DynamicMesh: unique symbol;
|
|
9004
|
+
AddTriangle(this: DynamicMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9005
|
+
AddVertex(this: DynamicMesh, p: Vector3): number;
|
|
9006
|
+
FindClosestPointOnSurface(this: DynamicMesh, point: Vector3): unknown;
|
|
9007
|
+
FindClosestVertex(this: DynamicMesh, toThisPoint: Vector3): number;
|
|
9008
|
+
FindVerticesWithinSphere(this: DynamicMesh, center: Vector3, radius: number): unknown;
|
|
9009
|
+
GetAdjacentTriangles(this: DynamicMesh, triangleId: number): unknown;
|
|
9010
|
+
GetAdjacentVertices(this: DynamicMesh, vertexId: number): unknown;
|
|
9011
|
+
GetPosition(this: DynamicMesh, vertexId: number): Vector3;
|
|
9012
|
+
GetTriangleVertices(this: DynamicMesh, triangleId: number): unknown;
|
|
9013
|
+
GetTriangles(this: DynamicMesh): unknown;
|
|
9014
|
+
GetUV(this: DynamicMesh, vertexId: number): Vector2;
|
|
9015
|
+
GetVertexColor(this: DynamicMesh, vertexId: number): Color3;
|
|
9016
|
+
GetVertexColorAlpha(this: DynamicMesh, vertexId: number): number;
|
|
9017
|
+
GetVertexNormal(this: DynamicMesh, vertexId: number): Vector3;
|
|
9018
|
+
GetVertices(this: DynamicMesh): unknown;
|
|
9019
|
+
InitializeFromMeshIdAsync(this: DynamicMesh, meshId: string): void;
|
|
9020
|
+
InitializeFromMeshPartAsync(this: DynamicMesh, meshPart: MeshPart): void;
|
|
9021
|
+
Raycast(this: DynamicMesh, origin: Vector3, direction: Vector3): unknown;
|
|
9022
|
+
RemoveTriangle(this: DynamicMesh, triangleId: number): void;
|
|
9023
|
+
RemoveVertex(this: DynamicMesh, vertexId: number): void;
|
|
9024
|
+
SetPosition(this: DynamicMesh, vertexId: number, p: Vector3): void;
|
|
9025
|
+
SetUV(this: DynamicMesh, vertexId: number, uv: Vector2): void;
|
|
9026
|
+
SetVertexColor(this: DynamicMesh, vertexId: number, color: Color3): void;
|
|
9027
|
+
SetVertexColorAlpha(this: DynamicMesh, vertexId: number, alpha: number): void;
|
|
9028
|
+
SetVertexNormal(this: DynamicMesh, vertexId: number, vnormal: Vector3): void;
|
|
9029
|
+
/**
|
|
9030
|
+
* Tags: Yields
|
|
9031
|
+
*/
|
|
9032
|
+
CreateMeshPartAsync(this: DynamicMesh, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>): MeshPart;
|
|
9033
|
+
}
|
|
9034
|
+
|
|
8992
9035
|
/** The FileMesh object applies a textured mesh to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) when parented to it. Its properties are inherited by the [SpecialMesh](https://developer.roblox.com/en-us/api-reference/class/SpecialMesh) object.
|
|
8993
9036
|
*
|
|
8994
9037
|
* What is a FileMesh?
|
|
@@ -9038,40 +9081,6 @@ interface FileMesh extends DataModelMesh {
|
|
|
9038
9081
|
TextureId: string;
|
|
9039
9082
|
}
|
|
9040
9083
|
|
|
9041
|
-
interface DynamicMesh extends FileMesh {
|
|
9042
|
-
/**
|
|
9043
|
-
* **DO NOT USE!**
|
|
9044
|
-
*
|
|
9045
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9046
|
-
* @hidden
|
|
9047
|
-
* @deprecated
|
|
9048
|
-
*/
|
|
9049
|
-
readonly _nominal_DynamicMesh: unique symbol;
|
|
9050
|
-
AddTriangle(this: DynamicMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9051
|
-
AddVertex(this: DynamicMesh, p: Vector3): number;
|
|
9052
|
-
Clear(this: DynamicMesh): void;
|
|
9053
|
-
GetPosition(this: DynamicMesh, vertexId: number): Vector3;
|
|
9054
|
-
GetTriangleVertices(this: DynamicMesh, triangleId: number): unknown;
|
|
9055
|
-
GetTriangles(this: DynamicMesh): unknown;
|
|
9056
|
-
GetUV(this: DynamicMesh, vertexId: number): Vector2;
|
|
9057
|
-
GetVertexColor(this: DynamicMesh, vertexId: number): Color3;
|
|
9058
|
-
GetVertexColorAlpha(this: DynamicMesh, vertexId: number): number;
|
|
9059
|
-
GetVertexNormal(this: DynamicMesh, vertexId: number): Vector3;
|
|
9060
|
-
GetVertices(this: DynamicMesh): unknown;
|
|
9061
|
-
InitializeFromMeshIdAsync(this: DynamicMesh, meshId: string): void;
|
|
9062
|
-
InitializeFromMeshPartAsync(this: DynamicMesh, meshPart: MeshPart): void;
|
|
9063
|
-
RemoveTriangle(this: DynamicMesh, triangleId: number): void;
|
|
9064
|
-
SetPosition(this: DynamicMesh, vertexId: number, p: Vector3): void;
|
|
9065
|
-
SetUV(this: DynamicMesh, vertexId: number, uv: Vector2): void;
|
|
9066
|
-
SetVertexColor(this: DynamicMesh, vertexId: number, color: Color3): void;
|
|
9067
|
-
SetVertexColorAlpha(this: DynamicMesh, vertexId: number, alpha: number): void;
|
|
9068
|
-
SetVertexNormal(this: DynamicMesh, vertexId: number, vnormal: Vector3): void;
|
|
9069
|
-
/**
|
|
9070
|
-
* Tags: Yields
|
|
9071
|
-
*/
|
|
9072
|
-
CreateMeshPartAsync(this: DynamicMesh, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>): MeshPart;
|
|
9073
|
-
}
|
|
9074
|
-
|
|
9075
9084
|
/** The SpecialMesh is an object that allows developers to provide a standard template or user uploaded mesh to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart).
|
|
9076
9085
|
*
|
|
9077
9086
|
* What does a SpecialMesh do?
|
|
@@ -9920,6 +9929,10 @@ interface DynamicImage extends Instance {
|
|
|
9920
9929
|
ReadPixels(this: DynamicImage, position: Vector2, size: Vector2): unknown;
|
|
9921
9930
|
Resize(this: DynamicImage, newSize: Vector2): void;
|
|
9922
9931
|
Rotate(this: DynamicImage, degrees: number, resizeCanvas?: boolean): void;
|
|
9932
|
+
/**
|
|
9933
|
+
* Tags: CustomLuaState
|
|
9934
|
+
*/
|
|
9935
|
+
WritePixels(this: DynamicImage, position: Vector2, size: Vector2, pixels: Array<any>): void;
|
|
9923
9936
|
}
|
|
9924
9937
|
|
|
9925
9938
|
/** 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. */
|
|
@@ -13912,18 +13925,6 @@ interface SurfaceGui extends SurfaceGuiBase {
|
|
|
13912
13925
|
ZOffset: number;
|
|
13913
13926
|
}
|
|
13914
13927
|
|
|
13915
|
-
interface TextureGuiExperimental extends LayerCollector {
|
|
13916
|
-
/**
|
|
13917
|
-
* **DO NOT USE!**
|
|
13918
|
-
*
|
|
13919
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
13920
|
-
* @hidden
|
|
13921
|
-
* @deprecated
|
|
13922
|
-
*/
|
|
13923
|
-
readonly _nominal_TextureGuiExperimental: unique symbol;
|
|
13924
|
-
Size: Vector2;
|
|
13925
|
-
}
|
|
13926
|
-
|
|
13927
13928
|
/** An abstract class for 3D GUI elements that are rendered in the world. */
|
|
13928
13929
|
interface GuiBase3d extends GuiBase {
|
|
13929
13930
|
/**
|
|
@@ -21590,7 +21591,13 @@ interface MarketplaceService extends Instance {
|
|
|
21590
21591
|
equipIfPurchased?: boolean,
|
|
21591
21592
|
currencyType?: CastsToEnum<Enum.CurrencyType>,
|
|
21592
21593
|
): void;
|
|
21594
|
+
/**
|
|
21595
|
+
* @deprecated
|
|
21596
|
+
*/
|
|
21593
21597
|
PromptSubscriptionCancellation(this: MarketplaceService, player: Player, subscriptionId: number): void;
|
|
21598
|
+
/**
|
|
21599
|
+
* @deprecated
|
|
21600
|
+
*/
|
|
21594
21601
|
PromptSubscriptionPurchase(this: MarketplaceService, player: Player, subscriptionId: number): void;
|
|
21595
21602
|
/**
|
|
21596
21603
|
* Returns a [Pages](https://developer.roblox.com/en-us/api-reference/class/Pages) object which contains information for all of the current game's developer products.
|
|
@@ -21819,6 +21826,7 @@ interface MarketplaceService extends Instance {
|
|
|
21819
21826
|
): AssetProductInfo | BundleInfo | GamePassProductInfo | DeveloperProductInfo | SubscriptionProductInfo;
|
|
21820
21827
|
/**
|
|
21821
21828
|
* Tags: Yields
|
|
21829
|
+
* @deprecated
|
|
21822
21830
|
*/
|
|
21823
21831
|
IsPlayerSubscribed(this: MarketplaceService, player: Player, subscriptionId: number): boolean;
|
|
21824
21832
|
/**
|
|
@@ -21927,7 +21935,13 @@ interface MarketplaceService extends Instance {
|
|
|
21927
21935
|
* end)
|
|
21928
21936
|
*/
|
|
21929
21937
|
readonly PromptPurchaseFinished: RBXScriptSignal<(player: Player, assetId: number, isPurchased: boolean) => void>;
|
|
21938
|
+
/**
|
|
21939
|
+
* @deprecated
|
|
21940
|
+
*/
|
|
21930
21941
|
readonly PromptSubscriptionCancellationFinished: RBXScriptSignal<(player: Player, subscriptionId: number, wasCanceled: boolean) => void>;
|
|
21942
|
+
/**
|
|
21943
|
+
* @deprecated
|
|
21944
|
+
*/
|
|
21931
21945
|
readonly PromptSubscriptionPurchaseFinished: RBXScriptSignal<(player: Player, subscriptionId: number, wasPurchased: boolean) => void>;
|
|
21932
21946
|
ProcessReceipt: ((receiptInfo: ReceiptInfo) => Enum.ProductPurchaseDecision) | undefined;
|
|
21933
21947
|
}
|
|
@@ -21977,6 +21991,7 @@ interface MaterialVariant extends Instance {
|
|
|
21977
21991
|
* @deprecated
|
|
21978
21992
|
*/
|
|
21979
21993
|
readonly _nominal_MaterialVariant: unique symbol;
|
|
21994
|
+
BaseMaterial: Enum.Material;
|
|
21980
21995
|
CustomPhysicalProperties: PhysicalProperties;
|
|
21981
21996
|
MaterialPattern: Enum.MaterialPattern;
|
|
21982
21997
|
StudsPerTile: number;
|
|
@@ -22806,6 +22821,14 @@ interface OpenCloudApiV1 extends Instance {
|
|
|
22806
22821
|
* @deprecated
|
|
22807
22822
|
*/
|
|
22808
22823
|
readonly _nominal_OpenCloudApiV1: unique symbol;
|
|
22824
|
+
/**
|
|
22825
|
+
* Tags: CustomLuaState
|
|
22826
|
+
*/
|
|
22827
|
+
CreateModel(this: OpenCloudApiV1, name: string): OpenCloudModel;
|
|
22828
|
+
/**
|
|
22829
|
+
* Tags: Yields
|
|
22830
|
+
*/
|
|
22831
|
+
CreateUserNotificationAsync(this: OpenCloudApiV1, user: string, userNotification: OpenCloudModel): OpenCloudModel;
|
|
22809
22832
|
}
|
|
22810
22833
|
|
|
22811
22834
|
interface OpenCloudService extends Instance {
|
|
@@ -25650,7 +25673,6 @@ interface Workspace extends WorldRoot {
|
|
|
25650
25673
|
* Tags: NotReplicated
|
|
25651
25674
|
*/
|
|
25652
25675
|
DistributedGameTime: number;
|
|
25653
|
-
EnableFluidForces: boolean;
|
|
25654
25676
|
/**
|
|
25655
25677
|
* This property determines the height at which falling [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) (and their ancestor [Models](https://developer.roblox.com/en-us/api-reference/class/Model)) are destroyed.
|
|
25656
25678
|
*
|
|
@@ -28203,6 +28225,17 @@ interface Players extends Instance {
|
|
|
28203
28225
|
readonly PlayerRemoving: RBXScriptSignal<(player: Player) => void>;
|
|
28204
28226
|
}
|
|
28205
28227
|
|
|
28228
|
+
interface PluginCapabilities extends Instance {
|
|
28229
|
+
/**
|
|
28230
|
+
* **DO NOT USE!**
|
|
28231
|
+
*
|
|
28232
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28233
|
+
* @hidden
|
|
28234
|
+
* @deprecated
|
|
28235
|
+
*/
|
|
28236
|
+
readonly _nominal_PluginCapabilities: unique symbol;
|
|
28237
|
+
}
|
|
28238
|
+
|
|
28206
28239
|
interface PluginManagementService extends Instance {
|
|
28207
28240
|
/**
|
|
28208
28241
|
* **DO NOT USE!**
|
|
@@ -29048,6 +29081,17 @@ interface ReplicatedStorage extends Instance {
|
|
|
29048
29081
|
readonly _nominal_ReplicatedStorage: unique symbol;
|
|
29049
29082
|
}
|
|
29050
29083
|
|
|
29084
|
+
interface RobloxServerStorage extends Instance {
|
|
29085
|
+
/**
|
|
29086
|
+
* **DO NOT USE!**
|
|
29087
|
+
*
|
|
29088
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29089
|
+
* @hidden
|
|
29090
|
+
* @deprecated
|
|
29091
|
+
*/
|
|
29092
|
+
readonly _nominal_RobloxServerStorage: unique symbol;
|
|
29093
|
+
}
|
|
29094
|
+
|
|
29051
29095
|
interface RomarkService extends Instance {
|
|
29052
29096
|
/**
|
|
29053
29097
|
* **DO NOT USE!**
|
|
@@ -31636,6 +31680,10 @@ interface StarterPlayer extends Instance {
|
|
|
31636
31680
|
* This property is copied from the [StarterPlayer](https://developer.roblox.com/en-us/api-reference/class/StarterPlayer) to a [Player](https://developer.roblox.com/en-us/api-reference/class/Player) when they join the game. Following that. the value of this property is copied to [Humanoid.AutoJumpEnabled](https://developer.roblox.com/en-us/api-reference/property/Humanoid/AutoJumpEnabled) property of the [Player.Character](https://developer.roblox.com/en-us/api-reference/property/Player/Character)s [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) on spawn. In other words, it is possible to set the auto-jump behavior on a per-character, per-player and per-game basis using these three properties.
|
|
31637
31681
|
*/
|
|
31638
31682
|
AutoJumpEnabled: boolean;
|
|
31683
|
+
/**
|
|
31684
|
+
* Tags: NotBrowsable
|
|
31685
|
+
*/
|
|
31686
|
+
AvatarJointUpgrade: Enum.AvatarJointUpgrade;
|
|
31639
31687
|
/**
|
|
31640
31688
|
* The CameraMaxZoomDistance [StarterPlayer](https://developer.roblox.com/en-us/api-reference/class/StarterPlayer) property sets the maximum distance in studs the camera can be from the character with the default cameras.
|
|
31641
31689
|
*
|
|
@@ -31714,6 +31762,10 @@ interface StarterPlayer extends Instance {
|
|
|
31714
31762
|
* Since this property is only relevant for characters being spawned in the future, changing it will not change any existing player characters. Changes to this property will only take effect when a player respawns.
|
|
31715
31763
|
*/
|
|
31716
31764
|
CharacterWalkSpeed: number;
|
|
31765
|
+
/**
|
|
31766
|
+
* Tags: NotBrowsable
|
|
31767
|
+
*/
|
|
31768
|
+
DeathStyle: Enum.DeathStyle;
|
|
31717
31769
|
/**
|
|
31718
31770
|
* The DevCameraOcclusionMode [StarterPlayer](https://developer.roblox.com/en-us/api-reference/class/StarterPlayer) property sets how the default camera handles objects between the camera and the player.
|
|
31719
31771
|
*
|
|
@@ -33324,8 +33376,8 @@ interface TextChannel extends Instance {
|
|
|
33324
33376
|
*/
|
|
33325
33377
|
SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
|
|
33326
33378
|
readonly MessageReceived: RBXScriptSignal<(incomingMessage: TextChatMessage) => void>;
|
|
33327
|
-
OnIncomingMessage: (message: TextChatMessage) =>
|
|
33328
|
-
ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) =>
|
|
33379
|
+
OnIncomingMessage: (message: TextChatMessage) => TextChatMessageProperties | undefined;
|
|
33380
|
+
ShouldDeliverCallback: (message: TextChatMessage, textSource: TextSource) => boolean;
|
|
33329
33381
|
}
|
|
33330
33382
|
|
|
33331
33383
|
interface TextChatCommand extends Instance {
|
|
@@ -33459,6 +33511,7 @@ interface TextChatMessage extends Instance {
|
|
|
33459
33511
|
* @deprecated
|
|
33460
33512
|
*/
|
|
33461
33513
|
readonly _nominal_TextChatMessage: unique symbol;
|
|
33514
|
+
BubbleChatMessageProperties: BubbleChatMessageProperties | undefined;
|
|
33462
33515
|
MessageId: string;
|
|
33463
33516
|
Metadata: string;
|
|
33464
33517
|
PrefixText: string;
|
|
@@ -33503,10 +33556,11 @@ interface TextChatService extends Instance {
|
|
|
33503
33556
|
* Tags: Yields
|
|
33504
33557
|
*/
|
|
33505
33558
|
CanUsersChatAsync(this: TextChatService, userIdFrom: number, userIdTo: number): boolean;
|
|
33506
|
-
readonly BubbleDisplayed: RBXScriptSignal<(
|
|
33559
|
+
readonly BubbleDisplayed: RBXScriptSignal<(partOrCharacter: BasePart | Model, textChatMessage: TextChatMessage) => void>;
|
|
33507
33560
|
readonly MessageReceived: RBXScriptSignal<(textChatMessage: TextChatMessage) => void>;
|
|
33508
33561
|
readonly SendingMessage: RBXScriptSignal<(textChatMessage: TextChatMessage) => void>;
|
|
33509
|
-
|
|
33562
|
+
OnBubbleAdded: (message: TextChatMessage, adornee: Instance) => TextChatMessageProperties | undefined;
|
|
33563
|
+
OnIncomingMessage: (message: TextChatMessage) => TextChatMessageProperties | undefined;
|
|
33510
33564
|
}
|
|
33511
33565
|
|
|
33512
33566
|
/** Represents the result of a call to [TextService:FilterStringAsync](https://developer.roblox.com/en-us/api-reference/function/TextService/FilterStringAsync).
|
|
@@ -36853,6 +36907,17 @@ interface VRService extends Instance {
|
|
|
36853
36907
|
readonly UserCFrameEnabled: RBXScriptSignal<(type: Enum.UserCFrame, enabled: boolean) => void>;
|
|
36854
36908
|
}
|
|
36855
36909
|
|
|
36910
|
+
interface VRStatusService extends Instance {
|
|
36911
|
+
/**
|
|
36912
|
+
* **DO NOT USE!**
|
|
36913
|
+
*
|
|
36914
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
36915
|
+
* @hidden
|
|
36916
|
+
* @deprecated
|
|
36917
|
+
*/
|
|
36918
|
+
readonly _nominal_VRStatusService: unique symbol;
|
|
36919
|
+
}
|
|
36920
|
+
|
|
36856
36921
|
/** Base class of all 'Value Instance' objects. */
|
|
36857
36922
|
interface ValueBase extends Instance {
|
|
36858
36923
|
/**
|
|
@@ -1896,6 +1896,7 @@ interface PhysicsSettings extends Instance {
|
|
|
1896
1896
|
* When set to true, Roblox will fall back to using its legacy CSG solver when performing [solid model operations](https://developer.roblox.com/articles/3D-Modeling-with-Parts "Solid modeling").
|
|
1897
1897
|
*/
|
|
1898
1898
|
DisableCSGv2: boolean;
|
|
1899
|
+
DisableCSGv3ForPlugins: boolean;
|
|
1899
1900
|
/**
|
|
1900
1901
|
* Tags: Hidden, NotReplicated
|
|
1901
1902
|
*/
|
|
@@ -2827,6 +2828,7 @@ interface RenderSettings extends Instance {
|
|
|
2827
2828
|
* If set to true, renders bounding boxes around each individual rendered entity in the scene.
|
|
2828
2829
|
*/
|
|
2829
2830
|
ShowBoundingBoxes: boolean;
|
|
2831
|
+
ViewMode: Enum.ViewMode;
|
|
2830
2832
|
/**
|
|
2831
2833
|
* Returns the maximum quality level.
|
|
2832
2834
|
*/
|
|
@@ -3646,7 +3648,6 @@ interface Studio extends Instance {
|
|
|
3646
3648
|
["Show Hover Over"]: boolean;
|
|
3647
3649
|
["Show Navigation Mesh"]: boolean;
|
|
3648
3650
|
["Show Plugin GUI Service in Explorer"]: boolean;
|
|
3649
|
-
["Show QT warnings in output"]: boolean;
|
|
3650
3651
|
["Show Whitespace"]: boolean;
|
|
3651
3652
|
["Show plus button on hover in Explorer"]: boolean;
|
|
3652
3653
|
["Skip Closing Brackets and Quotes"]: boolean;
|
|
@@ -291,27 +291,6 @@ declare namespace Enum {
|
|
|
291
291
|
}
|
|
292
292
|
export type ActuatorType = ActuatorType.None | ActuatorType.Motor | ActuatorType.Servo;
|
|
293
293
|
|
|
294
|
-
export namespace AdPortalType {
|
|
295
|
-
export interface Forward extends globalThis.EnumItem {
|
|
296
|
-
Name: "Forward";
|
|
297
|
-
Value: 0;
|
|
298
|
-
EnumType: typeof globalThis.Enum.AdPortalType;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export const Forward: Forward;
|
|
302
|
-
|
|
303
|
-
export interface Return extends globalThis.EnumItem {
|
|
304
|
-
Name: "Return";
|
|
305
|
-
Value: 1;
|
|
306
|
-
EnumType: typeof globalThis.Enum.AdPortalType;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
export const Return: Return;
|
|
310
|
-
|
|
311
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdPortalType>;
|
|
312
|
-
}
|
|
313
|
-
export type AdPortalType = AdPortalType.Forward | AdPortalType.Return;
|
|
314
|
-
|
|
315
294
|
export namespace AdShape {
|
|
316
295
|
export interface HorizontalRectangle extends globalThis.EnumItem {
|
|
317
296
|
Name: "HorizontalRectangle";
|
|
@@ -342,17 +321,9 @@ declare namespace Enum {
|
|
|
342
321
|
|
|
343
322
|
export const PortalForward: PortalForward;
|
|
344
323
|
|
|
345
|
-
export interface PortalReturn extends globalThis.EnumItem {
|
|
346
|
-
Name: "PortalReturn";
|
|
347
|
-
Value: 2;
|
|
348
|
-
EnumType: typeof globalThis.Enum.AdTeleportMethod;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export const PortalReturn: PortalReturn;
|
|
352
|
-
|
|
353
324
|
export interface InGameMenuBackButton extends globalThis.EnumItem {
|
|
354
325
|
Name: "InGameMenuBackButton";
|
|
355
|
-
Value:
|
|
326
|
+
Value: 2;
|
|
356
327
|
EnumType: typeof globalThis.Enum.AdTeleportMethod;
|
|
357
328
|
}
|
|
358
329
|
|
|
@@ -360,7 +331,7 @@ declare namespace Enum {
|
|
|
360
331
|
|
|
361
332
|
export interface UIBackButton extends globalThis.EnumItem {
|
|
362
333
|
Name: "UIBackButton";
|
|
363
|
-
Value:
|
|
334
|
+
Value: 3;
|
|
364
335
|
EnumType: typeof globalThis.Enum.AdTeleportMethod;
|
|
365
336
|
}
|
|
366
337
|
|
|
@@ -368,7 +339,7 @@ declare namespace Enum {
|
|
|
368
339
|
|
|
369
340
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdTeleportMethod>;
|
|
370
341
|
}
|
|
371
|
-
export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.
|
|
342
|
+
export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.InGameMenuBackButton | AdTeleportMethod.UIBackButton;
|
|
372
343
|
|
|
373
344
|
export namespace AdUnitStatus {
|
|
374
345
|
export interface Inactive extends globalThis.EnumItem {
|
|
@@ -2024,6 +1995,35 @@ declare namespace Enum {
|
|
|
2024
1995
|
}
|
|
2025
1996
|
export type AvatarItemType = AvatarItemType.Asset | AvatarItemType.Bundle;
|
|
2026
1997
|
|
|
1998
|
+
export namespace AvatarJointUpgrade {
|
|
1999
|
+
export interface Default extends globalThis.EnumItem {
|
|
2000
|
+
Name: "Default";
|
|
2001
|
+
Value: 0;
|
|
2002
|
+
EnumType: typeof globalThis.Enum.AvatarJointUpgrade;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
export const Default: Default;
|
|
2006
|
+
|
|
2007
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
2008
|
+
Name: "Enabled";
|
|
2009
|
+
Value: 1;
|
|
2010
|
+
EnumType: typeof globalThis.Enum.AvatarJointUpgrade;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
export const Enabled: Enabled;
|
|
2014
|
+
|
|
2015
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
2016
|
+
Name: "Disabled";
|
|
2017
|
+
Value: 2;
|
|
2018
|
+
EnumType: typeof globalThis.Enum.AvatarJointUpgrade;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
export const Disabled: Disabled;
|
|
2022
|
+
|
|
2023
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AvatarJointUpgrade>;
|
|
2024
|
+
}
|
|
2025
|
+
export type AvatarJointUpgrade = AvatarJointUpgrade.Default | AvatarJointUpgrade.Enabled | AvatarJointUpgrade.Disabled;
|
|
2026
|
+
|
|
2027
2027
|
export namespace AvatarPromptResult {
|
|
2028
2028
|
export interface Success extends globalThis.EnumItem {
|
|
2029
2029
|
Name: "Success";
|
|
@@ -4730,6 +4730,43 @@ declare namespace Enum {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
export type DataStoreRequestType = DataStoreRequestType.GetAsync | DataStoreRequestType.SetIncrementAsync | DataStoreRequestType.UpdateAsync | DataStoreRequestType.GetSortedAsync | DataStoreRequestType.SetIncrementSortedAsync | DataStoreRequestType.OnUpdate;
|
|
4732
4732
|
|
|
4733
|
+
export namespace DeathStyle {
|
|
4734
|
+
export interface Default extends globalThis.EnumItem {
|
|
4735
|
+
Name: "Default";
|
|
4736
|
+
Value: 0;
|
|
4737
|
+
EnumType: typeof globalThis.Enum.DeathStyle;
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4740
|
+
export const Default: Default;
|
|
4741
|
+
|
|
4742
|
+
export interface ClassicBreakApart extends globalThis.EnumItem {
|
|
4743
|
+
Name: "ClassicBreakApart";
|
|
4744
|
+
Value: 1;
|
|
4745
|
+
EnumType: typeof globalThis.Enum.DeathStyle;
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
export const ClassicBreakApart: ClassicBreakApart;
|
|
4749
|
+
|
|
4750
|
+
export interface NonGraphic extends globalThis.EnumItem {
|
|
4751
|
+
Name: "NonGraphic";
|
|
4752
|
+
Value: 2;
|
|
4753
|
+
EnumType: typeof globalThis.Enum.DeathStyle;
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4756
|
+
export const NonGraphic: NonGraphic;
|
|
4757
|
+
|
|
4758
|
+
export interface Scriptable extends globalThis.EnumItem {
|
|
4759
|
+
Name: "Scriptable";
|
|
4760
|
+
Value: 3;
|
|
4761
|
+
EnumType: typeof globalThis.Enum.DeathStyle;
|
|
4762
|
+
}
|
|
4763
|
+
|
|
4764
|
+
export const Scriptable: Scriptable;
|
|
4765
|
+
|
|
4766
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.DeathStyle>;
|
|
4767
|
+
}
|
|
4768
|
+
export type DeathStyle = DeathStyle.Default | DeathStyle.ClassicBreakApart | DeathStyle.NonGraphic | DeathStyle.Scriptable;
|
|
4769
|
+
|
|
4733
4770
|
export namespace DebuggerEndReason {
|
|
4734
4771
|
export interface ClientRequest extends globalThis.EnumItem {
|
|
4735
4772
|
Name: "ClientRequest";
|
|
@@ -6092,6 +6129,27 @@ declare namespace Enum {
|
|
|
6092
6129
|
}
|
|
6093
6130
|
export type FinishRecordingOperation = FinishRecordingOperation.Cancel | FinishRecordingOperation.Commit | FinishRecordingOperation.Append;
|
|
6094
6131
|
|
|
6132
|
+
export namespace FluidForces {
|
|
6133
|
+
export interface Default extends globalThis.EnumItem {
|
|
6134
|
+
Name: "Default";
|
|
6135
|
+
Value: 0;
|
|
6136
|
+
EnumType: typeof globalThis.Enum.FluidForces;
|
|
6137
|
+
}
|
|
6138
|
+
|
|
6139
|
+
export const Default: Default;
|
|
6140
|
+
|
|
6141
|
+
export interface Experimental extends globalThis.EnumItem {
|
|
6142
|
+
Name: "Experimental";
|
|
6143
|
+
Value: 1;
|
|
6144
|
+
EnumType: typeof globalThis.Enum.FluidForces;
|
|
6145
|
+
}
|
|
6146
|
+
|
|
6147
|
+
export const Experimental: Experimental;
|
|
6148
|
+
|
|
6149
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.FluidForces>;
|
|
6150
|
+
}
|
|
6151
|
+
export type FluidForces = FluidForces.Default | FluidForces.Experimental;
|
|
6152
|
+
|
|
6095
6153
|
export namespace Font {
|
|
6096
6154
|
export interface Legacy extends globalThis.EnumItem {
|
|
6097
6155
|
Name: "Legacy";
|
|
@@ -12833,6 +12891,59 @@ declare namespace Enum {
|
|
|
12833
12891
|
}
|
|
12834
12892
|
export type ProductPurchaseDecision = ProductPurchaseDecision.NotProcessedYet | ProductPurchaseDecision.PurchaseGranted;
|
|
12835
12893
|
|
|
12894
|
+
export namespace PromptCreateAssetResult {
|
|
12895
|
+
export interface Success extends globalThis.EnumItem {
|
|
12896
|
+
Name: "Success";
|
|
12897
|
+
Value: 1;
|
|
12898
|
+
EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
|
|
12899
|
+
}
|
|
12900
|
+
|
|
12901
|
+
export const Success: Success;
|
|
12902
|
+
|
|
12903
|
+
export interface PermissionDenied extends globalThis.EnumItem {
|
|
12904
|
+
Name: "PermissionDenied";
|
|
12905
|
+
Value: 2;
|
|
12906
|
+
EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
|
|
12907
|
+
}
|
|
12908
|
+
|
|
12909
|
+
export const PermissionDenied: PermissionDenied;
|
|
12910
|
+
|
|
12911
|
+
export interface Timeout extends globalThis.EnumItem {
|
|
12912
|
+
Name: "Timeout";
|
|
12913
|
+
Value: 3;
|
|
12914
|
+
EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
|
|
12915
|
+
}
|
|
12916
|
+
|
|
12917
|
+
export const Timeout: Timeout;
|
|
12918
|
+
|
|
12919
|
+
export interface UploadFailed extends globalThis.EnumItem {
|
|
12920
|
+
Name: "UploadFailed";
|
|
12921
|
+
Value: 4;
|
|
12922
|
+
EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
|
|
12923
|
+
}
|
|
12924
|
+
|
|
12925
|
+
export const UploadFailed: UploadFailed;
|
|
12926
|
+
|
|
12927
|
+
export interface NoUserInput extends globalThis.EnumItem {
|
|
12928
|
+
Name: "NoUserInput";
|
|
12929
|
+
Value: 5;
|
|
12930
|
+
EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
|
|
12931
|
+
}
|
|
12932
|
+
|
|
12933
|
+
export const NoUserInput: NoUserInput;
|
|
12934
|
+
|
|
12935
|
+
export interface UnknownFailure extends globalThis.EnumItem {
|
|
12936
|
+
Name: "UnknownFailure";
|
|
12937
|
+
Value: 6;
|
|
12938
|
+
EnumType: typeof globalThis.Enum.PromptCreateAssetResult;
|
|
12939
|
+
}
|
|
12940
|
+
|
|
12941
|
+
export const UnknownFailure: UnknownFailure;
|
|
12942
|
+
|
|
12943
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PromptCreateAssetResult>;
|
|
12944
|
+
}
|
|
12945
|
+
export type PromptCreateAssetResult = PromptCreateAssetResult.Success | PromptCreateAssetResult.PermissionDenied | PromptCreateAssetResult.Timeout | PromptCreateAssetResult.UploadFailed | PromptCreateAssetResult.NoUserInput | PromptCreateAssetResult.UnknownFailure;
|
|
12946
|
+
|
|
12836
12947
|
export namespace PromptPublishAssetResult {
|
|
12837
12948
|
export interface Success extends globalThis.EnumItem {
|
|
12838
12949
|
Name: "Success";
|
|
@@ -18846,6 +18957,43 @@ declare namespace Enum {
|
|
|
18846
18957
|
}
|
|
18847
18958
|
export type VibrationMotor = VibrationMotor.Large | VibrationMotor.Small | VibrationMotor.LeftTrigger | VibrationMotor.RightTrigger | VibrationMotor.LeftHand | VibrationMotor.RightHand;
|
|
18848
18959
|
|
|
18960
|
+
export namespace ViewMode {
|
|
18961
|
+
export interface None extends globalThis.EnumItem {
|
|
18962
|
+
Name: "None";
|
|
18963
|
+
Value: 0;
|
|
18964
|
+
EnumType: typeof globalThis.Enum.ViewMode;
|
|
18965
|
+
}
|
|
18966
|
+
|
|
18967
|
+
export const None: None;
|
|
18968
|
+
|
|
18969
|
+
export interface GeometryComplexity extends globalThis.EnumItem {
|
|
18970
|
+
Name: "GeometryComplexity";
|
|
18971
|
+
Value: 1;
|
|
18972
|
+
EnumType: typeof globalThis.Enum.ViewMode;
|
|
18973
|
+
}
|
|
18974
|
+
|
|
18975
|
+
export const GeometryComplexity: GeometryComplexity;
|
|
18976
|
+
|
|
18977
|
+
export interface Transparent extends globalThis.EnumItem {
|
|
18978
|
+
Name: "Transparent";
|
|
18979
|
+
Value: 2;
|
|
18980
|
+
EnumType: typeof globalThis.Enum.ViewMode;
|
|
18981
|
+
}
|
|
18982
|
+
|
|
18983
|
+
export const Transparent: Transparent;
|
|
18984
|
+
|
|
18985
|
+
export interface Decal extends globalThis.EnumItem {
|
|
18986
|
+
Name: "Decal";
|
|
18987
|
+
Value: 3;
|
|
18988
|
+
EnumType: typeof globalThis.Enum.ViewMode;
|
|
18989
|
+
}
|
|
18990
|
+
|
|
18991
|
+
export const Decal: Decal;
|
|
18992
|
+
|
|
18993
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ViewMode>;
|
|
18994
|
+
}
|
|
18995
|
+
export type ViewMode = ViewMode.None | ViewMode.GeometryComplexity | ViewMode.Transparent | ViewMode.Decal;
|
|
18996
|
+
|
|
18849
18997
|
export namespace VirtualCursorMode {
|
|
18850
18998
|
export interface Default extends globalThis.EnumItem {
|
|
18851
18999
|
Name: "Default";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1825,6 +1825,17 @@ interface NumberSequenceKeypointConstructor {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
declare const NumberSequenceKeypoint: NumberSequenceKeypointConstructor;
|
|
1827
1827
|
|
|
1828
|
+
interface OpenCloudModel {
|
|
1829
|
+
/**
|
|
1830
|
+
* **DO NOT USE!**
|
|
1831
|
+
*
|
|
1832
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1833
|
+
* @hidden
|
|
1834
|
+
* @deprecated
|
|
1835
|
+
*/
|
|
1836
|
+
readonly _nominal_OpenCloudModel: unique symbol;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1828
1839
|
// OverlapParams
|
|
1829
1840
|
interface OverlapParams {
|
|
1830
1841
|
/**
|