@rbxts/types 1.0.703 → 1.0.705
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.
|
@@ -81,6 +81,8 @@ interface Services {
|
|
|
81
81
|
PatchBundlerFileWatch: PatchBundlerFileWatch;
|
|
82
82
|
PathfindingService: PathfindingService;
|
|
83
83
|
PhysicsService: PhysicsService;
|
|
84
|
+
PlacesService: PlacesService;
|
|
85
|
+
PlaceStatsService: PlaceStatsService;
|
|
84
86
|
Players: Players;
|
|
85
87
|
PluginManagementService: PluginManagementService;
|
|
86
88
|
PluginPolicyService: PluginPolicyService;
|
|
@@ -143,6 +145,7 @@ interface Services {
|
|
|
143
145
|
UserInputService: UserInputService;
|
|
144
146
|
UserService: UserService;
|
|
145
147
|
VideoCaptureService: VideoCaptureService;
|
|
148
|
+
VideoService: VideoService;
|
|
146
149
|
VisibilityCheckDispatcher: VisibilityCheckDispatcher;
|
|
147
150
|
VisibilityService: VisibilityService;
|
|
148
151
|
VoiceChatInternal: VoiceChatInternal;
|
|
@@ -332,6 +335,9 @@ interface CreatableInstances {
|
|
|
332
335
|
SpringConstraint: SpringConstraint;
|
|
333
336
|
StarterGear: StarterGear;
|
|
334
337
|
StringValue: StringValue;
|
|
338
|
+
StudioCallout: StudioCallout;
|
|
339
|
+
StudioObjectBase: StudioObjectBase;
|
|
340
|
+
StudioWidget: StudioWidget;
|
|
335
341
|
StyleDerive: StyleDerive;
|
|
336
342
|
StyleLink: StyleLink;
|
|
337
343
|
StyleRule: StyleRule;
|
|
@@ -476,6 +482,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
476
482
|
DebuggerConnection: DebuggerConnection;
|
|
477
483
|
DebuggerLuaResponse: DebuggerLuaResponse;
|
|
478
484
|
DebuggerVariable: DebuggerVariable;
|
|
485
|
+
DynamicImage: DynamicImage;
|
|
479
486
|
EmotesPages: EmotesPages;
|
|
480
487
|
FacialAnimationStreamingServiceStats: FacialAnimationStreamingServiceStats;
|
|
481
488
|
FacialAnimationStreamingSubsessionStats: FacialAnimationStreamingSubsessionStats;
|
|
@@ -483,7 +490,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
483
490
|
FriendPages: FriendPages;
|
|
484
491
|
GlobalDataStore: GlobalDataStore;
|
|
485
492
|
GroupImportData: GroupImportData;
|
|
486
|
-
ImageDataExperimental: ImageDataExperimental;
|
|
487
493
|
InputObject: InputObject;
|
|
488
494
|
InstanceAdornment: InstanceAdornment;
|
|
489
495
|
InventoryPages: InventoryPages;
|
|
@@ -494,13 +500,13 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
494
500
|
MaterialImportData: MaterialImportData;
|
|
495
501
|
MemoryStoreQueue: MemoryStoreQueue;
|
|
496
502
|
MemoryStoreSortedMap: MemoryStoreSortedMap;
|
|
497
|
-
MeshDataExperimental: MeshDataExperimental;
|
|
498
503
|
MeshImportData: MeshImportData;
|
|
499
504
|
MessageBusConnection: MessageBusConnection;
|
|
500
505
|
MetaBreakpoint: MetaBreakpoint;
|
|
501
506
|
MetaBreakpointContext: MetaBreakpointContext;
|
|
502
507
|
Mouse: Mouse;
|
|
503
508
|
NetworkMarker: NetworkMarker;
|
|
509
|
+
OpenCloudApiV1: OpenCloudApiV1;
|
|
504
510
|
OrderedDataStore: OrderedDataStore;
|
|
505
511
|
OutfitPages: OutfitPages;
|
|
506
512
|
PackageLink: PackageLink;
|
|
@@ -2330,6 +2336,10 @@ interface AssetService extends Instance {
|
|
|
2330
2336
|
* Tags: Yields
|
|
2331
2337
|
*/
|
|
2332
2338
|
GetGamePlacesAsync(this: AssetService): StandardPages<{ Name: string; PlaceId: number }>;
|
|
2339
|
+
/**
|
|
2340
|
+
* Tags: Yields
|
|
2341
|
+
*/
|
|
2342
|
+
LoadImageAsync(this: AssetService, textureId: string): DynamicImage;
|
|
2333
2343
|
/**
|
|
2334
2344
|
* Tags: Yields
|
|
2335
2345
|
*/
|
|
@@ -6691,9 +6701,8 @@ interface DragDetector extends ClickDetector {
|
|
|
6691
6701
|
* Tags: NotReplicated
|
|
6692
6702
|
*/
|
|
6693
6703
|
WorldSecondaryAxis: Vector3;
|
|
6694
|
-
AddConstraintFunction(this: DragDetector,
|
|
6704
|
+
AddConstraintFunction(this: DragDetector, priority: number, callback: Callback): RBXScriptConnection;
|
|
6695
6705
|
GetReferenceFrame(this: DragDetector): CFrame;
|
|
6696
|
-
RemoveConstraintFunction(this: DragDetector, name: string): void;
|
|
6697
6706
|
RestartDrag(this: DragDetector): void;
|
|
6698
6707
|
SetDragStyleFunction(this: DragDetector, callback: Callback): void;
|
|
6699
6708
|
readonly DragContinue: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
@@ -8686,6 +8695,10 @@ interface ControllerBase extends Instance {
|
|
|
8686
8695
|
* @deprecated
|
|
8687
8696
|
*/
|
|
8688
8697
|
readonly _nominal_ControllerBase: unique symbol;
|
|
8698
|
+
/**
|
|
8699
|
+
* Tags: NotReplicated
|
|
8700
|
+
*/
|
|
8701
|
+
readonly Active: boolean;
|
|
8689
8702
|
BalanceRigidityEnabled: boolean;
|
|
8690
8703
|
MoveSpeedFactor: number;
|
|
8691
8704
|
}
|
|
@@ -8701,6 +8714,9 @@ interface AirController extends ControllerBase {
|
|
|
8701
8714
|
readonly _nominal_AirController: unique symbol;
|
|
8702
8715
|
BalanceMaxTorque: number;
|
|
8703
8716
|
BalanceSpeed: number;
|
|
8717
|
+
/**
|
|
8718
|
+
* Tags: Hidden, NotReplicated
|
|
8719
|
+
*/
|
|
8704
8720
|
LinearImpulse: Vector3;
|
|
8705
8721
|
MaintainAngularMomentum: boolean;
|
|
8706
8722
|
MaintainLinearMomentum: boolean;
|
|
@@ -9886,6 +9902,26 @@ interface DraggerService extends Instance {
|
|
|
9886
9902
|
ShowPivotIndicator: boolean;
|
|
9887
9903
|
}
|
|
9888
9904
|
|
|
9905
|
+
interface DynamicImage extends Instance {
|
|
9906
|
+
/**
|
|
9907
|
+
* **DO NOT USE!**
|
|
9908
|
+
*
|
|
9909
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9910
|
+
* @hidden
|
|
9911
|
+
* @deprecated
|
|
9912
|
+
*/
|
|
9913
|
+
readonly _nominal_DynamicImage: unique symbol;
|
|
9914
|
+
Size: Vector2;
|
|
9915
|
+
Clear(this: DynamicImage): void;
|
|
9916
|
+
DrawCircle(this: DynamicImage, center: Vector2, radius: number, color: Color3, alpha: number): void;
|
|
9917
|
+
/**
|
|
9918
|
+
* Tags: CustomLuaState
|
|
9919
|
+
*/
|
|
9920
|
+
ReadPixels(this: DynamicImage, position: Vector2, size: Vector2): unknown;
|
|
9921
|
+
Resize(this: DynamicImage, newSize: Vector2): void;
|
|
9922
|
+
Rotate(this: DynamicImage, degrees: number, resizeCanvas?: boolean): void;
|
|
9923
|
+
}
|
|
9924
|
+
|
|
9889
9925
|
/** 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. */
|
|
9890
9926
|
interface EulerRotationCurve extends Instance {
|
|
9891
9927
|
/**
|
|
@@ -13886,10 +13922,6 @@ interface TextureGuiExperimental extends LayerCollector {
|
|
|
13886
13922
|
*/
|
|
13887
13923
|
readonly _nominal_TextureGuiExperimental: unique symbol;
|
|
13888
13924
|
Size: Vector2;
|
|
13889
|
-
/**
|
|
13890
|
-
* Tags: NotReplicated
|
|
13891
|
-
*/
|
|
13892
|
-
readonly TemporaryId: string;
|
|
13893
13925
|
}
|
|
13894
13926
|
|
|
13895
13927
|
/** An abstract class for 3D GUI elements that are rendered in the world. */
|
|
@@ -14556,6 +14588,14 @@ interface GuiService extends Instance {
|
|
|
14556
14588
|
* Tags: NotReplicated
|
|
14557
14589
|
*/
|
|
14558
14590
|
readonly MenuIsOpen: boolean;
|
|
14591
|
+
/**
|
|
14592
|
+
* Tags: Hidden, NotReplicated
|
|
14593
|
+
*/
|
|
14594
|
+
readonly PreferredTransparency: number;
|
|
14595
|
+
/**
|
|
14596
|
+
* Tags: Hidden, NotReplicated
|
|
14597
|
+
*/
|
|
14598
|
+
readonly ReducedMotionEnabled: boolean;
|
|
14559
14599
|
/**
|
|
14560
14600
|
* Sets the [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject) currently being focused on by the GUI Navigator (used for Gamepads). This may reset to nil if the object is off-screen.
|
|
14561
14601
|
*
|
|
@@ -15694,6 +15734,10 @@ interface Humanoid extends Instance {
|
|
|
15694
15734
|
* GetLimb will throw an error if the [Part's](https://developer.roblox.com/en-us/api-reference/class/Part) parent is not set to the [Humanoid's](https://developer.roblox.com/en-us/api-reference/class/Humanoid) parent.
|
|
15695
15735
|
*/
|
|
15696
15736
|
GetLimb(this: Humanoid, part: BasePart): Enum.Limb;
|
|
15737
|
+
/**
|
|
15738
|
+
* Tags: NotBrowsable
|
|
15739
|
+
*/
|
|
15740
|
+
GetMoveVelocity(this: Humanoid): Vector3;
|
|
15697
15741
|
/**
|
|
15698
15742
|
* This function returns an array of all [AnimationTracks](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) that are currently being played on the [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid).
|
|
15699
15743
|
*
|
|
@@ -16859,30 +16903,6 @@ interface IXPService extends Instance {
|
|
|
16859
16903
|
readonly _nominal_IXPService: unique symbol;
|
|
16860
16904
|
}
|
|
16861
16905
|
|
|
16862
|
-
interface ImageDataExperimental extends Instance {
|
|
16863
|
-
/**
|
|
16864
|
-
* **DO NOT USE!**
|
|
16865
|
-
*
|
|
16866
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
16867
|
-
* @hidden
|
|
16868
|
-
* @deprecated
|
|
16869
|
-
*/
|
|
16870
|
-
readonly _nominal_ImageDataExperimental: unique symbol;
|
|
16871
|
-
Size: Vector2;
|
|
16872
|
-
/**
|
|
16873
|
-
* Tags: NotReplicated
|
|
16874
|
-
*/
|
|
16875
|
-
readonly TemporaryId: string;
|
|
16876
|
-
Clear(this: ImageDataExperimental): void;
|
|
16877
|
-
DrawCircle(this: ImageDataExperimental, center: Vector2, radius: number, color: Color3, alpha: number): void;
|
|
16878
|
-
Resize(this: ImageDataExperimental, newSize: Vector2): void;
|
|
16879
|
-
Rotate(this: ImageDataExperimental, degrees: number, resizeCanvas?: boolean): void;
|
|
16880
|
-
/**
|
|
16881
|
-
* Tags: Yields
|
|
16882
|
-
*/
|
|
16883
|
-
PopulateFromImageAsync(this: ImageDataExperimental, textureId: string): void;
|
|
16884
|
-
}
|
|
16885
|
-
|
|
16886
16906
|
interface IncrementalPatchBuilder extends Instance {
|
|
16887
16907
|
/**
|
|
16888
16908
|
* **DO NOT USE!**
|
|
@@ -22091,25 +22111,6 @@ interface MemoryStoreSortedMap extends Instance {
|
|
|
22091
22111
|
): T;
|
|
22092
22112
|
}
|
|
22093
22113
|
|
|
22094
|
-
interface MeshDataExperimental extends Instance {
|
|
22095
|
-
/**
|
|
22096
|
-
* **DO NOT USE!**
|
|
22097
|
-
*
|
|
22098
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
22099
|
-
* @hidden
|
|
22100
|
-
* @deprecated
|
|
22101
|
-
*/
|
|
22102
|
-
readonly _nominal_MeshDataExperimental: unique symbol;
|
|
22103
|
-
/**
|
|
22104
|
-
* Tags: NotReplicated
|
|
22105
|
-
*/
|
|
22106
|
-
readonly Size: Vector3;
|
|
22107
|
-
/**
|
|
22108
|
-
* Tags: Yields
|
|
22109
|
-
*/
|
|
22110
|
-
PopulateFromMeshAsync(this: MeshDataExperimental, meshId: string): void;
|
|
22111
|
-
}
|
|
22112
|
-
|
|
22113
22114
|
interface MessageBusConnection extends Instance {
|
|
22114
22115
|
/**
|
|
22115
22116
|
* **DO NOT USE!**
|
|
@@ -22796,6 +22797,17 @@ interface OmniRecommendationsService extends Instance {
|
|
|
22796
22797
|
readonly _nominal_OmniRecommendationsService: unique symbol;
|
|
22797
22798
|
}
|
|
22798
22799
|
|
|
22800
|
+
interface OpenCloudApiV1 extends Instance {
|
|
22801
|
+
/**
|
|
22802
|
+
* **DO NOT USE!**
|
|
22803
|
+
*
|
|
22804
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
22805
|
+
* @hidden
|
|
22806
|
+
* @deprecated
|
|
22807
|
+
*/
|
|
22808
|
+
readonly _nominal_OpenCloudApiV1: unique symbol;
|
|
22809
|
+
}
|
|
22810
|
+
|
|
22799
22811
|
interface OpenCloudService extends Instance {
|
|
22800
22812
|
/**
|
|
22801
22813
|
* **DO NOT USE!**
|
|
@@ -22805,6 +22817,7 @@ interface OpenCloudService extends Instance {
|
|
|
22805
22817
|
* @deprecated
|
|
22806
22818
|
*/
|
|
22807
22819
|
readonly _nominal_OpenCloudService: unique symbol;
|
|
22820
|
+
GetApiV1(this: OpenCloudService): OpenCloudApiV1;
|
|
22808
22821
|
}
|
|
22809
22822
|
|
|
22810
22823
|
/** A [PVInstance](https://developer.roblox.com/en-us/api-reference/class/PVInstance) (“Position Velocity Instance”) is an abstract class that cannot be created. It is the base for all objects that have a physical location in the world, specifically [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) and [Models](https://developer.roblox.com/en-us/api-reference/class/Model). */
|
|
@@ -23680,6 +23693,7 @@ interface BasePart extends PVInstance {
|
|
|
23680
23693
|
* Returns true if the game engine automatically decides the network owner for this part.
|
|
23681
23694
|
*/
|
|
23682
23695
|
GetNetworkOwnershipAuto(this: BasePart): boolean;
|
|
23696
|
+
GetNoCollisionConstraints(this: BasePart): Array<Instance>;
|
|
23683
23697
|
/**
|
|
23684
23698
|
* This function used to be relevant when Roblox's lag-compensating interpolation of parts online was internal. The interpolation is now applied to the `CFrame` directly.
|
|
23685
23699
|
* @deprecated
|
|
@@ -26839,6 +26853,28 @@ interface PhysicsService extends Instance {
|
|
|
26839
26853
|
UnregisterCollisionGroup(this: PhysicsService, name: string): void;
|
|
26840
26854
|
}
|
|
26841
26855
|
|
|
26856
|
+
interface PlaceStatsService extends Instance {
|
|
26857
|
+
/**
|
|
26858
|
+
* **DO NOT USE!**
|
|
26859
|
+
*
|
|
26860
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
26861
|
+
* @hidden
|
|
26862
|
+
* @deprecated
|
|
26863
|
+
*/
|
|
26864
|
+
readonly _nominal_PlaceStatsService: unique symbol;
|
|
26865
|
+
}
|
|
26866
|
+
|
|
26867
|
+
interface PlacesService extends Instance {
|
|
26868
|
+
/**
|
|
26869
|
+
* **DO NOT USE!**
|
|
26870
|
+
*
|
|
26871
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
26872
|
+
* @hidden
|
|
26873
|
+
* @deprecated
|
|
26874
|
+
*/
|
|
26875
|
+
readonly _nominal_PlacesService: unique symbol;
|
|
26876
|
+
}
|
|
26877
|
+
|
|
26842
26878
|
/** A Player object a client that is currently connected. These objects are added to the [Players](https://developer.roblox.com/en-us/api-reference/class/Players) service when a new player connects, then removed when they eventually disconnect from the server.
|
|
26843
26879
|
*
|
|
26844
26880
|
* The [Instance.Name](https://developer.roblox.com/en-us/api-reference/property/Instance/Name) property reflects the player's username. When saving information about a player, you should use their [Player.UserId](https://developer.roblox.com/en-us/api-reference/property/Player/UserId) since it is possible that a player can change their username.
|
|
@@ -30329,6 +30365,7 @@ interface SocialService extends Instance {
|
|
|
30329
30365
|
* @deprecated
|
|
30330
30366
|
*/
|
|
30331
30367
|
readonly _nominal_SocialService: unique symbol;
|
|
30368
|
+
HideSelfView(this: SocialService): void;
|
|
30332
30369
|
/**
|
|
30333
30370
|
* **PromptGameInvite** will display an invite screen to the given [Player](https://developer.roblox.com/en-us/api-reference/class/Player). On this screen, the player may invite their friends to the current game.
|
|
30334
30371
|
*
|
|
@@ -30336,6 +30373,7 @@ interface SocialService extends Instance {
|
|
|
30336
30373
|
*/
|
|
30337
30374
|
PromptGameInvite(this: SocialService, player: Player, experienceInviteOptions?: ExperienceInviteOptions): void;
|
|
30338
30375
|
PromptIrisInvite(this: SocialService, player: Player, tag: string): void;
|
|
30376
|
+
ShowSelfView(this: SocialService, selfViewPosition?: CastsToEnum<Enum.SelfViewPosition>): void;
|
|
30339
30377
|
/**
|
|
30340
30378
|
* **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.
|
|
30341
30379
|
*
|
|
@@ -31948,6 +31986,17 @@ interface StudioAssetService extends Instance {
|
|
|
31948
31986
|
readonly _nominal_StudioAssetService: unique symbol;
|
|
31949
31987
|
}
|
|
31950
31988
|
|
|
31989
|
+
interface StudioCallout extends Instance {
|
|
31990
|
+
/**
|
|
31991
|
+
* **DO NOT USE!**
|
|
31992
|
+
*
|
|
31993
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31994
|
+
* @hidden
|
|
31995
|
+
* @deprecated
|
|
31996
|
+
*/
|
|
31997
|
+
readonly _nominal_StudioCallout: unique symbol;
|
|
31998
|
+
}
|
|
31999
|
+
|
|
31951
32000
|
interface StudioDeviceEmulatorService extends Instance {
|
|
31952
32001
|
/**
|
|
31953
32002
|
* **DO NOT USE!**
|
|
@@ -31959,6 +32008,28 @@ interface StudioDeviceEmulatorService extends Instance {
|
|
|
31959
32008
|
readonly _nominal_StudioDeviceEmulatorService: unique symbol;
|
|
31960
32009
|
}
|
|
31961
32010
|
|
|
32011
|
+
interface StudioObjectBase extends Instance {
|
|
32012
|
+
/**
|
|
32013
|
+
* **DO NOT USE!**
|
|
32014
|
+
*
|
|
32015
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
32016
|
+
* @hidden
|
|
32017
|
+
* @deprecated
|
|
32018
|
+
*/
|
|
32019
|
+
readonly _nominal_StudioObjectBase: unique symbol;
|
|
32020
|
+
}
|
|
32021
|
+
|
|
32022
|
+
interface StudioWidget extends StudioObjectBase {
|
|
32023
|
+
/**
|
|
32024
|
+
* **DO NOT USE!**
|
|
32025
|
+
*
|
|
32026
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
32027
|
+
* @hidden
|
|
32028
|
+
* @deprecated
|
|
32029
|
+
*/
|
|
32030
|
+
readonly _nominal_StudioWidget: unique symbol;
|
|
32031
|
+
}
|
|
32032
|
+
|
|
31962
32033
|
interface StudioPublishService extends Instance {
|
|
31963
32034
|
/**
|
|
31964
32035
|
* **DO NOT USE!**
|
|
@@ -37218,6 +37289,17 @@ interface VideoCaptureService extends Instance {
|
|
|
37218
37289
|
readonly _nominal_VideoCaptureService: unique symbol;
|
|
37219
37290
|
}
|
|
37220
37291
|
|
|
37292
|
+
interface VideoService extends Instance {
|
|
37293
|
+
/**
|
|
37294
|
+
* **DO NOT USE!**
|
|
37295
|
+
*
|
|
37296
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37297
|
+
* @hidden
|
|
37298
|
+
* @deprecated
|
|
37299
|
+
*/
|
|
37300
|
+
readonly _nominal_VideoService: unique symbol;
|
|
37301
|
+
}
|
|
37302
|
+
|
|
37221
37303
|
interface VisibilityCheckDispatcher extends Instance {
|
|
37222
37304
|
/**
|
|
37223
37305
|
* **DO NOT USE!**
|
|
@@ -37293,7 +37375,7 @@ interface VoiceChatInternal extends Instance {
|
|
|
37293
37375
|
/**
|
|
37294
37376
|
* @deprecated
|
|
37295
37377
|
*/
|
|
37296
|
-
JoinByGroupIdToken(this: VoiceChatInternal, groupId: string, isMicMuted?: boolean): boolean;
|
|
37378
|
+
JoinByGroupIdToken(this: VoiceChatInternal, groupId: string, isMicMuted: boolean, isRetry?: boolean): boolean;
|
|
37297
37379
|
/**
|
|
37298
37380
|
* @deprecated
|
|
37299
37381
|
*/
|
|
@@ -326,6 +326,7 @@ interface ChangeHistoryService extends Instance {
|
|
|
326
326
|
* @deprecated
|
|
327
327
|
*/
|
|
328
328
|
readonly _nominal_ChangeHistoryService: unique symbol;
|
|
329
|
+
FinishRecording(this: ChangeHistoryService, identifier: string, operation: CastsToEnum<Enum.FinishRecordingOperation>, finalOptions: object | undefined): void;
|
|
329
330
|
/**
|
|
330
331
|
* Returns whether there are actions that can be redone, and, if there are, returns the last of them.
|
|
331
332
|
*/
|
|
@@ -334,6 +335,7 @@ interface ChangeHistoryService extends Instance {
|
|
|
334
335
|
* Returns whether there are actions that can be undone, and, if there are, returns the last of them.
|
|
335
336
|
*/
|
|
336
337
|
GetCanUndo(this: ChangeHistoryService): unknown;
|
|
338
|
+
IsRecordingInProgress(this: ChangeHistoryService, identifier: string | undefined): boolean;
|
|
337
339
|
/**
|
|
338
340
|
* Executes the last action that was undone.
|
|
339
341
|
*/
|
|
@@ -350,10 +352,13 @@ interface ChangeHistoryService extends Instance {
|
|
|
350
352
|
* Sets a new waypoint which can be used as an undo or redo point.
|
|
351
353
|
*/
|
|
352
354
|
SetWaypoint(this: ChangeHistoryService, name: string): void;
|
|
355
|
+
TryBeginRecording(this: ChangeHistoryService, name: string, displayName: string | undefined): string | undefined;
|
|
353
356
|
/**
|
|
354
357
|
* Undos the last action taken, for which there exists a waypoint.
|
|
355
358
|
*/
|
|
356
359
|
Undo(this: ChangeHistoryService): void;
|
|
360
|
+
readonly OnRecordingFinished: RBXScriptSignal<(name: string, displayName: string | undefined, identifier: string | undefined, operationn: Enum.FinishRecordingOperation, finalOptions: object | undefined) => void>;
|
|
361
|
+
readonly OnRecordingStarted: RBXScriptSignal<(name: string, displayName: string | undefined) => void>;
|
|
357
362
|
/**
|
|
358
363
|
* Fired when the user reverses the undo command. Waypoint describes the type action that has been redone.
|
|
359
364
|
*/
|
|
@@ -3490,7 +3495,6 @@ interface Studio extends Instance {
|
|
|
3490
3495
|
* If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
|
|
3491
3496
|
*/
|
|
3492
3497
|
DeprecatedObjectsShown: boolean;
|
|
3493
|
-
["Drag Multiple Parts As Single Part"]: boolean;
|
|
3494
3498
|
["Enable Autocomplete"]: boolean;
|
|
3495
3499
|
["Enable CoreScript Debugger"]: boolean;
|
|
3496
3500
|
["Enable Http Sandboxing"]: boolean;
|
|
@@ -3611,7 +3615,6 @@ interface Studio extends Instance {
|
|
|
3611
3615
|
*/
|
|
3612
3616
|
ScriptTimeoutLength: number;
|
|
3613
3617
|
["Scroll Past Last Line"]: boolean;
|
|
3614
|
-
["Search Content For Core Scripts"]: boolean;
|
|
3615
3618
|
/**
|
|
3616
3619
|
* Tags: NotReplicated
|
|
3617
3620
|
*/
|
|
@@ -6063,6 +6063,35 @@ declare namespace Enum {
|
|
|
6063
6063
|
}
|
|
6064
6064
|
export type FilterResult = FilterResult.Rejected | FilterResult.Accepted;
|
|
6065
6065
|
|
|
6066
|
+
export namespace FinishRecordingOperation {
|
|
6067
|
+
export interface Cancel extends globalThis.EnumItem {
|
|
6068
|
+
Name: "Cancel";
|
|
6069
|
+
Value: 0;
|
|
6070
|
+
EnumType: typeof globalThis.Enum.FinishRecordingOperation;
|
|
6071
|
+
}
|
|
6072
|
+
|
|
6073
|
+
export const Cancel: Cancel;
|
|
6074
|
+
|
|
6075
|
+
export interface Commit extends globalThis.EnumItem {
|
|
6076
|
+
Name: "Commit";
|
|
6077
|
+
Value: 1;
|
|
6078
|
+
EnumType: typeof globalThis.Enum.FinishRecordingOperation;
|
|
6079
|
+
}
|
|
6080
|
+
|
|
6081
|
+
export const Commit: Commit;
|
|
6082
|
+
|
|
6083
|
+
export interface Append extends globalThis.EnumItem {
|
|
6084
|
+
Name: "Append";
|
|
6085
|
+
Value: 2;
|
|
6086
|
+
EnumType: typeof globalThis.Enum.FinishRecordingOperation;
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
export const Append: Append;
|
|
6090
|
+
|
|
6091
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.FinishRecordingOperation>;
|
|
6092
|
+
}
|
|
6093
|
+
export type FinishRecordingOperation = FinishRecordingOperation.Cancel | FinishRecordingOperation.Commit | FinishRecordingOperation.Append;
|
|
6094
|
+
|
|
6066
6095
|
export namespace Font {
|
|
6067
6096
|
export interface Legacy extends globalThis.EnumItem {
|
|
6068
6097
|
Name: "Legacy";
|
|
@@ -14544,6 +14573,51 @@ declare namespace Enum {
|
|
|
14544
14573
|
}
|
|
14545
14574
|
export type SelectionRenderMode = SelectionRenderMode.Outlines | SelectionRenderMode.BoundingBoxes | SelectionRenderMode.Both;
|
|
14546
14575
|
|
|
14576
|
+
export namespace SelfViewPosition {
|
|
14577
|
+
export interface LastPosition extends globalThis.EnumItem {
|
|
14578
|
+
Name: "LastPosition";
|
|
14579
|
+
Value: 0;
|
|
14580
|
+
EnumType: typeof globalThis.Enum.SelfViewPosition;
|
|
14581
|
+
}
|
|
14582
|
+
|
|
14583
|
+
export const LastPosition: LastPosition;
|
|
14584
|
+
|
|
14585
|
+
export interface TopLeft extends globalThis.EnumItem {
|
|
14586
|
+
Name: "TopLeft";
|
|
14587
|
+
Value: 1;
|
|
14588
|
+
EnumType: typeof globalThis.Enum.SelfViewPosition;
|
|
14589
|
+
}
|
|
14590
|
+
|
|
14591
|
+
export const TopLeft: TopLeft;
|
|
14592
|
+
|
|
14593
|
+
export interface TopRight extends globalThis.EnumItem {
|
|
14594
|
+
Name: "TopRight";
|
|
14595
|
+
Value: 2;
|
|
14596
|
+
EnumType: typeof globalThis.Enum.SelfViewPosition;
|
|
14597
|
+
}
|
|
14598
|
+
|
|
14599
|
+
export const TopRight: TopRight;
|
|
14600
|
+
|
|
14601
|
+
export interface BottomLeft extends globalThis.EnumItem {
|
|
14602
|
+
Name: "BottomLeft";
|
|
14603
|
+
Value: 3;
|
|
14604
|
+
EnumType: typeof globalThis.Enum.SelfViewPosition;
|
|
14605
|
+
}
|
|
14606
|
+
|
|
14607
|
+
export const BottomLeft: BottomLeft;
|
|
14608
|
+
|
|
14609
|
+
export interface BottomRight extends globalThis.EnumItem {
|
|
14610
|
+
Name: "BottomRight";
|
|
14611
|
+
Value: 4;
|
|
14612
|
+
EnumType: typeof globalThis.Enum.SelfViewPosition;
|
|
14613
|
+
}
|
|
14614
|
+
|
|
14615
|
+
export const BottomRight: BottomRight;
|
|
14616
|
+
|
|
14617
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SelfViewPosition>;
|
|
14618
|
+
}
|
|
14619
|
+
export type SelfViewPosition = SelfViewPosition.LastPosition | SelfViewPosition.TopLeft | SelfViewPosition.TopRight | SelfViewPosition.BottomLeft | SelfViewPosition.BottomRight;
|
|
14620
|
+
|
|
14547
14621
|
export namespace SensorMode {
|
|
14548
14622
|
export interface Floor extends globalThis.EnumItem {
|
|
14549
14623
|
Name: "Floor";
|
package/include/roblox.d.ts
CHANGED
|
@@ -2021,6 +2021,11 @@ interface RaycastParams {
|
|
|
2021
2021
|
* property is omitted, the raycast will assume the **Default** collision group.
|
|
2022
2022
|
*/
|
|
2023
2023
|
CollisionGroup: string;
|
|
2024
|
+
/**
|
|
2025
|
+
* For efficiency and simplicity, this method is the preferred way to add instances to the filter.
|
|
2026
|
+
* It has the additional advantage that it allows FilterDescendantsInstances to be updated from a parallel context.
|
|
2027
|
+
*/
|
|
2028
|
+
AddToFilter(this: RaycastParams, instances: Instance | Array<Instance>): void;
|
|
2024
2029
|
}
|
|
2025
2030
|
|
|
2026
2031
|
type RaycastParamsConstructor = new () => RaycastParams;
|