@rbxts/types 1.0.776 → 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.
|
@@ -3082,6 +3082,7 @@ interface AvatarCreationService extends Instance {
|
|
|
3082
3082
|
* @deprecated
|
|
3083
3083
|
*/
|
|
3084
3084
|
readonly _nominal_AvatarCreationService: unique symbol;
|
|
3085
|
+
SendAnalyticsEvent(this: AvatarCreationService, eventName: string, params: object): void;
|
|
3085
3086
|
/**
|
|
3086
3087
|
* Tags: Yields
|
|
3087
3088
|
*/
|
|
@@ -11007,6 +11008,10 @@ interface Explosion extends Instance {
|
|
|
11007
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.
|
|
11008
11009
|
*/
|
|
11009
11010
|
ExplosionType: Enum.ExplosionType;
|
|
11011
|
+
/**
|
|
11012
|
+
* Tags: Hidden, NotReplicated
|
|
11013
|
+
*/
|
|
11014
|
+
LocalTransparencyModifier: number;
|
|
11010
11015
|
/**
|
|
11011
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.
|
|
11012
11017
|
*
|
|
@@ -11444,6 +11449,10 @@ interface Fire extends Instance {
|
|
|
11444
11449
|
* Tags: NotReplicated
|
|
11445
11450
|
*/
|
|
11446
11451
|
Heat: number;
|
|
11452
|
+
/**
|
|
11453
|
+
* Tags: Hidden, NotReplicated
|
|
11454
|
+
*/
|
|
11455
|
+
LocalTransparencyModifier: number;
|
|
11447
11456
|
/**
|
|
11448
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).
|
|
11449
11458
|
*
|
|
@@ -19571,6 +19580,10 @@ interface InsertService extends Instance {
|
|
|
19571
19580
|
* @deprecated
|
|
19572
19581
|
*/
|
|
19573
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;
|
|
19574
19587
|
/**
|
|
19575
19588
|
* Tags: Yields
|
|
19576
19589
|
* @deprecated Use `GetBaseSets` instead
|
|
@@ -31468,6 +31481,10 @@ interface Smoke extends Instance {
|
|
|
31468
31481
|
* stopSmoke(part.Smoke)
|
|
31469
31482
|
*/
|
|
31470
31483
|
Enabled: boolean;
|
|
31484
|
+
/**
|
|
31485
|
+
* Tags: Hidden, NotReplicated
|
|
31486
|
+
*/
|
|
31487
|
+
LocalTransparencyModifier: number;
|
|
31471
31488
|
/**
|
|
31472
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%).
|
|
31473
31490
|
*
|
|
@@ -32683,6 +32700,10 @@ interface Sparkles extends Instance {
|
|
|
32683
32700
|
* stopSparkling(part.Sparkles)
|
|
32684
32701
|
*/
|
|
32685
32702
|
Enabled: boolean;
|
|
32703
|
+
/**
|
|
32704
|
+
* Tags: Hidden, NotReplicated
|
|
32705
|
+
*/
|
|
32706
|
+
LocalTransparencyModifier: number;
|
|
32686
32707
|
/**
|
|
32687
32708
|
* **Note** This property functions identically to [Sparkles.Color](https://developer.roblox.com/en-us/api-reference/property/Sparkles/Color)
|
|
32688
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";
|