@rbxts/types 1.0.835 → 1.0.837
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 +638 -38
- package/include/generated/PluginSecurity.d.ts +286 -0
- package/include/generated/enums.d.ts +142 -7
- package/include/lua.d.ts +6 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ interface Services {
|
|
|
19
19
|
AssetManagerService: AssetManagerService;
|
|
20
20
|
AssetService: AssetService;
|
|
21
21
|
AudioFocusService: AudioFocusService;
|
|
22
|
+
AuroraScriptService: AuroraScriptService;
|
|
22
23
|
AuroraService: AuroraService;
|
|
23
24
|
AvatarChatService: AvatarChatService;
|
|
24
25
|
AvatarCreationService: AvatarCreationService;
|
|
@@ -72,11 +73,13 @@ interface Services {
|
|
|
72
73
|
FeatureRestrictionManager: FeatureRestrictionManager;
|
|
73
74
|
GamepadService: GamepadService;
|
|
74
75
|
GamePassService: GamePassService;
|
|
76
|
+
GenerationService: GenerationService;
|
|
75
77
|
GenericChallengeService: GenericChallengeService;
|
|
76
78
|
GeometryService: GeometryService;
|
|
77
79
|
GroupService: GroupService;
|
|
78
80
|
GuiService: GuiService;
|
|
79
81
|
HapticService: HapticService;
|
|
82
|
+
HeapProfilerService: HeapProfilerService;
|
|
80
83
|
HeatmapService: HeatmapService;
|
|
81
84
|
HeightmapImporterService: HeightmapImporterService;
|
|
82
85
|
HttpService: HttpService;
|
|
@@ -122,6 +125,7 @@ interface Services {
|
|
|
122
125
|
PlaceStatsService: PlaceStatsService;
|
|
123
126
|
PlatformCloudStorageService: PlatformCloudStorageService;
|
|
124
127
|
PlatformFriendsService: PlatformFriendsService;
|
|
128
|
+
PlayerDataService: PlayerDataService;
|
|
125
129
|
PlayerHydrationService: PlayerHydrationService;
|
|
126
130
|
Players: Players;
|
|
127
131
|
PlayerViewService: PlayerViewService;
|
|
@@ -263,6 +267,7 @@ interface CreatableInstances {
|
|
|
263
267
|
AudioPlayer: AudioPlayer;
|
|
264
268
|
AudioReverb: AudioReverb;
|
|
265
269
|
AudioSearchParams: AudioSearchParams;
|
|
270
|
+
AuroraScript: AuroraScript;
|
|
266
271
|
Backpack: Backpack;
|
|
267
272
|
BallSocketConstraint: BallSocketConstraint;
|
|
268
273
|
Beam: Beam;
|
|
@@ -305,6 +310,7 @@ interface CreatableInstances {
|
|
|
305
310
|
ControllerPartSensor: ControllerPartSensor;
|
|
306
311
|
CornerWedgePart: CornerWedgePart;
|
|
307
312
|
CurveAnimation: CurveAnimation;
|
|
313
|
+
CustomLog: CustomLog;
|
|
308
314
|
CylinderHandleAdornment: CylinderHandleAdornment;
|
|
309
315
|
CylinderMesh: CylinderMesh;
|
|
310
316
|
CylindricalConstraint: CylindricalConstraint;
|
|
@@ -353,6 +359,9 @@ interface CreatableInstances {
|
|
|
353
359
|
ImageButton: ImageButton;
|
|
354
360
|
ImageHandleAdornment: ImageHandleAdornment;
|
|
355
361
|
ImageLabel: ImageLabel;
|
|
362
|
+
InputAction: InputAction;
|
|
363
|
+
InputBinding: InputBinding;
|
|
364
|
+
InputContext: InputContext;
|
|
356
365
|
IntConstrainedValue: IntConstrainedValue;
|
|
357
366
|
InternalSyncItem: InternalSyncItem;
|
|
358
367
|
IntersectOperation: IntersectOperation;
|
|
@@ -492,6 +501,7 @@ interface CreatableInstances {
|
|
|
492
501
|
VehicleSeat: VehicleSeat;
|
|
493
502
|
VelocityMotor: VelocityMotor;
|
|
494
503
|
VideoDeviceInput: VideoDeviceInput;
|
|
504
|
+
VideoDisplay: VideoDisplay;
|
|
495
505
|
VideoFrame: VideoFrame;
|
|
496
506
|
VideoPlayer: VideoPlayer;
|
|
497
507
|
ViewportFrame: ViewportFrame;
|
|
@@ -632,6 +642,9 @@ interface Instances extends Services, CreatableInstances {
|
|
|
632
642
|
PhysicsSettings: PhysicsSettings;
|
|
633
643
|
Platform: Platform;
|
|
634
644
|
Player: Player;
|
|
645
|
+
PlayerData: PlayerData;
|
|
646
|
+
PlayerDataRecord: PlayerDataRecord;
|
|
647
|
+
PlayerDataRecordConfig: PlayerDataRecordConfig;
|
|
635
648
|
PlayerGui: PlayerGui;
|
|
636
649
|
PlayerMouse: PlayerMouse;
|
|
637
650
|
PlayerScripts: PlayerScripts;
|
|
@@ -1714,6 +1727,29 @@ interface AudioSearchParams extends Instance {
|
|
|
1714
1727
|
*/
|
|
1715
1728
|
readonly _nominal_AudioSearchParams: unique symbol;
|
|
1716
1729
|
}
|
|
1730
|
+
/**
|
|
1731
|
+
* - **Tags**: NotCreatable, Service
|
|
1732
|
+
*
|
|
1733
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScriptService)
|
|
1734
|
+
*
|
|
1735
|
+
* @deprecated
|
|
1736
|
+
*/
|
|
1737
|
+
interface AuroraScriptService extends Instance {
|
|
1738
|
+
/**
|
|
1739
|
+
* **DO NOT USE!**
|
|
1740
|
+
*
|
|
1741
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1742
|
+
* @hidden
|
|
1743
|
+
* @deprecated
|
|
1744
|
+
*/
|
|
1745
|
+
readonly _nominal_AuroraScriptService: unique symbol;
|
|
1746
|
+
/**
|
|
1747
|
+
* - **ThreadSafety**: ReadSafe
|
|
1748
|
+
*
|
|
1749
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScriptService#BufferSize)
|
|
1750
|
+
*/
|
|
1751
|
+
set BufferSize(value: number);
|
|
1752
|
+
}
|
|
1717
1753
|
/**
|
|
1718
1754
|
* - **Tags**: NotCreatable, Service
|
|
1719
1755
|
*
|
|
@@ -3631,6 +3667,21 @@ interface CrossDMScriptChangeListener extends Instance {
|
|
|
3631
3667
|
*/
|
|
3632
3668
|
readonly _nominal_CrossDMScriptChangeListener: unique symbol;
|
|
3633
3669
|
}
|
|
3670
|
+
/**
|
|
3671
|
+
* - **Tags**: NotReplicated
|
|
3672
|
+
*
|
|
3673
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CustomLog)
|
|
3674
|
+
*/
|
|
3675
|
+
interface CustomLog extends Instance {
|
|
3676
|
+
/**
|
|
3677
|
+
* **DO NOT USE!**
|
|
3678
|
+
*
|
|
3679
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3680
|
+
* @hidden
|
|
3681
|
+
* @deprecated
|
|
3682
|
+
*/
|
|
3683
|
+
readonly _nominal_CustomLog: unique symbol;
|
|
3684
|
+
}
|
|
3634
3685
|
/**
|
|
3635
3686
|
* The DataModelMesh is an abstract class from which mesh classes descend.
|
|
3636
3687
|
*
|
|
@@ -5188,6 +5239,21 @@ interface GamepadService extends Instance {
|
|
|
5188
5239
|
*/
|
|
5189
5240
|
readonly _nominal_GamepadService: unique symbol;
|
|
5190
5241
|
}
|
|
5242
|
+
/**
|
|
5243
|
+
* - **Tags**: NotCreatable, Service
|
|
5244
|
+
*
|
|
5245
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GenerationService)
|
|
5246
|
+
*/
|
|
5247
|
+
interface GenerationService extends Instance {
|
|
5248
|
+
/**
|
|
5249
|
+
* **DO NOT USE!**
|
|
5250
|
+
*
|
|
5251
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
5252
|
+
* @hidden
|
|
5253
|
+
* @deprecated
|
|
5254
|
+
*/
|
|
5255
|
+
readonly _nominal_GenerationService: unique symbol;
|
|
5256
|
+
}
|
|
5191
5257
|
/**
|
|
5192
5258
|
* - **Tags**: NotCreatable, Service
|
|
5193
5259
|
*
|
|
@@ -5549,6 +5615,21 @@ interface TextBox extends GuiObject {
|
|
|
5549
5615
|
*/
|
|
5550
5616
|
readonly _nominal_TextBox: unique symbol;
|
|
5551
5617
|
}
|
|
5618
|
+
/**
|
|
5619
|
+
* - **Tags**: NotBrowsable
|
|
5620
|
+
*
|
|
5621
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoDisplay)
|
|
5622
|
+
*/
|
|
5623
|
+
interface VideoDisplay extends GuiObject {
|
|
5624
|
+
/**
|
|
5625
|
+
* **DO NOT USE!**
|
|
5626
|
+
*
|
|
5627
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
5628
|
+
* @hidden
|
|
5629
|
+
* @deprecated
|
|
5630
|
+
*/
|
|
5631
|
+
readonly _nominal_VideoDisplay: unique symbol;
|
|
5632
|
+
}
|
|
5552
5633
|
/**
|
|
5553
5634
|
* A GUI object that renders a rectangle, like a `Frame` does, with a moving video image.
|
|
5554
5635
|
*
|
|
@@ -6203,6 +6284,41 @@ interface HapticService extends Instance {
|
|
|
6203
6284
|
*/
|
|
6204
6285
|
readonly _nominal_HapticService: unique symbol;
|
|
6205
6286
|
}
|
|
6287
|
+
/**
|
|
6288
|
+
* - **Tags**: NotCreatable, Service
|
|
6289
|
+
*
|
|
6290
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeapProfilerService)
|
|
6291
|
+
*/
|
|
6292
|
+
interface HeapProfilerService extends Instance {
|
|
6293
|
+
/**
|
|
6294
|
+
* **DO NOT USE!**
|
|
6295
|
+
*
|
|
6296
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
6297
|
+
* @hidden
|
|
6298
|
+
* @deprecated
|
|
6299
|
+
*/
|
|
6300
|
+
readonly _nominal_HeapProfilerService: unique symbol;
|
|
6301
|
+
/**
|
|
6302
|
+
* - **ThreadSafety**: Unsafe
|
|
6303
|
+
* - **Tags**: Yields
|
|
6304
|
+
*
|
|
6305
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeapProfilerService#ClientRequestDataAsync)
|
|
6306
|
+
*/
|
|
6307
|
+
ClientRequestDataAsync(this: HeapProfilerService, player: Player): string;
|
|
6308
|
+
/**
|
|
6309
|
+
* - **ThreadSafety**: Unsafe
|
|
6310
|
+
* - **Tags**: Yields
|
|
6311
|
+
*
|
|
6312
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeapProfilerService#ServerRequestDataAsync)
|
|
6313
|
+
*/
|
|
6314
|
+
ServerRequestDataAsync(this: HeapProfilerService): string;
|
|
6315
|
+
/**
|
|
6316
|
+
* - **ThreadSafety**: Unsafe
|
|
6317
|
+
*
|
|
6318
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeapProfilerService#OnNewData)
|
|
6319
|
+
*/
|
|
6320
|
+
readonly OnNewData: RBXScriptSignal<(player: Player, jsonString: buffer, id: number, compressedLength: number, uncompressedLength: number) => void>;
|
|
6321
|
+
}
|
|
6206
6322
|
/**
|
|
6207
6323
|
* - **Tags**: NotCreatable, Service
|
|
6208
6324
|
*
|
|
@@ -6396,6 +6512,51 @@ interface IncrementalPatchBuilder extends Instance {
|
|
|
6396
6512
|
*/
|
|
6397
6513
|
readonly _nominal_IncrementalPatchBuilder: unique symbol;
|
|
6398
6514
|
}
|
|
6515
|
+
/**
|
|
6516
|
+
* - **Tags**: NotBrowsable
|
|
6517
|
+
*
|
|
6518
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputAction)
|
|
6519
|
+
*/
|
|
6520
|
+
interface InputAction extends Instance {
|
|
6521
|
+
/**
|
|
6522
|
+
* **DO NOT USE!**
|
|
6523
|
+
*
|
|
6524
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
6525
|
+
* @hidden
|
|
6526
|
+
* @deprecated
|
|
6527
|
+
*/
|
|
6528
|
+
readonly _nominal_InputAction: unique symbol;
|
|
6529
|
+
}
|
|
6530
|
+
/**
|
|
6531
|
+
* - **Tags**: NotBrowsable
|
|
6532
|
+
*
|
|
6533
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputBinding)
|
|
6534
|
+
*/
|
|
6535
|
+
interface InputBinding extends Instance {
|
|
6536
|
+
/**
|
|
6537
|
+
* **DO NOT USE!**
|
|
6538
|
+
*
|
|
6539
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
6540
|
+
* @hidden
|
|
6541
|
+
* @deprecated
|
|
6542
|
+
*/
|
|
6543
|
+
readonly _nominal_InputBinding: unique symbol;
|
|
6544
|
+
}
|
|
6545
|
+
/**
|
|
6546
|
+
* - **Tags**: NotBrowsable
|
|
6547
|
+
*
|
|
6548
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputContext)
|
|
6549
|
+
*/
|
|
6550
|
+
interface InputContext extends Instance {
|
|
6551
|
+
/**
|
|
6552
|
+
* **DO NOT USE!**
|
|
6553
|
+
*
|
|
6554
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
6555
|
+
* @hidden
|
|
6556
|
+
* @deprecated
|
|
6557
|
+
*/
|
|
6558
|
+
readonly _nominal_InputContext: unique symbol;
|
|
6559
|
+
}
|
|
6399
6560
|
/**
|
|
6400
6561
|
* An object created when an input begins that describes a particular user input.
|
|
6401
6562
|
*
|
|
@@ -7108,6 +7269,71 @@ interface LuaSourceContainer extends Instance {
|
|
|
7108
7269
|
*/
|
|
7109
7270
|
readonly _nominal_LuaSourceContainer: unique symbol;
|
|
7110
7271
|
}
|
|
7272
|
+
/**
|
|
7273
|
+
* - **Tags**:
|
|
7274
|
+
*
|
|
7275
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript)
|
|
7276
|
+
*
|
|
7277
|
+
* @deprecated
|
|
7278
|
+
*/
|
|
7279
|
+
interface AuroraScript extends LuaSourceContainer {
|
|
7280
|
+
/**
|
|
7281
|
+
* **DO NOT USE!**
|
|
7282
|
+
*
|
|
7283
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7284
|
+
* @hidden
|
|
7285
|
+
* @deprecated
|
|
7286
|
+
*/
|
|
7287
|
+
readonly _nominal_AuroraScript: unique symbol;
|
|
7288
|
+
/**
|
|
7289
|
+
* - **ThreadSafety**: ReadSafe
|
|
7290
|
+
*
|
|
7291
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#DumpMispredictions)
|
|
7292
|
+
*/
|
|
7293
|
+
DumpMispredictions: boolean;
|
|
7294
|
+
/**
|
|
7295
|
+
* - **ThreadSafety**: ReadSafe
|
|
7296
|
+
*
|
|
7297
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#EnableLOD)
|
|
7298
|
+
*/
|
|
7299
|
+
EnableLOD: boolean;
|
|
7300
|
+
/**
|
|
7301
|
+
* - **ThreadSafety**: ReadSafe
|
|
7302
|
+
*
|
|
7303
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#LODDistanceFactor)
|
|
7304
|
+
*/
|
|
7305
|
+
LODDistanceFactor: number;
|
|
7306
|
+
/**
|
|
7307
|
+
* - **ThreadSafety**: ReadSafe
|
|
7308
|
+
*
|
|
7309
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#LODFrequencyFactor)
|
|
7310
|
+
*/
|
|
7311
|
+
LODFrequencyFactor: number;
|
|
7312
|
+
/**
|
|
7313
|
+
* - **ThreadSafety**: ReadSafe
|
|
7314
|
+
*
|
|
7315
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#Priority)
|
|
7316
|
+
*/
|
|
7317
|
+
Priority: number;
|
|
7318
|
+
/**
|
|
7319
|
+
* - **ThreadSafety**: ReadSafe
|
|
7320
|
+
*
|
|
7321
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#RunInParallel)
|
|
7322
|
+
*/
|
|
7323
|
+
RunInParallel: boolean;
|
|
7324
|
+
/**
|
|
7325
|
+
* - **ThreadSafety**: ReadSafe
|
|
7326
|
+
*
|
|
7327
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#Source)
|
|
7328
|
+
*/
|
|
7329
|
+
Source: ProtectedString;
|
|
7330
|
+
/**
|
|
7331
|
+
* - **ThreadSafety**: ReadSafe
|
|
7332
|
+
*
|
|
7333
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AuroraScript#Tag)
|
|
7334
|
+
*/
|
|
7335
|
+
set Tag(value: string);
|
|
7336
|
+
}
|
|
7111
7337
|
/**
|
|
7112
7338
|
* The base class for all script objects which run automatically.
|
|
7113
7339
|
*
|
|
@@ -9007,6 +9233,66 @@ interface Player extends Instance {
|
|
|
9007
9233
|
SetSuperSafeChat(this: Player, value: boolean): void;
|
|
9008
9234
|
readonly Name: string;
|
|
9009
9235
|
}
|
|
9236
|
+
/**
|
|
9237
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
9238
|
+
*
|
|
9239
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PlayerData)
|
|
9240
|
+
*/
|
|
9241
|
+
interface PlayerData extends Instance {
|
|
9242
|
+
/**
|
|
9243
|
+
* **DO NOT USE!**
|
|
9244
|
+
*
|
|
9245
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9246
|
+
* @hidden
|
|
9247
|
+
* @deprecated
|
|
9248
|
+
*/
|
|
9249
|
+
readonly _nominal_PlayerData: unique symbol;
|
|
9250
|
+
}
|
|
9251
|
+
/**
|
|
9252
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
9253
|
+
*
|
|
9254
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PlayerDataRecord)
|
|
9255
|
+
*/
|
|
9256
|
+
interface PlayerDataRecord extends Instance {
|
|
9257
|
+
/**
|
|
9258
|
+
* **DO NOT USE!**
|
|
9259
|
+
*
|
|
9260
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9261
|
+
* @hidden
|
|
9262
|
+
* @deprecated
|
|
9263
|
+
*/
|
|
9264
|
+
readonly _nominal_PlayerDataRecord: unique symbol;
|
|
9265
|
+
}
|
|
9266
|
+
/**
|
|
9267
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
9268
|
+
*
|
|
9269
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PlayerDataRecordConfig)
|
|
9270
|
+
*/
|
|
9271
|
+
interface PlayerDataRecordConfig extends Instance {
|
|
9272
|
+
/**
|
|
9273
|
+
* **DO NOT USE!**
|
|
9274
|
+
*
|
|
9275
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9276
|
+
* @hidden
|
|
9277
|
+
* @deprecated
|
|
9278
|
+
*/
|
|
9279
|
+
readonly _nominal_PlayerDataRecordConfig: unique symbol;
|
|
9280
|
+
}
|
|
9281
|
+
/**
|
|
9282
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
9283
|
+
*
|
|
9284
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PlayerDataService)
|
|
9285
|
+
*/
|
|
9286
|
+
interface PlayerDataService extends Instance {
|
|
9287
|
+
/**
|
|
9288
|
+
* **DO NOT USE!**
|
|
9289
|
+
*
|
|
9290
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9291
|
+
* @hidden
|
|
9292
|
+
* @deprecated
|
|
9293
|
+
*/
|
|
9294
|
+
readonly _nominal_PlayerDataService: unique symbol;
|
|
9295
|
+
}
|
|
9010
9296
|
/**
|
|
9011
9297
|
* - **Tags**: NotCreatable, Service
|
|
9012
9298
|
*
|
|
@@ -10550,7 +10550,7 @@ declare namespace Enum {
|
|
|
10550
10550
|
}
|
|
10551
10551
|
export const Legacy: Legacy;
|
|
10552
10552
|
/**
|
|
10553
|
-
* Arial has been removed from Roblox.
|
|
10553
|
+
* Arial has been removed from Roblox. Using Arial will map to Arimo.
|
|
10554
10554
|
*
|
|
10555
10555
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Font#Arial)
|
|
10556
10556
|
*/
|
|
@@ -10561,7 +10561,7 @@ declare namespace Enum {
|
|
|
10561
10561
|
}
|
|
10562
10562
|
export const Arial: Arial;
|
|
10563
10563
|
/**
|
|
10564
|
-
* Arial has been removed from Roblox.
|
|
10564
|
+
* Arial has been removed from Roblox. Using Arial will map to Arimo.
|
|
10565
10565
|
*
|
|
10566
10566
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Font#ArialBold)
|
|
10567
10567
|
*/
|
|
@@ -10726,7 +10726,7 @@ declare namespace Enum {
|
|
|
10726
10726
|
}
|
|
10727
10727
|
export const SourceSansSemibold: SourceSansSemibold;
|
|
10728
10728
|
/**
|
|
10729
|
-
* Gotham has been removed from Roblox.
|
|
10729
|
+
* Gotham has been removed from Roblox. Using Gotham will map to Montserrat.
|
|
10730
10730
|
*
|
|
10731
10731
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Font#Gotham)
|
|
10732
10732
|
*/
|
|
@@ -10741,7 +10741,7 @@ declare namespace Enum {
|
|
|
10741
10741
|
*/
|
|
10742
10742
|
export const Montserrat: Gotham;
|
|
10743
10743
|
/**
|
|
10744
|
-
* Gotham has been removed from Roblox.
|
|
10744
|
+
* Gotham has been removed from Roblox. Using Gotham will map to Montserrat.
|
|
10745
10745
|
*
|
|
10746
10746
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Font#GothamMedium)
|
|
10747
10747
|
*/
|
|
@@ -10760,7 +10760,7 @@ declare namespace Enum {
|
|
|
10760
10760
|
*/
|
|
10761
10761
|
export const MontserratMedium: GothamMedium;
|
|
10762
10762
|
/**
|
|
10763
|
-
* Gotham has been removed from Roblox.
|
|
10763
|
+
* Gotham has been removed from Roblox. Using Gotham will map to Montserrat.
|
|
10764
10764
|
*
|
|
10765
10765
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Font#GothamBold)
|
|
10766
10766
|
*/
|
|
@@ -10775,7 +10775,7 @@ declare namespace Enum {
|
|
|
10775
10775
|
*/
|
|
10776
10776
|
export const MontserratBold: GothamBold;
|
|
10777
10777
|
/**
|
|
10778
|
-
* Gotham has been removed from Roblox.
|
|
10778
|
+
* Gotham has been removed from Roblox. Using Gotham will map to Montserrat.
|
|
10779
10779
|
*
|
|
10780
10780
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Font#GothamBlack)
|
|
10781
10781
|
*/
|
|
@@ -13884,6 +13884,42 @@ declare namespace Enum {
|
|
|
13884
13884
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.InitialDockState | undefined;
|
|
13885
13885
|
}
|
|
13886
13886
|
export type InitialDockState = InitialDockState.Top | InitialDockState.Bottom | InitialDockState.Left | InitialDockState.Right | InitialDockState.Float;
|
|
13887
|
+
/**
|
|
13888
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/InputActionType)
|
|
13889
|
+
*/
|
|
13890
|
+
export namespace InputActionType {
|
|
13891
|
+
/**
|
|
13892
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/InputActionType#Bool)
|
|
13893
|
+
*/
|
|
13894
|
+
export interface Bool extends globalThis.EnumItem {
|
|
13895
|
+
Name: "Bool";
|
|
13896
|
+
Value: 0;
|
|
13897
|
+
EnumType: typeof globalThis.Enum.InputActionType;
|
|
13898
|
+
}
|
|
13899
|
+
export const Bool: Bool;
|
|
13900
|
+
/**
|
|
13901
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/InputActionType#Float)
|
|
13902
|
+
*/
|
|
13903
|
+
export interface Float extends globalThis.EnumItem {
|
|
13904
|
+
Name: "Float";
|
|
13905
|
+
Value: 1;
|
|
13906
|
+
EnumType: typeof globalThis.Enum.InputActionType;
|
|
13907
|
+
}
|
|
13908
|
+
export const Float: Float;
|
|
13909
|
+
/**
|
|
13910
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/InputActionType#Direction2D)
|
|
13911
|
+
*/
|
|
13912
|
+
export interface Direction2D extends globalThis.EnumItem {
|
|
13913
|
+
Name: "Direction2D";
|
|
13914
|
+
Value: 2;
|
|
13915
|
+
EnumType: typeof globalThis.Enum.InputActionType;
|
|
13916
|
+
}
|
|
13917
|
+
export const Direction2D: Direction2D;
|
|
13918
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.InputActionType>;
|
|
13919
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.InputActionType | undefined;
|
|
13920
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.InputActionType | undefined;
|
|
13921
|
+
}
|
|
13922
|
+
export type InputActionType = InputActionType.Bool | InputActionType.Float | InputActionType.Direction2D;
|
|
13887
13923
|
/**
|
|
13888
13924
|
* The InputType Enum controls the SurfaceInputs of `Part`.
|
|
13889
13925
|
*
|
|
@@ -13972,6 +14008,24 @@ declare namespace Enum {
|
|
|
13972
14008
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.InputType | undefined;
|
|
13973
14009
|
}
|
|
13974
14010
|
export type InputType = InputType.NoInput | InputType.Constant | InputType.Sin;
|
|
14011
|
+
/**
|
|
14012
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/IntermediateMeshGenerationResult)
|
|
14013
|
+
*/
|
|
14014
|
+
export namespace IntermediateMeshGenerationResult {
|
|
14015
|
+
/**
|
|
14016
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/IntermediateMeshGenerationResult#HighQualityMesh)
|
|
14017
|
+
*/
|
|
14018
|
+
export interface HighQualityMesh extends globalThis.EnumItem {
|
|
14019
|
+
Name: "HighQualityMesh";
|
|
14020
|
+
Value: 0;
|
|
14021
|
+
EnumType: typeof globalThis.Enum.IntermediateMeshGenerationResult;
|
|
14022
|
+
}
|
|
14023
|
+
export const HighQualityMesh: HighQualityMesh;
|
|
14024
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.IntermediateMeshGenerationResult>;
|
|
14025
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.IntermediateMeshGenerationResult | undefined;
|
|
14026
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.IntermediateMeshGenerationResult | undefined;
|
|
14027
|
+
}
|
|
14028
|
+
export type IntermediateMeshGenerationResult = IntermediateMeshGenerationResult.HighQualityMesh;
|
|
13975
14029
|
/**
|
|
13976
14030
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/InterpolationThrottlingMode)
|
|
13977
14031
|
*/
|
|
@@ -21269,6 +21323,78 @@ declare namespace Enum {
|
|
|
21269
21323
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PlayerChatType | undefined;
|
|
21270
21324
|
}
|
|
21271
21325
|
export type PlayerChatType = PlayerChatType.All | PlayerChatType.Team | PlayerChatType.Whisper;
|
|
21326
|
+
/**
|
|
21327
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataErrorState)
|
|
21328
|
+
*/
|
|
21329
|
+
export namespace PlayerDataErrorState {
|
|
21330
|
+
/**
|
|
21331
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataErrorState#LoadFailed)
|
|
21332
|
+
*/
|
|
21333
|
+
export interface LoadFailed extends globalThis.EnumItem {
|
|
21334
|
+
Name: "LoadFailed";
|
|
21335
|
+
Value: 0;
|
|
21336
|
+
EnumType: typeof globalThis.Enum.PlayerDataErrorState;
|
|
21337
|
+
}
|
|
21338
|
+
export const LoadFailed: LoadFailed;
|
|
21339
|
+
/**
|
|
21340
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataErrorState#FlushFailed)
|
|
21341
|
+
*/
|
|
21342
|
+
export interface FlushFailed extends globalThis.EnumItem {
|
|
21343
|
+
Name: "FlushFailed";
|
|
21344
|
+
Value: 1;
|
|
21345
|
+
EnumType: typeof globalThis.Enum.PlayerDataErrorState;
|
|
21346
|
+
}
|
|
21347
|
+
export const FlushFailed: FlushFailed;
|
|
21348
|
+
/**
|
|
21349
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataErrorState#None)
|
|
21350
|
+
*/
|
|
21351
|
+
export interface None extends globalThis.EnumItem {
|
|
21352
|
+
Name: "None";
|
|
21353
|
+
Value: 2;
|
|
21354
|
+
EnumType: typeof globalThis.Enum.PlayerDataErrorState;
|
|
21355
|
+
}
|
|
21356
|
+
export const None: None;
|
|
21357
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PlayerDataErrorState>;
|
|
21358
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PlayerDataErrorState | undefined;
|
|
21359
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PlayerDataErrorState | undefined;
|
|
21360
|
+
}
|
|
21361
|
+
export type PlayerDataErrorState = PlayerDataErrorState.LoadFailed | PlayerDataErrorState.FlushFailed | PlayerDataErrorState.None;
|
|
21362
|
+
/**
|
|
21363
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataLoadFailureBehavior)
|
|
21364
|
+
*/
|
|
21365
|
+
export namespace PlayerDataLoadFailureBehavior {
|
|
21366
|
+
/**
|
|
21367
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataLoadFailureBehavior#Failure)
|
|
21368
|
+
*/
|
|
21369
|
+
export interface Failure extends globalThis.EnumItem {
|
|
21370
|
+
Name: "Failure";
|
|
21371
|
+
Value: 0;
|
|
21372
|
+
EnumType: typeof globalThis.Enum.PlayerDataLoadFailureBehavior;
|
|
21373
|
+
}
|
|
21374
|
+
export const Failure: Failure;
|
|
21375
|
+
/**
|
|
21376
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataLoadFailureBehavior#FallbackToDefault)
|
|
21377
|
+
*/
|
|
21378
|
+
export interface FallbackToDefault extends globalThis.EnumItem {
|
|
21379
|
+
Name: "FallbackToDefault";
|
|
21380
|
+
Value: 1;
|
|
21381
|
+
EnumType: typeof globalThis.Enum.PlayerDataLoadFailureBehavior;
|
|
21382
|
+
}
|
|
21383
|
+
export const FallbackToDefault: FallbackToDefault;
|
|
21384
|
+
/**
|
|
21385
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/PlayerDataLoadFailureBehavior#Kick)
|
|
21386
|
+
*/
|
|
21387
|
+
export interface Kick extends globalThis.EnumItem {
|
|
21388
|
+
Name: "Kick";
|
|
21389
|
+
Value: 2;
|
|
21390
|
+
EnumType: typeof globalThis.Enum.PlayerDataLoadFailureBehavior;
|
|
21391
|
+
}
|
|
21392
|
+
export const Kick: Kick;
|
|
21393
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PlayerDataLoadFailureBehavior>;
|
|
21394
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.PlayerDataLoadFailureBehavior | undefined;
|
|
21395
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.PlayerDataLoadFailureBehavior | undefined;
|
|
21396
|
+
}
|
|
21397
|
+
export type PlayerDataLoadFailureBehavior = PlayerDataLoadFailureBehavior.Failure | PlayerDataLoadFailureBehavior.FallbackToDefault | PlayerDataLoadFailureBehavior.Kick;
|
|
21272
21398
|
/**
|
|
21273
21399
|
* Used exclusively by Pose.EasingDirection to specify direction of the EasingStyle curve.
|
|
21274
21400
|
*
|
|
@@ -24921,11 +25047,20 @@ declare namespace Enum {
|
|
|
24921
25047
|
EnumType: typeof globalThis.Enum.ShowAdResult;
|
|
24922
25048
|
}
|
|
24923
25049
|
export const ShowInterrupted: ShowInterrupted;
|
|
25050
|
+
/**
|
|
25051
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ShowAdResult#InsufficientMemory)
|
|
25052
|
+
*/
|
|
25053
|
+
export interface InsufficientMemory extends globalThis.EnumItem {
|
|
25054
|
+
Name: "InsufficientMemory";
|
|
25055
|
+
Value: 6;
|
|
25056
|
+
EnumType: typeof globalThis.Enum.ShowAdResult;
|
|
25057
|
+
}
|
|
25058
|
+
export const InsufficientMemory: InsufficientMemory;
|
|
24924
25059
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ShowAdResult>;
|
|
24925
25060
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.ShowAdResult | undefined;
|
|
24926
25061
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.ShowAdResult | undefined;
|
|
24927
25062
|
}
|
|
24928
|
-
export type ShowAdResult = ShowAdResult.ShowCompleted | ShowAdResult.AdNotReady | ShowAdResult.AdAlreadyShowing | ShowAdResult.InternalError | ShowAdResult.ShowInterrupted;
|
|
25063
|
+
export type ShowAdResult = ShowAdResult.ShowCompleted | ShowAdResult.AdNotReady | ShowAdResult.AdAlreadyShowing | ShowAdResult.InternalError | ShowAdResult.ShowInterrupted | ShowAdResult.InsufficientMemory;
|
|
24929
25064
|
/**
|
|
24930
25065
|
* Determines when the engine resumes event handlers.
|
|
24931
25066
|
*
|
package/include/lua.d.ts
CHANGED
|
@@ -511,6 +511,12 @@ declare namespace math {
|
|
|
511
511
|
/** Maps a number from one range to another. */
|
|
512
512
|
function map(x: number, inmin: number, inmax: number, outmin: number, outmax: number): number;
|
|
513
513
|
|
|
514
|
+
/**
|
|
515
|
+
* Returns the linear interpolation between a and b based on the factor t.
|
|
516
|
+
* This function uses the formula a+(b-a)*t. t is typically between 0 and 1 but values outside this range are acceptable.
|
|
517
|
+
*/
|
|
518
|
+
function lerp(a: number, b: number, t: number): number;
|
|
519
|
+
|
|
514
520
|
/** Returns the maximum value among the numbers passed to the function. */
|
|
515
521
|
function max(...n: Array<number>): number;
|
|
516
522
|
|