@rbxts/types 1.0.639 → 1.0.640
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.
|
@@ -216,6 +216,7 @@ interface CreatableInstances {
|
|
|
216
216
|
Humanoid: Humanoid;
|
|
217
217
|
HumanoidController: HumanoidController;
|
|
218
218
|
HumanoidDescription: HumanoidDescription;
|
|
219
|
+
IKControl: IKControl;
|
|
219
220
|
ImageButton: ImageButton;
|
|
220
221
|
ImageHandleAdornment: ImageHandleAdornment;
|
|
221
222
|
ImageLabel: ImageLabel;
|
|
@@ -435,6 +436,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
435
436
|
GlobalDataStore: GlobalDataStore;
|
|
436
437
|
ImporterAnimationSettings: ImporterAnimationSettings;
|
|
437
438
|
ImporterBaseSettings: ImporterBaseSettings;
|
|
439
|
+
ImporterFacsSettings: ImporterFacsSettings;
|
|
438
440
|
ImporterGroupSettings: ImporterGroupSettings;
|
|
439
441
|
ImporterJointSettings: ImporterJointSettings;
|
|
440
442
|
ImporterMaterialSettings: ImporterMaterialSettings;
|
|
@@ -2513,6 +2515,10 @@ interface AvatarEditorService extends Instance {
|
|
|
2513
2515
|
* Tags: Yields
|
|
2514
2516
|
*/
|
|
2515
2517
|
CheckApplyDefaultClothing(this: AvatarEditorService, humanoidDescription: HumanoidDescription): HumanoidDescription;
|
|
2518
|
+
/**
|
|
2519
|
+
* Tags: Yields
|
|
2520
|
+
*/
|
|
2521
|
+
ConformToAvatarRules(this: AvatarEditorService, humanoidDescription: HumanoidDescription): HumanoidDescription;
|
|
2516
2522
|
/**
|
|
2517
2523
|
* This function returns the platform Avatar rules for things like scaling, default shirts and pants, number of wearable assets, ect.
|
|
2518
2524
|
*
|
|
@@ -16244,6 +16250,25 @@ interface HumanoidDescription extends Instance {
|
|
|
16244
16250
|
readonly EquippedEmotesChanged: RBXScriptSignal<(newEquippedEmotes: EquippedEmotes) => void>;
|
|
16245
16251
|
}
|
|
16246
16252
|
|
|
16253
|
+
interface IKControl extends Instance {
|
|
16254
|
+
/**
|
|
16255
|
+
* **DO NOT USE!**
|
|
16256
|
+
*
|
|
16257
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
16258
|
+
* @hidden
|
|
16259
|
+
* @deprecated
|
|
16260
|
+
*/
|
|
16261
|
+
readonly _nominal_IKControl: unique symbol;
|
|
16262
|
+
ChainRoot: Instance | undefined;
|
|
16263
|
+
Enabled: boolean;
|
|
16264
|
+
EndEffector: Instance | undefined;
|
|
16265
|
+
Pole: Instance | undefined;
|
|
16266
|
+
Priority: number;
|
|
16267
|
+
Target: Instance | undefined;
|
|
16268
|
+
Type: Enum.IKControlType;
|
|
16269
|
+
Weight: number;
|
|
16270
|
+
}
|
|
16271
|
+
|
|
16247
16272
|
interface ILegacyStudioBridge extends Instance {
|
|
16248
16273
|
/**
|
|
16249
16274
|
* **DO NOT USE!**
|
|
@@ -16305,6 +16330,17 @@ interface ImporterAnimationSettings extends ImporterBaseSettings {
|
|
|
16305
16330
|
readonly _nominal_ImporterAnimationSettings: unique symbol;
|
|
16306
16331
|
}
|
|
16307
16332
|
|
|
16333
|
+
interface ImporterFacsSettings extends ImporterBaseSettings {
|
|
16334
|
+
/**
|
|
16335
|
+
* **DO NOT USE!**
|
|
16336
|
+
*
|
|
16337
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
16338
|
+
* @hidden
|
|
16339
|
+
* @deprecated
|
|
16340
|
+
*/
|
|
16341
|
+
readonly _nominal_ImporterFacsSettings: unique symbol;
|
|
16342
|
+
}
|
|
16343
|
+
|
|
16308
16344
|
interface ImporterGroupSettings extends ImporterBaseSettings {
|
|
16309
16345
|
/**
|
|
16310
16346
|
* **DO NOT USE!**
|
|
@@ -20853,6 +20889,10 @@ interface BaseScript extends LuaSourceContainer {
|
|
|
20853
20889
|
* Note, the above code snippet cannot be used within the script itself. This is because once the script is disabled the thread will terminate.
|
|
20854
20890
|
*/
|
|
20855
20891
|
Disabled: boolean;
|
|
20892
|
+
/**
|
|
20893
|
+
* Tags: NotReplicated
|
|
20894
|
+
*/
|
|
20895
|
+
Enabled: boolean;
|
|
20856
20896
|
/**
|
|
20857
20897
|
* The content ID of an uploaded script. When set binds the uploaded code to the script's [Script.Source](https://developer.roblox.com/en-us/api-reference/property/Script/Source).
|
|
20858
20898
|
*
|
|
@@ -22448,6 +22488,10 @@ interface BasePart extends PVInstance {
|
|
|
22448
22488
|
* Tags: ReadOnly, NotReplicated
|
|
22449
22489
|
*/
|
|
22450
22490
|
readonly CenterOfMass: Vector3;
|
|
22491
|
+
/**
|
|
22492
|
+
* Tags: NotReplicated
|
|
22493
|
+
*/
|
|
22494
|
+
CollisionGroup: string;
|
|
22451
22495
|
/**
|
|
22452
22496
|
* The CollisionGroupId property describes the ID number of the part's collision group. Parts start off in the Default group whose ID is 0. Although this property can be directly changed, it is recommended to instead manipulate the collision group of a part using the **name** of the group with the [PhysicsService:SetPartCollisionGroup](https://developer.roblox.com/en-us/api-reference/function/PhysicsService/SetPartCollisionGroup) function. You can find the ID of a collision group by using [PhysicsService:GetCollisionGroupId](https://developer.roblox.com/en-us/api-reference/function/PhysicsService/GetCollisionGroupId).
|
|
22453
22497
|
*
|
|
@@ -2723,6 +2723,10 @@ interface ScriptEditorService extends Instance {
|
|
|
2723
2723
|
readonly _nominal_ScriptEditorService: unique symbol;
|
|
2724
2724
|
FindScriptDocument(this: ScriptEditorService, script: LuaSourceContainer): ScriptDocument;
|
|
2725
2725
|
GetScriptDocuments(this: ScriptEditorService): Array<Instance>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Tags: Yields
|
|
2728
|
+
*/
|
|
2729
|
+
OpenScriptDocumentAsync(this: ScriptEditorService, script: LuaSourceContainer): unknown;
|
|
2726
2730
|
readonly TextDocumentDidChange: RBXScriptSignal<(document: ScriptDocument, changesArray: unknown) => void>;
|
|
2727
2731
|
readonly TextDocumentDidClose: RBXScriptSignal<(oldDocument: ScriptDocument) => void>;
|
|
2728
2732
|
readonly TextDocumentDidOpen: RBXScriptSignal<(newDocument: ScriptDocument) => void>;
|
|
@@ -6855,6 +6855,58 @@ declare namespace Enum {
|
|
|
6855
6855
|
export function GetEnumItems(this: Enum): Array<IKCollisionsMode>
|
|
6856
6856
|
}
|
|
6857
6857
|
export type IKCollisionsMode = IKCollisionsMode.NoCollisions | IKCollisionsMode.OtherMechanismsAnchored | IKCollisionsMode.IncludeContactedMechanisms;
|
|
6858
|
+
export namespace IKControlType {
|
|
6859
|
+
export interface Null extends EnumItem {
|
|
6860
|
+
Name: "Null";
|
|
6861
|
+
Value: 0;
|
|
6862
|
+
EnumType: typeof IKControlType;
|
|
6863
|
+
}
|
|
6864
|
+
|
|
6865
|
+
export const Null: Null;
|
|
6866
|
+
|
|
6867
|
+
export interface Position extends EnumItem {
|
|
6868
|
+
Name: "Position";
|
|
6869
|
+
Value: 1;
|
|
6870
|
+
EnumType: typeof IKControlType;
|
|
6871
|
+
}
|
|
6872
|
+
|
|
6873
|
+
export const Position: Position;
|
|
6874
|
+
|
|
6875
|
+
export interface Rotation extends EnumItem {
|
|
6876
|
+
Name: "Rotation";
|
|
6877
|
+
Value: 2;
|
|
6878
|
+
EnumType: typeof IKControlType;
|
|
6879
|
+
}
|
|
6880
|
+
|
|
6881
|
+
export const Rotation: Rotation;
|
|
6882
|
+
|
|
6883
|
+
export interface Transform extends EnumItem {
|
|
6884
|
+
Name: "Transform";
|
|
6885
|
+
Value: 3;
|
|
6886
|
+
EnumType: typeof IKControlType;
|
|
6887
|
+
}
|
|
6888
|
+
|
|
6889
|
+
export const Transform: Transform;
|
|
6890
|
+
|
|
6891
|
+
export interface LookAt extends EnumItem {
|
|
6892
|
+
Name: "LookAt";
|
|
6893
|
+
Value: 4;
|
|
6894
|
+
EnumType: typeof IKControlType;
|
|
6895
|
+
}
|
|
6896
|
+
|
|
6897
|
+
export const LookAt: LookAt;
|
|
6898
|
+
|
|
6899
|
+
export interface Length extends EnumItem {
|
|
6900
|
+
Name: "Length";
|
|
6901
|
+
Value: 5;
|
|
6902
|
+
EnumType: typeof IKControlType;
|
|
6903
|
+
}
|
|
6904
|
+
|
|
6905
|
+
export const Length: Length;
|
|
6906
|
+
|
|
6907
|
+
export function GetEnumItems(this: Enum): Array<IKControlType>
|
|
6908
|
+
}
|
|
6909
|
+
export type IKControlType = IKControlType.Null | IKControlType.Position | IKControlType.Rotation | IKControlType.Transform | IKControlType.LookAt | IKControlType.Length;
|
|
6858
6910
|
export namespace IXPLoadingStatus {
|
|
6859
6911
|
export interface None extends EnumItem {
|
|
6860
6912
|
Name: "None";
|
|
@@ -9368,7 +9420,7 @@ declare namespace Enum {
|
|
|
9368
9420
|
|
|
9369
9421
|
export interface TextDocument_publishDiagnostics extends EnumItem {
|
|
9370
9422
|
Name: "TextDocument_publishDiagnostics";
|
|
9371
|
-
Value:
|
|
9423
|
+
Value: 21;
|
|
9372
9424
|
EnumType: typeof LSPMethodType;
|
|
9373
9425
|
}
|
|
9374
9426
|
|
|
@@ -9376,7 +9428,7 @@ declare namespace Enum {
|
|
|
9376
9428
|
|
|
9377
9429
|
export interface Window_showMessage extends EnumItem {
|
|
9378
9430
|
Name: "Window_showMessage";
|
|
9379
|
-
Value:
|
|
9431
|
+
Value: 22;
|
|
9380
9432
|
EnumType: typeof LSPMethodType;
|
|
9381
9433
|
}
|
|
9382
9434
|
|
|
@@ -9384,7 +9436,7 @@ declare namespace Enum {
|
|
|
9384
9436
|
|
|
9385
9437
|
export interface Window_showMessageRequest extends EnumItem {
|
|
9386
9438
|
Name: "Window_showMessageRequest";
|
|
9387
|
-
Value:
|
|
9439
|
+
Value: 23;
|
|
9388
9440
|
EnumType: typeof LSPMethodType;
|
|
9389
9441
|
}
|
|
9390
9442
|
|
|
@@ -9392,7 +9444,7 @@ declare namespace Enum {
|
|
|
9392
9444
|
|
|
9393
9445
|
export interface Roblox_registerSyntaxCategories extends EnumItem {
|
|
9394
9446
|
Name: "Roblox_registerSyntaxCategories";
|
|
9395
|
-
Value:
|
|
9447
|
+
Value: 24;
|
|
9396
9448
|
EnumType: typeof LSPMethodType;
|
|
9397
9449
|
}
|
|
9398
9450
|
|
|
@@ -9400,7 +9452,7 @@ declare namespace Enum {
|
|
|
9400
9452
|
|
|
9401
9453
|
export interface Roblox_signalQuiescence extends EnumItem {
|
|
9402
9454
|
Name: "Roblox_signalQuiescence";
|
|
9403
|
-
Value:
|
|
9455
|
+
Value: 25;
|
|
9404
9456
|
EnumType: typeof LSPMethodType;
|
|
9405
9457
|
}
|
|
9406
9458
|
|
|
@@ -9408,7 +9460,7 @@ declare namespace Enum {
|
|
|
9408
9460
|
|
|
9409
9461
|
export interface Roblox_syntaxHighlight extends EnumItem {
|
|
9410
9462
|
Name: "Roblox_syntaxHighlight";
|
|
9411
|
-
Value:
|
|
9463
|
+
Value: 26;
|
|
9412
9464
|
EnumType: typeof LSPMethodType;
|
|
9413
9465
|
}
|
|
9414
9466
|
|
|
@@ -9416,7 +9468,7 @@ declare namespace Enum {
|
|
|
9416
9468
|
|
|
9417
9469
|
export interface Roblox_suggestExtraSelections extends EnumItem {
|
|
9418
9470
|
Name: "Roblox_suggestExtraSelections";
|
|
9419
|
-
Value:
|
|
9471
|
+
Value: 27;
|
|
9420
9472
|
EnumType: typeof LSPMethodType;
|
|
9421
9473
|
}
|
|
9422
9474
|
|
|
@@ -9424,7 +9476,7 @@ declare namespace Enum {
|
|
|
9424
9476
|
|
|
9425
9477
|
export interface Roblox_findExecutablePosition extends EnumItem {
|
|
9426
9478
|
Name: "Roblox_findExecutablePosition";
|
|
9427
|
-
Value:
|
|
9479
|
+
Value: 28;
|
|
9428
9480
|
EnumType: typeof LSPMethodType;
|
|
9429
9481
|
}
|
|
9430
9482
|
|
|
@@ -9432,7 +9484,7 @@ declare namespace Enum {
|
|
|
9432
9484
|
|
|
9433
9485
|
export interface Roblox_findColor3 extends EnumItem {
|
|
9434
9486
|
Name: "Roblox_findColor3";
|
|
9435
|
-
Value:
|
|
9487
|
+
Value: 29;
|
|
9436
9488
|
EnumType: typeof LSPMethodType;
|
|
9437
9489
|
}
|
|
9438
9490
|
|
|
@@ -9440,7 +9492,7 @@ declare namespace Enum {
|
|
|
9440
9492
|
|
|
9441
9493
|
export interface Roblox_patchSnippetData extends EnumItem {
|
|
9442
9494
|
Name: "Roblox_patchSnippetData";
|
|
9443
|
-
Value:
|
|
9495
|
+
Value: 30;
|
|
9444
9496
|
EnumType: typeof LSPMethodType;
|
|
9445
9497
|
}
|
|
9446
9498
|
|