@rbxts/types 1.0.787 → 1.0.788
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.
|
@@ -206,6 +206,7 @@ interface CreatableInstances {
|
|
|
206
206
|
Animator: Animator;
|
|
207
207
|
ArcHandles: ArcHandles;
|
|
208
208
|
Atmosphere: Atmosphere;
|
|
209
|
+
AtmosphereSensor: AtmosphereSensor;
|
|
209
210
|
Attachment: Attachment;
|
|
210
211
|
AudioAnalyzer: AudioAnalyzer;
|
|
211
212
|
AudioChorus: AudioChorus;
|
|
@@ -369,6 +370,7 @@ interface CreatableInstances {
|
|
|
369
370
|
RotateP: RotateP;
|
|
370
371
|
RotateV: RotateV;
|
|
371
372
|
RotationCurve: RotationCurve;
|
|
373
|
+
RTAnimationTracker: RTAnimationTracker;
|
|
372
374
|
ScreenGui: ScreenGui;
|
|
373
375
|
Script: Script;
|
|
374
376
|
ScrollingFrame: ScrollingFrame;
|
|
@@ -1284,6 +1286,7 @@ interface AccessoryDescription extends Instance {
|
|
|
1284
1286
|
Puffiness: number;
|
|
1285
1287
|
Rotation: Vector3;
|
|
1286
1288
|
Scale: Vector3;
|
|
1289
|
+
GetAppliedInstance(this: AccessoryDescription): Instance | undefined;
|
|
1287
1290
|
}
|
|
1288
1291
|
|
|
1289
1292
|
interface AccountService extends Instance {
|
|
@@ -6871,6 +6874,9 @@ interface CaptureService extends Instance {
|
|
|
6871
6874
|
): void;
|
|
6872
6875
|
readonly CaptureBegan: RBXScriptSignal<() => void>;
|
|
6873
6876
|
readonly CaptureEnded: RBXScriptSignal<() => void>;
|
|
6877
|
+
/**
|
|
6878
|
+
* @deprecated Use `UserCaptureSaved` instead
|
|
6879
|
+
*/
|
|
6874
6880
|
readonly CaptureSaved: RBXScriptSignal<(captureInfo: Record<string, unknown>) => void>;
|
|
6875
6881
|
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: string) => void>;
|
|
6876
6882
|
}
|
|
@@ -10843,11 +10849,11 @@ interface EditableImage extends Instance {
|
|
|
10843
10849
|
Size: Vector2;
|
|
10844
10850
|
Copy(this: EditableImage, min: Vector2, max: Vector2): EditableImage;
|
|
10845
10851
|
Crop(this: EditableImage, min: Vector2, max: Vector2): void;
|
|
10846
|
-
DrawCircle(this: EditableImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
|
|
10852
|
+
DrawCircle(this: EditableImage, center: Vector2, radius: number, color: Color3, transparency: number, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10847
10853
|
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;
|
|
10854
|
+
DrawLine(this: EditableImage, p1: Vector2, p2: Vector2, color: Color3, transparency: number, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10849
10855
|
DrawProjectionImage(this: EditableImage, mesh: EditableMesh, projection: object, brushConfig: object): void;
|
|
10850
|
-
DrawRectangle(this: EditableImage, position: Vector2, size: Vector2, color: Color3, transparency: number): void;
|
|
10856
|
+
DrawRectangle(this: EditableImage, position: Vector2, size: Vector2, color: Color3, transparency: number, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10851
10857
|
/**
|
|
10852
10858
|
* Tags: CustomLuaState
|
|
10853
10859
|
*/
|
|
@@ -17047,6 +17053,7 @@ interface Humanoid extends Instance {
|
|
|
17047
17053
|
* @deprecated
|
|
17048
17054
|
*/
|
|
17049
17055
|
readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
|
|
17056
|
+
readonly ApplyDescriptionFinished: RBXScriptSignal<(description: HumanoidDescription) => void>;
|
|
17050
17057
|
/**
|
|
17051
17058
|
* Fires when the speed at which a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) is climbing changes.
|
|
17052
17059
|
*
|
|
@@ -30132,6 +30139,39 @@ interface PublishService extends Instance {
|
|
|
30132
30139
|
readonly _nominal_PublishService: unique symbol;
|
|
30133
30140
|
}
|
|
30134
30141
|
|
|
30142
|
+
interface RTAnimationTracker extends Instance {
|
|
30143
|
+
/**
|
|
30144
|
+
* **DO NOT USE!**
|
|
30145
|
+
*
|
|
30146
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
30147
|
+
* @hidden
|
|
30148
|
+
* @deprecated
|
|
30149
|
+
*/
|
|
30150
|
+
readonly _nominal_RTAnimationTracker: unique symbol;
|
|
30151
|
+
/**
|
|
30152
|
+
* Tags: Hidden, NotReplicated
|
|
30153
|
+
*/
|
|
30154
|
+
Active: boolean;
|
|
30155
|
+
/**
|
|
30156
|
+
* Tags: Hidden, NotReplicated
|
|
30157
|
+
*/
|
|
30158
|
+
EnableFallbackAudioInput: boolean;
|
|
30159
|
+
/**
|
|
30160
|
+
* Tags: Hidden, NotReplicated
|
|
30161
|
+
*/
|
|
30162
|
+
SessionName: string;
|
|
30163
|
+
/**
|
|
30164
|
+
* Tags: Hidden, NotReplicated
|
|
30165
|
+
*/
|
|
30166
|
+
readonly TrackerMode: Enum.TrackerMode;
|
|
30167
|
+
/**
|
|
30168
|
+
* Tags: Hidden, NotReplicated
|
|
30169
|
+
*/
|
|
30170
|
+
TrackerType: Enum.TrackerType;
|
|
30171
|
+
readonly TrackerError: RBXScriptSignal<(errorCode: Enum.TrackerError, msg: string) => void>;
|
|
30172
|
+
readonly TrackerPrompt: RBXScriptSignal<(prompt: Enum.TrackerPromptEvent) => void>;
|
|
30173
|
+
}
|
|
30174
|
+
|
|
30135
30175
|
interface ReflectionService extends Instance {
|
|
30136
30176
|
/**
|
|
30137
30177
|
* **DO NOT USE!**
|
|
@@ -30782,10 +30822,22 @@ interface ScreenshotHud extends Instance {
|
|
|
30782
30822
|
CameraButtonPosition: UDim2;
|
|
30783
30823
|
CloseButtonPosition: UDim2;
|
|
30784
30824
|
CloseWhenScreenshotTaken: boolean;
|
|
30825
|
+
/**
|
|
30826
|
+
* Tags: Hidden
|
|
30827
|
+
* @deprecated
|
|
30828
|
+
*/
|
|
30785
30829
|
ExperienceNameOverlayEnabled: boolean;
|
|
30786
30830
|
HideCoreGuiForCaptures: boolean;
|
|
30787
30831
|
HidePlayerGuiForCaptures: boolean;
|
|
30832
|
+
/**
|
|
30833
|
+
* Tags: Hidden
|
|
30834
|
+
* @deprecated
|
|
30835
|
+
*/
|
|
30788
30836
|
OverlayFont: Enum.Font;
|
|
30837
|
+
/**
|
|
30838
|
+
* Tags: Hidden
|
|
30839
|
+
* @deprecated
|
|
30840
|
+
*/
|
|
30789
30841
|
UsernameOverlayEnabled: boolean;
|
|
30790
30842
|
Visible: boolean;
|
|
30791
30843
|
}
|
|
@@ -30963,6 +31015,25 @@ interface SensorBase extends Instance {
|
|
|
30963
31015
|
readonly OnSensorOutputChanged: RBXScriptSignal<() => void>;
|
|
30964
31016
|
}
|
|
30965
31017
|
|
|
31018
|
+
interface AtmosphereSensor extends SensorBase {
|
|
31019
|
+
/**
|
|
31020
|
+
* **DO NOT USE!**
|
|
31021
|
+
*
|
|
31022
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31023
|
+
* @hidden
|
|
31024
|
+
* @deprecated
|
|
31025
|
+
*/
|
|
31026
|
+
readonly _nominal_AtmosphereSensor: unique symbol;
|
|
31027
|
+
/**
|
|
31028
|
+
* Tags: NotReplicated
|
|
31029
|
+
*/
|
|
31030
|
+
readonly AirDensity: number;
|
|
31031
|
+
/**
|
|
31032
|
+
* Tags: NotReplicated
|
|
31033
|
+
*/
|
|
31034
|
+
readonly RelativeWindVelocity: Vector3;
|
|
31035
|
+
}
|
|
31036
|
+
|
|
30966
31037
|
interface BuoyancySensor extends SensorBase {
|
|
30967
31038
|
/**
|
|
30968
31039
|
* **DO NOT USE!**
|
|
@@ -14471,6 +14471,43 @@ declare namespace Enum {
|
|
|
14471
14471
|
}
|
|
14472
14472
|
export type PositionAlignmentMode = PositionAlignmentMode.OneAttachment | PositionAlignmentMode.TwoAttachment;
|
|
14473
14473
|
|
|
14474
|
+
export namespace PreferredTextSize {
|
|
14475
|
+
export interface Medium extends globalThis.EnumItem {
|
|
14476
|
+
Name: "Medium";
|
|
14477
|
+
Value: 0;
|
|
14478
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14479
|
+
}
|
|
14480
|
+
|
|
14481
|
+
export const Medium: Medium;
|
|
14482
|
+
|
|
14483
|
+
export interface Large extends globalThis.EnumItem {
|
|
14484
|
+
Name: "Large";
|
|
14485
|
+
Value: 4;
|
|
14486
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14487
|
+
}
|
|
14488
|
+
|
|
14489
|
+
export const Large: Large;
|
|
14490
|
+
|
|
14491
|
+
export interface Larger extends globalThis.EnumItem {
|
|
14492
|
+
Name: "Larger";
|
|
14493
|
+
Value: 9;
|
|
14494
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14495
|
+
}
|
|
14496
|
+
|
|
14497
|
+
export const Larger: Larger;
|
|
14498
|
+
|
|
14499
|
+
export interface Largest extends globalThis.EnumItem {
|
|
14500
|
+
Name: "Largest";
|
|
14501
|
+
Value: 14;
|
|
14502
|
+
EnumType: typeof globalThis.Enum.PreferredTextSize;
|
|
14503
|
+
}
|
|
14504
|
+
|
|
14505
|
+
export const Largest: Largest;
|
|
14506
|
+
|
|
14507
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PreferredTextSize>;
|
|
14508
|
+
}
|
|
14509
|
+
export type PreferredTextSize = PreferredTextSize.Medium | PreferredTextSize.Large | PreferredTextSize.Larger | PreferredTextSize.Largest;
|
|
14510
|
+
|
|
14474
14511
|
export namespace PrimalPhysicsSolver {
|
|
14475
14512
|
export interface Default extends globalThis.EnumItem {
|
|
14476
14513
|
Name: "Default";
|
|
@@ -20543,6 +20580,35 @@ declare namespace Enum {
|
|
|
20543
20580
|
}
|
|
20544
20581
|
export type TrackerPromptEvent = TrackerPromptEvent.LODCameraRecommendDisable;
|
|
20545
20582
|
|
|
20583
|
+
export namespace TrackerType {
|
|
20584
|
+
export interface None extends globalThis.EnumItem {
|
|
20585
|
+
Name: "None";
|
|
20586
|
+
Value: 0;
|
|
20587
|
+
EnumType: typeof globalThis.Enum.TrackerType;
|
|
20588
|
+
}
|
|
20589
|
+
|
|
20590
|
+
export const None: None;
|
|
20591
|
+
|
|
20592
|
+
export interface Face extends globalThis.EnumItem {
|
|
20593
|
+
Name: "Face";
|
|
20594
|
+
Value: 1;
|
|
20595
|
+
EnumType: typeof globalThis.Enum.TrackerType;
|
|
20596
|
+
}
|
|
20597
|
+
|
|
20598
|
+
export const Face: Face;
|
|
20599
|
+
|
|
20600
|
+
export interface UpperBody extends globalThis.EnumItem {
|
|
20601
|
+
Name: "UpperBody";
|
|
20602
|
+
Value: 2;
|
|
20603
|
+
EnumType: typeof globalThis.Enum.TrackerType;
|
|
20604
|
+
}
|
|
20605
|
+
|
|
20606
|
+
export const UpperBody: UpperBody;
|
|
20607
|
+
|
|
20608
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TrackerType>;
|
|
20609
|
+
}
|
|
20610
|
+
export type TrackerType = TrackerType.None | TrackerType.Face | TrackerType.UpperBody;
|
|
20611
|
+
|
|
20546
20612
|
export namespace TriStateBoolean {
|
|
20547
20613
|
export interface False extends globalThis.EnumItem {
|
|
20548
20614
|
Name: "False";
|