@rbxts/types 1.0.774 → 1.0.776

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.
@@ -101,6 +101,7 @@ interface Services {
101
101
  PlaceStatsService: PlaceStatsService;
102
102
  PlatformCloudStorageService: PlatformCloudStorageService;
103
103
  PlatformFriendsService: PlatformFriendsService;
104
+ PlayerHydrationService: PlayerHydrationService;
104
105
  Players: Players;
105
106
  PlayerViewService: PlayerViewService;
106
107
  PluginManagementService: PluginManagementService;
@@ -470,6 +471,7 @@ interface Instances extends Services, CreatableInstances {
470
471
  AvatarGenerationJob: AvatarGenerationJob;
471
472
  AvatarGenerationSession: AvatarGenerationSession;
472
473
  BackpackItem: BackpackItem;
474
+ BanHistoryPages: BanHistoryPages;
473
475
  BaseImportData: BaseImportData;
474
476
  BasePart: BasePart;
475
477
  BasePlayerGui: BasePlayerGui;
@@ -3084,6 +3086,10 @@ interface AvatarCreationService extends Instance {
3084
3086
  * Tags: Yields
3085
3087
  */
3086
3088
  CreateAvatarGenerationSessionAsync(this: AvatarCreationService, player: Player): AvatarGenerationSession;
3089
+ /**
3090
+ * Tags: Yields
3091
+ */
3092
+ GetAvatarGenerationConfig(this: AvatarCreationService): object;
3087
3093
  /**
3088
3094
  * Tags: Yields
3089
3095
  */
@@ -5271,6 +5277,10 @@ interface Beam extends Instance {
5271
5277
  * ![enter image description here](https://developer.roblox.com/assets/blt1d1d4b30144114c3/BeamLight2.png)
5272
5278
  */
5273
5279
  LightInfluence: number;
5280
+ /**
5281
+ * Tags: Hidden, NotReplicated
5282
+ */
5283
+ LocalTransparencyModifier: number;
5274
5284
  /**
5275
5285
  * Sets how many straight segments the [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam) is made up of.
5276
5286
  *
@@ -9828,6 +9838,7 @@ interface EditableMesh extends DataModelMesh {
9828
9838
  * @deprecated
9829
9839
  */
9830
9840
  readonly _nominal_EditableMesh: unique symbol;
9841
+ SkinningEnabled: boolean;
9831
9842
  AddTriangle(this: EditableMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
9832
9843
  AddVertex(this: EditableMesh, p: Vector3): number;
9833
9844
  FindClosestPointOnSurface(this: EditableMesh, point: Vector3): LuaTuple<[number, Vector3, Vector3]>;
@@ -22524,6 +22535,7 @@ interface MarketplaceService extends Instance {
22524
22535
  * @deprecated
22525
22536
  */
22526
22537
  readonly _nominal_MarketplaceService: unique symbol;
22538
+ PromptBulkPurchase(this: MarketplaceService, player: Player, lineItems: Array<any>, options: object): void;
22527
22539
  /**
22528
22540
  * Used to prompt a user to purchase a bundle with the given bundleId
22529
22541
  */
@@ -22849,6 +22861,7 @@ interface MarketplaceService extends Instance {
22849
22861
  * Tags: Yields
22850
22862
  */
22851
22863
  UserOwnsGamePassAsync(this: MarketplaceService, userId: number, gamePassId: number): boolean;
22864
+ readonly PromptBulkPurchaseFinished: RBXScriptSignal<(player: Player, status: Enum.MarketplaceBulkPurchasePromptStatus, results: object) => void>;
22852
22865
  readonly PromptBundlePurchaseFinished: RBXScriptSignal<(player: Player, bundleId: number, wasPurchased: boolean) => void>;
22853
22866
  /**
22854
22867
  * 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.
@@ -26765,10 +26778,6 @@ interface Workspace extends WorldRoot {
26765
26778
  * @deprecated
26766
26779
  */
26767
26780
  InterpolationThrottling: Enum.InterpolationThrottlingMode;
26768
- /**
26769
- * Tags: Hidden
26770
- */
26771
- RenderingCacheOptimizations: Enum.RenderingCacheOptimizationMode;
26772
26781
  Retargeting: Enum.AnimatorRetargetingMode;
26773
26782
  /**
26774
26783
  * The **StreamingEnabled** property determines whether game content streaming is enabled for the place. This property is not scriptable and therefore must be set on the **Workspace** object in Studio.
@@ -27051,6 +27060,17 @@ interface AudioPages extends Pages {
27051
27060
  readonly _nominal_AudioPages: unique symbol;
27052
27061
  }
27053
27062
 
27063
+ interface BanHistoryPages extends Pages {
27064
+ /**
27065
+ * **DO NOT USE!**
27066
+ *
27067
+ * This field exists to force TypeScript to recognize this as a nominal type
27068
+ * @hidden
27069
+ * @deprecated
27070
+ */
27071
+ readonly _nominal_BanHistoryPages: unique symbol;
27072
+ }
27073
+
27054
27074
  interface CatalogPages extends Pages<SearchCatalogResult> {
27055
27075
  /**
27056
27076
  * **DO NOT USE!**
@@ -27343,6 +27363,10 @@ interface ParticleEmitter extends Instance {
27343
27363
  * By default, this value is 1 if inserted with Studio tools. If inserted using `Instance.new`, it is 0.
27344
27364
  */
27345
27365
  LightInfluence: number;
27366
+ /**
27367
+ * Tags: Hidden, NotReplicated
27368
+ */
27369
+ LocalTransparencyModifier: number;
27346
27370
  /**
27347
27371
  * The LockedToPart property determines if particles will “stick” to the emission source (the [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment) or [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) to which the [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter) is parented).
27348
27372
  *
@@ -28423,6 +28447,8 @@ interface Player extends Instance {
28423
28447
  * You should not use this function for data that can be changed. For example, the amount of in-game currency the user currently has. This is because GetJoinData cannot guarantee a malicious user is not transmitting data from a previous session. For data like this, you should rely on [GlobalDataStores](https://developer.roblox.com/en-us/api-reference/class/GlobalDataStore).
28424
28448
  *
28425
28449
  * As with all cases, you should implement proper server validation to ensure your game is secure. For more information see this article on [Game Security](https://developer.roblox.com/en-us/articles/game-security).
28450
+ *
28451
+ * Tags: CustomLuaState
28426
28452
  */
28427
28453
  GetJoinData(this: Player): PlayerJoinInfo;
28428
28454
  /**
@@ -28822,6 +28848,17 @@ interface Player extends Instance {
28822
28848
  readonly OnTeleport: RBXScriptSignal<(teleportState: Enum.TeleportState, placeId: number, spawnName: string) => void>;
28823
28849
  }
28824
28850
 
28851
+ interface PlayerHydrationService extends Instance {
28852
+ /**
28853
+ * **DO NOT USE!**
28854
+ *
28855
+ * This field exists to force TypeScript to recognize this as a nominal type
28856
+ * @hidden
28857
+ * @deprecated
28858
+ */
28859
+ readonly _nominal_PlayerHydrationService: unique symbol;
28860
+ }
28861
+
28825
28862
  /** [PlayerScripts](https://developer.roblox.com/en-us/api-reference/class/PlayerScripts) is a container object located inside [Player](https://developer.roblox.com/en-us/api-reference/class/Player) objects within the [Players](https://developer.roblox.com/en-us/api-reference/class/Players) game service. It is created automatically when a player joins the game. Its main purpose is to contain [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript)s copied from the [StarterPlayerScripts](https://developer.roblox.com/en-us/api-reference/class/StarterPlayerScripts) container within the [StarterPlayer](https://developer.roblox.com/en-us/api-reference/class/StarterPlayer) game service, which happens once upon creation. Descendant `LocalScripts` of [PlayerScripts](https://developer.roblox.com/en-us/api-reference/class/PlayerScripts) will run code on the client of the [Player](https://developer.roblox.com/en-us/api-reference/class/Player).
28826
28863
  *
28827
28864
  * Unlike the [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack) and [PlayerGui](https://developer.roblox.com/en-us/api-reference/class/PlayerGui) containers, the [PlayerScripts](https://developer.roblox.com/en-us/api-reference/class/PlayerScripts) container is not accessible to the server. Server [Script](https://developer.roblox.com/en-us/api-reference/class/Script) objects will not run when parented to [PlayerScripts](https://developer.roblox.com/en-us/api-reference/class/PlayerScripts).
@@ -29083,6 +29120,10 @@ interface Players extends Instance {
29083
29120
  * Tags: Yields
29084
29121
  */
29085
29122
  CreateHumanoidModelFromUserId(this: Players, userId: number): Model;
29123
+ /**
29124
+ * Tags: Yields
29125
+ */
29126
+ GetBanHistoryAsync(this: Players, userId: number): BanHistoryPages;
29086
29127
  /**
29087
29128
  * 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.
29088
29129
  *
@@ -35105,6 +35146,10 @@ interface Trail extends Instance {
35105
35146
  * * [Beam.LightEmission](https://developer.roblox.com/en-us/api-reference/property/Beam/LightEmission), an identical property used by [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam)s
35106
35147
  */
35107
35148
  LightInfluence: number;
35149
+ /**
35150
+ * Tags: Hidden, NotReplicated
35151
+ */
35152
+ LocalTransparencyModifier: number;
35108
35153
  /**
35109
35154
  * The MinLength of a [Trail](https://developer.roblox.com/en-us/api-reference/class/Trail) determines the maximum length of each of the segments in the trail.
35110
35155
  *
@@ -37967,9 +38012,6 @@ interface VRService extends Instance {
37967
38012
  */
37968
38013
  readonly _nominal_VRService: unique symbol;
37969
38014
  AutomaticScaling: Enum.VRScaling;
37970
- /**
37971
- * Tags: NotBrowsable
37972
- */
37973
38015
  AvatarGestures: boolean;
37974
38016
  FadeOutViewOnCollision: boolean;
37975
38017
  /**
@@ -9511,6 +9511,19 @@ declare namespace Enum {
9511
9511
  }
9512
9512
  export type ItemLineAlignment = ItemLineAlignment.Automatic | ItemLineAlignment.Start | ItemLineAlignment.Center | ItemLineAlignment.End | ItemLineAlignment.Stretch;
9513
9513
 
9514
+ export namespace JoinSource {
9515
+ export interface CreatedItemAttribution extends globalThis.EnumItem {
9516
+ Name: "CreatedItemAttribution";
9517
+ Value: 1;
9518
+ EnumType: typeof globalThis.Enum.JoinSource;
9519
+ }
9520
+
9521
+ export const CreatedItemAttribution: CreatedItemAttribution;
9522
+
9523
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.JoinSource>;
9524
+ }
9525
+ export type JoinSource = JoinSource.CreatedItemAttribution;
9526
+
9514
9527
  export namespace JointCreationMode {
9515
9528
  export interface All extends globalThis.EnumItem {
9516
9529
  Name: "All";
@@ -11941,6 +11954,157 @@ declare namespace Enum {
11941
11954
  }
11942
11955
  export type LoadDynamicHeads = LoadDynamicHeads.Default | LoadDynamicHeads.Disabled | LoadDynamicHeads.Enabled;
11943
11956
 
11957
+ export namespace MarketplaceBulkPurchasePromptStatus {
11958
+ export interface Completed extends globalThis.EnumItem {
11959
+ Name: "Completed";
11960
+ Value: 1;
11961
+ EnumType: typeof globalThis.Enum.MarketplaceBulkPurchasePromptStatus;
11962
+ }
11963
+
11964
+ export const Completed: Completed;
11965
+
11966
+ export interface Aborted extends globalThis.EnumItem {
11967
+ Name: "Aborted";
11968
+ Value: 2;
11969
+ EnumType: typeof globalThis.Enum.MarketplaceBulkPurchasePromptStatus;
11970
+ }
11971
+
11972
+ export const Aborted: Aborted;
11973
+
11974
+ export interface Error extends globalThis.EnumItem {
11975
+ Name: "Error";
11976
+ Value: 3;
11977
+ EnumType: typeof globalThis.Enum.MarketplaceBulkPurchasePromptStatus;
11978
+ }
11979
+
11980
+ export const Error: Error;
11981
+
11982
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MarketplaceBulkPurchasePromptStatus>;
11983
+ }
11984
+ export type MarketplaceBulkPurchasePromptStatus = MarketplaceBulkPurchasePromptStatus.Completed | MarketplaceBulkPurchasePromptStatus.Aborted | MarketplaceBulkPurchasePromptStatus.Error;
11985
+
11986
+ export namespace MarketplaceItemPurchaseStatus {
11987
+ export interface Success extends globalThis.EnumItem {
11988
+ Name: "Success";
11989
+ Value: 1;
11990
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
11991
+ }
11992
+
11993
+ export const Success: Success;
11994
+
11995
+ export interface SystemError extends globalThis.EnumItem {
11996
+ Name: "SystemError";
11997
+ Value: 2;
11998
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
11999
+ }
12000
+
12001
+ export const SystemError: SystemError;
12002
+
12003
+ export interface AlreadyOwned extends globalThis.EnumItem {
12004
+ Name: "AlreadyOwned";
12005
+ Value: 3;
12006
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12007
+ }
12008
+
12009
+ export const AlreadyOwned: AlreadyOwned;
12010
+
12011
+ export interface InsufficientRobux extends globalThis.EnumItem {
12012
+ Name: "InsufficientRobux";
12013
+ Value: 4;
12014
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12015
+ }
12016
+
12017
+ export const InsufficientRobux: InsufficientRobux;
12018
+
12019
+ export interface QuantityLimitExceeded extends globalThis.EnumItem {
12020
+ Name: "QuantityLimitExceeded";
12021
+ Value: 5;
12022
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12023
+ }
12024
+
12025
+ export const QuantityLimitExceeded: QuantityLimitExceeded;
12026
+
12027
+ export interface QuotaExceeded extends globalThis.EnumItem {
12028
+ Name: "QuotaExceeded";
12029
+ Value: 6;
12030
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12031
+ }
12032
+
12033
+ export const QuotaExceeded: QuotaExceeded;
12034
+
12035
+ export interface NotForSale extends globalThis.EnumItem {
12036
+ Name: "NotForSale";
12037
+ Value: 7;
12038
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12039
+ }
12040
+
12041
+ export const NotForSale: NotForSale;
12042
+
12043
+ export interface NotAvailableForPurchaser extends globalThis.EnumItem {
12044
+ Name: "NotAvailableForPurchaser";
12045
+ Value: 8;
12046
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12047
+ }
12048
+
12049
+ export const NotAvailableForPurchaser: NotAvailableForPurchaser;
12050
+
12051
+ export interface PriceMismatch extends globalThis.EnumItem {
12052
+ Name: "PriceMismatch";
12053
+ Value: 9;
12054
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12055
+ }
12056
+
12057
+ export const PriceMismatch: PriceMismatch;
12058
+
12059
+ export interface SoldOut extends globalThis.EnumItem {
12060
+ Name: "SoldOut";
12061
+ Value: 10;
12062
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12063
+ }
12064
+
12065
+ export const SoldOut: SoldOut;
12066
+
12067
+ export interface PurchaserIsSeller extends globalThis.EnumItem {
12068
+ Name: "PurchaserIsSeller";
12069
+ Value: 11;
12070
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12071
+ }
12072
+
12073
+ export const PurchaserIsSeller: PurchaserIsSeller;
12074
+
12075
+ export interface InsufficientMembership extends globalThis.EnumItem {
12076
+ Name: "InsufficientMembership";
12077
+ Value: 12;
12078
+ EnumType: typeof globalThis.Enum.MarketplaceItemPurchaseStatus;
12079
+ }
12080
+
12081
+ export const InsufficientMembership: InsufficientMembership;
12082
+
12083
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MarketplaceItemPurchaseStatus>;
12084
+ }
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;
12086
+
12087
+ export namespace MarketplaceProductType {
12088
+ export interface AvatarAsset extends globalThis.EnumItem {
12089
+ Name: "AvatarAsset";
12090
+ Value: 1;
12091
+ EnumType: typeof globalThis.Enum.MarketplaceProductType;
12092
+ }
12093
+
12094
+ export const AvatarAsset: AvatarAsset;
12095
+
12096
+ export interface AvatarBundle extends globalThis.EnumItem {
12097
+ Name: "AvatarBundle";
12098
+ Value: 2;
12099
+ EnumType: typeof globalThis.Enum.MarketplaceProductType;
12100
+ }
12101
+
12102
+ export const AvatarBundle: AvatarBundle;
12103
+
12104
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MarketplaceProductType>;
12105
+ }
12106
+ export type MarketplaceProductType = MarketplaceProductType.AvatarAsset | MarketplaceProductType.AvatarBundle;
12107
+
11944
12108
  export namespace MarkupKind {
11945
12109
  export interface PlainText extends globalThis.EnumItem {
11946
12110
  Name: "PlainText";
@@ -20360,6 +20524,80 @@ declare namespace Enum {
20360
20524
  }
20361
20525
  export type TweenStatus = TweenStatus.Canceled | TweenStatus.Completed;
20362
20526
 
20527
+ export namespace UIDragDetectorDragStyle {
20528
+ export interface TranslatePlane extends globalThis.EnumItem {
20529
+ Name: "TranslatePlane";
20530
+ Value: 0;
20531
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20532
+ }
20533
+
20534
+ export const TranslatePlane: TranslatePlane;
20535
+
20536
+ export interface TranslateLine extends globalThis.EnumItem {
20537
+ Name: "TranslateLine";
20538
+ Value: 1;
20539
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20540
+ }
20541
+
20542
+ export const TranslateLine: TranslateLine;
20543
+
20544
+ export interface Rotate extends globalThis.EnumItem {
20545
+ Name: "Rotate";
20546
+ Value: 2;
20547
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20548
+ }
20549
+
20550
+ export const Rotate: Rotate;
20551
+
20552
+ export interface Scriptable extends globalThis.EnumItem {
20553
+ Name: "Scriptable";
20554
+ Value: 3;
20555
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20556
+ }
20557
+
20558
+ export const Scriptable: Scriptable;
20559
+
20560
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorDragStyle>;
20561
+ }
20562
+ export type UIDragDetectorDragStyle = UIDragDetectorDragStyle.TranslatePlane | UIDragDetectorDragStyle.TranslateLine | UIDragDetectorDragStyle.Rotate | UIDragDetectorDragStyle.Scriptable;
20563
+
20564
+ export namespace UIDragDetectorResponseStyle {
20565
+ export interface Offset extends globalThis.EnumItem {
20566
+ Name: "Offset";
20567
+ Value: 0;
20568
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20569
+ }
20570
+
20571
+ export const Offset: Offset;
20572
+
20573
+ export interface Scale extends globalThis.EnumItem {
20574
+ Name: "Scale";
20575
+ Value: 1;
20576
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20577
+ }
20578
+
20579
+ export const Scale: Scale;
20580
+
20581
+ export interface CustomOffset extends globalThis.EnumItem {
20582
+ Name: "CustomOffset";
20583
+ Value: 2;
20584
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20585
+ }
20586
+
20587
+ export const CustomOffset: CustomOffset;
20588
+
20589
+ export interface CustomScale extends globalThis.EnumItem {
20590
+ Name: "CustomScale";
20591
+ Value: 3;
20592
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20593
+ }
20594
+
20595
+ export const CustomScale: CustomScale;
20596
+
20597
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorResponseStyle>;
20598
+ }
20599
+ export type UIDragDetectorResponseStyle = UIDragDetectorResponseStyle.Offset | UIDragDetectorResponseStyle.Scale | UIDragDetectorResponseStyle.CustomOffset | UIDragDetectorResponseStyle.CustomScale;
20600
+
20363
20601
  export namespace UIFlexAlignment {
20364
20602
  export interface None extends globalThis.EnumItem {
20365
20603
  Name: "None";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.774",
3
+ "version": "1.0.776",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },