@rbxts/types 1.0.707 → 1.0.709
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.
|
@@ -23,6 +23,8 @@ interface Services {
|
|
|
23
23
|
CalloutService: CalloutService;
|
|
24
24
|
CaptureService: CaptureService;
|
|
25
25
|
Chat: Chat;
|
|
26
|
+
ChatbotUIService: ChatbotUIService;
|
|
27
|
+
CollaboratorsService: CollaboratorsService;
|
|
26
28
|
CollectionService: CollectionService;
|
|
27
29
|
CommandService: CommandService;
|
|
28
30
|
ConfigureServerService: ConfigureServerService;
|
|
@@ -83,6 +85,7 @@ interface Services {
|
|
|
83
85
|
PhysicsService: PhysicsService;
|
|
84
86
|
PlacesService: PlacesService;
|
|
85
87
|
PlaceStatsService: PlaceStatsService;
|
|
88
|
+
PlatformFriendsService: PlatformFriendsService;
|
|
86
89
|
Players: Players;
|
|
87
90
|
PluginManagementService: PluginManagementService;
|
|
88
91
|
PluginPolicyService: PluginPolicyService;
|
|
@@ -174,6 +177,21 @@ interface CreatableInstances {
|
|
|
174
177
|
ArcHandles: ArcHandles;
|
|
175
178
|
Atmosphere: Atmosphere;
|
|
176
179
|
Attachment: Attachment;
|
|
180
|
+
AudioAnalyzer: AudioAnalyzer;
|
|
181
|
+
AudioChorus: AudioChorus;
|
|
182
|
+
AudioCompressor: AudioCompressor;
|
|
183
|
+
AudioDeviceInput: AudioDeviceInput;
|
|
184
|
+
AudioDeviceOutput: AudioDeviceOutput;
|
|
185
|
+
AudioDistortion: AudioDistortion;
|
|
186
|
+
AudioEcho: AudioEcho;
|
|
187
|
+
AudioEmitter: AudioEmitter;
|
|
188
|
+
AudioEqualizer: AudioEqualizer;
|
|
189
|
+
AudioFader: AudioFader;
|
|
190
|
+
AudioFlanger: AudioFlanger;
|
|
191
|
+
AudioListener: AudioListener;
|
|
192
|
+
AudioPitchShifter: AudioPitchShifter;
|
|
193
|
+
AudioPlayer: AudioPlayer;
|
|
194
|
+
AudioReverb: AudioReverb;
|
|
177
195
|
AudioSearchParams: AudioSearchParams;
|
|
178
196
|
Backpack: Backpack;
|
|
179
197
|
BallSocketConstraint: BallSocketConstraint;
|
|
@@ -394,6 +412,7 @@ interface CreatableInstances {
|
|
|
394
412
|
WedgePart: WedgePart;
|
|
395
413
|
Weld: Weld;
|
|
396
414
|
WeldConstraint: WeldConstraint;
|
|
415
|
+
Wire: Wire;
|
|
397
416
|
WireframeHandleAdornment: WireframeHandleAdornment;
|
|
398
417
|
WorldModel: WorldModel;
|
|
399
418
|
WrapLayer: WrapLayer;
|
|
@@ -468,6 +487,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
468
487
|
ChatInputBarConfiguration: ChatInputBarConfiguration;
|
|
469
488
|
ChatWindowConfiguration: ChatWindowConfiguration;
|
|
470
489
|
CloudLocalizationTable: CloudLocalizationTable;
|
|
490
|
+
Collaborator: Collaborator;
|
|
471
491
|
CommandInstance: CommandInstance;
|
|
472
492
|
ControllerBase: ControllerBase;
|
|
473
493
|
ControllerSensor: ControllerSensor;
|
|
@@ -2626,6 +2646,244 @@ interface Bone extends Attachment {
|
|
|
2626
2646
|
readonly TransformedWorldCFrame: CFrame;
|
|
2627
2647
|
}
|
|
2628
2648
|
|
|
2649
|
+
interface AudioAnalyzer extends Instance {
|
|
2650
|
+
/**
|
|
2651
|
+
* **DO NOT USE!**
|
|
2652
|
+
*
|
|
2653
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2654
|
+
* @hidden
|
|
2655
|
+
* @deprecated
|
|
2656
|
+
*/
|
|
2657
|
+
readonly _nominal_AudioAnalyzer: unique symbol;
|
|
2658
|
+
/**
|
|
2659
|
+
* Tags: NotReplicated
|
|
2660
|
+
*/
|
|
2661
|
+
readonly PeakLevel: number;
|
|
2662
|
+
/**
|
|
2663
|
+
* Tags: NotReplicated
|
|
2664
|
+
*/
|
|
2665
|
+
readonly RmsLevel: number;
|
|
2666
|
+
/**
|
|
2667
|
+
* Tags: CustomLuaState
|
|
2668
|
+
*/
|
|
2669
|
+
GetSpectrum(this: AudioAnalyzer): unknown;
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
interface AudioChorus extends Instance {
|
|
2673
|
+
/**
|
|
2674
|
+
* **DO NOT USE!**
|
|
2675
|
+
*
|
|
2676
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2677
|
+
* @hidden
|
|
2678
|
+
* @deprecated
|
|
2679
|
+
*/
|
|
2680
|
+
readonly _nominal_AudioChorus: unique symbol;
|
|
2681
|
+
Depth: number;
|
|
2682
|
+
Mix: number;
|
|
2683
|
+
Rate: number;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
interface AudioCompressor extends Instance {
|
|
2687
|
+
/**
|
|
2688
|
+
* **DO NOT USE!**
|
|
2689
|
+
*
|
|
2690
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2691
|
+
* @hidden
|
|
2692
|
+
* @deprecated
|
|
2693
|
+
*/
|
|
2694
|
+
readonly _nominal_AudioCompressor: unique symbol;
|
|
2695
|
+
Attack: number;
|
|
2696
|
+
MakeupGain: number;
|
|
2697
|
+
Ratio: number;
|
|
2698
|
+
Release: number;
|
|
2699
|
+
Threshold: number;
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
interface AudioDeviceInput extends Instance {
|
|
2703
|
+
/**
|
|
2704
|
+
* **DO NOT USE!**
|
|
2705
|
+
*
|
|
2706
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2707
|
+
* @hidden
|
|
2708
|
+
* @deprecated
|
|
2709
|
+
*/
|
|
2710
|
+
readonly _nominal_AudioDeviceInput: unique symbol;
|
|
2711
|
+
AccessType: Enum.AccessModifierType;
|
|
2712
|
+
readonly Active: boolean;
|
|
2713
|
+
Muted: boolean;
|
|
2714
|
+
Player: Player | undefined;
|
|
2715
|
+
GetUserIdAccessList(this: AudioDeviceInput): unknown;
|
|
2716
|
+
SetUserIdAccessList(this: AudioDeviceInput, userIds: Array<any>): void;
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
interface AudioDeviceOutput extends Instance {
|
|
2720
|
+
/**
|
|
2721
|
+
* **DO NOT USE!**
|
|
2722
|
+
*
|
|
2723
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2724
|
+
* @hidden
|
|
2725
|
+
* @deprecated
|
|
2726
|
+
*/
|
|
2727
|
+
readonly _nominal_AudioDeviceOutput: unique symbol;
|
|
2728
|
+
Player: Player | undefined;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
interface AudioDistortion extends Instance {
|
|
2732
|
+
/**
|
|
2733
|
+
* **DO NOT USE!**
|
|
2734
|
+
*
|
|
2735
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2736
|
+
* @hidden
|
|
2737
|
+
* @deprecated
|
|
2738
|
+
*/
|
|
2739
|
+
readonly _nominal_AudioDistortion: unique symbol;
|
|
2740
|
+
Level: number;
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
interface AudioEcho extends Instance {
|
|
2744
|
+
/**
|
|
2745
|
+
* **DO NOT USE!**
|
|
2746
|
+
*
|
|
2747
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2748
|
+
* @hidden
|
|
2749
|
+
* @deprecated
|
|
2750
|
+
*/
|
|
2751
|
+
readonly _nominal_AudioEcho: unique symbol;
|
|
2752
|
+
DelayTime: number;
|
|
2753
|
+
DryLevel: number;
|
|
2754
|
+
Feedback: number;
|
|
2755
|
+
WetLevel: number;
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
interface AudioEmitter extends Instance {
|
|
2759
|
+
/**
|
|
2760
|
+
* **DO NOT USE!**
|
|
2761
|
+
*
|
|
2762
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2763
|
+
* @hidden
|
|
2764
|
+
* @deprecated
|
|
2765
|
+
*/
|
|
2766
|
+
readonly _nominal_AudioEmitter: unique symbol;
|
|
2767
|
+
AudioInteractionGroup: string;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
interface AudioEqualizer extends Instance {
|
|
2771
|
+
/**
|
|
2772
|
+
* **DO NOT USE!**
|
|
2773
|
+
*
|
|
2774
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2775
|
+
* @hidden
|
|
2776
|
+
* @deprecated
|
|
2777
|
+
*/
|
|
2778
|
+
readonly _nominal_AudioEqualizer: unique symbol;
|
|
2779
|
+
HighGain: number;
|
|
2780
|
+
LowGain: number;
|
|
2781
|
+
MidGain: number;
|
|
2782
|
+
MidRange: NumberRange;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
interface AudioFader extends Instance {
|
|
2786
|
+
/**
|
|
2787
|
+
* **DO NOT USE!**
|
|
2788
|
+
*
|
|
2789
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2790
|
+
* @hidden
|
|
2791
|
+
* @deprecated
|
|
2792
|
+
*/
|
|
2793
|
+
readonly _nominal_AudioFader: unique symbol;
|
|
2794
|
+
Volume: number;
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
interface AudioFlanger extends Instance {
|
|
2798
|
+
/**
|
|
2799
|
+
* **DO NOT USE!**
|
|
2800
|
+
*
|
|
2801
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2802
|
+
* @hidden
|
|
2803
|
+
* @deprecated
|
|
2804
|
+
*/
|
|
2805
|
+
readonly _nominal_AudioFlanger: unique symbol;
|
|
2806
|
+
Depth: number;
|
|
2807
|
+
Mix: number;
|
|
2808
|
+
Rate: number;
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
interface AudioListener extends Instance {
|
|
2812
|
+
/**
|
|
2813
|
+
* **DO NOT USE!**
|
|
2814
|
+
*
|
|
2815
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2816
|
+
* @hidden
|
|
2817
|
+
* @deprecated
|
|
2818
|
+
*/
|
|
2819
|
+
readonly _nominal_AudioListener: unique symbol;
|
|
2820
|
+
AudioInteractionGroup: string;
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
interface AudioPitchShifter extends Instance {
|
|
2824
|
+
/**
|
|
2825
|
+
* **DO NOT USE!**
|
|
2826
|
+
*
|
|
2827
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2828
|
+
* @hidden
|
|
2829
|
+
* @deprecated
|
|
2830
|
+
*/
|
|
2831
|
+
readonly _nominal_AudioPitchShifter: unique symbol;
|
|
2832
|
+
Pitch: number;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
interface AudioPlayer extends Instance {
|
|
2836
|
+
/**
|
|
2837
|
+
* **DO NOT USE!**
|
|
2838
|
+
*
|
|
2839
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2840
|
+
* @hidden
|
|
2841
|
+
* @deprecated
|
|
2842
|
+
*/
|
|
2843
|
+
readonly _nominal_AudioPlayer: unique symbol;
|
|
2844
|
+
AssetId: string;
|
|
2845
|
+
AutoLoad: boolean;
|
|
2846
|
+
readonly IsPlaying: boolean;
|
|
2847
|
+
/**
|
|
2848
|
+
* Tags: NotReplicated
|
|
2849
|
+
*/
|
|
2850
|
+
readonly IsReady: boolean;
|
|
2851
|
+
LoopRegion: NumberRange;
|
|
2852
|
+
Looping: boolean;
|
|
2853
|
+
PlaybackRegion: NumberRange;
|
|
2854
|
+
PlaybackSpeed: number;
|
|
2855
|
+
/**
|
|
2856
|
+
* Tags: NotReplicated
|
|
2857
|
+
*/
|
|
2858
|
+
readonly TimeLength: number;
|
|
2859
|
+
TimePosition: number;
|
|
2860
|
+
Play(this: AudioPlayer): void;
|
|
2861
|
+
Stop(this: AudioPlayer): void;
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
interface AudioReverb extends Instance {
|
|
2865
|
+
/**
|
|
2866
|
+
* **DO NOT USE!**
|
|
2867
|
+
*
|
|
2868
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2869
|
+
* @hidden
|
|
2870
|
+
* @deprecated
|
|
2871
|
+
*/
|
|
2872
|
+
readonly _nominal_AudioReverb: unique symbol;
|
|
2873
|
+
DecayRatio: number;
|
|
2874
|
+
DecayTime: number;
|
|
2875
|
+
Density: number;
|
|
2876
|
+
Diffusion: number;
|
|
2877
|
+
DryLevel: number;
|
|
2878
|
+
EarlyDelayTime: number;
|
|
2879
|
+
HighCutFrequency: number;
|
|
2880
|
+
LateDelayTime: number;
|
|
2881
|
+
LowShelfFrequency: number;
|
|
2882
|
+
LowShelfGain: number;
|
|
2883
|
+
ReferenceFrequency: number;
|
|
2884
|
+
WetLevel: number;
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2629
2887
|
interface AudioSearchParams extends Instance {
|
|
2630
2888
|
/**
|
|
2631
2889
|
* **DO NOT USE!**
|
|
@@ -6562,6 +6820,17 @@ interface Chat extends Instance {
|
|
|
6562
6820
|
readonly Chatted: RBXScriptSignal<(part: BasePart, message: string, color: Enum.ChatColor) => void>;
|
|
6563
6821
|
}
|
|
6564
6822
|
|
|
6823
|
+
interface ChatbotUIService extends Instance {
|
|
6824
|
+
/**
|
|
6825
|
+
* **DO NOT USE!**
|
|
6826
|
+
*
|
|
6827
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
6828
|
+
* @hidden
|
|
6829
|
+
* @deprecated
|
|
6830
|
+
*/
|
|
6831
|
+
readonly _nominal_ChatbotUIService: unique symbol;
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6565
6834
|
/**  
|
|
6566
6835
|
*
|
|
6567
6836
|
* **ClickDetector** allows [Scripts](https://developer.roblox.com/en-us/api-reference/class/Script) and [LocalScripts](https://developer.roblox.com/en-us/api-reference/class/LocalScript) to receive pointer input on 3D objects through their [MouseClick](https://developer.roblox.com/en-us/api-reference/event/ClickDetector/MouseClick) event. They work when parented to [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart), [Model](https://developer.roblox.com/en-us/api-reference/class/Model) or [Folder](https://developer.roblox.com/en-us/api-reference/class/Folder) objects. They detect basic mouse events: enter, leave, left click and right click. Touch input on [TouchEnabled](https://developer.roblox.com/en-us/api-reference/property/UserInputService/TouchEnabled) devices also fires click events.
|
|
@@ -6750,6 +7019,31 @@ interface Clouds extends Instance {
|
|
|
6750
7019
|
Enabled: boolean;
|
|
6751
7020
|
}
|
|
6752
7021
|
|
|
7022
|
+
interface Collaborator extends Instance {
|
|
7023
|
+
/**
|
|
7024
|
+
* **DO NOT USE!**
|
|
7025
|
+
*
|
|
7026
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7027
|
+
* @hidden
|
|
7028
|
+
* @deprecated
|
|
7029
|
+
*/
|
|
7030
|
+
readonly _nominal_Collaborator: unique symbol;
|
|
7031
|
+
CFrame: CFrame;
|
|
7032
|
+
UserId: number;
|
|
7033
|
+
Username: string;
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
interface CollaboratorsService extends Instance {
|
|
7037
|
+
/**
|
|
7038
|
+
* **DO NOT USE!**
|
|
7039
|
+
*
|
|
7040
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7041
|
+
* @hidden
|
|
7042
|
+
* @deprecated
|
|
7043
|
+
*/
|
|
7044
|
+
readonly _nominal_CollaboratorsService: unique symbol;
|
|
7045
|
+
}
|
|
7046
|
+
|
|
6753
7047
|
/** The [CollectionService](https://developer.roblox.com/en-us/api-reference/class/CollectionService) manages groups (collections) of instances with tags. Tags are sets of strings applied to objects that replicate from the server to the client and in Team Create. They are also serialized when places are saved. At the moment, tags are not visible within Roblox Studio except with the use of a tag-editing plugin.
|
|
6754
7048
|
*
|
|
6755
7049
|
* The primary use of [CollectionService](https://developer.roblox.com/en-us/api-reference/class/CollectionService) is to add flags and/or behaviors to Roblox objects. If you find yourself adding the same script to many different objects, perhaps a script that uses CollectionService would be better. Here are a couple examples:
|
|
@@ -7058,6 +7352,10 @@ interface AlignOrientation extends Constraint {
|
|
|
7058
7352
|
* The orientation of the CFrame determines the goal orientation of the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation) when its [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode) is [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/OrientationAlignmentMode). The translation component of the CFrame is ignored.
|
|
7059
7353
|
*/
|
|
7060
7354
|
CFrame: CFrame;
|
|
7355
|
+
/**
|
|
7356
|
+
* Tags: NotReplicated
|
|
7357
|
+
*/
|
|
7358
|
+
LookAtPosition: Vector3;
|
|
7061
7359
|
/**
|
|
7062
7360
|
* The maximum angular velocity the constraint can use to reach its goal.
|
|
7063
7361
|
*/
|
|
@@ -7160,8 +7458,6 @@ interface AlignPosition extends Constraint {
|
|
|
7160
7458
|
ApplyAtCenterOfMass: boolean;
|
|
7161
7459
|
/**
|
|
7162
7460
|
* Selects the mode for force limit. Options Uniform or Per-component
|
|
7163
|
-
*
|
|
7164
|
-
* Tags: NotBrowsable
|
|
7165
7461
|
*/
|
|
7166
7462
|
ForceLimitMode: Enum.ForceLimitMode;
|
|
7167
7463
|
ForceRelativeTo: Enum.ActuatorRelativeTo;
|
|
@@ -9922,7 +10218,7 @@ interface DynamicImage extends Instance {
|
|
|
9922
10218
|
readonly _nominal_DynamicImage: unique symbol;
|
|
9923
10219
|
Size: Vector2;
|
|
9924
10220
|
Clear(this: DynamicImage): void;
|
|
9925
|
-
DrawCircle(this: DynamicImage, center: Vector2, radius: number, color: Color3,
|
|
10221
|
+
DrawCircle(this: DynamicImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
|
|
9926
10222
|
/**
|
|
9927
10223
|
* Tags: CustomLuaState
|
|
9928
10224
|
*/
|
|
@@ -11485,6 +11781,11 @@ interface GuiObject extends GuiBase2d {
|
|
|
11485
11781
|
* @deprecated
|
|
11486
11782
|
*/
|
|
11487
11783
|
Draggable: boolean;
|
|
11784
|
+
/**
|
|
11785
|
+
* Tags: NotReplicated
|
|
11786
|
+
*/
|
|
11787
|
+
readonly GuiState: Enum.GuiState;
|
|
11788
|
+
Interactable: boolean;
|
|
11488
11789
|
/**
|
|
11489
11790
|
* This property controls the sorting order of a [GUI](https://developer.roblox.com/en-us/api-reference/class/GuiObject) when using a [UIGridStyleLayout](https://developer.roblox.com/en-us/api-reference/class/UIGridStyleLayout) (such as [UIListLayout](https://developer.roblox.com/en-us/api-reference/class/UIListLayout) or [UIPageLayout](https://developer.roblox.com/en-us/api-reference/class/UIPageLayout)) with [UIGridStyleLayout.SortOrder](https://developer.roblox.com/en-us/api-reference/property/UIGridStyleLayout/SortOrder) set to [Enum.SortOrder.LayoutOrder](https://developer.roblox.com/en-us/api-reference/enum/SortOrder). It has no functionality if the GUI does not have a sibling UI Layout.
|
|
11490
11791
|
*
|
|
@@ -21591,14 +21892,6 @@ interface MarketplaceService extends Instance {
|
|
|
21591
21892
|
equipIfPurchased?: boolean,
|
|
21592
21893
|
currencyType?: CastsToEnum<Enum.CurrencyType>,
|
|
21593
21894
|
): void;
|
|
21594
|
-
/**
|
|
21595
|
-
* @deprecated
|
|
21596
|
-
*/
|
|
21597
|
-
PromptSubscriptionCancellation(this: MarketplaceService, player: Player, subscriptionId: number): void;
|
|
21598
|
-
/**
|
|
21599
|
-
* @deprecated
|
|
21600
|
-
*/
|
|
21601
|
-
PromptSubscriptionPurchase(this: MarketplaceService, player: Player, subscriptionId: number): void;
|
|
21602
21895
|
/**
|
|
21603
21896
|
* 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.
|
|
21604
21897
|
*
|
|
@@ -21824,11 +22117,6 @@ interface MarketplaceService extends Instance {
|
|
|
21824
22117
|
id: number,
|
|
21825
22118
|
infoType?: CastsToEnum<Enum.InfoType>,
|
|
21826
22119
|
): AssetProductInfo | BundleInfo | GamePassProductInfo | DeveloperProductInfo | SubscriptionProductInfo;
|
|
21827
|
-
/**
|
|
21828
|
-
* Tags: Yields
|
|
21829
|
-
* @deprecated
|
|
21830
|
-
*/
|
|
21831
|
-
IsPlayerSubscribed(this: MarketplaceService, player: Player, subscriptionId: number): boolean;
|
|
21832
22120
|
/**
|
|
21833
22121
|
* Returns whether the inventory of given [Player](https://developer.roblox.com/en-us/api-reference/class/Player) contains an asset, given the ID. This method can query for hats, models, sounds, etc. This function takes a small amount of time to send a request the Roblox website.
|
|
21834
22122
|
*
|
|
@@ -21935,14 +22223,6 @@ interface MarketplaceService extends Instance {
|
|
|
21935
22223
|
* end)
|
|
21936
22224
|
*/
|
|
21937
22225
|
readonly PromptPurchaseFinished: RBXScriptSignal<(player: Player, assetId: number, isPurchased: boolean) => void>;
|
|
21938
|
-
/**
|
|
21939
|
-
* @deprecated
|
|
21940
|
-
*/
|
|
21941
|
-
readonly PromptSubscriptionCancellationFinished: RBXScriptSignal<(player: Player, subscriptionId: number, wasCanceled: boolean) => void>;
|
|
21942
|
-
/**
|
|
21943
|
-
* @deprecated
|
|
21944
|
-
*/
|
|
21945
|
-
readonly PromptSubscriptionPurchaseFinished: RBXScriptSignal<(player: Player, subscriptionId: number, wasPurchased: boolean) => void>;
|
|
21946
22226
|
ProcessReceipt: ((receiptInfo: ReceiptInfo) => Enum.ProductPurchaseDecision) | undefined;
|
|
21947
22227
|
}
|
|
21948
22228
|
|
|
@@ -23887,14 +24167,6 @@ interface BasePart extends PVInstance {
|
|
|
23887
24167
|
parts: Array<BasePart>,
|
|
23888
24168
|
collisionfidelity?: CastsToEnum<Enum.CollisionFidelity>,
|
|
23889
24169
|
): UnionOperation;
|
|
23890
|
-
/**
|
|
23891
|
-
* Tags: Yields
|
|
23892
|
-
*/
|
|
23893
|
-
subtractAsync2_INTERNAL(this: BasePart, parts: Array<Instance>, collisionfidelity?: CastsToEnum<Enum.CollisionFidelity>, renderFidelity?: CastsToEnum<Enum.RenderFidelity>): Array<Instance>;
|
|
23894
|
-
/**
|
|
23895
|
-
* Tags: Yields
|
|
23896
|
-
*/
|
|
23897
|
-
unionAsync2_INTERNAL(this: BasePart, parts: Array<Instance>, collisionfidelity?: CastsToEnum<Enum.CollisionFidelity>, renderFidelity?: CastsToEnum<Enum.RenderFidelity>): Array<Instance>;
|
|
23898
24170
|
/**
|
|
23899
24171
|
* Fired when another part comes in contact with another object. This event only sends data to the client notifying it that two parts have collided, whereas [BasePart.Touched](https://developer.roblox.com/en-us/api-reference/event/BasePart/Touched) sends data to the server.
|
|
23900
24172
|
* @deprecated
|
|
@@ -26897,6 +27169,17 @@ interface PlacesService extends Instance {
|
|
|
26897
27169
|
readonly _nominal_PlacesService: unique symbol;
|
|
26898
27170
|
}
|
|
26899
27171
|
|
|
27172
|
+
interface PlatformFriendsService extends Instance {
|
|
27173
|
+
/**
|
|
27174
|
+
* **DO NOT USE!**
|
|
27175
|
+
*
|
|
27176
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
27177
|
+
* @hidden
|
|
27178
|
+
* @deprecated
|
|
27179
|
+
*/
|
|
27180
|
+
readonly _nominal_PlatformFriendsService: unique symbol;
|
|
27181
|
+
}
|
|
27182
|
+
|
|
26900
27183
|
/** 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.
|
|
26901
27184
|
*
|
|
26902
27185
|
* 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.
|
|
@@ -31681,7 +31964,7 @@ interface StarterPlayer extends Instance {
|
|
|
31681
31964
|
*/
|
|
31682
31965
|
AutoJumpEnabled: boolean;
|
|
31683
31966
|
/**
|
|
31684
|
-
* Tags: NotBrowsable
|
|
31967
|
+
* Tags: NotReplicated, NotBrowsable
|
|
31685
31968
|
*/
|
|
31686
31969
|
AvatarJointUpgrade: Enum.AvatarJointUpgrade;
|
|
31687
31970
|
/**
|
|
@@ -33453,6 +33736,7 @@ interface ChatInputBarConfiguration extends TextChatConfigurations {
|
|
|
33453
33736
|
* Tags: NotReplicated
|
|
33454
33737
|
*/
|
|
33455
33738
|
readonly AbsoluteSize: Vector2;
|
|
33739
|
+
AutocompleteEnabled: boolean;
|
|
33456
33740
|
BackgroundColor3: Color3;
|
|
33457
33741
|
BackgroundTransparency: number;
|
|
33458
33742
|
Enabled: boolean;
|
|
@@ -37640,3 +37924,22 @@ interface WeldConstraint extends Instance {
|
|
|
37640
37924
|
Part1: BasePart | undefined;
|
|
37641
37925
|
}
|
|
37642
37926
|
|
|
37927
|
+
interface Wire extends Instance {
|
|
37928
|
+
/**
|
|
37929
|
+
* **DO NOT USE!**
|
|
37930
|
+
*
|
|
37931
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37932
|
+
* @hidden
|
|
37933
|
+
* @deprecated
|
|
37934
|
+
*/
|
|
37935
|
+
readonly _nominal_Wire: unique symbol;
|
|
37936
|
+
/**
|
|
37937
|
+
* Tags: NotReplicated
|
|
37938
|
+
*/
|
|
37939
|
+
readonly Connected: boolean;
|
|
37940
|
+
SourceInstance: Instance | undefined;
|
|
37941
|
+
SourceName: string;
|
|
37942
|
+
TargetInstance: Instance | undefined;
|
|
37943
|
+
TargetName: string;
|
|
37944
|
+
}
|
|
37945
|
+
|
|
@@ -2782,6 +2782,7 @@ interface RenderSettings extends Instance {
|
|
|
2782
2782
|
* Sets the graphics quality level in Roblox Studio, when [RenderSettings.EnableFRM](https://developer.roblox.com/en-us/api-reference/property/RenderSettings/EnableFRM) is set to false.
|
|
2783
2783
|
*/
|
|
2784
2784
|
EditQualityLevel: Enum.QualityLevel;
|
|
2785
|
+
["Enable VR Mode"]: boolean;
|
|
2785
2786
|
/**
|
|
2786
2787
|
* Toggles the enabled state of the framerate manager.
|
|
2787
2788
|
*
|
|
@@ -21,6 +21,27 @@ interface Enum {
|
|
|
21
21
|
declare namespace Enum {
|
|
22
22
|
export function GetEnums(this: Enums): Array<Enum>;
|
|
23
23
|
|
|
24
|
+
export namespace AccessModifierType {
|
|
25
|
+
export interface Allow extends globalThis.EnumItem {
|
|
26
|
+
Name: "Allow";
|
|
27
|
+
Value: 0;
|
|
28
|
+
EnumType: typeof globalThis.Enum.AccessModifierType;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const Allow: Allow;
|
|
32
|
+
|
|
33
|
+
export interface Deny extends globalThis.EnumItem {
|
|
34
|
+
Name: "Deny";
|
|
35
|
+
Value: 1;
|
|
36
|
+
EnumType: typeof globalThis.Enum.AccessModifierType;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const Deny: Deny;
|
|
40
|
+
|
|
41
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AccessModifierType>;
|
|
42
|
+
}
|
|
43
|
+
export type AccessModifierType = AccessModifierType.Allow | AccessModifierType.Deny;
|
|
44
|
+
|
|
24
45
|
export namespace AccessoryType {
|
|
25
46
|
export interface Unknown extends globalThis.EnumItem {
|
|
26
47
|
Name: "Unknown";
|
|
@@ -1459,6 +1480,35 @@ declare namespace Enum {
|
|
|
1459
1480
|
}
|
|
1460
1481
|
export type AudioSubType = AudioSubType.Music | AudioSubType.SoundEffect;
|
|
1461
1482
|
|
|
1483
|
+
export namespace AudioWindowSize {
|
|
1484
|
+
export interface Small extends globalThis.EnumItem {
|
|
1485
|
+
Name: "Small";
|
|
1486
|
+
Value: 0;
|
|
1487
|
+
EnumType: typeof globalThis.Enum.AudioWindowSize;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
export const Small: Small;
|
|
1491
|
+
|
|
1492
|
+
export interface Medium extends globalThis.EnumItem {
|
|
1493
|
+
Name: "Medium";
|
|
1494
|
+
Value: 1;
|
|
1495
|
+
EnumType: typeof globalThis.Enum.AudioWindowSize;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
export const Medium: Medium;
|
|
1499
|
+
|
|
1500
|
+
export interface Large extends globalThis.EnumItem {
|
|
1501
|
+
Name: "Large";
|
|
1502
|
+
Value: 2;
|
|
1503
|
+
EnumType: typeof globalThis.Enum.AudioWindowSize;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export const Large: Large;
|
|
1507
|
+
|
|
1508
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioWindowSize>;
|
|
1509
|
+
}
|
|
1510
|
+
export type AudioWindowSize = AudioWindowSize.Small | AudioWindowSize.Medium | AudioWindowSize.Large;
|
|
1511
|
+
|
|
1462
1512
|
export namespace AutoIndentRule {
|
|
1463
1513
|
export interface Off extends globalThis.EnumItem {
|
|
1464
1514
|
Name: "Off";
|
|
@@ -3769,9 +3819,25 @@ declare namespace Enum {
|
|
|
3769
3819
|
|
|
3770
3820
|
export const ClientServerBoundaryViolation: ClientServerBoundaryViolation;
|
|
3771
3821
|
|
|
3822
|
+
export interface Invalidated extends globalThis.EnumItem {
|
|
3823
|
+
Name: "Invalidated";
|
|
3824
|
+
Value: 10;
|
|
3825
|
+
EnumType: typeof globalThis.Enum.CompletionItemTag;
|
|
3826
|
+
}
|
|
3827
|
+
|
|
3828
|
+
export const Invalidated: Invalidated;
|
|
3829
|
+
|
|
3830
|
+
export interface PutCursorBeforeEnd extends globalThis.EnumItem {
|
|
3831
|
+
Name: "PutCursorBeforeEnd";
|
|
3832
|
+
Value: 11;
|
|
3833
|
+
EnumType: typeof globalThis.Enum.CompletionItemTag;
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
export const PutCursorBeforeEnd: PutCursorBeforeEnd;
|
|
3837
|
+
|
|
3772
3838
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CompletionItemTag>;
|
|
3773
3839
|
}
|
|
3774
|
-
export type CompletionItemTag = CompletionItemTag.Deprecated | CompletionItemTag.IncorrectIndexType | CompletionItemTag.PluginPermissions | CompletionItemTag.CommandLinePermissions | CompletionItemTag.RobloxPermissions | CompletionItemTag.AddParens | CompletionItemTag.PutCursorInParens | CompletionItemTag.TypeCorrect | CompletionItemTag.ClientServerBoundaryViolation;
|
|
3840
|
+
export type CompletionItemTag = CompletionItemTag.Deprecated | CompletionItemTag.IncorrectIndexType | CompletionItemTag.PluginPermissions | CompletionItemTag.CommandLinePermissions | CompletionItemTag.RobloxPermissions | CompletionItemTag.AddParens | CompletionItemTag.PutCursorInParens | CompletionItemTag.TypeCorrect | CompletionItemTag.ClientServerBoundaryViolation | CompletionItemTag.Invalidated | CompletionItemTag.PutCursorBeforeEnd;
|
|
3775
3841
|
|
|
3776
3842
|
export namespace CompletionTriggerKind {
|
|
3777
3843
|
export interface Invoked extends globalThis.EnumItem {
|
|
@@ -7322,6 +7388,43 @@ declare namespace Enum {
|
|
|
7322
7388
|
}
|
|
7323
7389
|
export type GraphicsMode = GraphicsMode.Automatic | GraphicsMode.Direct3D11 | GraphicsMode.OpenGL | GraphicsMode.Metal | GraphicsMode.Vulkan | GraphicsMode.NoGraphics;
|
|
7324
7390
|
|
|
7391
|
+
export namespace GuiState {
|
|
7392
|
+
export interface Idle extends globalThis.EnumItem {
|
|
7393
|
+
Name: "Idle";
|
|
7394
|
+
Value: 0;
|
|
7395
|
+
EnumType: typeof globalThis.Enum.GuiState;
|
|
7396
|
+
}
|
|
7397
|
+
|
|
7398
|
+
export const Idle: Idle;
|
|
7399
|
+
|
|
7400
|
+
export interface Hover extends globalThis.EnumItem {
|
|
7401
|
+
Name: "Hover";
|
|
7402
|
+
Value: 1;
|
|
7403
|
+
EnumType: typeof globalThis.Enum.GuiState;
|
|
7404
|
+
}
|
|
7405
|
+
|
|
7406
|
+
export const Hover: Hover;
|
|
7407
|
+
|
|
7408
|
+
export interface Press extends globalThis.EnumItem {
|
|
7409
|
+
Name: "Press";
|
|
7410
|
+
Value: 2;
|
|
7411
|
+
EnumType: typeof globalThis.Enum.GuiState;
|
|
7412
|
+
}
|
|
7413
|
+
|
|
7414
|
+
export const Press: Press;
|
|
7415
|
+
|
|
7416
|
+
export interface NonInteractable extends globalThis.EnumItem {
|
|
7417
|
+
Name: "NonInteractable";
|
|
7418
|
+
Value: 3;
|
|
7419
|
+
EnumType: typeof globalThis.Enum.GuiState;
|
|
7420
|
+
}
|
|
7421
|
+
|
|
7422
|
+
export const NonInteractable: NonInteractable;
|
|
7423
|
+
|
|
7424
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.GuiState>;
|
|
7425
|
+
}
|
|
7426
|
+
export type GuiState = GuiState.Idle | GuiState.Hover | GuiState.Press | GuiState.NonInteractable;
|
|
7427
|
+
|
|
7325
7428
|
export namespace GuiType {
|
|
7326
7429
|
export interface Core extends globalThis.EnumItem {
|
|
7327
7430
|
Name: "Core";
|
|
@@ -11081,9 +11184,73 @@ declare namespace Enum {
|
|
|
11081
11184
|
|
|
11082
11185
|
export const ForceField: ForceField;
|
|
11083
11186
|
|
|
11187
|
+
export interface Cardboard extends globalThis.EnumItem {
|
|
11188
|
+
Name: "Cardboard";
|
|
11189
|
+
Value: 2304;
|
|
11190
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11191
|
+
}
|
|
11192
|
+
|
|
11193
|
+
export const Cardboard: Cardboard;
|
|
11194
|
+
|
|
11195
|
+
export interface Carpet extends globalThis.EnumItem {
|
|
11196
|
+
Name: "Carpet";
|
|
11197
|
+
Value: 2305;
|
|
11198
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11199
|
+
}
|
|
11200
|
+
|
|
11201
|
+
export const Carpet: Carpet;
|
|
11202
|
+
|
|
11203
|
+
export interface CeramicTiles extends globalThis.EnumItem {
|
|
11204
|
+
Name: "CeramicTiles";
|
|
11205
|
+
Value: 2306;
|
|
11206
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11207
|
+
}
|
|
11208
|
+
|
|
11209
|
+
export const CeramicTiles: CeramicTiles;
|
|
11210
|
+
|
|
11211
|
+
export interface ClayRoofTiles extends globalThis.EnumItem {
|
|
11212
|
+
Name: "ClayRoofTiles";
|
|
11213
|
+
Value: 2307;
|
|
11214
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11215
|
+
}
|
|
11216
|
+
|
|
11217
|
+
export const ClayRoofTiles: ClayRoofTiles;
|
|
11218
|
+
|
|
11219
|
+
export interface RoofShingles extends globalThis.EnumItem {
|
|
11220
|
+
Name: "RoofShingles";
|
|
11221
|
+
Value: 2308;
|
|
11222
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11223
|
+
}
|
|
11224
|
+
|
|
11225
|
+
export const RoofShingles: RoofShingles;
|
|
11226
|
+
|
|
11227
|
+
export interface Leather extends globalThis.EnumItem {
|
|
11228
|
+
Name: "Leather";
|
|
11229
|
+
Value: 2309;
|
|
11230
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11231
|
+
}
|
|
11232
|
+
|
|
11233
|
+
export const Leather: Leather;
|
|
11234
|
+
|
|
11235
|
+
export interface Plaster extends globalThis.EnumItem {
|
|
11236
|
+
Name: "Plaster";
|
|
11237
|
+
Value: 2310;
|
|
11238
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11239
|
+
}
|
|
11240
|
+
|
|
11241
|
+
export const Plaster: Plaster;
|
|
11242
|
+
|
|
11243
|
+
export interface Rubber extends globalThis.EnumItem {
|
|
11244
|
+
Name: "Rubber";
|
|
11245
|
+
Value: 2311;
|
|
11246
|
+
EnumType: typeof globalThis.Enum.Material;
|
|
11247
|
+
}
|
|
11248
|
+
|
|
11249
|
+
export const Rubber: Rubber;
|
|
11250
|
+
|
|
11084
11251
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Material>;
|
|
11085
11252
|
}
|
|
11086
|
-
export type Material = Material.Plastic | Material.Wood | Material.Slate | Material.Concrete | Material.CorrodedMetal | Material.DiamondPlate | Material.Foil | Material.Grass | Material.Ice | Material.Marble | Material.Granite | Material.Brick | Material.Pebble | Material.Sand | Material.Fabric | Material.SmoothPlastic | Material.Metal | Material.WoodPlanks | Material.Cobblestone | Material.Air | Material.Water | Material.Rock | Material.Glacier | Material.Snow | Material.Sandstone | Material.Mud | Material.Basalt | Material.Ground | Material.CrackedLava | Material.Neon | Material.Glass | Material.Asphalt | Material.LeafyGrass | Material.Salt | Material.Limestone | Material.Pavement | Material.ForceField;
|
|
11253
|
+
export type Material = Material.Plastic | Material.Wood | Material.Slate | Material.Concrete | Material.CorrodedMetal | Material.DiamondPlate | Material.Foil | Material.Grass | Material.Ice | Material.Marble | Material.Granite | Material.Brick | Material.Pebble | Material.Sand | Material.Fabric | Material.SmoothPlastic | Material.Metal | Material.WoodPlanks | Material.Cobblestone | Material.Air | Material.Water | Material.Rock | Material.Glacier | Material.Snow | Material.Sandstone | Material.Mud | Material.Basalt | Material.Ground | Material.CrackedLava | Material.Neon | Material.Glass | Material.Asphalt | Material.LeafyGrass | Material.Salt | Material.Limestone | Material.Pavement | Material.ForceField | Material.Cardboard | Material.Carpet | Material.CeramicTiles | Material.ClayRoofTiles | Material.RoofShingles | Material.Leather | Material.Plaster | Material.Rubber;
|
|
11087
11254
|
|
|
11088
11255
|
export namespace MaterialPattern {
|
|
11089
11256
|
export interface Regular extends globalThis.EnumItem {
|