@rbxts/types 1.0.657 → 1.0.659
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 +43 -1
- package/include/generated/enums.d.ts +29 -40
- package/package.json +1 -1
|
@@ -58,6 +58,7 @@ interface Services {
|
|
|
58
58
|
LanguageService: LanguageService;
|
|
59
59
|
LegacyStudioBridge: LegacyStudioBridge;
|
|
60
60
|
Lighting: Lighting;
|
|
61
|
+
LiveScriptingService: LiveScriptingService;
|
|
61
62
|
LocalizationService: LocalizationService;
|
|
62
63
|
LodDataService: LodDataService;
|
|
63
64
|
LogService: LogService;
|
|
@@ -94,6 +95,7 @@ interface Services {
|
|
|
94
95
|
ServerStorage: ServerStorage;
|
|
95
96
|
SessionService: SessionService;
|
|
96
97
|
ShorelineUpgraderService: ShorelineUpgraderService;
|
|
98
|
+
SmoothVoxelsUpgraderService: SmoothVoxelsUpgraderService;
|
|
97
99
|
SnippetService: SnippetService;
|
|
98
100
|
SocialService: SocialService;
|
|
99
101
|
SoundService: SoundService;
|
|
@@ -106,6 +108,7 @@ interface Services {
|
|
|
106
108
|
StudioHighDpiService: StudioHighDpiService;
|
|
107
109
|
StudioPublishService: StudioPublishService;
|
|
108
110
|
StudioScriptDebugEventListener: StudioScriptDebugEventListener;
|
|
111
|
+
StudioSdkService: StudioSdkService;
|
|
109
112
|
TeamCreateService: TeamCreateService;
|
|
110
113
|
Teams: Teams;
|
|
111
114
|
TeleportService: TeleportService;
|
|
@@ -16413,6 +16416,7 @@ interface IKControl extends Instance {
|
|
|
16413
16416
|
Offset: CFrame;
|
|
16414
16417
|
Pole: Instance | undefined;
|
|
16415
16418
|
Priority: number;
|
|
16419
|
+
SmoothTime: number;
|
|
16416
16420
|
Target: Instance | undefined;
|
|
16417
16421
|
Type: Enum.IKControlType;
|
|
16418
16422
|
Weight: number;
|
|
@@ -19675,6 +19679,17 @@ interface Lighting extends Instance {
|
|
|
19675
19679
|
readonly LightingChanged: RBXScriptSignal<(skyChanged: boolean) => void>;
|
|
19676
19680
|
}
|
|
19677
19681
|
|
|
19682
|
+
interface LiveScriptingService extends Instance {
|
|
19683
|
+
/**
|
|
19684
|
+
* **DO NOT USE!**
|
|
19685
|
+
*
|
|
19686
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
19687
|
+
* @hidden
|
|
19688
|
+
* @deprecated
|
|
19689
|
+
*/
|
|
19690
|
+
readonly _nominal_LiveScriptingService: unique symbol;
|
|
19691
|
+
}
|
|
19692
|
+
|
|
19678
19693
|
/** LocalizationService is the service responsible for handling automated translation.
|
|
19679
19694
|
*
|
|
19680
19695
|
* It is used as a storage for [LocalizationTable](https://developer.roblox.com/en-us/api-reference/class/LocalizationTable) objects used by automatic text replacement.
|
|
@@ -29249,6 +29264,17 @@ interface Smoke extends Instance {
|
|
|
29249
29264
|
TimeScale: number;
|
|
29250
29265
|
}
|
|
29251
29266
|
|
|
29267
|
+
interface SmoothVoxelsUpgraderService extends Instance {
|
|
29268
|
+
/**
|
|
29269
|
+
* **DO NOT USE!**
|
|
29270
|
+
*
|
|
29271
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29272
|
+
* @hidden
|
|
29273
|
+
* @deprecated
|
|
29274
|
+
*/
|
|
29275
|
+
readonly _nominal_SmoothVoxelsUpgraderService: unique symbol;
|
|
29276
|
+
}
|
|
29277
|
+
|
|
29252
29278
|
interface SnippetService extends Instance {
|
|
29253
29279
|
/**
|
|
29254
29280
|
* **DO NOT USE!**
|
|
@@ -30956,6 +30982,17 @@ interface StudioScriptDebugEventListener extends Instance {
|
|
|
30956
30982
|
readonly _nominal_StudioScriptDebugEventListener: unique symbol;
|
|
30957
30983
|
}
|
|
30958
30984
|
|
|
30985
|
+
interface StudioSdkService extends Instance {
|
|
30986
|
+
/**
|
|
30987
|
+
* **DO NOT USE!**
|
|
30988
|
+
*
|
|
30989
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
30990
|
+
* @hidden
|
|
30991
|
+
* @deprecated
|
|
30992
|
+
*/
|
|
30993
|
+
readonly _nominal_StudioSdkService: unique symbol;
|
|
30994
|
+
}
|
|
30995
|
+
|
|
30959
30996
|
/** SurfaceAppearance objects allow developers to override the appearance of a [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) with advanced graphics options. Most notably, a SurfaceAppearance can apply a set of PBR textures to a mesh.
|
|
30960
30997
|
*
|
|
30961
30998
|
* PBR is short for Physically Based Rendering, which refers to a common texture format for defining extra physical details in games. Because this format is widely used, it's easy to take meshes and textures made in 3rd party editing software and import them into Roblox. It's also easy to find PBR format content from various 3rd party stores such as [SketchFab](https://sketchfab.com/search?q=pbr%20object&sort_by=-relevance&type=models), [TurboSquid](https://www.turbosquid.com/Search/3D-Models/free/pbr), [CGTrader](http://cgtrader.com/pbr-3d-models?polygons=lt_5k).
|
|
@@ -32183,6 +32220,7 @@ interface ChatInputBarConfiguration extends TextChatConfigurations {
|
|
|
32183
32220
|
FontFace: Font;
|
|
32184
32221
|
PlaceholderColor3: Color3;
|
|
32185
32222
|
TargetTextChannel: TextChannel | undefined;
|
|
32223
|
+
TextBox: TextBox | undefined;
|
|
32186
32224
|
TextColor3: Color3;
|
|
32187
32225
|
TextSize: number;
|
|
32188
32226
|
TextStrokeColor3: Color3;
|
|
@@ -35395,6 +35433,7 @@ interface VRService extends Instance {
|
|
|
35395
35433
|
* @deprecated
|
|
35396
35434
|
*/
|
|
35397
35435
|
readonly _nominal_VRService: unique symbol;
|
|
35436
|
+
FadeOutViewOnCollision: boolean;
|
|
35398
35437
|
/**
|
|
35399
35438
|
* The GuiInputUserCFrame property describes what [UserCFrame](https://developer.roblox.com/en-us/api-reference/enum/UserCFrame) is responsible for input in VR. For instance, if a VR headset is responsible, the value of this property will be UserCFrame.Head.
|
|
35400
35439
|
*
|
|
@@ -35937,7 +35976,10 @@ interface Vector3Curve extends Instance {
|
|
|
35937
35976
|
/**
|
|
35938
35977
|
* Samples the 3 FloatCurves (X, Y, Z) at the time passed as argument. Returns the 3 samples as a tuple of 3 numbers. If a channel curve is missing or no key is found in the curve the channel is evaluated as nil.
|
|
35939
35978
|
*/
|
|
35940
|
-
GetValueAtTime(
|
|
35979
|
+
GetValueAtTime(
|
|
35980
|
+
this: Vector3Curve,
|
|
35981
|
+
time: number,
|
|
35982
|
+
): LuaTuple<[number | undefined, number | undefined, number | undefined]>;
|
|
35941
35983
|
/**
|
|
35942
35984
|
* Returns the FloatCurve controlling the X channel. It is the first child instance of type FloatCurve named `X`. If none is found an empty FloatCurve is created.
|
|
35943
35985
|
*/
|
|
@@ -2617,14 +2617,6 @@ declare namespace Enum {
|
|
|
2617
2617
|
|
|
2618
2618
|
export const PriceLowToHigh: PriceLowToHigh;
|
|
2619
2619
|
|
|
2620
|
-
export interface RecentlyUpdated extends globalThis.EnumItem {
|
|
2621
|
-
Name: "RecentlyUpdated";
|
|
2622
|
-
Value: 4;
|
|
2623
|
-
EnumType: typeof globalThis.Enum.CatalogSortType;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
export const RecentlyUpdated: RecentlyUpdated;
|
|
2627
|
-
|
|
2628
2620
|
export interface MostFavorited extends globalThis.EnumItem {
|
|
2629
2621
|
Name: "MostFavorited";
|
|
2630
2622
|
Value: 5;
|
|
@@ -2633,9 +2625,19 @@ declare namespace Enum {
|
|
|
2633
2625
|
|
|
2634
2626
|
export const MostFavorited: MostFavorited;
|
|
2635
2627
|
|
|
2628
|
+
export interface RecentlyCreated extends globalThis.EnumItem {
|
|
2629
|
+
Name: "RecentlyCreated";
|
|
2630
|
+
Value: 6;
|
|
2631
|
+
EnumType: typeof globalThis.Enum.CatalogSortType;
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
export const RecentlyCreated: RecentlyCreated;
|
|
2635
|
+
/** @deprecated renamed to RecentlyCreated */
|
|
2636
|
+
export const RecentlyUpdated: RecentlyCreated;
|
|
2637
|
+
|
|
2636
2638
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CatalogSortType>;
|
|
2637
2639
|
}
|
|
2638
|
-
export type CatalogSortType = CatalogSortType.Relevance | CatalogSortType.PriceHighToLow | CatalogSortType.PriceLowToHigh | CatalogSortType.
|
|
2640
|
+
export type CatalogSortType = CatalogSortType.Relevance | CatalogSortType.PriceHighToLow | CatalogSortType.PriceLowToHigh | CatalogSortType.MostFavorited | CatalogSortType.RecentlyCreated;
|
|
2639
2641
|
|
|
2640
2642
|
export namespace CellBlock {
|
|
2641
2643
|
export interface Solid extends globalThis.EnumItem {
|
|
@@ -3856,6 +3858,14 @@ declare namespace Enum {
|
|
|
3856
3858
|
|
|
3857
3859
|
export const PlayerRemoved: PlayerRemoved;
|
|
3858
3860
|
|
|
3861
|
+
export interface DisconnectOutOfMemoryKeepPlayingLeave extends globalThis.EnumItem {
|
|
3862
|
+
Name: "DisconnectOutOfMemoryKeepPlayingLeave";
|
|
3863
|
+
Value: 292;
|
|
3864
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3867
|
+
export const DisconnectOutOfMemoryKeepPlayingLeave: DisconnectOutOfMemoryKeepPlayingLeave;
|
|
3868
|
+
|
|
3859
3869
|
export interface PlacelaunchErrors extends globalThis.EnumItem {
|
|
3860
3870
|
Name: "PlacelaunchErrors";
|
|
3861
3871
|
Value: 512;
|
|
@@ -4050,7 +4060,7 @@ declare namespace Enum {
|
|
|
4050
4060
|
|
|
4051
4061
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ConnectionError>;
|
|
4052
4062
|
}
|
|
4053
|
-
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectOutOfMemoryExitContinue | ConnectionError.DisconnectOutOfMemoryKeepPlayingExit | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
4063
|
+
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.DisconnectOutOfMemoryExitContinue | ConnectionError.DisconnectOutOfMemoryKeepPlayingExit | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
4054
4064
|
|
|
4055
4065
|
export namespace ConnectionState {
|
|
4056
4066
|
export interface Connected extends globalThis.EnumItem {
|
|
@@ -10923,9 +10933,17 @@ declare namespace Enum {
|
|
|
10923
10933
|
|
|
10924
10934
|
export const PersistentPerPlayer: PersistentPerPlayer;
|
|
10925
10935
|
|
|
10936
|
+
export interface Nonatomic extends globalThis.EnumItem {
|
|
10937
|
+
Name: "Nonatomic";
|
|
10938
|
+
Value: 4;
|
|
10939
|
+
EnumType: typeof globalThis.Enum.ModelStreamingMode;
|
|
10940
|
+
}
|
|
10941
|
+
|
|
10942
|
+
export const Nonatomic: Nonatomic;
|
|
10943
|
+
|
|
10926
10944
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ModelStreamingMode>;
|
|
10927
10945
|
}
|
|
10928
|
-
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent | ModelStreamingMode.PersistentPerPlayer;
|
|
10946
|
+
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent | ModelStreamingMode.PersistentPerPlayer | ModelStreamingMode.Nonatomic;
|
|
10929
10947
|
|
|
10930
10948
|
export namespace ModifierKey {
|
|
10931
10949
|
export interface Alt extends globalThis.EnumItem {
|
|
@@ -17153,35 +17171,6 @@ declare namespace Enum {
|
|
|
17153
17171
|
}
|
|
17154
17172
|
export type UiMessageType = UiMessageType.UiMessageError | UiMessageType.UiMessageInfo;
|
|
17155
17173
|
|
|
17156
|
-
export namespace UnionsScaleNonuniformly {
|
|
17157
|
-
export interface Default extends globalThis.EnumItem {
|
|
17158
|
-
Name: "Default";
|
|
17159
|
-
Value: 0;
|
|
17160
|
-
EnumType: typeof globalThis.Enum.UnionsScaleNonuniformly;
|
|
17161
|
-
}
|
|
17162
|
-
|
|
17163
|
-
export const Default: Default;
|
|
17164
|
-
|
|
17165
|
-
export interface Disabled extends globalThis.EnumItem {
|
|
17166
|
-
Name: "Disabled";
|
|
17167
|
-
Value: 1;
|
|
17168
|
-
EnumType: typeof globalThis.Enum.UnionsScaleNonuniformly;
|
|
17169
|
-
}
|
|
17170
|
-
|
|
17171
|
-
export const Disabled: Disabled;
|
|
17172
|
-
|
|
17173
|
-
export interface Enabled extends globalThis.EnumItem {
|
|
17174
|
-
Name: "Enabled";
|
|
17175
|
-
Value: 2;
|
|
17176
|
-
EnumType: typeof globalThis.Enum.UnionsScaleNonuniformly;
|
|
17177
|
-
}
|
|
17178
|
-
|
|
17179
|
-
export const Enabled: Enabled;
|
|
17180
|
-
|
|
17181
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UnionsScaleNonuniformly>;
|
|
17182
|
-
}
|
|
17183
|
-
export type UnionsScaleNonuniformly = UnionsScaleNonuniformly.Default | UnionsScaleNonuniformly.Disabled | UnionsScaleNonuniformly.Enabled;
|
|
17184
|
-
|
|
17185
17174
|
export namespace UsageContext {
|
|
17186
17175
|
export interface Default extends globalThis.EnumItem {
|
|
17187
17176
|
Name: "Default";
|