@rbxts/types 1.0.739 → 1.0.741
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.
|
@@ -6642,6 +6642,7 @@ interface CaptureService extends Instance {
|
|
|
6642
6642
|
* @deprecated
|
|
6643
6643
|
*/
|
|
6644
6644
|
readonly _nominal_CaptureService: unique symbol;
|
|
6645
|
+
CaptureScreenshot(this: CaptureService, onCaptureReady: Callback): void;
|
|
6645
6646
|
PromptSaveCapturesToGallery(this: CaptureService, contentIds: Array<any>, resultCallback: Callback): void;
|
|
6646
6647
|
PromptShareCapture(this: CaptureService, contentId: string, launchData: string, onAcceptedCallback: Callback, onDeniedCallback: Callback): void;
|
|
6647
6648
|
readonly CaptureBegan: RBXScriptSignal<() => void>;
|
|
@@ -7270,6 +7271,7 @@ interface Collaborator extends Instance {
|
|
|
7270
7271
|
CollaboratorColor: number;
|
|
7271
7272
|
CurDocGUID: string;
|
|
7272
7273
|
CurScriptLineNumber: number;
|
|
7274
|
+
IsIdle: boolean;
|
|
7273
7275
|
UserId: number;
|
|
7274
7276
|
Username: string;
|
|
7275
7277
|
}
|
|
@@ -32416,10 +32418,6 @@ interface StarterPlayer extends Instance {
|
|
|
32416
32418
|
* Tags: Hidden
|
|
32417
32419
|
*/
|
|
32418
32420
|
readonly AllowCustomAnimations: boolean;
|
|
32419
|
-
/**
|
|
32420
|
-
* Tags: NotBrowsable
|
|
32421
|
-
*/
|
|
32422
|
-
AnimationCompositorMode: Enum.AnimationCompositorMode;
|
|
32423
32421
|
/**
|
|
32424
32422
|
* The AutoJumpEnabled property sets whether the character will automatically jump when hitting an obstacle on a mobile device.
|
|
32425
32423
|
*
|
|
@@ -32601,10 +32599,6 @@ interface StarterPlayer extends Instance {
|
|
|
32601
32599
|
* If a Humanoid's health bar is visible, you can set the display type using [Humanoid.DisplayDistanceType](https://developer.roblox.com/en-us/api-reference/property/Humanoid/DisplayDistanceType).
|
|
32602
32600
|
*/
|
|
32603
32601
|
HealthDisplayDistance: number;
|
|
32604
|
-
/**
|
|
32605
|
-
* Tags: NotBrowsable
|
|
32606
|
-
*/
|
|
32607
|
-
HumanoidStateMachineMode: Enum.HumanoidStateMachineMode;
|
|
32608
32602
|
/**
|
|
32609
32603
|
* The LoadCharacterAppearance [StarterPlayer](https://developer.roblox.com/en-us/api-reference/class/StarterPlayer) property sets whether or not the appearance of a player's character should be loaded.
|
|
32610
32604
|
*
|
|
@@ -735,35 +735,6 @@ declare namespace Enum {
|
|
|
735
735
|
}
|
|
736
736
|
export type AnimationClipFromVideoStatus = AnimationClipFromVideoStatus.Initializing | AnimationClipFromVideoStatus.Pending | AnimationClipFromVideoStatus.Processing | AnimationClipFromVideoStatus.ErrorGeneric | AnimationClipFromVideoStatus.Success | AnimationClipFromVideoStatus.ErrorVideoTooLong | AnimationClipFromVideoStatus.ErrorNoPersonDetected | AnimationClipFromVideoStatus.ErrorVideoUnstable | AnimationClipFromVideoStatus.Timeout | AnimationClipFromVideoStatus.Cancelled | AnimationClipFromVideoStatus.ErrorMultiplePeople | AnimationClipFromVideoStatus.ErrorUploadingVideo;
|
|
737
737
|
|
|
738
|
-
export namespace AnimationCompositorMode {
|
|
739
|
-
export interface Default extends globalThis.EnumItem {
|
|
740
|
-
Name: "Default";
|
|
741
|
-
Value: 0;
|
|
742
|
-
EnumType: typeof globalThis.Enum.AnimationCompositorMode;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
export const Default: Default;
|
|
746
|
-
|
|
747
|
-
export interface Enabled extends globalThis.EnumItem {
|
|
748
|
-
Name: "Enabled";
|
|
749
|
-
Value: 1;
|
|
750
|
-
EnumType: typeof globalThis.Enum.AnimationCompositorMode;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
export const Enabled: Enabled;
|
|
754
|
-
|
|
755
|
-
export interface Disabled extends globalThis.EnumItem {
|
|
756
|
-
Name: "Disabled";
|
|
757
|
-
Value: 2;
|
|
758
|
-
EnumType: typeof globalThis.Enum.AnimationCompositorMode;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
export const Disabled: Disabled;
|
|
762
|
-
|
|
763
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AnimationCompositorMode>;
|
|
764
|
-
}
|
|
765
|
-
export type AnimationCompositorMode = AnimationCompositorMode.Default | AnimationCompositorMode.Enabled | AnimationCompositorMode.Disabled;
|
|
766
|
-
|
|
767
738
|
export namespace AnimationPriority {
|
|
768
739
|
export interface Core extends globalThis.EnumItem {
|
|
769
740
|
Name: "Core";
|
|
@@ -8470,43 +8441,6 @@ declare namespace Enum {
|
|
|
8470
8441
|
}
|
|
8471
8442
|
export type HumanoidRigType = HumanoidRigType.R6 | HumanoidRigType.R15;
|
|
8472
8443
|
|
|
8473
|
-
export namespace HumanoidStateMachineMode {
|
|
8474
|
-
export interface Default extends globalThis.EnumItem {
|
|
8475
|
-
Name: "Default";
|
|
8476
|
-
Value: 0;
|
|
8477
|
-
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
8478
|
-
}
|
|
8479
|
-
|
|
8480
|
-
export const Default: Default;
|
|
8481
|
-
|
|
8482
|
-
export interface Legacy extends globalThis.EnumItem {
|
|
8483
|
-
Name: "Legacy";
|
|
8484
|
-
Value: 1;
|
|
8485
|
-
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
8486
|
-
}
|
|
8487
|
-
|
|
8488
|
-
export const Legacy: Legacy;
|
|
8489
|
-
|
|
8490
|
-
export interface NoStateMachine extends globalThis.EnumItem {
|
|
8491
|
-
Name: "NoStateMachine";
|
|
8492
|
-
Value: 2;
|
|
8493
|
-
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
8494
|
-
}
|
|
8495
|
-
|
|
8496
|
-
export const NoStateMachine: NoStateMachine;
|
|
8497
|
-
|
|
8498
|
-
export interface LuaStateMachine extends globalThis.EnumItem {
|
|
8499
|
-
Name: "LuaStateMachine";
|
|
8500
|
-
Value: 3;
|
|
8501
|
-
EnumType: typeof globalThis.Enum.HumanoidStateMachineMode;
|
|
8502
|
-
}
|
|
8503
|
-
|
|
8504
|
-
export const LuaStateMachine: LuaStateMachine;
|
|
8505
|
-
|
|
8506
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.HumanoidStateMachineMode>;
|
|
8507
|
-
}
|
|
8508
|
-
export type HumanoidStateMachineMode = HumanoidStateMachineMode.Default | HumanoidStateMachineMode.Legacy | HumanoidStateMachineMode.NoStateMachine | HumanoidStateMachineMode.LuaStateMachine;
|
|
8509
|
-
|
|
8510
8444
|
export namespace HumanoidStateType {
|
|
8511
8445
|
export interface FallingDown extends globalThis.EnumItem {
|
|
8512
8446
|
Name: "FallingDown";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1974,6 +1974,14 @@ interface Random {
|
|
|
1974
1974
|
* Returns a pseudorandom number uniformly distributed over [min, max).
|
|
1975
1975
|
*/
|
|
1976
1976
|
NextNumber(this: Random, min: number, max: number): number;
|
|
1977
|
+
/**
|
|
1978
|
+
* Uniformly shuffles the array part of `tb` in-place using `NextInteger` to pick indices. If there are any `nil` "holes" in the array part of the table, `Shuffle` throws an error, since shuffling could change the length.
|
|
1979
|
+
*
|
|
1980
|
+
* The hash part of `tb` is ignored. No metamethods are of `tb` are invoked.
|
|
1981
|
+
*
|
|
1982
|
+
* The shuffle is defined to be a Fisher-Yates shuffle so the number of `NextInteger` calls is guaranteed to be consistent between engine versions for a given size of table.
|
|
1983
|
+
*/
|
|
1984
|
+
Shuffle(this: Random, tb: Array<unknown>): void;
|
|
1977
1985
|
/**
|
|
1978
1986
|
* Returns a unit vector with a pseudorandom direction.
|
|
1979
1987
|
*
|