@rbxts/types 1.0.845 → 1.0.846

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.
@@ -150,12 +150,12 @@ interface Services {
150
150
  ScriptProfilerService: ScriptProfilerService;
151
151
  ScriptRegistrationService: ScriptRegistrationService;
152
152
  SelectionHighlightManager: SelectionHighlightManager;
153
+ SerializationService: SerializationService;
153
154
  ServerScriptService: ServerScriptService;
154
155
  ServerStorage: ServerStorage;
155
156
  ServiceVisibilityService: ServiceVisibilityService;
156
157
  SessionService: SessionService;
157
158
  SharedTableRegistry: SharedTableRegistry;
158
- ShorelineUpgraderService: ShorelineUpgraderService;
159
159
  SmoothVoxelsUpgraderService: SmoothVoxelsUpgraderService;
160
160
  SnippetService: SnippetService;
161
161
  SocialService: SocialService;
@@ -574,6 +574,7 @@ interface Instances extends Services, CreatableInstances {
574
574
  GuiObject: GuiObject;
575
575
  HandleAdornment: HandleAdornment;
576
576
  HandlesBase: HandlesBase;
577
+ ImportSession: ImportSession;
577
578
  InputObject: InputObject;
578
579
  Instance: Instance;
579
580
  InstanceAdornment: InstanceAdornment;
@@ -3327,33 +3328,6 @@ interface AssetImportService extends Instance {
3327
3328
  */
3328
3329
  readonly _nominal_AssetImportService: unique symbol;
3329
3330
  }
3330
- /**
3331
- * - **Tags**: NotCreatable, NotReplicated
3332
- *
3333
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetImportSession)
3334
- */
3335
- interface AssetImportSession extends Instance {
3336
- /**
3337
- * **DO NOT USE!**
3338
- *
3339
- * This field exists to force TypeScript to recognize this as a nominal type
3340
- * @hidden
3341
- * @deprecated
3342
- */
3343
- readonly _nominal_AssetImportSession: unique symbol;
3344
- /**
3345
- * - **ThreadSafety**: Unsafe
3346
- *
3347
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetImportSession#UploadComplete)
3348
- */
3349
- readonly UploadComplete: RBXScriptSignal<(results: object) => void>;
3350
- /**
3351
- * - **ThreadSafety**: Unsafe
3352
- *
3353
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetImportSession#UploadProgress)
3354
- */
3355
- readonly UploadProgress: RBXScriptSignal<(progressRatio: number) => void>;
3356
- }
3357
3331
  /**
3358
3332
  * - **Tags**: NotCreatable, Service, NotReplicated
3359
3333
  *
@@ -17455,6 +17429,18 @@ interface VideoDisplay extends GuiObject {
17455
17429
  * @param pin
17456
17430
  */
17457
17431
  GetConnectedWires(this: VideoDisplay, pin: string): Array<Instance>;
17432
+ /**
17433
+ * - **ThreadSafety**: Unsafe
17434
+ *
17435
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoDisplay#GetInputPins)
17436
+ */
17437
+ GetInputPins(this: VideoDisplay): Array<unknown>;
17438
+ /**
17439
+ * - **ThreadSafety**: Unsafe
17440
+ *
17441
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoDisplay#GetOutputPins)
17442
+ */
17443
+ GetOutputPins(this: VideoDisplay): Array<unknown>;
17458
17444
  /**
17459
17445
  * - **ThreadSafety**: Unsafe
17460
17446
  *
@@ -22140,6 +22126,48 @@ interface IXPService extends Instance {
22140
22126
  */
22141
22127
  readonly _nominal_IXPService: unique symbol;
22142
22128
  }
22129
+ /**
22130
+ * - **Tags**: NotCreatable, NotReplicated
22131
+ *
22132
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ImportSession)
22133
+ */
22134
+ interface ImportSession extends Instance {
22135
+ /**
22136
+ * **DO NOT USE!**
22137
+ *
22138
+ * This field exists to force TypeScript to recognize this as a nominal type
22139
+ * @hidden
22140
+ * @deprecated
22141
+ */
22142
+ readonly _nominal_ImportSession: unique symbol;
22143
+ /**
22144
+ * - **ThreadSafety**: Unsafe
22145
+ *
22146
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ImportSession#UploadComplete)
22147
+ */
22148
+ readonly UploadComplete: RBXScriptSignal<(results: object) => void>;
22149
+ /**
22150
+ * - **ThreadSafety**: Unsafe
22151
+ *
22152
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ImportSession#UploadProgress)
22153
+ */
22154
+ readonly UploadProgress: RBXScriptSignal<(progressRatio: number) => void>;
22155
+ }
22156
+ /**
22157
+ * - **Tags**: NotCreatable, NotReplicated
22158
+ *
22159
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetImportSession)
22160
+ */
22161
+ interface AssetImportSession extends ImportSession {
22162
+ /**
22163
+ * **DO NOT USE!**
22164
+ *
22165
+ * This field exists to force TypeScript to recognize this as a nominal type
22166
+ * @hidden
22167
+ * @deprecated
22168
+ */
22169
+ readonly _nominal_AssetImportSession: unique symbol;
22170
+ }
22143
22171
  /**
22144
22172
  * - **Tags**: NotCreatable, Service, NotReplicated
22145
22173
  *
@@ -34077,6 +34105,35 @@ interface FluidForceSensor extends SensorBase {
34077
34105
  */
34078
34106
  EvaluateAsync(this: FluidForceSensor, linearVelocity: Vector3, angularVelocity: Vector3, cframe: CFrame): unknown;
34079
34107
  }
34108
+ /**
34109
+ * - **Tags**: NotCreatable, Service
34110
+ *
34111
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SerializationService)
34112
+ */
34113
+ interface SerializationService extends Instance {
34114
+ /**
34115
+ * **DO NOT USE!**
34116
+ *
34117
+ * This field exists to force TypeScript to recognize this as a nominal type
34118
+ * @hidden
34119
+ * @deprecated
34120
+ */
34121
+ readonly _nominal_SerializationService: unique symbol;
34122
+ /**
34123
+ * - **ThreadSafety**: Unsafe
34124
+ * - **Tags**: Yields
34125
+ *
34126
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SerializationService#DeserializeInstancesAsync)
34127
+ */
34128
+ DeserializeInstancesAsync(this: SerializationService, buffer: buffer): Array<Instance>;
34129
+ /**
34130
+ * - **ThreadSafety**: Unsafe
34131
+ * - **Tags**: Yields
34132
+ *
34133
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SerializationService#SerializeInstancesAsync)
34134
+ */
34135
+ SerializeInstancesAsync(this: SerializationService, inputInstances: Array<Instance>): buffer;
34136
+ }
34080
34137
  /**
34081
34138
  * A container service for server-only `Script` objects.
34082
34139
  *
@@ -34586,21 +34643,6 @@ interface SharedTableRegistry extends Instance {
34586
34643
  */
34587
34644
  SetSharedTable(this: SharedTableRegistry, name: string, st?: SharedTable): void;
34588
34645
  }
34589
- /**
34590
- * - **Tags**: NotCreatable, Service, NotReplicated
34591
- *
34592
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ShorelineUpgraderService)
34593
- */
34594
- interface ShorelineUpgraderService extends Instance {
34595
- /**
34596
- * **DO NOT USE!**
34597
- *
34598
- * This field exists to force TypeScript to recognize this as a nominal type
34599
- * @hidden
34600
- * @deprecated
34601
- */
34602
- readonly _nominal_ShorelineUpgraderService: unique symbol;
34603
- }
34604
34646
  /**
34605
34647
  * Changes the default appearance of the experience's sky.
34606
34648
  *
@@ -36887,6 +36929,34 @@ interface SurfaceAppearance extends Instance {
36887
36929
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#Color)
36888
36930
  */
36889
36931
  Color: Color3;
36932
+ /**
36933
+ * - **ThreadSafety**: ReadSafe
36934
+ * - **Tags**: Hidden
36935
+ *
36936
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#ColorMapContent)
36937
+ */
36938
+ get ColorMapContent(): Content;
36939
+ /**
36940
+ * - **ThreadSafety**: ReadSafe
36941
+ * - **Tags**: Hidden
36942
+ *
36943
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#MetalnessMapContent)
36944
+ */
36945
+ get MetalnessMapContent(): Content;
36946
+ /**
36947
+ * - **ThreadSafety**: ReadSafe
36948
+ * - **Tags**: Hidden
36949
+ *
36950
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#NormalMapContent)
36951
+ */
36952
+ get NormalMapContent(): Content;
36953
+ /**
36954
+ * - **ThreadSafety**: ReadSafe
36955
+ * - **Tags**: Hidden
36956
+ *
36957
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#RoughnessMapContent)
36958
+ */
36959
+ get RoughnessMapContent(): Content;
36890
36960
  }
36891
36961
  /**
36892
36962
  * The `Team` class represents a faction in a Roblox place. The only valid parent for a Team is in the `Teams` service.
@@ -42446,23 +42516,18 @@ interface VideoPlayer extends Instance {
42446
42516
  Asset: ContentId;
42447
42517
  /**
42448
42518
  * - **ThreadSafety**: ReadSafe
42519
+ * - **Tags**: NotReplicated
42449
42520
  *
42450
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#AutoLoad)
42451
- */
42452
- AutoLoad: boolean;
42453
- /**
42454
- * - **ThreadSafety**: ReadSafe
42455
- *
42456
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#IsPlaying)
42521
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#IsLoaded)
42457
42522
  */
42458
- get IsPlaying(): boolean;
42523
+ readonly IsLoaded: boolean;
42459
42524
  /**
42460
42525
  * - **ThreadSafety**: ReadSafe
42461
42526
  * - **Tags**: NotReplicated
42462
42527
  *
42463
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#IsReady)
42528
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#IsPlaying)
42464
42529
  */
42465
- readonly IsReady: boolean;
42530
+ readonly IsPlaying: boolean;
42466
42531
  /**
42467
42532
  * - **ThreadSafety**: ReadSafe
42468
42533
  *
@@ -42482,12 +42547,6 @@ interface VideoPlayer extends Instance {
42482
42547
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#Resolution)
42483
42548
  */
42484
42549
  readonly Resolution: Vector2;
42485
- /**
42486
- * - **ThreadSafety**: ReadSafe
42487
- *
42488
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#Thumbnail)
42489
- */
42490
- Thumbnail: ContentId;
42491
42550
  /**
42492
42551
  * - **ThreadSafety**: ReadSafe
42493
42552
  * - **Tags**: NotReplicated
@@ -42515,6 +42574,24 @@ interface VideoPlayer extends Instance {
42515
42574
  * @param pin
42516
42575
  */
42517
42576
  GetConnectedWires(this: VideoPlayer, pin: string): Array<Instance>;
42577
+ /**
42578
+ * - **ThreadSafety**: Unsafe
42579
+ *
42580
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#GetInputPins)
42581
+ */
42582
+ GetInputPins(this: VideoPlayer): Array<unknown>;
42583
+ /**
42584
+ * - **ThreadSafety**: Unsafe
42585
+ *
42586
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#GetOutputPins)
42587
+ */
42588
+ GetOutputPins(this: VideoPlayer): Array<unknown>;
42589
+ /**
42590
+ * - **ThreadSafety**: Unsafe
42591
+ *
42592
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#Pause)
42593
+ */
42594
+ Pause(this: VideoPlayer): void;
42518
42595
  /**
42519
42596
  * - **ThreadSafety**: Unsafe
42520
42597
  *
@@ -42525,10 +42602,16 @@ interface VideoPlayer extends Instance {
42525
42602
  /**
42526
42603
  * - **ThreadSafety**: Unsafe
42527
42604
  *
42528
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#Stop)
42529
- * @param this
42605
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#Unload)
42606
+ */
42607
+ Unload(this: VideoPlayer): void;
42608
+ /**
42609
+ * - **ThreadSafety**: Unsafe
42610
+ * - **Tags**: Yields
42611
+ *
42612
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#LoadAsync)
42530
42613
  */
42531
- Stop(this: VideoPlayer): void;
42614
+ LoadAsync(this: VideoPlayer): Enum.AssetFetchStatus;
42532
42615
  /**
42533
42616
  * - **ThreadSafety**: Unsafe
42534
42617
  *
@@ -42541,6 +42624,18 @@ interface VideoPlayer extends Instance {
42541
42624
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#DidLoop)
42542
42625
  */
42543
42626
  readonly DidLoop: RBXScriptSignal<() => void>;
42627
+ /**
42628
+ * - **ThreadSafety**: Unsafe
42629
+ *
42630
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#PlayFailed)
42631
+ */
42632
+ readonly PlayFailed: RBXScriptSignal<(error: Enum.AssetFetchStatus) => void>;
42633
+ /**
42634
+ * - **ThreadSafety**: Unsafe
42635
+ *
42636
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoPlayer#WiringChanged)
42637
+ */
42638
+ readonly WiringChanged: RBXScriptSignal<(connected: boolean, pin: string, wire: Wire, instance: Instance) => void>;
42544
42639
  }
42545
42640
  /**
42546
42641
  * An internal service that offers no functionality to developers.
@@ -163,12 +163,12 @@ interface Services {
163
163
  ScriptRegistrationService: ScriptRegistrationService;
164
164
  Selection: Selection;
165
165
  SelectionHighlightManager: SelectionHighlightManager;
166
+ SerializationService: SerializationService;
166
167
  ServerScriptService: ServerScriptService;
167
168
  ServerStorage: ServerStorage;
168
169
  ServiceVisibilityService: ServiceVisibilityService;
169
170
  SessionService: SessionService;
170
171
  SharedTableRegistry: SharedTableRegistry;
171
- ShorelineUpgraderService: ShorelineUpgraderService;
172
172
  SmoothVoxelsUpgraderService: SmoothVoxelsUpgraderService;
173
173
  SnippetService: SnippetService;
174
174
  SocialService: SocialService;
@@ -603,6 +603,7 @@ interface Instances extends Services, CreatableInstances {
603
603
  GuiObject: GuiObject;
604
604
  HandleAdornment: HandleAdornment;
605
605
  HandlesBase: HandlesBase;
606
+ ImportSession: ImportSession;
606
607
  InputObject: InputObject;
607
608
  Instance: Instance;
608
609
  InstanceAdornment: InstanceAdornment;
@@ -1357,21 +1358,6 @@ interface AssetImportService extends Instance {
1357
1358
  */
1358
1359
  readonly _nominal_AssetImportService: unique symbol;
1359
1360
  }
1360
- /**
1361
- * - **Tags**: NotCreatable, NotReplicated
1362
- *
1363
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetImportSession)
1364
- */
1365
- interface AssetImportSession extends Instance {
1366
- /**
1367
- * **DO NOT USE!**
1368
- *
1369
- * This field exists to force TypeScript to recognize this as a nominal type
1370
- * @hidden
1371
- * @deprecated
1372
- */
1373
- readonly _nominal_AssetImportSession: unique symbol;
1374
- }
1375
1361
  /**
1376
1362
  * - **Tags**: NotCreatable, Service, NotReplicated
1377
1363
  *
@@ -6582,6 +6568,36 @@ interface IXPService extends Instance {
6582
6568
  */
6583
6569
  readonly _nominal_IXPService: unique symbol;
6584
6570
  }
6571
+ /**
6572
+ * - **Tags**: NotCreatable, NotReplicated
6573
+ *
6574
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ImportSession)
6575
+ */
6576
+ interface ImportSession extends Instance {
6577
+ /**
6578
+ * **DO NOT USE!**
6579
+ *
6580
+ * This field exists to force TypeScript to recognize this as a nominal type
6581
+ * @hidden
6582
+ * @deprecated
6583
+ */
6584
+ readonly _nominal_ImportSession: unique symbol;
6585
+ }
6586
+ /**
6587
+ * - **Tags**: NotCreatable, NotReplicated
6588
+ *
6589
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetImportSession)
6590
+ */
6591
+ interface AssetImportSession extends ImportSession {
6592
+ /**
6593
+ * **DO NOT USE!**
6594
+ *
6595
+ * This field exists to force TypeScript to recognize this as a nominal type
6596
+ * @hidden
6597
+ * @deprecated
6598
+ */
6599
+ readonly _nominal_AssetImportSession: unique symbol;
6600
+ }
6585
6601
  /**
6586
6602
  * - **Tags**: NotCreatable, Service, NotReplicated
6587
6603
  *
@@ -11448,6 +11464,21 @@ interface FluidForceSensor extends SensorBase {
11448
11464
  */
11449
11465
  readonly _nominal_FluidForceSensor: unique symbol;
11450
11466
  }
11467
+ /**
11468
+ * - **Tags**: NotCreatable, Service
11469
+ *
11470
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SerializationService)
11471
+ */
11472
+ interface SerializationService extends Instance {
11473
+ /**
11474
+ * **DO NOT USE!**
11475
+ *
11476
+ * This field exists to force TypeScript to recognize this as a nominal type
11477
+ * @hidden
11478
+ * @deprecated
11479
+ */
11480
+ readonly _nominal_SerializationService: unique symbol;
11481
+ }
11451
11482
  /**
11452
11483
  * A container service for server-only `Script` objects.
11453
11484
  *
@@ -11657,21 +11688,6 @@ interface SharedTableRegistry extends Instance {
11657
11688
  */
11658
11689
  readonly _nominal_SharedTableRegistry: unique symbol;
11659
11690
  }
11660
- /**
11661
- * - **Tags**: NotCreatable, Service, NotReplicated
11662
- *
11663
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ShorelineUpgraderService)
11664
- */
11665
- interface ShorelineUpgraderService extends Instance {
11666
- /**
11667
- * **DO NOT USE!**
11668
- *
11669
- * This field exists to force TypeScript to recognize this as a nominal type
11670
- * @hidden
11671
- * @deprecated
11672
- */
11673
- readonly _nominal_ShorelineUpgraderService: unique symbol;
11674
- }
11675
11691
  /**
11676
11692
  * Changes the default appearance of the experience's sky.
11677
11693
  *
@@ -12745,6 +12761,13 @@ interface SurfaceAppearance extends Instance {
12745
12761
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#ColorMap)
12746
12762
  */
12747
12763
  ColorMap: ContentId;
12764
+ /**
12765
+ * - **ThreadSafety**: ReadSafe
12766
+ * - **Tags**: Hidden
12767
+ *
12768
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#ColorMapContent)
12769
+ */
12770
+ set ColorMapContent(value: Content);
12748
12771
  /**
12749
12772
  * Determines which parts of the surface are metal or non-metal.
12750
12773
  *
@@ -12753,6 +12776,13 @@ interface SurfaceAppearance extends Instance {
12753
12776
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#MetalnessMap)
12754
12777
  */
12755
12778
  MetalnessMap: ContentId;
12779
+ /**
12780
+ * - **ThreadSafety**: ReadSafe
12781
+ * - **Tags**: Hidden
12782
+ *
12783
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#MetalnessMapContent)
12784
+ */
12785
+ set MetalnessMapContent(value: Content);
12756
12786
  /**
12757
12787
  * Modifies the lighting of the surface by adding bumps, dents, cracks, and curves.
12758
12788
  *
@@ -12761,6 +12791,13 @@ interface SurfaceAppearance extends Instance {
12761
12791
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#NormalMap)
12762
12792
  */
12763
12793
  NormalMap: ContentId;
12794
+ /**
12795
+ * - **ThreadSafety**: ReadSafe
12796
+ * - **Tags**: Hidden
12797
+ *
12798
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#NormalMapContent)
12799
+ */
12800
+ set NormalMapContent(value: Content);
12764
12801
  /**
12765
12802
  * Determines the apparent roughness across the surface.
12766
12803
  *
@@ -12769,6 +12806,13 @@ interface SurfaceAppearance extends Instance {
12769
12806
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#RoughnessMap)
12770
12807
  */
12771
12808
  RoughnessMap: ContentId;
12809
+ /**
12810
+ * - **ThreadSafety**: ReadSafe
12811
+ * - **Tags**: Hidden
12812
+ *
12813
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#RoughnessMapContent)
12814
+ */
12815
+ set RoughnessMapContent(value: Content);
12772
12816
  }
12773
12817
  /**
12774
12818
  * Collection of settings for the *Task Scheduler* feature.