@rbxts/types 1.0.615 → 1.0.618

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.
@@ -100,6 +100,7 @@ interface Services {
100
100
  StudioHighDpiService: StudioHighDpiService;
101
101
  StudioPublishService: StudioPublishService;
102
102
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
103
+ TeamCreateService: TeamCreateService;
103
104
  Teams: Teams;
104
105
  TeleportService: TeleportService;
105
106
  TemporaryCageMeshProvider: TemporaryCageMeshProvider;
@@ -7244,26 +7245,6 @@ interface RigidConstraint extends Constraint {
7244
7245
  * @deprecated
7245
7246
  */
7246
7247
  readonly _nominal_RigidConstraint: unique symbol;
7247
- /**
7248
- * Shows if this constraint is broken.
7249
- * Tags: ReadOnly, NotReplicated, NotBrowsable
7250
- */
7251
- readonly Broken: boolean;
7252
- /**
7253
- * Enables destruction of the constraint by turning on force computations. If the internal reaction force or torque of the constraint exceeds their respective thresholds, the constraint breaks.
7254
- * Tags: NotBrowsable
7255
- */
7256
- DestructionEnabled: boolean;
7257
- /**
7258
- * If the internal reaction force of the constraint exceeds this value, the constraint breaks.
7259
- * Tags: NotBrowsable
7260
- */
7261
- DestructionForce: number;
7262
- /**
7263
- * If the internal reaction torque of the constraint exceeds this value, the constraint breaks.
7264
- * Tags: NotBrowsable
7265
- */
7266
- DestructionTorque: number;
7267
7248
  }
7268
7249
 
7269
7250
  /** A **RodConstraint** constrains two [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment) to remain separated by the value specified by [RodConstraint.Length](https://developer.roblox.com/en-us/api-reference/property/RodConstraint/Length). While the attachments remain at a set distance from one another, they can both rotate freely.
@@ -24240,7 +24221,7 @@ interface WorldRoot extends Model {
24240
24221
  *
24241
24222
  * This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
24242
24223
  */
24243
- GetPartBoundsInBox(cframe: CFrame, size: Vector3, overlapParams?: OverlapParams): Array<BasePart>;
24224
+ GetPartBoundsInBox(this: WorldRoot, cframe: CFrame, size: Vector3, overlapParams?: OverlapParams): Array<BasePart>;
24244
24225
  /**
24245
24226
  * **GetPartBoundsInRadius** returns an array of parts whose _bounding boxes_ overlap a sphere whose volume is described using the given center (Vector3) and radius (number).
24246
24227
  *
@@ -24250,7 +24231,12 @@ interface WorldRoot extends Model {
24250
24231
  *
24251
24232
  * This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
24252
24233
  */
24253
- GetPartBoundsInRadius(position: Vector3, radius: number, overlapParams?: OverlapParams): Array<BasePart>;
24234
+ GetPartBoundsInRadius(
24235
+ this: WorldRoot,
24236
+ position: Vector3,
24237
+ radius: number,
24238
+ overlapParams?: OverlapParams,
24239
+ ): Array<BasePart>;
24254
24240
  /**
24255
24241
  * **GetPartsInPart** returns an array of parts whose occupied space is shared with the given part, which must exist in the same WorldRoot ([Workspace](https://developer.roblox.com/en-us/api-reference/class/Workspace)) as the parts to be queried.
24256
24242
  *
@@ -24262,7 +24248,7 @@ interface WorldRoot extends Model {
24262
24248
  *
24263
24249
  * This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
24264
24250
  */
24265
- GetPartsInPart(part: BasePart, overlapParams?: OverlapParams): Array<BasePart>;
24251
+ GetPartsInPart(this: WorldRoot, part: BasePart, overlapParams?: OverlapParams): Array<BasePart>;
24266
24252
  /**
24267
24253
  * **IsRegion3Empty** returns a bool indicating whether there are no [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)s within the given [Region3](https://developer.roblox.com/en-us/api-reference/datatype/Region3).
24268
24254
  *
@@ -30574,6 +30560,17 @@ interface Team extends Instance {
30574
30560
  readonly PlayerRemoved: RBXScriptSignal<(player: Player) => void>;
30575
30561
  }
30576
30562
 
30563
+ interface TeamCreateService extends Instance {
30564
+ /**
30565
+ * **DO NOT USE!**
30566
+ *
30567
+ * This field exists to force TypeScript to recognize this as a nominal type
30568
+ * @hidden
30569
+ * @deprecated
30570
+ */
30571
+ readonly _nominal_TeamCreateService: unique symbol;
30572
+ }
30573
+
30577
30574
  /** The Teams service holds a game's [Team](https://developer.roblox.com/en-us/api-reference/class/Team) objects. [Team](https://developer.roblox.com/en-us/api-reference/class/Team) objects must be parented to the Teams service.
30578
30575
  *
30579
30576
  * Teams offer a range of features that are useful to developers. These can broadly be divided into features that work out-of-the-box and features developers can program into their game.
@@ -2787,7 +2787,7 @@ interface ScriptDocument extends Instance {
2787
2787
  /**
2788
2788
  * Tags: Yields
2789
2789
  */
2790
- EditTextAsync(this: ScriptDocument, newText: string, startLine: number, startCharacter: number, endLine?: number, endCharacter?: number): unknown;
2790
+ EditTextAsync(this: ScriptDocument, newText: string, startLine: number, startCharacter: number, endLine: number, endCharacter: number): unknown;
2791
2791
  }
2792
2792
 
2793
2793
  interface ScriptEditorService extends Instance {
@@ -3133,6 +3133,7 @@ interface Studio extends Instance {
3133
3133
  */
3134
3134
  ["Built-in Function Color"]: Color3;
3135
3135
  ["Camera Mouse Wheel Speed"]: number;
3136
+ readonly ["Camera Pan Speed"]: number;
3136
3137
  ["Camera Shift Speed"]: number;
3137
3138
  ["Camera Speed"]: number;
3138
3139
  ["Camera Zoom to Mouse Position"]: boolean;
@@ -153,6 +153,8 @@ declare namespace Enum {
153
153
  }
154
154
 
155
155
  export const TShirt: TShirt;
156
+ /** @deprecated renamed to TShirt */
157
+ export const TeeShirt: TShirt;
156
158
 
157
159
  export interface Shirt extends EnumItem {
158
160
  Name: "Shirt";
@@ -881,6 +883,8 @@ declare namespace Enum {
881
883
  }
882
884
 
883
885
  export const TShirt: TShirt;
886
+ /** @deprecated renamed to TShirt */
887
+ export const TeeShirt: TShirt;
884
888
 
885
889
  export interface Audio extends EnumItem {
886
890
  Name: "Audio";
@@ -1233,6 +1237,8 @@ declare namespace Enum {
1233
1237
  }
1234
1238
 
1235
1239
  export const TShirtAccessory: TShirtAccessory;
1240
+ /** @deprecated renamed to TShirtAccessory */
1241
+ export const TeeShirtAccessory: TShirtAccessory;
1236
1242
 
1237
1243
  export interface ShirtAccessory extends EnumItem {
1238
1244
  Name: "ShirtAccessory";
@@ -1633,6 +1639,8 @@ declare namespace Enum {
1633
1639
  }
1634
1640
 
1635
1641
  export const TShirtAccessory: TShirtAccessory;
1642
+ /** @deprecated renamed to TShirtAccessory */
1643
+ export const TeeShirtAccessory: TShirtAccessory;
1636
1644
 
1637
1645
  export interface ShirtAccessory extends EnumItem {
1638
1646
  Name: "ShirtAccessory";
@@ -1809,6 +1817,10 @@ declare namespace Enum {
1809
1817
  }
1810
1818
 
1811
1819
  export const X: X;
1820
+ /** @deprecated renamed to X */
1821
+ export const Right: X;
1822
+ /** @deprecated renamed to X */
1823
+ export const Left: X;
1812
1824
 
1813
1825
  export interface Y extends EnumItem {
1814
1826
  Name: "Y";
@@ -1817,6 +1829,10 @@ declare namespace Enum {
1817
1829
  }
1818
1830
 
1819
1831
  export const Y: Y;
1832
+ /** @deprecated renamed to Y */
1833
+ export const Bottom: Y;
1834
+ /** @deprecated renamed to Y */
1835
+ export const Top: Y;
1820
1836
 
1821
1837
  export interface Z extends EnumItem {
1822
1838
  Name: "Z";
@@ -1825,6 +1841,10 @@ declare namespace Enum {
1825
1841
  }
1826
1842
 
1827
1843
  export const Z: Z;
1844
+ /** @deprecated renamed to Z */
1845
+ export const Back: Z;
1846
+ /** @deprecated renamed to Z */
1847
+ export const Front: Z;
1828
1848
 
1829
1849
  export function GetEnumItems(this: Enum): Array<Axis>
1830
1850
  }
@@ -1837,6 +1857,12 @@ declare namespace Enum {
1837
1857
  }
1838
1858
 
1839
1859
  export const Script: Script;
1860
+ /** @deprecated renamed to Script */
1861
+ export const Slingshot: Script;
1862
+ /** @deprecated renamed to Script */
1863
+ export const Rocket: Script;
1864
+ /** @deprecated renamed to Script */
1865
+ export const Laser: Script;
1840
1866
 
1841
1867
  export interface GameTool extends EnumItem {
1842
1868
  Name: "GameTool";
@@ -3585,6 +3611,8 @@ declare namespace Enum {
3585
3611
  }
3586
3612
 
3587
3613
  export const Medium: Medium;
3614
+ /** @deprecated renamed to Medium */
3615
+ export const Default: Medium;
3588
3616
 
3589
3617
  export interface Default extends EnumItem {
3590
3618
  Name: "Default";
@@ -3593,6 +3621,8 @@ declare namespace Enum {
3593
3621
  }
3594
3622
 
3595
3623
  export const Default: Default;
3624
+ /** @deprecated renamed to Default */
3625
+ export const Medium: Default;
3596
3626
 
3597
3627
  export interface High extends EnumItem {
3598
3628
  Name: "High";
@@ -3633,6 +3663,8 @@ declare namespace Enum {
3633
3663
  }
3634
3664
 
3635
3665
  export const MouseLockSwitch: MouseLockSwitch;
3666
+ /** @deprecated renamed to MouseLockSwitch */
3667
+ export const Mouse Lock Switch: MouseLockSwitch;
3636
3668
 
3637
3669
  export interface Classic extends EnumItem {
3638
3670
  Name: "Classic";
@@ -4913,6 +4945,8 @@ declare namespace Enum {
4913
4945
  }
4914
4946
 
4915
4947
  export const Craters: Craters;
4948
+ /** @deprecated renamed to Craters */
4949
+ export const CratersAndDebris: Craters;
4916
4950
 
4917
4951
  export function GetEnumItems(this: Enum): Array<ExplosionType>
4918
4952
  }
@@ -5137,6 +5171,8 @@ declare namespace Enum {
5137
5171
  }
5138
5172
 
5139
5173
  export const GothamMedium: GothamMedium;
5174
+ /** @deprecated renamed to GothamMedium */
5175
+ export const GothamSemibold: GothamMedium;
5140
5176
 
5141
5177
  export interface GothamBold extends EnumItem {
5142
5178
  Name: "GothamBold";
@@ -5601,6 +5637,8 @@ declare namespace Enum {
5601
5637
  }
5602
5638
 
5603
5639
  export const Brick: Brick;
5640
+ /** @deprecated renamed to Brick */
5641
+ export const Block: Brick;
5604
5642
 
5605
5643
  export interface Plate extends EnumItem {
5606
5644
  Name: "Plate";
@@ -6961,6 +6999,28 @@ declare namespace Enum {
6961
6999
  }
6962
7000
 
6963
7001
  export const NoInput: NoInput;
7002
+ /** @deprecated renamed to NoInput */
7003
+ export const RightTread: NoInput;
7004
+ /** @deprecated renamed to NoInput */
7005
+ export const UpDown: NoInput;
7006
+ /** @deprecated renamed to NoInput */
7007
+ export const Action2: NoInput;
7008
+ /** @deprecated renamed to NoInput */
7009
+ export const Action3: NoInput;
7010
+ /** @deprecated renamed to NoInput */
7011
+ export const Steer: NoInput;
7012
+ /** @deprecated renamed to NoInput */
7013
+ export const Throttle: NoInput;
7014
+ /** @deprecated renamed to NoInput */
7015
+ export const Action1: NoInput;
7016
+ /** @deprecated renamed to NoInput */
7017
+ export const Throtle: NoInput;
7018
+ /** @deprecated renamed to NoInput */
7019
+ export const LeftTread: NoInput;
7020
+ /** @deprecated renamed to NoInput */
7021
+ export const Action4: NoInput;
7022
+ /** @deprecated renamed to NoInput */
7023
+ export const Action5: NoInput;
6964
7024
 
6965
7025
  export interface Constant extends EnumItem {
6966
7026
  Name: "Constant";
@@ -9621,6 +9681,8 @@ declare namespace Enum {
9621
9681
  }
9622
9682
 
9623
9683
  export const CorrodedMetal: CorrodedMetal;
9684
+ /** @deprecated renamed to CorrodedMetal */
9685
+ export const Corroded Metal: CorrodedMetal;
9624
9686
 
9625
9687
  export interface DiamondPlate extends EnumItem {
9626
9688
  Name: "DiamondPlate";
@@ -9637,6 +9699,8 @@ declare namespace Enum {
9637
9699
  }
9638
9700
 
9639
9701
  export const Foil: Foil;
9702
+ /** @deprecated renamed to Foil */
9703
+ export const Aluminum: Foil;
9640
9704
 
9641
9705
  export interface Grass extends EnumItem {
9642
9706
  Name: "Grass";
@@ -11645,6 +11709,8 @@ declare namespace Enum {
11645
11709
  }
11646
11710
 
11647
11711
  export const Level01: Level01;
11712
+ /** @deprecated renamed to Level01 */
11713
+ export const Level 1: Level01;
11648
11714
 
11649
11715
  export interface Level02 extends EnumItem {
11650
11716
  Name: "Level02";
@@ -11653,6 +11719,8 @@ declare namespace Enum {
11653
11719
  }
11654
11720
 
11655
11721
  export const Level02: Level02;
11722
+ /** @deprecated renamed to Level02 */
11723
+ export const Level 2: Level02;
11656
11724
 
11657
11725
  export interface Level03 extends EnumItem {
11658
11726
  Name: "Level03";
@@ -11661,6 +11729,8 @@ declare namespace Enum {
11661
11729
  }
11662
11730
 
11663
11731
  export const Level03: Level03;
11732
+ /** @deprecated renamed to Level03 */
11733
+ export const Level 3: Level03;
11664
11734
 
11665
11735
  export interface Level04 extends EnumItem {
11666
11736
  Name: "Level04";
@@ -11669,6 +11739,8 @@ declare namespace Enum {
11669
11739
  }
11670
11740
 
11671
11741
  export const Level04: Level04;
11742
+ /** @deprecated renamed to Level04 */
11743
+ export const Level 4: Level04;
11672
11744
 
11673
11745
  export interface Level05 extends EnumItem {
11674
11746
  Name: "Level05";
@@ -11677,6 +11749,8 @@ declare namespace Enum {
11677
11749
  }
11678
11750
 
11679
11751
  export const Level05: Level05;
11752
+ /** @deprecated renamed to Level05 */
11753
+ export const Level 5: Level05;
11680
11754
 
11681
11755
  export interface Level06 extends EnumItem {
11682
11756
  Name: "Level06";
@@ -11685,6 +11759,8 @@ declare namespace Enum {
11685
11759
  }
11686
11760
 
11687
11761
  export const Level06: Level06;
11762
+ /** @deprecated renamed to Level06 */
11763
+ export const Level 6: Level06;
11688
11764
 
11689
11765
  export interface Level07 extends EnumItem {
11690
11766
  Name: "Level07";
@@ -11693,6 +11769,8 @@ declare namespace Enum {
11693
11769
  }
11694
11770
 
11695
11771
  export const Level07: Level07;
11772
+ /** @deprecated renamed to Level07 */
11773
+ export const Level 7: Level07;
11696
11774
 
11697
11775
  export interface Level08 extends EnumItem {
11698
11776
  Name: "Level08";
@@ -11701,6 +11779,8 @@ declare namespace Enum {
11701
11779
  }
11702
11780
 
11703
11781
  export const Level08: Level08;
11782
+ /** @deprecated renamed to Level08 */
11783
+ export const Level 8: Level08;
11704
11784
 
11705
11785
  export interface Level09 extends EnumItem {
11706
11786
  Name: "Level09";
@@ -11709,6 +11789,8 @@ declare namespace Enum {
11709
11789
  }
11710
11790
 
11711
11791
  export const Level09: Level09;
11792
+ /** @deprecated renamed to Level09 */
11793
+ export const Level 9: Level09;
11712
11794
 
11713
11795
  export interface Level10 extends EnumItem {
11714
11796
  Name: "Level10";
@@ -11717,6 +11799,8 @@ declare namespace Enum {
11717
11799
  }
11718
11800
 
11719
11801
  export const Level10: Level10;
11802
+ /** @deprecated renamed to Level10 */
11803
+ export const Level 10: Level10;
11720
11804
 
11721
11805
  export interface Level11 extends EnumItem {
11722
11806
  Name: "Level11";
@@ -11725,6 +11809,8 @@ declare namespace Enum {
11725
11809
  }
11726
11810
 
11727
11811
  export const Level11: Level11;
11812
+ /** @deprecated renamed to Level11 */
11813
+ export const Level 11: Level11;
11728
11814
 
11729
11815
  export interface Level12 extends EnumItem {
11730
11816
  Name: "Level12";
@@ -11733,6 +11819,8 @@ declare namespace Enum {
11733
11819
  }
11734
11820
 
11735
11821
  export const Level12: Level12;
11822
+ /** @deprecated renamed to Level12 */
11823
+ export const Level 12: Level12;
11736
11824
 
11737
11825
  export interface Level13 extends EnumItem {
11738
11826
  Name: "Level13";
@@ -11741,6 +11829,8 @@ declare namespace Enum {
11741
11829
  }
11742
11830
 
11743
11831
  export const Level13: Level13;
11832
+ /** @deprecated renamed to Level13 */
11833
+ export const Level 13: Level13;
11744
11834
 
11745
11835
  export interface Level14 extends EnumItem {
11746
11836
  Name: "Level14";
@@ -11749,6 +11839,8 @@ declare namespace Enum {
11749
11839
  }
11750
11840
 
11751
11841
  export const Level14: Level14;
11842
+ /** @deprecated renamed to Level14 */
11843
+ export const Level 14: Level14;
11752
11844
 
11753
11845
  export interface Level15 extends EnumItem {
11754
11846
  Name: "Level15";
@@ -11757,6 +11849,8 @@ declare namespace Enum {
11757
11849
  }
11758
11850
 
11759
11851
  export const Level15: Level15;
11852
+ /** @deprecated renamed to Level15 */
11853
+ export const Level 15: Level15;
11760
11854
 
11761
11855
  export interface Level16 extends EnumItem {
11762
11856
  Name: "Level16";
@@ -11765,6 +11859,8 @@ declare namespace Enum {
11765
11859
  }
11766
11860
 
11767
11861
  export const Level16: Level16;
11862
+ /** @deprecated renamed to Level16 */
11863
+ export const Level 16: Level16;
11768
11864
 
11769
11865
  export interface Level17 extends EnumItem {
11770
11866
  Name: "Level17";
@@ -11773,6 +11869,8 @@ declare namespace Enum {
11773
11869
  }
11774
11870
 
11775
11871
  export const Level17: Level17;
11872
+ /** @deprecated renamed to Level17 */
11873
+ export const Level 17: Level17;
11776
11874
 
11777
11875
  export interface Level18 extends EnumItem {
11778
11876
  Name: "Level18";
@@ -11781,6 +11879,8 @@ declare namespace Enum {
11781
11879
  }
11782
11880
 
11783
11881
  export const Level18: Level18;
11882
+ /** @deprecated renamed to Level18 */
11883
+ export const Level 18: Level18;
11784
11884
 
11785
11885
  export interface Level19 extends EnumItem {
11786
11886
  Name: "Level19";
@@ -11789,6 +11889,8 @@ declare namespace Enum {
11789
11889
  }
11790
11890
 
11791
11891
  export const Level19: Level19;
11892
+ /** @deprecated renamed to Level19 */
11893
+ export const Level 19: Level19;
11792
11894
 
11793
11895
  export interface Level20 extends EnumItem {
11794
11896
  Name: "Level20";
@@ -11797,6 +11899,8 @@ declare namespace Enum {
11797
11899
  }
11798
11900
 
11799
11901
  export const Level20: Level20;
11902
+ /** @deprecated renamed to Level20 */
11903
+ export const Level 20: Level20;
11800
11904
 
11801
11905
  export interface Level21 extends EnumItem {
11802
11906
  Name: "Level21";
@@ -11805,6 +11909,8 @@ declare namespace Enum {
11805
11909
  }
11806
11910
 
11807
11911
  export const Level21: Level21;
11912
+ /** @deprecated renamed to Level21 */
11913
+ export const Level 21: Level21;
11808
11914
 
11809
11915
  export function GetEnumItems(this: Enum): Array<QualityLevel>
11810
11916
  }
@@ -14513,6 +14619,8 @@ declare namespace Enum {
14513
14619
  }
14514
14620
 
14515
14621
  export const AlternatingSupports: AlternatingSupports;
14622
+ /** @deprecated renamed to AlternatingSupports */
14623
+ export const Alternating Supports: AlternatingSupports;
14516
14624
 
14517
14625
  export interface BridgeStyleSupports extends EnumItem {
14518
14626
  Name: "BridgeStyleSupports";
@@ -14521,6 +14629,8 @@ declare namespace Enum {
14521
14629
  }
14522
14630
 
14523
14631
  export const BridgeStyleSupports: BridgeStyleSupports;
14632
+ /** @deprecated renamed to BridgeStyleSupports */
14633
+ export const Bridge Style Supports: BridgeStyleSupports;
14524
14634
 
14525
14635
  export interface NoSupports extends EnumItem {
14526
14636
  Name: "NoSupports";
@@ -14529,6 +14639,8 @@ declare namespace Enum {
14529
14639
  }
14530
14640
 
14531
14641
  export const NoSupports: NoSupports;
14642
+ /** @deprecated renamed to NoSupports */
14643
+ export const No Supports: NoSupports;
14532
14644
 
14533
14645
  export function GetEnumItems(this: Enum): Array<Style>
14534
14646
  }
@@ -14597,6 +14709,10 @@ declare namespace Enum {
14597
14709
  }
14598
14710
 
14599
14711
  export const Smooth: Smooth;
14712
+ /** @deprecated renamed to Smooth */
14713
+ export const Unjoinable: Smooth;
14714
+ /** @deprecated renamed to Smooth */
14715
+ export const Spawn: Smooth;
14600
14716
 
14601
14717
  export interface Glue extends EnumItem {
14602
14718
  Name: "Glue";
@@ -14605,6 +14721,8 @@ declare namespace Enum {
14605
14721
  }
14606
14722
 
14607
14723
  export const Glue: Glue;
14724
+ /** @deprecated renamed to Glue */
14725
+ export const Bumps: Glue;
14608
14726
 
14609
14727
  export interface Weld extends EnumItem {
14610
14728
  Name: "Weld";
@@ -15405,6 +15523,8 @@ declare namespace Enum {
15405
15523
  }
15406
15524
 
15407
15525
  export const Auto: Auto;
15526
+ /** @deprecated renamed to Auto */
15527
+ export const PartialThread: Auto;
15408
15528
 
15409
15529
  export interface PerCore1 extends EnumItem {
15410
15530
  Name: "PerCore1";
@@ -1183,7 +1183,7 @@ interface Color3 {
1183
1183
  /** Returns a Color3 interpolated between two Color3 objects. Alpha is a number from 0 to 1. */
1184
1184
  Lerp(this: Color3, goal: Color3, alpha: number): Color3;
1185
1185
  /** Returns the [hue, saturation, and value](https://en.wikipedia.org/wiki/HSL_and_HSV) of a Color3. This function is the inverse operation of the `Color3.fromHSV` constructor. */
1186
- ToHSV(): LuaTuple<[number, number, number]>;
1186
+ ToHSV(this: Color3): LuaTuple<[number, number, number]>;
1187
1187
  /**
1188
1188
  * Converts the color to a six-character hexadecimal string representing the color in the format RRGGBB. It is not
1189
1189
  * prefixed with an octothorpe (#), although this can be concatenated easily.
@@ -1194,7 +1194,7 @@ interface Color3 {
1194
1194
  * print(BrickColor.new("Really red").Color:ToHex()) --> "FF0000"
1195
1195
  * ```
1196
1196
  */
1197
- ToHex(): string;
1197
+ ToHex(this: Color3): string;
1198
1198
  }
1199
1199
 
1200
1200
  interface Color3Constructor {
@@ -1319,16 +1319,16 @@ interface DateTime {
1319
1319
  readonly UnixTimestampMillis: number;
1320
1320
 
1321
1321
  /** Converts the value of this DateTime object to Universal Coordinated Time (UTC) */
1322
- ToUniversalTime(): TimeValueTable;
1322
+ ToUniversalTime(this: DateTime): TimeValueTable;
1323
1323
 
1324
1324
  /** Converts the value of this DateTime object to local time */
1325
- ToLocalTime(): TimeValueTable;
1325
+ ToLocalTime(this: DateTime): TimeValueTable;
1326
1326
 
1327
1327
  /**
1328
1328
  * Formats a date as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time string.
1329
1329
  * An example ISO 8601 date-time string would be `2020-01-02T10:30:45Z`, which represents January 2nd 2020 at 10:30 AM, 45 seconds.
1330
1330
  */
1331
- ToIsoDate(): string;
1331
+ ToIsoDate(this: DateTime): string;
1332
1332
 
1333
1333
  /**
1334
1334
  * Generates a string from the DateTime value interpreted as Universal Coordinated Time (UTC) and a format string.
@@ -1337,7 +1337,7 @@ interface DateTime {
1337
1337
  * @param format
1338
1338
  * @param locale
1339
1339
  */
1340
- FormatUniversalTime(format: string, locale: string): string;
1340
+ FormatUniversalTime(this: DateTime, format: string, locale: string): string;
1341
1341
 
1342
1342
  /**
1343
1343
  * Generates a string from the DateTime value interpreted as local time and a format string.
@@ -1346,7 +1346,7 @@ interface DateTime {
1346
1346
  * @param format
1347
1347
  * @param locale
1348
1348
  */
1349
- FormatLocalTime(format: string, locale: string): string;
1349
+ FormatLocalTime(this: DateTime, format: string, locale: string): string;
1350
1350
  }
1351
1351
 
1352
1352
  interface DateTimeConstructor {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.615",
3
+ "version": "1.0.618",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },