@rbxts/types 1.0.593 → 1.0.600
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 +137 -33
- package/include/generated/PluginSecurity.d.ts +0 -1
- package/include/generated/enums.d.ts +23 -15
- package/include/lua.d.ts +20 -5
- package/include/roblox.d.ts +2 -0
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ interface Services {
|
|
|
38
38
|
DraggerService: DraggerService;
|
|
39
39
|
EventIngestService: EventIngestService;
|
|
40
40
|
FaceAnimatorService: FaceAnimatorService;
|
|
41
|
+
FacialAnimationStreamingService: FacialAnimationStreamingService;
|
|
41
42
|
GamePassService: GamePassService;
|
|
42
43
|
GroupService: GroupService;
|
|
43
44
|
GuiService: GuiService;
|
|
@@ -57,7 +58,6 @@ interface Services {
|
|
|
57
58
|
LodDataService: LodDataService;
|
|
58
59
|
LogService: LogService;
|
|
59
60
|
LSPFileSyncService: LSPFileSyncService;
|
|
60
|
-
LSPService: LSPService;
|
|
61
61
|
LuauScriptAnalyzerService: LuauScriptAnalyzerService;
|
|
62
62
|
MarketplaceService: MarketplaceService;
|
|
63
63
|
MaterialService: MaterialService;
|
|
@@ -76,11 +76,13 @@ interface Services {
|
|
|
76
76
|
RemoteDebuggerServer: RemoteDebuggerServer;
|
|
77
77
|
ReplicatedFirst: ReplicatedFirst;
|
|
78
78
|
ReplicatedStorage: ReplicatedStorage;
|
|
79
|
+
RtMessagingService: RtMessagingService;
|
|
79
80
|
RunService: RunService;
|
|
80
81
|
ScriptChangeService: ScriptChangeService;
|
|
81
82
|
ScriptCloneWatcher: ScriptCloneWatcher;
|
|
82
83
|
ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
|
|
83
84
|
ScriptContext: ScriptContext;
|
|
85
|
+
ScriptEditorService: ScriptEditorService;
|
|
84
86
|
ScriptRegistrationService: ScriptRegistrationService;
|
|
85
87
|
ServerScriptService: ServerScriptService;
|
|
86
88
|
ServerStorage: ServerStorage;
|
|
@@ -195,6 +197,7 @@ interface CreatableInstances {
|
|
|
195
197
|
Folder: Folder;
|
|
196
198
|
ForceField: ForceField;
|
|
197
199
|
Frame: Frame;
|
|
200
|
+
GetTextBoundsParams: GetTextBoundsParams;
|
|
198
201
|
Glue: Glue;
|
|
199
202
|
Handles: Handles;
|
|
200
203
|
Hat: Hat;
|
|
@@ -303,6 +306,7 @@ interface CreatableInstances {
|
|
|
303
306
|
Tool: Tool;
|
|
304
307
|
Torque: Torque;
|
|
305
308
|
TorsionSpringConstraint: TorsionSpringConstraint;
|
|
309
|
+
TrackerStreamAnimation: TrackerStreamAnimation;
|
|
306
310
|
Trail: Trail;
|
|
307
311
|
TremoloSoundEffect: TremoloSoundEffect;
|
|
308
312
|
TrussPart: TrussPart;
|
|
@@ -390,6 +394,7 @@ interface AbstractInstances {
|
|
|
390
394
|
|
|
391
395
|
interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
392
396
|
AnimationClip: AnimationClip;
|
|
397
|
+
AnimationStreamTrack: AnimationStreamTrack;
|
|
393
398
|
AnimationTrack: AnimationTrack;
|
|
394
399
|
BaseWrap: BaseWrap;
|
|
395
400
|
CatalogPages: CatalogPages;
|
|
@@ -447,6 +452,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
447
452
|
PlayerScripts: PlayerScripts;
|
|
448
453
|
PluginManagerInterface: PluginManagerInterface;
|
|
449
454
|
PoseBase: PoseBase;
|
|
455
|
+
ScriptDocument: ScriptDocument;
|
|
450
456
|
StackFrame: StackFrame;
|
|
451
457
|
StandardPages: StandardPages;
|
|
452
458
|
StarterCharacterScripts: StarterCharacterScripts;
|
|
@@ -1086,7 +1092,9 @@ interface Instance {
|
|
|
1086
1092
|
*/
|
|
1087
1093
|
readonly DescendantRemoving: RBXScriptSignal<(descendant: Instance) => void>;
|
|
1088
1094
|
/**
|
|
1089
|
-
*
|
|
1095
|
+
* The Destroying event fires immediately before the Instance or one of its ancestors is destroyed.
|
|
1096
|
+
*
|
|
1097
|
+
* The Instance will never be deleted from memory while a connected function is still using it. However, if the function yields at any point, the Instance and its descendants will be parented to `nil`.
|
|
1090
1098
|
*/
|
|
1091
1099
|
readonly Destroying: RBXScriptSignal<() => void>;
|
|
1092
1100
|
}
|
|
@@ -1690,6 +1698,33 @@ interface AnimationRigData extends Instance {
|
|
|
1690
1698
|
readonly _nominal_AnimationRigData: unique symbol;
|
|
1691
1699
|
}
|
|
1692
1700
|
|
|
1701
|
+
interface AnimationStreamTrack extends Instance {
|
|
1702
|
+
/**
|
|
1703
|
+
* **DO NOT USE!**
|
|
1704
|
+
*
|
|
1705
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1706
|
+
* @hidden
|
|
1707
|
+
* @deprecated
|
|
1708
|
+
*/
|
|
1709
|
+
readonly _nominal_AnimationStreamTrack: unique symbol;
|
|
1710
|
+
/**
|
|
1711
|
+
* Tags: Hidden, ReadOnly, NotReplicated
|
|
1712
|
+
*/
|
|
1713
|
+
readonly IsPlaying: boolean;
|
|
1714
|
+
/**
|
|
1715
|
+
* Tags: Hidden, NotReplicated
|
|
1716
|
+
*/
|
|
1717
|
+
Priority: Enum.AnimationPriority;
|
|
1718
|
+
/**
|
|
1719
|
+
* Tags: Hidden, ReadOnly, NotReplicated
|
|
1720
|
+
*/
|
|
1721
|
+
readonly WeightCurrent: number;
|
|
1722
|
+
/**
|
|
1723
|
+
* Tags: Hidden, ReadOnly, NotReplicated
|
|
1724
|
+
*/
|
|
1725
|
+
readonly WeightTarget: number;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1693
1728
|
/** Controls the playback of an animation on a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) or [AnimationController](https://developer.roblox.com/en-us/api-reference/class/AnimationController). This object cannot be created, instead it is returned by the [Humanoid:LoadAnimation](https://developer.roblox.com/en-us/api-reference/function/Humanoid/LoadAnimation) method. */
|
|
1694
1729
|
interface AnimationTrack extends Instance {
|
|
1695
1730
|
/**
|
|
@@ -4164,13 +4199,13 @@ interface WrapLayer extends BaseWrap {
|
|
|
4164
4199
|
/**
|
|
4165
4200
|
* Controls the composition order for layered clothing. Clothing items with higher order will appear on top of clothing items with lower order. If two items have the same order, the deformer composition order is ambiguous and depends on serialization order. Default value is 1.
|
|
4166
4201
|
*/
|
|
4167
|
-
|
|
4202
|
+
Order: number;
|
|
4168
4203
|
/**
|
|
4169
4204
|
* Controls how much underlying clothing items inflate the current clothing item.
|
|
4170
4205
|
*
|
|
4171
4206
|
* Valid range is 0 to 1. A value of 0 makes the clothing item always fit the body regardless of how many clothing layers are under it (all underlying clothing layers will be compressed). A value of 1 (default) never compresses anything and infinitely inflates over underlying clothing items.
|
|
4172
4207
|
*/
|
|
4173
|
-
|
|
4208
|
+
Puffiness: number;
|
|
4174
4209
|
/**
|
|
4175
4210
|
* AssetID for reference mesh used to define Inner Cage of a 3D object
|
|
4176
4211
|
*
|
|
@@ -9758,6 +9793,17 @@ interface Texture extends Decal {
|
|
|
9758
9793
|
StudsPerTileV: number;
|
|
9759
9794
|
}
|
|
9760
9795
|
|
|
9796
|
+
interface FacialAnimationStreamingService extends Instance {
|
|
9797
|
+
/**
|
|
9798
|
+
* **DO NOT USE!**
|
|
9799
|
+
*
|
|
9800
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9801
|
+
* @hidden
|
|
9802
|
+
* @deprecated
|
|
9803
|
+
*/
|
|
9804
|
+
readonly _nominal_FacialAnimationStreamingService: unique symbol;
|
|
9805
|
+
}
|
|
9806
|
+
|
|
9761
9807
|
/** The base class for the legacy motor system. */
|
|
9762
9808
|
interface Feature extends Instance {
|
|
9763
9809
|
/**
|
|
@@ -10119,6 +10165,21 @@ interface GamePassService extends Instance {
|
|
|
10119
10165
|
PlayerHasPass(this: GamePassService, player: Player, gamePassId: number): boolean;
|
|
10120
10166
|
}
|
|
10121
10167
|
|
|
10168
|
+
interface GetTextBoundsParams extends Instance {
|
|
10169
|
+
/**
|
|
10170
|
+
* **DO NOT USE!**
|
|
10171
|
+
*
|
|
10172
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10173
|
+
* @hidden
|
|
10174
|
+
* @deprecated
|
|
10175
|
+
*/
|
|
10176
|
+
readonly _nominal_GetTextBoundsParams: unique symbol;
|
|
10177
|
+
Font: Font;
|
|
10178
|
+
Size: number;
|
|
10179
|
+
Text: string;
|
|
10180
|
+
Width: number;
|
|
10181
|
+
}
|
|
10182
|
+
|
|
10122
10183
|
/** A **GlobalDataStore** exposes functions for saving and loading data for the [DataStoreService](https://developer.roblox.com/en-us/api-reference/class/DataStoreService).
|
|
10123
10184
|
*
|
|
10124
10185
|
* See the [Data Stores](https://developer.roblox.com/en-us/articles/data-store) article for an in-depth guide on data structure, management, error handling, etc.
|
|
@@ -11313,10 +11374,7 @@ interface CanvasGroup extends GuiObject {
|
|
|
11313
11374
|
* @deprecated
|
|
11314
11375
|
*/
|
|
11315
11376
|
readonly _nominal_CanvasGroup: unique symbol;
|
|
11316
|
-
|
|
11317
|
-
* Color that applies to all descendants.
|
|
11318
|
-
*/
|
|
11319
|
-
GroupColor: Color3;
|
|
11377
|
+
GroupColor3: Color3;
|
|
11320
11378
|
/**
|
|
11321
11379
|
* Transparency that applies to all descendants.
|
|
11322
11380
|
*/
|
|
@@ -16146,13 +16204,19 @@ interface ImporterMeshSettings extends ImporterBaseSettings {
|
|
|
16146
16204
|
/**
|
|
16147
16205
|
* Tags: ReadOnly, NotReplicated
|
|
16148
16206
|
*/
|
|
16149
|
-
readonly
|
|
16150
|
-
|
|
16151
|
-
|
|
16207
|
+
readonly CageManifold: boolean;
|
|
16208
|
+
CageManifoldPreview: boolean;
|
|
16209
|
+
/**
|
|
16210
|
+
* Tags: ReadOnly, NotReplicated
|
|
16211
|
+
*/
|
|
16212
|
+
readonly CageNoOverlappingVertices: boolean;
|
|
16213
|
+
CageNoOverlappingVerticesPreview: boolean;
|
|
16152
16214
|
/**
|
|
16153
16215
|
* Tags: ReadOnly, NotReplicated
|
|
16154
16216
|
*/
|
|
16155
|
-
readonly
|
|
16217
|
+
readonly Dimensions: Vector3;
|
|
16218
|
+
DoubleSided: boolean;
|
|
16219
|
+
IgnoreVertexColors: boolean;
|
|
16156
16220
|
/**
|
|
16157
16221
|
* Tags: ReadOnly, NotReplicated
|
|
16158
16222
|
*/
|
|
@@ -16175,6 +16239,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
|
|
|
16175
16239
|
readonly FileDimensions: Vector3;
|
|
16176
16240
|
ImportAsModelAsset: boolean;
|
|
16177
16241
|
InsertInWorkspace: boolean;
|
|
16242
|
+
InsertWithScenePosition: boolean;
|
|
16178
16243
|
InvertNegativeFaces: boolean;
|
|
16179
16244
|
MergeMeshes: boolean;
|
|
16180
16245
|
/**
|
|
@@ -16183,6 +16248,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
|
|
|
16183
16248
|
readonly PolygonCount: number;
|
|
16184
16249
|
RigType: Enum.RigType;
|
|
16185
16250
|
ScaleUnit: Enum.MeshScaleUnit;
|
|
16251
|
+
UseSceneOriginAsPivot: boolean;
|
|
16186
16252
|
WorldForward: Enum.NormalId;
|
|
16187
16253
|
WorldUp: Enum.NormalId;
|
|
16188
16254
|
}
|
|
@@ -18644,17 +18710,6 @@ interface LSPFileSyncService extends Instance {
|
|
|
18644
18710
|
readonly _nominal_LSPFileSyncService: unique symbol;
|
|
18645
18711
|
}
|
|
18646
18712
|
|
|
18647
|
-
interface LSPService extends Instance {
|
|
18648
|
-
/**
|
|
18649
|
-
* **DO NOT USE!**
|
|
18650
|
-
*
|
|
18651
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
18652
|
-
* @hidden
|
|
18653
|
-
* @deprecated
|
|
18654
|
-
*/
|
|
18655
|
-
readonly _nominal_LSPService: unique symbol;
|
|
18656
|
-
}
|
|
18657
|
-
|
|
18658
18713
|
interface LanguageService extends Instance {
|
|
18659
18714
|
/**
|
|
18660
18715
|
* **DO NOT USE!**
|
|
@@ -21036,6 +21091,10 @@ interface MarketplaceService extends Instance {
|
|
|
21036
21091
|
* Tags: Yields
|
|
21037
21092
|
*/
|
|
21038
21093
|
PlayerOwnsAsset(this: MarketplaceService, player: Player, assetId: number): boolean;
|
|
21094
|
+
/**
|
|
21095
|
+
* Tags: Yields
|
|
21096
|
+
*/
|
|
21097
|
+
PlayerOwnsBundle(this: MarketplaceService, player: Player, bundleId: number): boolean;
|
|
21039
21098
|
/**
|
|
21040
21099
|
* UserOwnsGamePassAsync returns true if the [Player](https://developer.roblox.com/en-us/api-reference/class/Player) with the given [UserId](https://developer.roblox.com/en-us/api-reference/property/Player/UserId) owns the game pass with the given **game pass ID** (not to be confused with asset ID).
|
|
21041
21100
|
*
|
|
@@ -21142,15 +21201,9 @@ interface MaterialService extends Instance {
|
|
|
21142
21201
|
* @deprecated
|
|
21143
21202
|
*/
|
|
21144
21203
|
readonly _nominal_MaterialService: unique symbol;
|
|
21145
|
-
ClearOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
|
|
21146
|
-
ClearOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
|
|
21147
21204
|
GetBaseMaterialOverride(this: MaterialService, material: CastsToEnum<Enum.Material>): string;
|
|
21148
21205
|
GetMaterialVariant(this: MaterialService, material: CastsToEnum<Enum.Material>, name: string): MaterialVariant;
|
|
21149
|
-
GetOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
|
|
21150
|
-
GetOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
|
|
21151
21206
|
SetBaseMaterialOverride(this: MaterialService, material: CastsToEnum<Enum.Material>, name: string): void;
|
|
21152
|
-
SetOverridePartMaterial(this: MaterialService, materialVariant: MaterialVariant): void;
|
|
21153
|
-
SetOverrideTerrainMaterial(this: MaterialService, materialVariant: MaterialVariant): void;
|
|
21154
21207
|
}
|
|
21155
21208
|
|
|
21156
21209
|
interface MaterialVariant extends Instance {
|
|
@@ -22839,7 +22892,7 @@ interface BasePart extends PVInstance {
|
|
|
22839
22892
|
this: BasePart,
|
|
22840
22893
|
parts: Array<BasePart>,
|
|
22841
22894
|
collisionfidelity?: CastsToEnum<Enum.CollisionFidelity>,
|
|
22842
|
-
): UnionOperation;
|
|
22895
|
+
): UnionOperation | undefined;
|
|
22843
22896
|
/**
|
|
22844
22897
|
* This is a server-only function that uses [CSG](https://developer.roblox.com/en-us/articles/3d-modeling-with-parts) to combine the geometry of the calling [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) with a table of other BaseParts.
|
|
22845
22898
|
* The following properties from the calling part will be applied to the resulting part:
|
|
@@ -26792,11 +26845,11 @@ interface Players extends Instance {
|
|
|
26792
26845
|
* local Players = game:GetService("Players")
|
|
26793
26846
|
*
|
|
26794
26847
|
* Players.PlayerAdded:Connect(function(player)
|
|
26795
|
-
* print(player.Name
|
|
26848
|
+
* print(player.Name .. " joined the game!")
|
|
26796
26849
|
* end)
|
|
26797
26850
|
*
|
|
26798
26851
|
* Players.PlayerRemoving:Connect(function(player)
|
|
26799
|
-
* print(player.Name
|
|
26852
|
+
* print(player.Name .. " left the game!")
|
|
26800
26853
|
* end)
|
|
26801
26854
|
*
|
|
26802
26855
|
* If you want to track when a player's character is added or removed from the game, such as when a player respawns or dies, you can use the [Player.CharacterAdded](https://developer.roblox.com/en-us/api-reference/event/Player/CharacterAdded) and [Player.CharacterRemoving](https://developer.roblox.com/en-us/api-reference/event/Player/CharacterRemoving) functions.
|
|
@@ -27654,6 +27707,17 @@ interface RotationCurve extends Instance {
|
|
|
27654
27707
|
SetKeys(this: RotationCurve, keys: Array<any>): number;
|
|
27655
27708
|
}
|
|
27656
27709
|
|
|
27710
|
+
interface RtMessagingService extends Instance {
|
|
27711
|
+
/**
|
|
27712
|
+
* **DO NOT USE!**
|
|
27713
|
+
*
|
|
27714
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
27715
|
+
* @hidden
|
|
27716
|
+
* @deprecated
|
|
27717
|
+
*/
|
|
27718
|
+
readonly _nominal_RtMessagingService: unique symbol;
|
|
27719
|
+
}
|
|
27720
|
+
|
|
27657
27721
|
/** **RunService** contains methods and events for time-management as well as for managing the context in which a game or script is running. Methods like [IsClient](https://developer.roblox.com/en-us/api-reference/function/RunService/IsClient), [IsServer](https://developer.roblox.com/en-us/api-reference/function/RunService/IsServer), [IsStudio](https://developer.roblox.com/en-us/api-reference/function/RunService/IsStudio), can help you determine under what context code is running. These methods are useful for ModuleScripts that may be required by both client and server scripts. Furthermore, [IsStudio](https://developer.roblox.com/en-us/api-reference/function/RunService/IsStudio) can be used to add special behaviors for in-studio testing.
|
|
27658
27722
|
*
|
|
27659
27723
|
* RunService also houses events that allow your code to adhere to Roblox's frame-by-frame loop, such as [Stepped](https://developer.roblox.com/en-us/api-reference/event/RunService/Stepped), [Heartbeat](https://developer.roblox.com/en-us/api-reference/event/RunService/Heartbeat) and [RenderStepped](https://developer.roblox.com/en-us/api-reference/event/RunService/RenderStepped). Selecting the proper event to use for any case is important, so you should read [Task Scheduler](https://developer.roblox.com/en-us/articles/task-scheduler) to make an informed decision.
|
|
@@ -28063,6 +28127,28 @@ interface ScriptContext extends Instance {
|
|
|
28063
28127
|
readonly Error: RBXScriptSignal<(message: string, stackTrace: string, script?: LuaSourceContainer) => void>;
|
|
28064
28128
|
}
|
|
28065
28129
|
|
|
28130
|
+
interface ScriptDocument extends Instance {
|
|
28131
|
+
/**
|
|
28132
|
+
* **DO NOT USE!**
|
|
28133
|
+
*
|
|
28134
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28135
|
+
* @hidden
|
|
28136
|
+
* @deprecated
|
|
28137
|
+
*/
|
|
28138
|
+
readonly _nominal_ScriptDocument: unique symbol;
|
|
28139
|
+
}
|
|
28140
|
+
|
|
28141
|
+
interface ScriptEditorService extends Instance {
|
|
28142
|
+
/**
|
|
28143
|
+
* **DO NOT USE!**
|
|
28144
|
+
*
|
|
28145
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
28146
|
+
* @hidden
|
|
28147
|
+
* @deprecated
|
|
28148
|
+
*/
|
|
28149
|
+
readonly _nominal_ScriptEditorService: unique symbol;
|
|
28150
|
+
}
|
|
28151
|
+
|
|
28066
28152
|
interface ScriptRegistrationService extends Instance {
|
|
28067
28153
|
/**
|
|
28068
28154
|
* **DO NOT USE!**
|
|
@@ -31449,11 +31535,14 @@ interface TextChannel extends Instance {
|
|
|
31449
31535
|
*/
|
|
31450
31536
|
readonly _nominal_TextChannel: unique symbol;
|
|
31451
31537
|
DisplaySystemMessage(this: TextChannel, systemMessage: string, metadata?: string): TextChatMessage;
|
|
31452
|
-
SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
|
|
31453
31538
|
/**
|
|
31454
31539
|
* Tags: Yields
|
|
31455
31540
|
*/
|
|
31456
31541
|
AddUserAsync(this: TextChannel, userId: number): unknown;
|
|
31542
|
+
/**
|
|
31543
|
+
* Tags: Yields
|
|
31544
|
+
*/
|
|
31545
|
+
SendAsync(this: TextChannel, message: string, metadata?: string): TextChatMessage;
|
|
31457
31546
|
readonly MessageReceived: RBXScriptSignal<(incomingMessage: TextChatMessage) => void>;
|
|
31458
31547
|
OnIncomingMessage: (message: TextChatMessage) => void;
|
|
31459
31548
|
}
|
|
@@ -31660,6 +31749,10 @@ interface TextService extends Instance {
|
|
|
31660
31749
|
* Tags: Yields
|
|
31661
31750
|
*/
|
|
31662
31751
|
GetFamilyInfoAsync(this: TextService, assetId: string): object;
|
|
31752
|
+
/**
|
|
31753
|
+
* Tags: Yields
|
|
31754
|
+
*/
|
|
31755
|
+
GetTextBoundsAsync(this: TextService, params: GetTextBoundsParams): Vector2;
|
|
31663
31756
|
}
|
|
31664
31757
|
|
|
31665
31758
|
interface TextSource extends Instance {
|
|
@@ -31741,6 +31834,17 @@ interface TracerService extends Instance {
|
|
|
31741
31834
|
readonly _nominal_TracerService: unique symbol;
|
|
31742
31835
|
}
|
|
31743
31836
|
|
|
31837
|
+
interface TrackerStreamAnimation extends Instance {
|
|
31838
|
+
/**
|
|
31839
|
+
* **DO NOT USE!**
|
|
31840
|
+
*
|
|
31841
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31842
|
+
* @hidden
|
|
31843
|
+
* @deprecated
|
|
31844
|
+
*/
|
|
31845
|
+
readonly _nominal_TrackerStreamAnimation: unique symbol;
|
|
31846
|
+
}
|
|
31847
|
+
|
|
31744
31848
|
/** The Trail object is used to create a trail like an effect between two points. As the points move through space a texture is drawn on the plane the points define. This is commonly used to create effects to help visualize movements like tracer trails behind projectiles, footprints, tire tracks, and many other similar effects.
|
|
31745
31849
|
*
|
|
31746
31850
|
* 
|
|
@@ -3610,7 +3610,6 @@ interface StudioService extends Instance {
|
|
|
3610
3610
|
* Returns the studio user's userId if they're logged in, otherwise returns 0.
|
|
3611
3611
|
*/
|
|
3612
3612
|
GetUserId(this: StudioService): number;
|
|
3613
|
-
GetUserIsInTeamCreateToggleRamp(this: StudioService): boolean;
|
|
3614
3613
|
GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult;
|
|
3615
3614
|
HasInternalPermission(this: StudioService): boolean;
|
|
3616
3615
|
IsPluginInstalled(this: StudioService, assetId: number): boolean;
|
|
@@ -3346,6 +3346,14 @@ declare namespace Enum {
|
|
|
3346
3346
|
|
|
3347
3347
|
export const DisconnectModeratedGame: DisconnectModeratedGame;
|
|
3348
3348
|
|
|
3349
|
+
export interface DisconnectOutOfMemoryExitContinue {
|
|
3350
|
+
Name: "DisconnectOutOfMemoryExitContinue";
|
|
3351
|
+
Value: 288;
|
|
3352
|
+
EnumType: EnumType<ConnectionError>;
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
export const DisconnectOutOfMemoryExitContinue: DisconnectOutOfMemoryExitContinue;
|
|
3356
|
+
|
|
3349
3357
|
export interface PlacelaunchErrors {
|
|
3350
3358
|
Name: "PlacelaunchErrors";
|
|
3351
3359
|
Value: 512;
|
|
@@ -3532,7 +3540,7 @@ declare namespace Enum {
|
|
|
3532
3540
|
|
|
3533
3541
|
export function GetEnumItems(this: defined): Array<ConnectionError>
|
|
3534
3542
|
}
|
|
3535
|
-
export type ConnectionError = ConnectionError.OK | 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.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.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
3543
|
+
export type ConnectionError = ConnectionError.OK | 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.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.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
3536
3544
|
export namespace ConnectionState {
|
|
3537
3545
|
export interface Connected {
|
|
3538
3546
|
Name: "Connected";
|
|
@@ -5114,13 +5122,13 @@ declare namespace Enum {
|
|
|
5114
5122
|
|
|
5115
5123
|
export const Gotham: Gotham;
|
|
5116
5124
|
|
|
5117
|
-
export interface
|
|
5118
|
-
Name: "
|
|
5125
|
+
export interface GothamMedium {
|
|
5126
|
+
Name: "GothamMedium";
|
|
5119
5127
|
Value: 18;
|
|
5120
5128
|
EnumType: EnumType<Font>;
|
|
5121
5129
|
}
|
|
5122
5130
|
|
|
5123
|
-
export const
|
|
5131
|
+
export const GothamMedium: GothamMedium;
|
|
5124
5132
|
|
|
5125
5133
|
export interface GothamBold {
|
|
5126
5134
|
Name: "GothamBold";
|
|
@@ -5348,7 +5356,7 @@ declare namespace Enum {
|
|
|
5348
5356
|
|
|
5349
5357
|
export function GetEnumItems(this: defined): Array<Font>
|
|
5350
5358
|
}
|
|
5351
|
-
export type Font = Font.Legacy | Font.Arial | Font.ArialBold | Font.SourceSans | Font.SourceSansBold | Font.SourceSansSemibold | Font.SourceSansLight | Font.SourceSansItalic | Font.Bodoni | Font.Garamond | Font.Cartoon | Font.Code | Font.Highway | Font.SciFi | Font.Arcade | Font.Fantasy | Font.Antique | Font.Gotham | Font.
|
|
5359
|
+
export type Font = Font.Legacy | Font.Arial | Font.ArialBold | Font.SourceSans | Font.SourceSansBold | Font.SourceSansSemibold | Font.SourceSansLight | Font.SourceSansItalic | Font.Bodoni | Font.Garamond | Font.Cartoon | Font.Code | Font.Highway | Font.SciFi | Font.Arcade | Font.Fantasy | Font.Antique | Font.Gotham | Font.GothamMedium | Font.GothamBold | Font.GothamBlack | Font.AmaticSC | Font.Bangers | Font.Creepster | Font.DenkOne | Font.Fondamento | Font.FredokaOne | Font.GrenzeGotisch | Font.IndieFlower | Font.JosefinSans | Font.Jura | Font.Kalam | Font.LuckiestGuy | Font.Merriweather | Font.Michroma | Font.Nunito | Font.Oswald | Font.PatrickHand | Font.PermanentMarker | Font.Roboto | Font.RobotoCondensed | Font.RobotoMono | Font.Sarpanch | Font.SpecialElite | Font.TitilliumWeb | Font.Ubuntu | Font.Unknown;
|
|
5352
5360
|
export namespace FontSize {
|
|
5353
5361
|
export interface Size8 {
|
|
5354
5362
|
Name: "Size8";
|
|
@@ -9244,7 +9252,7 @@ declare namespace Enum {
|
|
|
9244
9252
|
|
|
9245
9253
|
export interface TextDocument_publishDiagnostics {
|
|
9246
9254
|
Name: "TextDocument_publishDiagnostics";
|
|
9247
|
-
Value:
|
|
9255
|
+
Value: 19;
|
|
9248
9256
|
EnumType: EnumType<LSPMethodType>;
|
|
9249
9257
|
}
|
|
9250
9258
|
|
|
@@ -9252,7 +9260,7 @@ declare namespace Enum {
|
|
|
9252
9260
|
|
|
9253
9261
|
export interface Window_showMessage {
|
|
9254
9262
|
Name: "Window_showMessage";
|
|
9255
|
-
Value:
|
|
9263
|
+
Value: 20;
|
|
9256
9264
|
EnumType: EnumType<LSPMethodType>;
|
|
9257
9265
|
}
|
|
9258
9266
|
|
|
@@ -9260,7 +9268,7 @@ declare namespace Enum {
|
|
|
9260
9268
|
|
|
9261
9269
|
export interface Window_showMessageRequest {
|
|
9262
9270
|
Name: "Window_showMessageRequest";
|
|
9263
|
-
Value:
|
|
9271
|
+
Value: 21;
|
|
9264
9272
|
EnumType: EnumType<LSPMethodType>;
|
|
9265
9273
|
}
|
|
9266
9274
|
|
|
@@ -9268,7 +9276,7 @@ declare namespace Enum {
|
|
|
9268
9276
|
|
|
9269
9277
|
export interface Roblox_registerSyntaxCategories {
|
|
9270
9278
|
Name: "Roblox_registerSyntaxCategories";
|
|
9271
|
-
Value:
|
|
9279
|
+
Value: 22;
|
|
9272
9280
|
EnumType: EnumType<LSPMethodType>;
|
|
9273
9281
|
}
|
|
9274
9282
|
|
|
@@ -9276,7 +9284,7 @@ declare namespace Enum {
|
|
|
9276
9284
|
|
|
9277
9285
|
export interface Roblox_signalQuiescence {
|
|
9278
9286
|
Name: "Roblox_signalQuiescence";
|
|
9279
|
-
Value:
|
|
9287
|
+
Value: 23;
|
|
9280
9288
|
EnumType: EnumType<LSPMethodType>;
|
|
9281
9289
|
}
|
|
9282
9290
|
|
|
@@ -9284,7 +9292,7 @@ declare namespace Enum {
|
|
|
9284
9292
|
|
|
9285
9293
|
export interface Roblox_syntaxHighlight {
|
|
9286
9294
|
Name: "Roblox_syntaxHighlight";
|
|
9287
|
-
Value:
|
|
9295
|
+
Value: 24;
|
|
9288
9296
|
EnumType: EnumType<LSPMethodType>;
|
|
9289
9297
|
}
|
|
9290
9298
|
|
|
@@ -9292,7 +9300,7 @@ declare namespace Enum {
|
|
|
9292
9300
|
|
|
9293
9301
|
export interface Roblox_suggestExtraSelections {
|
|
9294
9302
|
Name: "Roblox_suggestExtraSelections";
|
|
9295
|
-
Value:
|
|
9303
|
+
Value: 25;
|
|
9296
9304
|
EnumType: EnumType<LSPMethodType>;
|
|
9297
9305
|
}
|
|
9298
9306
|
|
|
@@ -9300,7 +9308,7 @@ declare namespace Enum {
|
|
|
9300
9308
|
|
|
9301
9309
|
export interface Roblox_findExecutablePosition {
|
|
9302
9310
|
Name: "Roblox_findExecutablePosition";
|
|
9303
|
-
Value:
|
|
9311
|
+
Value: 26;
|
|
9304
9312
|
EnumType: EnumType<LSPMethodType>;
|
|
9305
9313
|
}
|
|
9306
9314
|
|
|
@@ -9308,7 +9316,7 @@ declare namespace Enum {
|
|
|
9308
9316
|
|
|
9309
9317
|
export interface Roblox_findColor3 {
|
|
9310
9318
|
Name: "Roblox_findColor3";
|
|
9311
|
-
Value:
|
|
9319
|
+
Value: 27;
|
|
9312
9320
|
EnumType: EnumType<LSPMethodType>;
|
|
9313
9321
|
}
|
|
9314
9322
|
|
|
@@ -9316,7 +9324,7 @@ declare namespace Enum {
|
|
|
9316
9324
|
|
|
9317
9325
|
export interface Roblox_patchSnippetData {
|
|
9318
9326
|
Name: "Roblox_patchSnippetData";
|
|
9319
|
-
Value:
|
|
9327
|
+
Value: 28;
|
|
9320
9328
|
EnumType: EnumType<LSPMethodType>;
|
|
9321
9329
|
}
|
|
9322
9330
|
|
package/include/lua.d.ts
CHANGED
|
@@ -702,8 +702,13 @@ declare namespace table {
|
|
|
702
702
|
* (so that `not comp(list[i+1],list[i])` will be true after the sort).
|
|
703
703
|
*/
|
|
704
704
|
function sort<T>(t: Array<T>, comp?: (a: T, b: T) => boolean): void;
|
|
705
|
-
/**
|
|
706
|
-
|
|
705
|
+
/**
|
|
706
|
+
* Makes the table read-only and prohibits all further modifications.
|
|
707
|
+
*
|
|
708
|
+
* This freezing effect is shallow, which means that you can write to a table within a frozen table.
|
|
709
|
+
* To deep freeze a table, call this function recursively on all of the descending tables.
|
|
710
|
+
*/
|
|
711
|
+
function freeze<T extends object>(t: T): Readonly<T>;
|
|
707
712
|
/** Returns whether or not `t` is frozen */
|
|
708
713
|
function isfrozen<T extends object>(t: T): t is Readonly<T>;
|
|
709
714
|
|
|
@@ -740,7 +745,7 @@ declare namespace coroutine {
|
|
|
740
745
|
function running(): thread;
|
|
741
746
|
|
|
742
747
|
/** Returns the status of coroutine co, as a string: 'running', if the coroutine is running (that is, it called status); 'suspended', if the coroutine is suspended in a call to yield, or if it has not started running yet; 'normal' if the coroutine is active but not running (that is, it has resumed another coroutine); and 'dead' if the coroutine has finished its body function, or if it has stopped with an error. */
|
|
743
|
-
function status(co: thread):
|
|
748
|
+
function status(co: thread): "running" | "suspended" | "normal" | "dead";
|
|
744
749
|
|
|
745
750
|
/** Creates a new coroutine, with body f. f must be a Lua function. Returns a function that resumes the coroutine each time it is called. Any arguments passed to the function behave as the extra arguments to resume. Returns the same values returned by resume, except the first boolean. In case of error, propagates the error. */
|
|
746
751
|
function wrap<T extends Callback>(f: T): T;
|
|
@@ -748,8 +753,18 @@ declare namespace coroutine {
|
|
|
748
753
|
/** Suspends the execution of the calling coroutine. Any arguments to yield are passed as extra results to resume. */
|
|
749
754
|
function yield(...params: Array<unknown>): LuaTuple<Array<unknown>>;
|
|
750
755
|
|
|
751
|
-
/**
|
|
752
|
-
|
|
756
|
+
/**
|
|
757
|
+
* Takes a suspended coroutine and makes it "dead" (non-runnable).
|
|
758
|
+
* This function returns `true` unless the coroutine is in an error state, in which case it returns `false` and the error message.
|
|
759
|
+
* A coroutine that is currently running cannot be closed. A coroutine cannot be resumed after it is closed.
|
|
760
|
+
*/
|
|
761
|
+
function close(co: thread): LuaTuple<[success: false, errorValue: unknown] | [success: true, errorValue: never]>;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Returns `true` if the coroutine this function is called within can safely yield.
|
|
765
|
+
* Yielding a coroutine inside metamethods or C functions is prohibited, with the exception of `pcall` and `xpcall`.
|
|
766
|
+
*/
|
|
767
|
+
function isyieldable(): boolean;
|
|
753
768
|
}
|
|
754
769
|
|
|
755
770
|
declare function next<T extends ReadonlyArray<any>>(
|
package/include/roblox.d.ts
CHANGED
|
@@ -347,6 +347,8 @@ interface FriendOnlineInfoBase {
|
|
|
347
347
|
VisitorId: number;
|
|
348
348
|
/** The user name of the friend. */
|
|
349
349
|
UserName: string;
|
|
350
|
+
/** The display name of the friend. */
|
|
351
|
+
DisplayName: string;
|
|
350
352
|
/** When the user was last online. */
|
|
351
353
|
LastOnline: string;
|
|
352
354
|
/** If the friend is currently online. */
|