@rbxts/types 1.0.787 → 1.0.789
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 +105 -3
- package/include/generated/enums.d.ts +159 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
interface Services {
|
|
8
8
|
AccountService: AccountService;
|
|
9
|
+
AchievementService: AchievementService;
|
|
9
10
|
ActivityHistoryService: ActivityHistoryService;
|
|
10
11
|
AnalyticsService: AnalyticsService;
|
|
11
12
|
AnimationClipProvider: AnimationClipProvider;
|
|
@@ -206,6 +207,7 @@ interface CreatableInstances {
|
|
|
206
207
|
Animator: Animator;
|
|
207
208
|
ArcHandles: ArcHandles;
|
|
208
209
|
Atmosphere: Atmosphere;
|
|
210
|
+
AtmosphereSensor: AtmosphereSensor;
|
|
209
211
|
Attachment: Attachment;
|
|
210
212
|
AudioAnalyzer: AudioAnalyzer;
|
|
211
213
|
AudioChorus: AudioChorus;
|
|
@@ -217,6 +219,7 @@ interface CreatableInstances {
|
|
|
217
219
|
AudioEmitter: AudioEmitter;
|
|
218
220
|
AudioEqualizer: AudioEqualizer;
|
|
219
221
|
AudioFader: AudioFader;
|
|
222
|
+
AudioFilter: AudioFilter;
|
|
220
223
|
AudioFlanger: AudioFlanger;
|
|
221
224
|
AudioListener: AudioListener;
|
|
222
225
|
AudioPitchShifter: AudioPitchShifter;
|
|
@@ -369,6 +372,7 @@ interface CreatableInstances {
|
|
|
369
372
|
RotateP: RotateP;
|
|
370
373
|
RotateV: RotateV;
|
|
371
374
|
RotationCurve: RotationCurve;
|
|
375
|
+
RTAnimationTracker: RTAnimationTracker;
|
|
372
376
|
ScreenGui: ScreenGui;
|
|
373
377
|
Script: Script;
|
|
374
378
|
ScrollingFrame: ScrollingFrame;
|
|
@@ -1284,6 +1288,7 @@ interface AccessoryDescription extends Instance {
|
|
|
1284
1288
|
Puffiness: number;
|
|
1285
1289
|
Rotation: Vector3;
|
|
1286
1290
|
Scale: Vector3;
|
|
1291
|
+
GetAppliedInstance(this: AccessoryDescription): Instance | undefined;
|
|
1287
1292
|
}
|
|
1288
1293
|
|
|
1289
1294
|
interface AccountService extends Instance {
|
|
@@ -1374,6 +1379,17 @@ interface Hat extends Accoutrement {
|
|
|
1374
1379
|
readonly _nominal_Hat: unique symbol;
|
|
1375
1380
|
}
|
|
1376
1381
|
|
|
1382
|
+
interface AchievementService extends Instance {
|
|
1383
|
+
/**
|
|
1384
|
+
* **DO NOT USE!**
|
|
1385
|
+
*
|
|
1386
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1387
|
+
* @hidden
|
|
1388
|
+
* @deprecated
|
|
1389
|
+
*/
|
|
1390
|
+
readonly _nominal_AchievementService: unique symbol;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1377
1393
|
interface ActivityHistoryService extends Instance {
|
|
1378
1394
|
/**
|
|
1379
1395
|
* **DO NOT USE!**
|
|
@@ -2980,6 +2996,24 @@ interface AudioFader extends Instance {
|
|
|
2980
2996
|
GetConnectedWires(this: AudioFader, pin: string): unknown;
|
|
2981
2997
|
}
|
|
2982
2998
|
|
|
2999
|
+
interface AudioFilter extends Instance {
|
|
3000
|
+
/**
|
|
3001
|
+
* **DO NOT USE!**
|
|
3002
|
+
*
|
|
3003
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3004
|
+
* @hidden
|
|
3005
|
+
* @deprecated
|
|
3006
|
+
*/
|
|
3007
|
+
readonly _nominal_AudioFilter: unique symbol;
|
|
3008
|
+
Bypass: boolean;
|
|
3009
|
+
FilterType: Enum.AudioFilterType;
|
|
3010
|
+
Frequency: number;
|
|
3011
|
+
Gain: number;
|
|
3012
|
+
Q: number;
|
|
3013
|
+
GetConnectedWires(this: AudioFilter, pin: string): unknown;
|
|
3014
|
+
GetGainAt(this: AudioFilter, frequency: number): number;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
2983
3017
|
interface AudioFlanger extends Instance {
|
|
2984
3018
|
/**
|
|
2985
3019
|
* **DO NOT USE!**
|
|
@@ -6871,6 +6905,9 @@ interface CaptureService extends Instance {
|
|
|
6871
6905
|
): void;
|
|
6872
6906
|
readonly CaptureBegan: RBXScriptSignal<() => void>;
|
|
6873
6907
|
readonly CaptureEnded: RBXScriptSignal<() => void>;
|
|
6908
|
+
/**
|
|
6909
|
+
* @deprecated Use `UserCaptureSaved` instead
|
|
6910
|
+
*/
|
|
6874
6911
|
readonly CaptureSaved: RBXScriptSignal<(captureInfo: Record<string, unknown>) => void>;
|
|
6875
6912
|
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: string) => void>;
|
|
6876
6913
|
}
|
|
@@ -10843,11 +10880,11 @@ interface EditableImage extends Instance {
|
|
|
10843
10880
|
Size: Vector2;
|
|
10844
10881
|
Copy(this: EditableImage, min: Vector2, max: Vector2): EditableImage;
|
|
10845
10882
|
Crop(this: EditableImage, min: Vector2, max: Vector2): void;
|
|
10846
|
-
DrawCircle(this: EditableImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
|
|
10883
|
+
DrawCircle(this: EditableImage, center: Vector2, radius: number, color: Color3, transparency: number, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10847
10884
|
DrawImage(this: EditableImage, position: Vector2, image: EditableImage, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10848
|
-
DrawLine(this: EditableImage, p1: Vector2, p2: Vector2, color: Color3, transparency: number): void;
|
|
10885
|
+
DrawLine(this: EditableImage, p1: Vector2, p2: Vector2, color: Color3, transparency: number, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10849
10886
|
DrawProjectionImage(this: EditableImage, mesh: EditableMesh, projection: object, brushConfig: object): void;
|
|
10850
|
-
DrawRectangle(this: EditableImage, position: Vector2, size: Vector2, color: Color3, transparency: number): void;
|
|
10887
|
+
DrawRectangle(this: EditableImage, position: Vector2, size: Vector2, color: Color3, transparency: number, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10851
10888
|
/**
|
|
10852
10889
|
* Tags: CustomLuaState
|
|
10853
10890
|
*/
|
|
@@ -17047,6 +17084,7 @@ interface Humanoid extends Instance {
|
|
|
17047
17084
|
* @deprecated
|
|
17048
17085
|
*/
|
|
17049
17086
|
readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
|
|
17087
|
+
readonly ApplyDescriptionFinished: RBXScriptSignal<(description: HumanoidDescription) => void>;
|
|
17050
17088
|
/**
|
|
17051
17089
|
* Fires when the speed at which a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) is climbing changes.
|
|
17052
17090
|
*
|
|
@@ -30132,6 +30170,39 @@ interface PublishService extends Instance {
|
|
|
30132
30170
|
readonly _nominal_PublishService: unique symbol;
|
|
30133
30171
|
}
|
|
30134
30172
|
|
|
30173
|
+
interface RTAnimationTracker extends Instance {
|
|
30174
|
+
/**
|
|
30175
|
+
* **DO NOT USE!**
|
|
30176
|
+
*
|
|
30177
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
30178
|
+
* @hidden
|
|
30179
|
+
* @deprecated
|
|
30180
|
+
*/
|
|
30181
|
+
readonly _nominal_RTAnimationTracker: unique symbol;
|
|
30182
|
+
/**
|
|
30183
|
+
* Tags: Hidden, NotReplicated
|
|
30184
|
+
*/
|
|
30185
|
+
Active: boolean;
|
|
30186
|
+
/**
|
|
30187
|
+
* Tags: Hidden, NotReplicated
|
|
30188
|
+
*/
|
|
30189
|
+
EnableFallbackAudioInput: boolean;
|
|
30190
|
+
/**
|
|
30191
|
+
* Tags: Hidden, NotReplicated
|
|
30192
|
+
*/
|
|
30193
|
+
SessionName: string;
|
|
30194
|
+
/**
|
|
30195
|
+
* Tags: Hidden, NotReplicated
|
|
30196
|
+
*/
|
|
30197
|
+
readonly TrackerMode: Enum.TrackerMode;
|
|
30198
|
+
/**
|
|
30199
|
+
* Tags: Hidden, NotReplicated
|
|
30200
|
+
*/
|
|
30201
|
+
TrackerType: Enum.TrackerType;
|
|
30202
|
+
readonly TrackerError: RBXScriptSignal<(errorCode: Enum.TrackerError, msg: string) => void>;
|
|
30203
|
+
readonly TrackerPrompt: RBXScriptSignal<(prompt: Enum.TrackerPromptEvent) => void>;
|
|
30204
|
+
}
|
|
30205
|
+
|
|
30135
30206
|
interface ReflectionService extends Instance {
|
|
30136
30207
|
/**
|
|
30137
30208
|
* **DO NOT USE!**
|
|
@@ -30782,10 +30853,22 @@ interface ScreenshotHud extends Instance {
|
|
|
30782
30853
|
CameraButtonPosition: UDim2;
|
|
30783
30854
|
CloseButtonPosition: UDim2;
|
|
30784
30855
|
CloseWhenScreenshotTaken: boolean;
|
|
30856
|
+
/**
|
|
30857
|
+
* Tags: Hidden
|
|
30858
|
+
* @deprecated
|
|
30859
|
+
*/
|
|
30785
30860
|
ExperienceNameOverlayEnabled: boolean;
|
|
30786
30861
|
HideCoreGuiForCaptures: boolean;
|
|
30787
30862
|
HidePlayerGuiForCaptures: boolean;
|
|
30863
|
+
/**
|
|
30864
|
+
* Tags: Hidden
|
|
30865
|
+
* @deprecated
|
|
30866
|
+
*/
|
|
30788
30867
|
OverlayFont: Enum.Font;
|
|
30868
|
+
/**
|
|
30869
|
+
* Tags: Hidden
|
|
30870
|
+
* @deprecated
|
|
30871
|
+
*/
|
|
30789
30872
|
UsernameOverlayEnabled: boolean;
|
|
30790
30873
|
Visible: boolean;
|
|
30791
30874
|
}
|
|
@@ -30963,6 +31046,25 @@ interface SensorBase extends Instance {
|
|
|
30963
31046
|
readonly OnSensorOutputChanged: RBXScriptSignal<() => void>;
|
|
30964
31047
|
}
|
|
30965
31048
|
|
|
31049
|
+
interface AtmosphereSensor extends SensorBase {
|
|
31050
|
+
/**
|
|
31051
|
+
* **DO NOT USE!**
|
|
31052
|
+
*
|
|
31053
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31054
|
+
* @hidden
|
|
31055
|
+
* @deprecated
|
|
31056
|
+
*/
|
|
31057
|
+
readonly _nominal_AtmosphereSensor: unique symbol;
|
|
31058
|
+
/**
|
|
31059
|
+
* Tags: NotReplicated
|
|
31060
|
+
*/
|
|
31061
|
+
readonly AirDensity: number;
|
|
31062
|
+
/**
|
|
31063
|
+
* Tags: NotReplicated
|
|
31064
|
+
*/
|
|
31065
|
+
readonly RelativeWindVelocity: Vector3;
|
|
31066
|
+
}
|
|
31067
|
+
|
|
30966
31068
|
interface BuoyancySensor extends SensorBase {
|
|
30967
31069
|
/**
|
|
30968
31070
|
* **DO NOT USE!**
|
|
@@ -1917,6 +1917,99 @@ declare namespace Enum {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
export type AudioApiRollout = AudioApiRollout.Disabled | AudioApiRollout.Automatic | AudioApiRollout.Enabled;
|
|
1919
1919
|
|
|
1920
|
+
export namespace AudioFilterType {
|
|
1921
|
+
export interface Peak extends globalThis.EnumItem {
|
|
1922
|
+
Name: "Peak";
|
|
1923
|
+
Value: 0;
|
|
1924
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
export const Peak: Peak;
|
|
1928
|
+
|
|
1929
|
+
export interface LowShelf extends globalThis.EnumItem {
|
|
1930
|
+
Name: "LowShelf";
|
|
1931
|
+
Value: 1;
|
|
1932
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
export const LowShelf: LowShelf;
|
|
1936
|
+
|
|
1937
|
+
export interface HighShelf extends globalThis.EnumItem {
|
|
1938
|
+
Name: "HighShelf";
|
|
1939
|
+
Value: 2;
|
|
1940
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
export const HighShelf: HighShelf;
|
|
1944
|
+
|
|
1945
|
+
export interface Lowpass12dB extends globalThis.EnumItem {
|
|
1946
|
+
Name: "Lowpass12dB";
|
|
1947
|
+
Value: 3;
|
|
1948
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
export const Lowpass12dB: Lowpass12dB;
|
|
1952
|
+
|
|
1953
|
+
export interface Lowpass24dB extends globalThis.EnumItem {
|
|
1954
|
+
Name: "Lowpass24dB";
|
|
1955
|
+
Value: 4;
|
|
1956
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
export const Lowpass24dB: Lowpass24dB;
|
|
1960
|
+
|
|
1961
|
+
export interface Lowpass48dB extends globalThis.EnumItem {
|
|
1962
|
+
Name: "Lowpass48dB";
|
|
1963
|
+
Value: 5;
|
|
1964
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
export const Lowpass48dB: Lowpass48dB;
|
|
1968
|
+
|
|
1969
|
+
export interface Highpass12dB extends globalThis.EnumItem {
|
|
1970
|
+
Name: "Highpass12dB";
|
|
1971
|
+
Value: 6;
|
|
1972
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
export const Highpass12dB: Highpass12dB;
|
|
1976
|
+
|
|
1977
|
+
export interface Highpass24dB extends globalThis.EnumItem {
|
|
1978
|
+
Name: "Highpass24dB";
|
|
1979
|
+
Value: 7;
|
|
1980
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
export const Highpass24dB: Highpass24dB;
|
|
1984
|
+
|
|
1985
|
+
export interface Highpass48dB extends globalThis.EnumItem {
|
|
1986
|
+
Name: "Highpass48dB";
|
|
1987
|
+
Value: 8;
|
|
1988
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
export const Highpass48dB: Highpass48dB;
|
|
1992
|
+
|
|
1993
|
+
export interface Bandpass extends globalThis.EnumItem {
|
|
1994
|
+
Name: "Bandpass";
|
|
1995
|
+
Value: 9;
|
|
1996
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export const Bandpass: Bandpass;
|
|
2000
|
+
|
|
2001
|
+
export interface Notch extends globalThis.EnumItem {
|
|
2002
|
+
Name: "Notch";
|
|
2003
|
+
Value: 10;
|
|
2004
|
+
EnumType: typeof globalThis.Enum.AudioFilterType;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
export const Notch: Notch;
|
|
2008
|
+
|
|
2009
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioFilterType>;
|
|
2010
|
+
}
|
|
2011
|
+
export type AudioFilterType = AudioFilterType.Peak | AudioFilterType.LowShelf | AudioFilterType.HighShelf | AudioFilterType.Lowpass12dB | AudioFilterType.Lowpass24dB | AudioFilterType.Lowpass48dB | AudioFilterType.Highpass12dB | AudioFilterType.Highpass24dB | AudioFilterType.Highpass48dB | AudioFilterType.Bandpass | AudioFilterType.Notch;
|
|
2012
|
+
|
|
1920
2013
|
export namespace AudioSubType {
|
|
1921
2014
|
export interface Music extends globalThis.EnumItem {
|
|
1922
2015
|
Name: "Music";
|
|
@@ -14471,6 +14564,43 @@ declare namespace Enum {
|
|
|
14471
14564
|
}
|
|
14472
14565
|
export type PositionAlignmentMode = PositionAlignmentMode.OneAttachment | PositionAlignmentMode.TwoAttachment;
|
|
14473
14566
|
|
|
14567
|
+
export namespace PreferredTextSize {
|
|
14568
|
+
export interface Medium extends globalThis.EnumItem {
|
|
14569
|
+
Name: "Medium";
|
|
14570
|
+
Value: 1;
|
|
14571
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14572
|
+
}
|
|
14573
|
+
|
|
14574
|
+
export const Medium: Medium;
|
|
14575
|
+
|
|
14576
|
+
export interface Large extends globalThis.EnumItem {
|
|
14577
|
+
Name: "Large";
|
|
14578
|
+
Value: 2;
|
|
14579
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14580
|
+
}
|
|
14581
|
+
|
|
14582
|
+
export const Large: Large;
|
|
14583
|
+
|
|
14584
|
+
export interface Larger extends globalThis.EnumItem {
|
|
14585
|
+
Name: "Larger";
|
|
14586
|
+
Value: 3;
|
|
14587
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14588
|
+
}
|
|
14589
|
+
|
|
14590
|
+
export const Larger: Larger;
|
|
14591
|
+
|
|
14592
|
+
export interface Largest extends globalThis.EnumItem {
|
|
14593
|
+
Name: "Largest";
|
|
14594
|
+
Value: 4;
|
|
14595
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14596
|
+
}
|
|
14597
|
+
|
|
14598
|
+
export const Largest: Largest;
|
|
14599
|
+
|
|
14600
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PreferredTextSize>;
|
|
14601
|
+
}
|
|
14602
|
+
export type PreferredTextSize = PreferredTextSize.Medium | PreferredTextSize.Large | PreferredTextSize.Larger | PreferredTextSize.Largest;
|
|
14603
|
+
|
|
14474
14604
|
export namespace PrimalPhysicsSolver {
|
|
14475
14605
|
export interface Default extends globalThis.EnumItem {
|
|
14476
14606
|
Name: "Default";
|
|
@@ -20543,6 +20673,35 @@ declare namespace Enum {
|
|
|
20543
20673
|
}
|
|
20544
20674
|
export type TrackerPromptEvent = TrackerPromptEvent.LODCameraRecommendDisable;
|
|
20545
20675
|
|
|
20676
|
+
export namespace TrackerType {
|
|
20677
|
+
export interface None extends globalThis.EnumItem {
|
|
20678
|
+
Name: "None";
|
|
20679
|
+
Value: 0;
|
|
20680
|
+
EnumType: typeof globalThis.Enum.TrackerType;
|
|
20681
|
+
}
|
|
20682
|
+
|
|
20683
|
+
export const None: None;
|
|
20684
|
+
|
|
20685
|
+
export interface Face extends globalThis.EnumItem {
|
|
20686
|
+
Name: "Face";
|
|
20687
|
+
Value: 1;
|
|
20688
|
+
EnumType: typeof globalThis.Enum.TrackerType;
|
|
20689
|
+
}
|
|
20690
|
+
|
|
20691
|
+
export const Face: Face;
|
|
20692
|
+
|
|
20693
|
+
export interface UpperBody extends globalThis.EnumItem {
|
|
20694
|
+
Name: "UpperBody";
|
|
20695
|
+
Value: 2;
|
|
20696
|
+
EnumType: typeof globalThis.Enum.TrackerType;
|
|
20697
|
+
}
|
|
20698
|
+
|
|
20699
|
+
export const UpperBody: UpperBody;
|
|
20700
|
+
|
|
20701
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TrackerType>;
|
|
20702
|
+
}
|
|
20703
|
+
export type TrackerType = TrackerType.None | TrackerType.Face | TrackerType.UpperBody;
|
|
20704
|
+
|
|
20546
20705
|
export namespace TriStateBoolean {
|
|
20547
20706
|
export interface False extends globalThis.EnumItem {
|
|
20548
20707
|
Name: "False";
|