@rbxts/types 1.0.738 → 1.0.739
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.
|
@@ -30,9 +30,11 @@ interface Services {
|
|
|
30
30
|
CollectionService: CollectionService;
|
|
31
31
|
CommandService: CommandService;
|
|
32
32
|
ConfigureServerService: ConfigureServerService;
|
|
33
|
+
ConnectivityService: ConnectivityService;
|
|
33
34
|
ContentProvider: ContentProvider;
|
|
34
35
|
ContextActionService: ContextActionService;
|
|
35
36
|
ControllerService: ControllerService;
|
|
37
|
+
ConversationalAIAcceptanceService: ConversationalAIAcceptanceService;
|
|
36
38
|
CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
|
|
37
39
|
CreationDBService: CreationDBService;
|
|
38
40
|
CrossDMScriptChangeListener: CrossDMScriptChangeListener;
|
|
@@ -135,6 +137,7 @@ interface Services {
|
|
|
135
137
|
StarterGui: StarterGui;
|
|
136
138
|
StarterPack: StarterPack;
|
|
137
139
|
StarterPlayer: StarterPlayer;
|
|
140
|
+
StartupMessageService: StartupMessageService;
|
|
138
141
|
Stats: Stats;
|
|
139
142
|
StreamingService: StreamingService;
|
|
140
143
|
StudioAssetService: StudioAssetService;
|
|
@@ -345,6 +348,7 @@ interface CreatableInstances {
|
|
|
345
348
|
RemoteFunction: RemoteFunction;
|
|
346
349
|
ReverbSoundEffect: ReverbSoundEffect;
|
|
347
350
|
RigidConstraint: RigidConstraint;
|
|
351
|
+
RobloxEditableImage: RobloxEditableImage;
|
|
348
352
|
RocketPropulsion: RocketPropulsion;
|
|
349
353
|
RodConstraint: RodConstraint;
|
|
350
354
|
RopeConstraint: RopeConstraint;
|
|
@@ -1903,6 +1907,10 @@ interface AnimationStreamTrack extends Instance {
|
|
|
1903
1907
|
* Tags: Hidden, NotReplicated
|
|
1904
1908
|
*/
|
|
1905
1909
|
readonly Animation: TrackerStreamAnimation | undefined;
|
|
1910
|
+
/**
|
|
1911
|
+
* Tags: Hidden, NotReplicated
|
|
1912
|
+
*/
|
|
1913
|
+
readonly FACSDataLod: Enum.FACSDataLod;
|
|
1906
1914
|
/**
|
|
1907
1915
|
* Tags: Hidden, NotReplicated
|
|
1908
1916
|
*/
|
|
@@ -7467,6 +7475,17 @@ interface ConfigureServerService extends Instance {
|
|
|
7467
7475
|
readonly _nominal_ConfigureServerService: unique symbol;
|
|
7468
7476
|
}
|
|
7469
7477
|
|
|
7478
|
+
interface ConnectivityService extends Instance {
|
|
7479
|
+
/**
|
|
7480
|
+
* **DO NOT USE!**
|
|
7481
|
+
*
|
|
7482
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7483
|
+
* @hidden
|
|
7484
|
+
* @deprecated
|
|
7485
|
+
*/
|
|
7486
|
+
readonly _nominal_ConnectivityService: unique symbol;
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7470
7489
|
/** The base class for Constraint-based objects. */
|
|
7471
7490
|
interface Constraint extends Instance {
|
|
7472
7491
|
/**
|
|
@@ -9373,6 +9392,17 @@ interface ControllerService extends Instance {
|
|
|
9373
9392
|
readonly _nominal_ControllerService: unique symbol;
|
|
9374
9393
|
}
|
|
9375
9394
|
|
|
9395
|
+
interface ConversationalAIAcceptanceService extends Instance {
|
|
9396
|
+
/**
|
|
9397
|
+
* **DO NOT USE!**
|
|
9398
|
+
*
|
|
9399
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9400
|
+
* @hidden
|
|
9401
|
+
* @deprecated
|
|
9402
|
+
*/
|
|
9403
|
+
readonly _nominal_ConversationalAIAcceptanceService: unique symbol;
|
|
9404
|
+
}
|
|
9405
|
+
|
|
9376
9406
|
interface CoreScriptDebuggingManagerHelper extends Instance {
|
|
9377
9407
|
/**
|
|
9378
9408
|
* **DO NOT USE!**
|
|
@@ -9573,10 +9603,6 @@ interface EditableMesh extends DataModelMesh {
|
|
|
9573
9603
|
* @deprecated
|
|
9574
9604
|
*/
|
|
9575
9605
|
readonly _nominal_EditableMesh: unique symbol;
|
|
9576
|
-
/**
|
|
9577
|
-
* Tags: Hidden
|
|
9578
|
-
*/
|
|
9579
|
-
readonly MeshVersion: number;
|
|
9580
9606
|
AddTriangle(this: EditableMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9581
9607
|
AddVertex(this: EditableMesh, p: Vector3): number;
|
|
9582
9608
|
FindClosestPointOnSurface(this: EditableMesh, point: Vector3): unknown;
|
|
@@ -10525,6 +10551,17 @@ interface EditableImage extends Instance {
|
|
|
10525
10551
|
WritePixels(this: EditableImage, position: Vector2, size: Vector2, pixels: Array<any>): void;
|
|
10526
10552
|
}
|
|
10527
10553
|
|
|
10554
|
+
interface RobloxEditableImage extends EditableImage {
|
|
10555
|
+
/**
|
|
10556
|
+
* **DO NOT USE!**
|
|
10557
|
+
*
|
|
10558
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10559
|
+
* @hidden
|
|
10560
|
+
* @deprecated
|
|
10561
|
+
*/
|
|
10562
|
+
readonly _nominal_RobloxEditableImage: unique symbol;
|
|
10563
|
+
}
|
|
10564
|
+
|
|
10528
10565
|
interface EngineAPICloudProcessingService extends Instance {
|
|
10529
10566
|
/**
|
|
10530
10567
|
* **DO NOT USE!**
|
|
@@ -32643,6 +32680,17 @@ interface StarterCharacterScripts extends StarterPlayerScripts {
|
|
|
32643
32680
|
readonly _nominal_StarterCharacterScripts: unique symbol;
|
|
32644
32681
|
}
|
|
32645
32682
|
|
|
32683
|
+
interface StartupMessageService extends Instance {
|
|
32684
|
+
/**
|
|
32685
|
+
* **DO NOT USE!**
|
|
32686
|
+
*
|
|
32687
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
32688
|
+
* @hidden
|
|
32689
|
+
* @deprecated
|
|
32690
|
+
*/
|
|
32691
|
+
readonly _nominal_StartupMessageService: unique symbol;
|
|
32692
|
+
}
|
|
32693
|
+
|
|
32646
32694
|
/** Stats is a service that provides real-time performance information about the current running game instance. Its primary purpose is to provide developers with an end point to measure where resources are being consumed, as well as how much memory is being consumed overall.
|
|
32647
32695
|
*
|
|
32648
32696
|
* The service also stores a tree of [StatsItem](https://developer.roblox.com/en-us/api-reference/class/StatsItem), which can have their values read by plugins.
|
|
@@ -34419,7 +34467,7 @@ interface TextService extends Instance {
|
|
|
34419
34467
|
/**
|
|
34420
34468
|
* Tags: Yields
|
|
34421
34469
|
*/
|
|
34422
|
-
FilterAndTranslateStringAsync(this: TextService, stringToFilter: string, fromUserId: number, targetLocales: Array<any>, textContext?: CastsToEnum<Enum.TextFilterContext>):
|
|
34470
|
+
FilterAndTranslateStringAsync(this: TextService, stringToFilter: string, fromUserId: number, targetLocales: Array<any>, textContext?: CastsToEnum<Enum.TextFilterContext>): TextFilterTranslatedResult;
|
|
34423
34471
|
/**
|
|
34424
34472
|
* The FilterStringAsync function filters a string being received from a user, using the [TextService](https://developer.roblox.com/en-us/api-reference/class/TextService), and returns a [TextFilterResult](https://developer.roblox.com/en-us/api-reference/class/TextFilterResult) which can be used to distribute the correctly filtered text accordingly.
|
|
34425
34473
|
*
|
|
@@ -157,6 +157,186 @@ interface Animator extends Instance {
|
|
|
157
157
|
StepAnimations(this: Animator, deltaTime: number): void;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
interface AudioAnalyzer extends Instance {
|
|
161
|
+
/**
|
|
162
|
+
* **DO NOT USE!**
|
|
163
|
+
*
|
|
164
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
165
|
+
* @hidden
|
|
166
|
+
* @deprecated
|
|
167
|
+
*/
|
|
168
|
+
readonly _nominal_AudioAnalyzer: unique symbol;
|
|
169
|
+
GetConnectedWires(this: AudioAnalyzer, pin: string): unknown;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface AudioChorus extends Instance {
|
|
173
|
+
/**
|
|
174
|
+
* **DO NOT USE!**
|
|
175
|
+
*
|
|
176
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
177
|
+
* @hidden
|
|
178
|
+
* @deprecated
|
|
179
|
+
*/
|
|
180
|
+
readonly _nominal_AudioChorus: unique symbol;
|
|
181
|
+
GetConnectedWires(this: AudioChorus, pin: string): unknown;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
interface AudioCompressor extends Instance {
|
|
185
|
+
/**
|
|
186
|
+
* **DO NOT USE!**
|
|
187
|
+
*
|
|
188
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
189
|
+
* @hidden
|
|
190
|
+
* @deprecated
|
|
191
|
+
*/
|
|
192
|
+
readonly _nominal_AudioCompressor: unique symbol;
|
|
193
|
+
GetConnectedWires(this: AudioCompressor, pin: string): unknown;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface AudioDeviceInput extends Instance {
|
|
197
|
+
/**
|
|
198
|
+
* **DO NOT USE!**
|
|
199
|
+
*
|
|
200
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
201
|
+
* @hidden
|
|
202
|
+
* @deprecated
|
|
203
|
+
*/
|
|
204
|
+
readonly _nominal_AudioDeviceInput: unique symbol;
|
|
205
|
+
GetConnectedWires(this: AudioDeviceInput, pin: string): unknown;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
interface AudioDeviceOutput extends Instance {
|
|
209
|
+
/**
|
|
210
|
+
* **DO NOT USE!**
|
|
211
|
+
*
|
|
212
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
213
|
+
* @hidden
|
|
214
|
+
* @deprecated
|
|
215
|
+
*/
|
|
216
|
+
readonly _nominal_AudioDeviceOutput: unique symbol;
|
|
217
|
+
GetConnectedWires(this: AudioDeviceOutput, pin: string): unknown;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
interface AudioDistortion extends Instance {
|
|
221
|
+
/**
|
|
222
|
+
* **DO NOT USE!**
|
|
223
|
+
*
|
|
224
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
225
|
+
* @hidden
|
|
226
|
+
* @deprecated
|
|
227
|
+
*/
|
|
228
|
+
readonly _nominal_AudioDistortion: unique symbol;
|
|
229
|
+
GetConnectedWires(this: AudioDistortion, pin: string): unknown;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
interface AudioEcho extends Instance {
|
|
233
|
+
/**
|
|
234
|
+
* **DO NOT USE!**
|
|
235
|
+
*
|
|
236
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
237
|
+
* @hidden
|
|
238
|
+
* @deprecated
|
|
239
|
+
*/
|
|
240
|
+
readonly _nominal_AudioEcho: unique symbol;
|
|
241
|
+
GetConnectedWires(this: AudioEcho, pin: string): unknown;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
interface AudioEmitter extends Instance {
|
|
245
|
+
/**
|
|
246
|
+
* **DO NOT USE!**
|
|
247
|
+
*
|
|
248
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
249
|
+
* @hidden
|
|
250
|
+
* @deprecated
|
|
251
|
+
*/
|
|
252
|
+
readonly _nominal_AudioEmitter: unique symbol;
|
|
253
|
+
GetConnectedWires(this: AudioEmitter, pin: string): unknown;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
interface AudioEqualizer extends Instance {
|
|
257
|
+
/**
|
|
258
|
+
* **DO NOT USE!**
|
|
259
|
+
*
|
|
260
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
261
|
+
* @hidden
|
|
262
|
+
* @deprecated
|
|
263
|
+
*/
|
|
264
|
+
readonly _nominal_AudioEqualizer: unique symbol;
|
|
265
|
+
GetConnectedWires(this: AudioEqualizer, pin: string): unknown;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
interface AudioFader extends Instance {
|
|
269
|
+
/**
|
|
270
|
+
* **DO NOT USE!**
|
|
271
|
+
*
|
|
272
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
273
|
+
* @hidden
|
|
274
|
+
* @deprecated
|
|
275
|
+
*/
|
|
276
|
+
readonly _nominal_AudioFader: unique symbol;
|
|
277
|
+
GetConnectedWires(this: AudioFader, pin: string): unknown;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
interface AudioFlanger extends Instance {
|
|
281
|
+
/**
|
|
282
|
+
* **DO NOT USE!**
|
|
283
|
+
*
|
|
284
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
285
|
+
* @hidden
|
|
286
|
+
* @deprecated
|
|
287
|
+
*/
|
|
288
|
+
readonly _nominal_AudioFlanger: unique symbol;
|
|
289
|
+
GetConnectedWires(this: AudioFlanger, pin: string): unknown;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
interface AudioListener extends Instance {
|
|
293
|
+
/**
|
|
294
|
+
* **DO NOT USE!**
|
|
295
|
+
*
|
|
296
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
297
|
+
* @hidden
|
|
298
|
+
* @deprecated
|
|
299
|
+
*/
|
|
300
|
+
readonly _nominal_AudioListener: unique symbol;
|
|
301
|
+
GetConnectedWires(this: AudioListener, pin: string): unknown;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
interface AudioPitchShifter extends Instance {
|
|
305
|
+
/**
|
|
306
|
+
* **DO NOT USE!**
|
|
307
|
+
*
|
|
308
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
309
|
+
* @hidden
|
|
310
|
+
* @deprecated
|
|
311
|
+
*/
|
|
312
|
+
readonly _nominal_AudioPitchShifter: unique symbol;
|
|
313
|
+
GetConnectedWires(this: AudioPitchShifter, pin: string): unknown;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
interface AudioPlayer extends Instance {
|
|
317
|
+
/**
|
|
318
|
+
* **DO NOT USE!**
|
|
319
|
+
*
|
|
320
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
321
|
+
* @hidden
|
|
322
|
+
* @deprecated
|
|
323
|
+
*/
|
|
324
|
+
readonly _nominal_AudioPlayer: unique symbol;
|
|
325
|
+
GetConnectedWires(this: AudioPlayer, pin: string): unknown;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
interface AudioReverb extends Instance {
|
|
329
|
+
/**
|
|
330
|
+
* **DO NOT USE!**
|
|
331
|
+
*
|
|
332
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
333
|
+
* @hidden
|
|
334
|
+
* @deprecated
|
|
335
|
+
*/
|
|
336
|
+
readonly _nominal_AudioReverb: unique symbol;
|
|
337
|
+
GetConnectedWires(this: AudioReverb, pin: string): unknown;
|
|
338
|
+
}
|
|
339
|
+
|
|
160
340
|
/** The CoreGui is a service used to store Guis created in-game by Roblox for the core user interface found in every game (such as the game menu, the playerlist, the backpack, etc.). It can also be used by [Plugins](https://developer.roblox.com/en-us/api-reference/class/Plugin) in Roblox Studio.
|
|
161
341
|
*
|
|
162
342
|
* You can use the [StarterGui:SetCoreGuiEnabled](https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCoreGuiEnabled) and [StarterGui:GetCoreGuiEnabled](https://developer.roblox.com/en-us/api-reference/function/StarterGui/GetCoreGuiEnabled) methods in a [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript) to enable and disable most elements of the CoreGui. You can also use [PlayerGui:SetTopbarTransparency](https://developer.roblox.com/en-us/api-reference/function/PlayerGui/SetTopbarTransparency) to set the transparency of the top bar.
|
|
@@ -6503,6 +6503,35 @@ declare namespace Enum {
|
|
|
6503
6503
|
}
|
|
6504
6504
|
export type ExplosionType = ExplosionType.NoCraters | ExplosionType.Craters;
|
|
6505
6505
|
|
|
6506
|
+
export namespace FACSDataLod {
|
|
6507
|
+
export interface LOD0 extends globalThis.EnumItem {
|
|
6508
|
+
Name: "LOD0";
|
|
6509
|
+
Value: 0;
|
|
6510
|
+
EnumType: typeof globalThis.Enum.FACSDataLod;
|
|
6511
|
+
}
|
|
6512
|
+
|
|
6513
|
+
export const LOD0: LOD0;
|
|
6514
|
+
|
|
6515
|
+
export interface LOD1 extends globalThis.EnumItem {
|
|
6516
|
+
Name: "LOD1";
|
|
6517
|
+
Value: 1;
|
|
6518
|
+
EnumType: typeof globalThis.Enum.FACSDataLod;
|
|
6519
|
+
}
|
|
6520
|
+
|
|
6521
|
+
export const LOD1: LOD1;
|
|
6522
|
+
|
|
6523
|
+
export interface LODCount extends globalThis.EnumItem {
|
|
6524
|
+
Name: "LODCount";
|
|
6525
|
+
Value: 2;
|
|
6526
|
+
EnumType: typeof globalThis.Enum.FACSDataLod;
|
|
6527
|
+
}
|
|
6528
|
+
|
|
6529
|
+
export const LODCount: LODCount;
|
|
6530
|
+
|
|
6531
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.FACSDataLod>;
|
|
6532
|
+
}
|
|
6533
|
+
export type FACSDataLod = FACSDataLod.LOD0 | FACSDataLod.LOD1 | FACSDataLod.LODCount;
|
|
6534
|
+
|
|
6506
6535
|
export namespace FacialAnimationStreamingState {
|
|
6507
6536
|
export interface None extends globalThis.EnumItem {
|
|
6508
6537
|
Name: "None";
|
|
@@ -12527,6 +12556,35 @@ declare namespace Enum {
|
|
|
12527
12556
|
}
|
|
12528
12557
|
export type NetworkOwnership = NetworkOwnership.Automatic | NetworkOwnership.Manual | NetworkOwnership.OnContact;
|
|
12529
12558
|
|
|
12559
|
+
export namespace NetworkStatus {
|
|
12560
|
+
export interface Unknown extends globalThis.EnumItem {
|
|
12561
|
+
Name: "Unknown";
|
|
12562
|
+
Value: 0;
|
|
12563
|
+
EnumType: typeof globalThis.Enum.NetworkStatus;
|
|
12564
|
+
}
|
|
12565
|
+
|
|
12566
|
+
export const Unknown: Unknown;
|
|
12567
|
+
|
|
12568
|
+
export interface Connected extends globalThis.EnumItem {
|
|
12569
|
+
Name: "Connected";
|
|
12570
|
+
Value: 1;
|
|
12571
|
+
EnumType: typeof globalThis.Enum.NetworkStatus;
|
|
12572
|
+
}
|
|
12573
|
+
|
|
12574
|
+
export const Connected: Connected;
|
|
12575
|
+
|
|
12576
|
+
export interface Disconnected extends globalThis.EnumItem {
|
|
12577
|
+
Name: "Disconnected";
|
|
12578
|
+
Value: 2;
|
|
12579
|
+
EnumType: typeof globalThis.Enum.NetworkStatus;
|
|
12580
|
+
}
|
|
12581
|
+
|
|
12582
|
+
export const Disconnected: Disconnected;
|
|
12583
|
+
|
|
12584
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.NetworkStatus>;
|
|
12585
|
+
}
|
|
12586
|
+
export type NetworkStatus = NetworkStatus.Unknown | NetworkStatus.Connected | NetworkStatus.Disconnected;
|
|
12587
|
+
|
|
12530
12588
|
export namespace NormalId {
|
|
12531
12589
|
export interface Right extends globalThis.EnumItem {
|
|
12532
12590
|
Name: "Right";
|