@rbxts/types 1.0.774 → 1.0.775
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.
- package/include/generated/None.d.ts +31 -7
- package/include/generated/enums.d.ts +164 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -3084,6 +3085,10 @@ interface AvatarCreationService extends Instance {
|
|
|
3084
3085
|
* Tags: Yields
|
|
3085
3086
|
*/
|
|
3086
3087
|
CreateAvatarGenerationSessionAsync(this: AvatarCreationService, player: Player): AvatarGenerationSession;
|
|
3088
|
+
/**
|
|
3089
|
+
* Tags: Yields
|
|
3090
|
+
*/
|
|
3091
|
+
GetAvatarGenerationConfig(this: AvatarCreationService): object;
|
|
3087
3092
|
/**
|
|
3088
3093
|
* Tags: Yields
|
|
3089
3094
|
*/
|
|
@@ -5271,6 +5276,10 @@ interface Beam extends Instance {
|
|
|
5271
5276
|
* 
|
|
5272
5277
|
*/
|
|
5273
5278
|
LightInfluence: number;
|
|
5279
|
+
/**
|
|
5280
|
+
* Tags: Hidden, NotReplicated
|
|
5281
|
+
*/
|
|
5282
|
+
LocalTransparencyModifier: number;
|
|
5274
5283
|
/**
|
|
5275
5284
|
* Sets how many straight segments the [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam) is made up of.
|
|
5276
5285
|
*
|
|
@@ -9828,6 +9837,7 @@ interface EditableMesh extends DataModelMesh {
|
|
|
9828
9837
|
* @deprecated
|
|
9829
9838
|
*/
|
|
9830
9839
|
readonly _nominal_EditableMesh: unique symbol;
|
|
9840
|
+
SkinningEnabled: boolean;
|
|
9831
9841
|
AddTriangle(this: EditableMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9832
9842
|
AddVertex(this: EditableMesh, p: Vector3): number;
|
|
9833
9843
|
FindClosestPointOnSurface(this: EditableMesh, point: Vector3): LuaTuple<[number, Vector3, Vector3]>;
|
|
@@ -26765,10 +26775,6 @@ interface Workspace extends WorldRoot {
|
|
|
26765
26775
|
* @deprecated
|
|
26766
26776
|
*/
|
|
26767
26777
|
InterpolationThrottling: Enum.InterpolationThrottlingMode;
|
|
26768
|
-
/**
|
|
26769
|
-
* Tags: Hidden
|
|
26770
|
-
*/
|
|
26771
|
-
RenderingCacheOptimizations: Enum.RenderingCacheOptimizationMode;
|
|
26772
26778
|
Retargeting: Enum.AnimatorRetargetingMode;
|
|
26773
26779
|
/**
|
|
26774
26780
|
* 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.
|
|
@@ -27343,6 +27349,10 @@ interface ParticleEmitter extends Instance {
|
|
|
27343
27349
|
* By default, this value is 1 if inserted with Studio tools. If inserted using `Instance.new`, it is 0.
|
|
27344
27350
|
*/
|
|
27345
27351
|
LightInfluence: number;
|
|
27352
|
+
/**
|
|
27353
|
+
* Tags: Hidden, NotReplicated
|
|
27354
|
+
*/
|
|
27355
|
+
LocalTransparencyModifier: number;
|
|
27346
27356
|
/**
|
|
27347
27357
|
* 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
27358
|
*
|
|
@@ -28423,6 +28433,8 @@ interface Player extends Instance {
|
|
|
28423
28433
|
* 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
28434
|
*
|
|
28425
28435
|
* 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).
|
|
28436
|
+
*
|
|
28437
|
+
* Tags: CustomLuaState
|
|
28426
28438
|
*/
|
|
28427
28439
|
GetJoinData(this: Player): PlayerJoinInfo;
|
|
28428
28440
|
/**
|
|
@@ -28822,6 +28834,17 @@ interface Player extends Instance {
|
|
|
28822
28834
|
readonly OnTeleport: RBXScriptSignal<(teleportState: Enum.TeleportState, placeId: number, spawnName: string) => void>;
|
|
28823
28835
|
}
|
|
28824
28836
|
|
|
28837
|
+
interface PlayerHydrationService extends Instance {
|
|
28838
|
+
/**
|
|
28839
|
+
* **DO NOT USE!**
|
|
28840
|
+
*
|
|
28841
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28842
|
+
* @hidden
|
|
28843
|
+
* @deprecated
|
|
28844
|
+
*/
|
|
28845
|
+
readonly _nominal_PlayerHydrationService: unique symbol;
|
|
28846
|
+
}
|
|
28847
|
+
|
|
28825
28848
|
/** [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
28849
|
*
|
|
28827
28850
|
* 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).
|
|
@@ -35105,6 +35128,10 @@ interface Trail extends Instance {
|
|
|
35105
35128
|
* * [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
35129
|
*/
|
|
35107
35130
|
LightInfluence: number;
|
|
35131
|
+
/**
|
|
35132
|
+
* Tags: Hidden, NotReplicated
|
|
35133
|
+
*/
|
|
35134
|
+
LocalTransparencyModifier: number;
|
|
35108
35135
|
/**
|
|
35109
35136
|
* 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
35137
|
*
|
|
@@ -37967,9 +37994,6 @@ interface VRService extends Instance {
|
|
|
37967
37994
|
*/
|
|
37968
37995
|
readonly _nominal_VRService: unique symbol;
|
|
37969
37996
|
AutomaticScaling: Enum.VRScaling;
|
|
37970
|
-
/**
|
|
37971
|
-
* Tags: NotBrowsable
|
|
37972
|
-
*/
|
|
37973
37997
|
AvatarGestures: boolean;
|
|
37974
37998
|
FadeOutViewOnCollision: boolean;
|
|
37975
37999
|
/**
|
|
@@ -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";
|