@rbxts/types 1.0.775 → 1.0.777
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.
|
@@ -471,6 +471,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
471
471
|
AvatarGenerationJob: AvatarGenerationJob;
|
|
472
472
|
AvatarGenerationSession: AvatarGenerationSession;
|
|
473
473
|
BackpackItem: BackpackItem;
|
|
474
|
+
BanHistoryPages: BanHistoryPages;
|
|
474
475
|
BaseImportData: BaseImportData;
|
|
475
476
|
BasePart: BasePart;
|
|
476
477
|
BasePlayerGui: BasePlayerGui;
|
|
@@ -3081,6 +3082,7 @@ interface AvatarCreationService extends Instance {
|
|
|
3081
3082
|
* @deprecated
|
|
3082
3083
|
*/
|
|
3083
3084
|
readonly _nominal_AvatarCreationService: unique symbol;
|
|
3085
|
+
SendAnalyticsEvent(this: AvatarCreationService, eventName: string, params: object): void;
|
|
3084
3086
|
/**
|
|
3085
3087
|
* Tags: Yields
|
|
3086
3088
|
*/
|
|
@@ -11006,6 +11008,10 @@ interface Explosion extends Instance {
|
|
|
11006
11008
|
* If ExplosionType is set to create craters in [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain), the radius of the crater will be roughly equal to the [Explosion.BlastRadius](https://developer.roblox.com/en-us/api-reference/property/Explosion/BlastRadius). Craters are created in all [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain) materials other than water. The size of the crater is not influenced by the material, although some materials create rougher edges than others.
|
|
11007
11009
|
*/
|
|
11008
11010
|
ExplosionType: Enum.ExplosionType;
|
|
11011
|
+
/**
|
|
11012
|
+
* Tags: Hidden, NotReplicated
|
|
11013
|
+
*/
|
|
11014
|
+
LocalTransparencyModifier: number;
|
|
11009
11015
|
/**
|
|
11010
11016
|
* This property is the position of the center of the [Explosion](https://developer.roblox.com/en-us/api-reference/class/Explosion). It is defined in world-space and not influenced by the [Explosion](https://developer.roblox.com/en-us/api-reference/class/Explosion)'s parent.
|
|
11011
11017
|
*
|
|
@@ -11443,6 +11449,10 @@ interface Fire extends Instance {
|
|
|
11443
11449
|
* Tags: NotReplicated
|
|
11444
11450
|
*/
|
|
11445
11451
|
Heat: number;
|
|
11452
|
+
/**
|
|
11453
|
+
* Tags: Hidden, NotReplicated
|
|
11454
|
+
*/
|
|
11455
|
+
LocalTransparencyModifier: number;
|
|
11446
11456
|
/**
|
|
11447
11457
|
* The SecondaryColor property determines the color of the smaller particles emit by a [Fire](https://developer.roblox.com/en-us/api-reference/class/Fire) object. It is essentially the color of the inner portion of the flame. Below, you can see the SecondaryColor of the flame is set to white to differentiate with the larger, outer particles which have [Fire.Color](https://developer.roblox.com/en-us/api-reference/property/Fire/Color) set to blue. It should be noted that the inner particles use a [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission) of 1, so darker colors will instead cause the particles to appear transparent (and therefore black will stop rendering inner particles altogether).
|
|
11448
11458
|
*
|
|
@@ -19570,6 +19580,10 @@ interface InsertService extends Instance {
|
|
|
19570
19580
|
* @deprecated
|
|
19571
19581
|
*/
|
|
19572
19582
|
Insert(this: InsertService, instance: Instance): void;
|
|
19583
|
+
/**
|
|
19584
|
+
* Tags: Yields
|
|
19585
|
+
*/
|
|
19586
|
+
CreateMeshPartAsync(this: InsertService, meshId: string, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>, renderFidelity: CastsToEnum<Enum.RenderFidelity>): MeshPart;
|
|
19573
19587
|
/**
|
|
19574
19588
|
* Tags: Yields
|
|
19575
19589
|
* @deprecated Use `GetBaseSets` instead
|
|
@@ -22534,6 +22548,7 @@ interface MarketplaceService extends Instance {
|
|
|
22534
22548
|
* @deprecated
|
|
22535
22549
|
*/
|
|
22536
22550
|
readonly _nominal_MarketplaceService: unique symbol;
|
|
22551
|
+
PromptBulkPurchase(this: MarketplaceService, player: Player, lineItems: Array<any>, options: object): void;
|
|
22537
22552
|
/**
|
|
22538
22553
|
* Used to prompt a user to purchase a bundle with the given bundleId
|
|
22539
22554
|
*/
|
|
@@ -22859,6 +22874,7 @@ interface MarketplaceService extends Instance {
|
|
|
22859
22874
|
* Tags: Yields
|
|
22860
22875
|
*/
|
|
22861
22876
|
UserOwnsGamePassAsync(this: MarketplaceService, userId: number, gamePassId: number): boolean;
|
|
22877
|
+
readonly PromptBulkPurchaseFinished: RBXScriptSignal<(player: Player, status: Enum.MarketplaceBulkPurchasePromptStatus, results: object) => void>;
|
|
22862
22878
|
readonly PromptBundlePurchaseFinished: RBXScriptSignal<(player: Player, bundleId: number, wasPurchased: boolean) => void>;
|
|
22863
22879
|
/**
|
|
22864
22880
|
* This event fires when a purchase dialogue of a game pass is closed. This fires right as the dialogue closes when the player presses “Cancel” at the prompt, or “OK” at the success/error message.
|
|
@@ -27057,6 +27073,17 @@ interface AudioPages extends Pages {
|
|
|
27057
27073
|
readonly _nominal_AudioPages: unique symbol;
|
|
27058
27074
|
}
|
|
27059
27075
|
|
|
27076
|
+
interface BanHistoryPages extends Pages {
|
|
27077
|
+
/**
|
|
27078
|
+
* **DO NOT USE!**
|
|
27079
|
+
*
|
|
27080
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
27081
|
+
* @hidden
|
|
27082
|
+
* @deprecated
|
|
27083
|
+
*/
|
|
27084
|
+
readonly _nominal_BanHistoryPages: unique symbol;
|
|
27085
|
+
}
|
|
27086
|
+
|
|
27060
27087
|
interface CatalogPages extends Pages<SearchCatalogResult> {
|
|
27061
27088
|
/**
|
|
27062
27089
|
* **DO NOT USE!**
|
|
@@ -29106,6 +29133,10 @@ interface Players extends Instance {
|
|
|
29106
29133
|
* Tags: Yields
|
|
29107
29134
|
*/
|
|
29108
29135
|
CreateHumanoidModelFromUserId(this: Players, userId: number): Model;
|
|
29136
|
+
/**
|
|
29137
|
+
* Tags: Yields
|
|
29138
|
+
*/
|
|
29139
|
+
GetBanHistoryAsync(this: Players, userId: number): BanHistoryPages;
|
|
29109
29140
|
/**
|
|
29110
29141
|
* This function returns a [Model](https://developer.roblox.com/en-us/api-reference/class/Model) containing the assets which the player is wearing, excluding gear.
|
|
29111
29142
|
*
|
|
@@ -31450,6 +31481,10 @@ interface Smoke extends Instance {
|
|
|
31450
31481
|
* stopSmoke(part.Smoke)
|
|
31451
31482
|
*/
|
|
31452
31483
|
Enabled: boolean;
|
|
31484
|
+
/**
|
|
31485
|
+
* Tags: Hidden, NotReplicated
|
|
31486
|
+
*/
|
|
31487
|
+
LocalTransparencyModifier: number;
|
|
31453
31488
|
/**
|
|
31454
31489
|
* Opacity determines the opaqueness of the smoke particles. It must be in the range \[0, 1\]. This property works **inversely** in comparison to a part's [BasePart.Transparency](https://developer.roblox.com/en-us/api-reference/property/BasePart/Transparency) or ParticleEmitter's [ParticleEmitter.Transparency](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Transparency): a value of 0 is completely invisible, 1 is completely visible. Below, the left [Smoke](https://developer.roblox.com/en-us/api-reference/class/Smoke) effect has an Opacity of 0.25 (or, 25%), the center has the default 0.5 (50%), and the right has 1.0 (or 100%).
|
|
31455
31490
|
*
|
|
@@ -32665,6 +32700,10 @@ interface Sparkles extends Instance {
|
|
|
32665
32700
|
* stopSparkling(part.Sparkles)
|
|
32666
32701
|
*/
|
|
32667
32702
|
Enabled: boolean;
|
|
32703
|
+
/**
|
|
32704
|
+
* Tags: Hidden, NotReplicated
|
|
32705
|
+
*/
|
|
32706
|
+
LocalTransparencyModifier: number;
|
|
32668
32707
|
/**
|
|
32669
32708
|
* **Note** This property functions identically to [Sparkles.Color](https://developer.roblox.com/en-us/api-reference/property/Sparkles/Color)
|
|
32670
32709
|
*
|
|
@@ -1122,21 +1122,6 @@ interface Humanoid extends Instance {
|
|
|
1122
1122
|
CollisionType: Enum.HumanoidCollisionType;
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
|
-
interface InsertService extends Instance {
|
|
1126
|
-
/**
|
|
1127
|
-
* **DO NOT USE!**
|
|
1128
|
-
*
|
|
1129
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1130
|
-
* @hidden
|
|
1131
|
-
* @deprecated
|
|
1132
|
-
*/
|
|
1133
|
-
readonly _nominal_InsertService: unique symbol;
|
|
1134
|
-
/**
|
|
1135
|
-
* Tags: Yields
|
|
1136
|
-
*/
|
|
1137
|
-
CreateMeshPartAsync(this: InsertService, meshId: string, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>, renderFidelity: CastsToEnum<Enum.RenderFidelity>): MeshPart;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
1125
|
interface KeyframeSequenceProvider extends Instance {
|
|
1141
1126
|
/**
|
|
1142
1127
|
* **DO NOT USE!**
|
|
@@ -3678,7 +3663,6 @@ interface Studio extends Instance {
|
|
|
3678
3663
|
* Tags: NotReplicated
|
|
3679
3664
|
*/
|
|
3680
3665
|
["Selection Color"]: Color3;
|
|
3681
|
-
["Server Audio Behavior"]: Enum.ServerAudioBehavior;
|
|
3682
3666
|
["Set Pivot of Imported Parts"]: boolean;
|
|
3683
3667
|
["Show Core GUI in Explorer while Playing"]: boolean;
|
|
3684
3668
|
["Show Diagnostics Bar"]: boolean;
|
|
@@ -12080,9 +12080,17 @@ declare namespace Enum {
|
|
|
12080
12080
|
|
|
12081
12081
|
export const InsufficientMembership: InsufficientMembership;
|
|
12082
12082
|
|
|
12083
|
+
export interface PlaceInvalid extends globalThis.EnumItem {
|
|
12084
|
+
Name: "PlaceInvalid";
|
|
12085
|
+
Value: 13;
|
|
12086
|
+
EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
|
|
12087
|
+
}
|
|
12088
|
+
|
|
12089
|
+
export const PlaceInvalid: PlaceInvalid;
|
|
12090
|
+
|
|
12083
12091
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MarketplaceItemPurchaseStatus>;
|
|
12084
12092
|
}
|
|
12085
|
-
export type MarketplaceItemPurchaseStatus = MarketplaceItemPurchaseStatus.Success | MarketplaceItemPurchaseStatus.SystemError | MarketplaceItemPurchaseStatus.AlreadyOwned | MarketplaceItemPurchaseStatus.InsufficientRobux | MarketplaceItemPurchaseStatus.QuantityLimitExceeded | MarketplaceItemPurchaseStatus.QuotaExceeded | MarketplaceItemPurchaseStatus.NotForSale | MarketplaceItemPurchaseStatus.NotAvailableForPurchaser | MarketplaceItemPurchaseStatus.PriceMismatch | MarketplaceItemPurchaseStatus.SoldOut | MarketplaceItemPurchaseStatus.PurchaserIsSeller | MarketplaceItemPurchaseStatus.InsufficientMembership;
|
|
12093
|
+
export type MarketplaceItemPurchaseStatus = MarketplaceItemPurchaseStatus.Success | MarketplaceItemPurchaseStatus.SystemError | MarketplaceItemPurchaseStatus.AlreadyOwned | MarketplaceItemPurchaseStatus.InsufficientRobux | MarketplaceItemPurchaseStatus.QuantityLimitExceeded | MarketplaceItemPurchaseStatus.QuotaExceeded | MarketplaceItemPurchaseStatus.NotForSale | MarketplaceItemPurchaseStatus.NotAvailableForPurchaser | MarketplaceItemPurchaseStatus.PriceMismatch | MarketplaceItemPurchaseStatus.SoldOut | MarketplaceItemPurchaseStatus.PurchaserIsSeller | MarketplaceItemPurchaseStatus.InsufficientMembership | MarketplaceItemPurchaseStatus.PlaceInvalid;
|
|
12086
12094
|
|
|
12087
12095
|
export namespace MarketplaceProductType {
|
|
12088
12096
|
export interface AvatarAsset extends globalThis.EnumItem {
|
|
@@ -16597,35 +16605,6 @@ declare namespace Enum {
|
|
|
16597
16605
|
}
|
|
16598
16606
|
export type SensorUpdateType = SensorUpdateType.OnRead | SensorUpdateType.Manual;
|
|
16599
16607
|
|
|
16600
|
-
export namespace ServerAudioBehavior {
|
|
16601
|
-
export interface Enabled extends globalThis.EnumItem {
|
|
16602
|
-
Name: "Enabled";
|
|
16603
|
-
Value: 0;
|
|
16604
|
-
EnumType: typeof globalThis.Enum.ServerAudioBehavior;
|
|
16605
|
-
}
|
|
16606
|
-
|
|
16607
|
-
export const Enabled: Enabled;
|
|
16608
|
-
|
|
16609
|
-
export interface Muted extends globalThis.EnumItem {
|
|
16610
|
-
Name: "Muted";
|
|
16611
|
-
Value: 1;
|
|
16612
|
-
EnumType: typeof globalThis.Enum.ServerAudioBehavior;
|
|
16613
|
-
}
|
|
16614
|
-
|
|
16615
|
-
export const Muted: Muted;
|
|
16616
|
-
|
|
16617
|
-
export interface OnlineGame extends globalThis.EnumItem {
|
|
16618
|
-
Name: "OnlineGame";
|
|
16619
|
-
Value: 2;
|
|
16620
|
-
EnumType: typeof globalThis.Enum.ServerAudioBehavior;
|
|
16621
|
-
}
|
|
16622
|
-
|
|
16623
|
-
export const OnlineGame: OnlineGame;
|
|
16624
|
-
|
|
16625
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ServerAudioBehavior>;
|
|
16626
|
-
}
|
|
16627
|
-
export type ServerAudioBehavior = ServerAudioBehavior.Enabled | ServerAudioBehavior.Muted | ServerAudioBehavior.OnlineGame;
|
|
16628
|
-
|
|
16629
16608
|
export namespace ServerLiveEditingMode {
|
|
16630
16609
|
export interface Uninitialized extends globalThis.EnumItem {
|
|
16631
16610
|
Name: "Uninitialized";
|
|
@@ -20524,6 +20503,80 @@ declare namespace Enum {
|
|
|
20524
20503
|
}
|
|
20525
20504
|
export type TweenStatus = TweenStatus.Canceled | TweenStatus.Completed;
|
|
20526
20505
|
|
|
20506
|
+
export namespace UIDragDetectorDragStyle {
|
|
20507
|
+
export interface TranslatePlane extends globalThis.EnumItem {
|
|
20508
|
+
Name: "TranslatePlane";
|
|
20509
|
+
Value: 0;
|
|
20510
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
|
|
20511
|
+
}
|
|
20512
|
+
|
|
20513
|
+
export const TranslatePlane: TranslatePlane;
|
|
20514
|
+
|
|
20515
|
+
export interface TranslateLine extends globalThis.EnumItem {
|
|
20516
|
+
Name: "TranslateLine";
|
|
20517
|
+
Value: 1;
|
|
20518
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
|
|
20519
|
+
}
|
|
20520
|
+
|
|
20521
|
+
export const TranslateLine: TranslateLine;
|
|
20522
|
+
|
|
20523
|
+
export interface Rotate extends globalThis.EnumItem {
|
|
20524
|
+
Name: "Rotate";
|
|
20525
|
+
Value: 2;
|
|
20526
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
|
|
20527
|
+
}
|
|
20528
|
+
|
|
20529
|
+
export const Rotate: Rotate;
|
|
20530
|
+
|
|
20531
|
+
export interface Scriptable extends globalThis.EnumItem {
|
|
20532
|
+
Name: "Scriptable";
|
|
20533
|
+
Value: 3;
|
|
20534
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
|
|
20535
|
+
}
|
|
20536
|
+
|
|
20537
|
+
export const Scriptable: Scriptable;
|
|
20538
|
+
|
|
20539
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorDragStyle>;
|
|
20540
|
+
}
|
|
20541
|
+
export type UIDragDetectorDragStyle = UIDragDetectorDragStyle.TranslatePlane | UIDragDetectorDragStyle.TranslateLine | UIDragDetectorDragStyle.Rotate | UIDragDetectorDragStyle.Scriptable;
|
|
20542
|
+
|
|
20543
|
+
export namespace UIDragDetectorResponseStyle {
|
|
20544
|
+
export interface Offset extends globalThis.EnumItem {
|
|
20545
|
+
Name: "Offset";
|
|
20546
|
+
Value: 0;
|
|
20547
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
|
|
20548
|
+
}
|
|
20549
|
+
|
|
20550
|
+
export const Offset: Offset;
|
|
20551
|
+
|
|
20552
|
+
export interface Scale extends globalThis.EnumItem {
|
|
20553
|
+
Name: "Scale";
|
|
20554
|
+
Value: 1;
|
|
20555
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
|
|
20556
|
+
}
|
|
20557
|
+
|
|
20558
|
+
export const Scale: Scale;
|
|
20559
|
+
|
|
20560
|
+
export interface CustomOffset extends globalThis.EnumItem {
|
|
20561
|
+
Name: "CustomOffset";
|
|
20562
|
+
Value: 2;
|
|
20563
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
|
|
20564
|
+
}
|
|
20565
|
+
|
|
20566
|
+
export const CustomOffset: CustomOffset;
|
|
20567
|
+
|
|
20568
|
+
export interface CustomScale extends globalThis.EnumItem {
|
|
20569
|
+
Name: "CustomScale";
|
|
20570
|
+
Value: 3;
|
|
20571
|
+
EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
|
|
20572
|
+
}
|
|
20573
|
+
|
|
20574
|
+
export const CustomScale: CustomScale;
|
|
20575
|
+
|
|
20576
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorResponseStyle>;
|
|
20577
|
+
}
|
|
20578
|
+
export type UIDragDetectorResponseStyle = UIDragDetectorResponseStyle.Offset | UIDragDetectorResponseStyle.Scale | UIDragDetectorResponseStyle.CustomOffset | UIDragDetectorResponseStyle.CustomScale;
|
|
20579
|
+
|
|
20527
20580
|
export namespace UIFlexAlignment {
|
|
20528
20581
|
export interface None extends globalThis.EnumItem {
|
|
20529
20582
|
Name: "None";
|