@rbxts/types 1.0.727 → 1.0.729
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.
|
@@ -43,6 +43,7 @@ interface Services {
|
|
|
43
43
|
DebuggerUIService: DebuggerUIService;
|
|
44
44
|
DeviceIdService: DeviceIdService;
|
|
45
45
|
DraggerService: DraggerService;
|
|
46
|
+
EngineAPICloudProcessingService: EngineAPICloudProcessingService;
|
|
46
47
|
EventIngestService: EventIngestService;
|
|
47
48
|
ExperienceAuthService: ExperienceAuthService;
|
|
48
49
|
ExperienceNotificationService: ExperienceNotificationService;
|
|
@@ -7816,6 +7817,7 @@ interface HingeConstraint extends Constraint {
|
|
|
7816
7817
|
* The maximum torque a [HingeConstraint](https://developer.roblox.com/en-us/api-reference/class/HingeConstraint) with [HingeConstraint.ActuatorType](https://developer.roblox.com/en-us/api-reference/property/HingeConstraint/ActuatorType) set to [Servo](https://developer.roblox.com/en-us/api-reference/enum/ActuatorType) can apply when trying to reach its desired [HingeConstraint.AngularSpeed](https://developer.roblox.com/en-us/api-reference/property/HingeConstraint/AngularSpeed).
|
|
7817
7818
|
*/
|
|
7818
7819
|
ServoMaxTorque: number;
|
|
7820
|
+
SoftlockServoUponReachingTarget: boolean;
|
|
7819
7821
|
/**
|
|
7820
7822
|
* The target angle a [HingeConstraint](https://developer.roblox.com/en-us/api-reference/class/HingeConstraint) will attempt to rotate to if its [HingeConstraint.ActuatorType](https://developer.roblox.com/en-us/api-reference/property/HingeConstraint/ActuatorType) is set to [Servo](https://developer.roblox.com/en-us/api-reference/enum/ActuatorType). Measured in degrees.
|
|
7821
7823
|
*/
|
|
@@ -8206,6 +8208,7 @@ interface SlidingBallConstraint extends Constraint {
|
|
|
8206
8208
|
* The visualized size of the SlidingBallConstraint.
|
|
8207
8209
|
*/
|
|
8208
8210
|
Size: number;
|
|
8211
|
+
SoftlockServoUponReachingTarget: boolean;
|
|
8209
8212
|
/**
|
|
8210
8213
|
* The desired speed a [SlidingBallConstraint](https://developer.roblox.com/en-us/api-reference/class/SlidingBallConstraint) with [SlidingBallConstraint.ActuatorType](https://developer.roblox.com/en-us/api-reference/property/SlidingBallConstraint/ActuatorType) set to [ActuatorType](https://developer.roblox.com/en-us/api-reference/enum/ActuatorType) will attempt to maintain while translating towards its [SlidingBallConstraint.TargetPosition](https://developer.roblox.com/en-us/api-reference/property/SlidingBallConstraint/TargetPosition). Measured in studs/second.
|
|
8211
8214
|
*/
|
|
@@ -8293,6 +8296,7 @@ interface CylindricalConstraint extends SlidingBallConstraint {
|
|
|
8293
8296
|
* Maximum torque the servo motor can apply. The units are mass \* studs^2 / second^2. Value in \[0, inf).
|
|
8294
8297
|
*/
|
|
8295
8298
|
ServoMaxTorque: number;
|
|
8299
|
+
SoftlockAngularServoUponReachingTarget: boolean;
|
|
8296
8300
|
/**
|
|
8297
8301
|
* Target angle (in degrees) between the reference axis and the secondary axis of Attachment1 around the rotation axis. Value in \[-180, 180\].
|
|
8298
8302
|
*/
|
|
@@ -10378,6 +10382,17 @@ interface DynamicImage extends Instance {
|
|
|
10378
10382
|
WritePixels(this: DynamicImage, position: Vector2, size: Vector2, pixels: Array<any>): void;
|
|
10379
10383
|
}
|
|
10380
10384
|
|
|
10385
|
+
interface EngineAPICloudProcessingService extends Instance {
|
|
10386
|
+
/**
|
|
10387
|
+
* **DO NOT USE!**
|
|
10388
|
+
*
|
|
10389
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10390
|
+
* @hidden
|
|
10391
|
+
* @deprecated
|
|
10392
|
+
*/
|
|
10393
|
+
readonly _nominal_EngineAPICloudProcessingService: unique symbol;
|
|
10394
|
+
}
|
|
10395
|
+
|
|
10381
10396
|
/** 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. */
|
|
10382
10397
|
interface EulerRotationCurve extends Instance {
|
|
10383
10398
|
/**
|
|
@@ -22600,7 +22615,7 @@ interface MemoryStoreSortedMap extends Instance {
|
|
|
22600
22615
|
*
|
|
22601
22616
|
* Tags: Yields
|
|
22602
22617
|
*/
|
|
22603
|
-
GetRangeAsync(this: MemoryStoreSortedMap, direction: CastsToEnum<Enum.SortDirection>, count: number, exclusiveLowerBound
|
|
22618
|
+
GetRangeAsync(this: MemoryStoreSortedMap, direction: CastsToEnum<Enum.SortDirection>, count: number, exclusiveLowerBound: unknown, exclusiveUpperBound: unknown): unknown;
|
|
22604
22619
|
/**
|
|
22605
22620
|
* Removes the provided key from the sorted map.
|
|
22606
22621
|
*
|
|
@@ -22614,7 +22629,7 @@ interface MemoryStoreSortedMap extends Instance {
|
|
|
22614
22629
|
*
|
|
22615
22630
|
* Tags: Yields
|
|
22616
22631
|
*/
|
|
22617
|
-
SetAsync(this: MemoryStoreSortedMap, key: string, value: unknown, expiration: number): boolean;
|
|
22632
|
+
SetAsync(this: MemoryStoreSortedMap, key: string, value: unknown, expiration: number, sortKey: unknown): boolean;
|
|
22618
22633
|
/**
|
|
22619
22634
|
* Retrieves the value of a key from a sorted map and lets you update it to a new value via a callback function.
|
|
22620
22635
|
*
|
|
@@ -24990,6 +25005,10 @@ interface TriangleMeshPart extends BasePart {
|
|
|
24990
25005
|
* Tags: NotReplicated
|
|
24991
25006
|
*/
|
|
24992
25007
|
CollisionFidelity: Enum.CollisionFidelity;
|
|
25008
|
+
/**
|
|
25009
|
+
* Tags: NotReplicated
|
|
25010
|
+
*/
|
|
25011
|
+
FluidFidelity: Enum.FluidFidelity;
|
|
24993
25012
|
/**
|
|
24994
25013
|
* Tags: NotReplicated
|
|
24995
25014
|
*/
|
|
@@ -27345,7 +27364,7 @@ interface PhysicsService extends Instance {
|
|
|
27345
27364
|
* The name of the group
|
|
27346
27365
|
* @deprecated Use `GetRegisteredCollisionGroups` instead
|
|
27347
27366
|
*/
|
|
27348
|
-
GetCollisionGroups(this: PhysicsService):
|
|
27367
|
+
GetCollisionGroups(this: PhysicsService): Array<CollisionGroupInfo & { id: number }>;
|
|
27349
27368
|
/**
|
|
27350
27369
|
* Returns the maximum number of collision groups the engine supports. This value is currently 32.
|
|
27351
27370
|
*/
|
|
@@ -30981,7 +31000,12 @@ interface SocialService extends Instance {
|
|
|
30981
31000
|
*/
|
|
30982
31001
|
PromptGameInvite(this: SocialService, player: Player, experienceInviteOptions?: ExperienceInviteOptions): void;
|
|
30983
31002
|
PromptIrisInvite(this: SocialService, player: Player, tag: string): void;
|
|
31003
|
+
PromptPhoneBook(this: SocialService, player: Player, tag: string): void;
|
|
30984
31004
|
ShowSelfView(this: SocialService, selfViewPosition?: CastsToEnum<Enum.SelfViewPosition>): void;
|
|
31005
|
+
/**
|
|
31006
|
+
* Tags: Yields
|
|
31007
|
+
*/
|
|
31008
|
+
CanSendCallInviteAsync(this: SocialService, player: Player): boolean;
|
|
30985
31009
|
/**
|
|
30986
31010
|
* **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.
|
|
30987
31011
|
*
|
|
@@ -30994,6 +31018,7 @@ interface SocialService extends Instance {
|
|
|
30994
31018
|
* Tags: Yields
|
|
30995
31019
|
*/
|
|
30996
31020
|
CanSendIrisInviteAsync(this: SocialService, player: Player): boolean;
|
|
31021
|
+
readonly CallInviteStateChanged: RBXScriptSignal<(player: Player, inviteState: Enum.InviteState) => void>;
|
|
30997
31022
|
/**
|
|
30998
31023
|
* 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.
|
|
30999
31024
|
*
|
|
@@ -31020,6 +31045,8 @@ interface SocialService extends Instance {
|
|
|
31020
31045
|
*/
|
|
31021
31046
|
readonly GameInvitePromptClosed: RBXScriptSignal<(senderPlayer: Player, recipientIds: Array<number>) => void>;
|
|
31022
31047
|
readonly IrisInvitePromptClosed: RBXScriptSignal<(player: Player) => void>;
|
|
31048
|
+
readonly PhoneBookPromptClosed: RBXScriptSignal<(player: Player) => void>;
|
|
31049
|
+
OnCallInviteInvoked: (tag: string, callParticipantIds: Array<any>) => Instance;
|
|
31023
31050
|
OnIrisInviteInvoked: (tag: string, irisParticipantIds: Array<any>) => Instance;
|
|
31024
31051
|
}
|
|
31025
31052
|
|
|
@@ -1506,6 +1506,10 @@ interface TriangleMeshPart extends BasePart {
|
|
|
1506
1506
|
* Tags: NotReplicated
|
|
1507
1507
|
*/
|
|
1508
1508
|
CollisionFidelity: Enum.CollisionFidelity;
|
|
1509
|
+
/**
|
|
1510
|
+
* Tags: NotReplicated
|
|
1511
|
+
*/
|
|
1512
|
+
FluidFidelity: Enum.FluidFidelity;
|
|
1509
1513
|
}
|
|
1510
1514
|
|
|
1511
1515
|
interface MeshPart extends TriangleMeshPart {
|