@rbxts/types 1.0.714 → 1.0.716

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.
@@ -89,6 +89,7 @@ interface Services {
89
89
  PlaceStatsService: PlaceStatsService;
90
90
  PlatformFriendsService: PlatformFriendsService;
91
91
  Players: Players;
92
+ PlayerViewService: PlayerViewService;
92
93
  PluginManagementService: PluginManagementService;
93
94
  PluginPolicyService: PluginPolicyService;
94
95
  PolicyService: PolicyService;
@@ -211,6 +212,7 @@ interface CreatableInstances {
211
212
  BodyColors: BodyColors;
212
213
  BodyForce: BodyForce;
213
214
  BodyGyro: BodyGyro;
215
+ BodyPartDescription: BodyPartDescription;
214
216
  BodyPosition: BodyPosition;
215
217
  BodyThrust: BodyThrust;
216
218
  BodyVelocity: BodyVelocity;
@@ -312,6 +314,7 @@ interface CreatableInstances {
312
314
  NumberPose: NumberPose;
313
315
  NumberValue: NumberValue;
314
316
  ObjectValue: ObjectValue;
317
+ OperationTree: OperationTree;
315
318
  Pants: Pants;
316
319
  Part: Part;
317
320
  ParticleEmitter: ParticleEmitter;
@@ -363,9 +366,7 @@ interface CreatableInstances {
363
366
  SpringConstraint: SpringConstraint;
364
367
  StarterGear: StarterGear;
365
368
  StringValue: StringValue;
366
- StudioCallout: StudioCallout;
367
- StudioObjectBase: StudioObjectBase;
368
- StudioWidget: StudioWidget;
369
+ StudioAttachment: StudioAttachment;
369
370
  StyleDerive: StyleDerive;
370
371
  StyleLink: StyleLink;
371
372
  StyleRule: StyleRule;
@@ -568,6 +569,9 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
568
569
  StandardPages: StandardPages;
569
570
  StarterCharacterScripts: StarterCharacterScripts;
570
571
  StarterPlayerScripts: StarterPlayerScripts;
572
+ StudioCallout: StudioCallout;
573
+ StudioObjectBase: StudioObjectBase;
574
+ StudioWidget: StudioWidget;
571
575
  StyleBase: StyleBase;
572
576
  SurfaceGuiBase: SurfaceGuiBase;
573
577
  SyncScriptBuilder: SyncScriptBuilder;
@@ -5815,6 +5819,21 @@ interface RocketPropulsion extends BodyMover {
5815
5819
  readonly ReachedTarget: RBXScriptSignal<() => void>;
5816
5820
  }
5817
5821
 
5822
+ interface BodyPartDescription extends Instance {
5823
+ /**
5824
+ * **DO NOT USE!**
5825
+ *
5826
+ * This field exists to force TypeScript to recognize this as a nominal type
5827
+ * @hidden
5828
+ * @deprecated
5829
+ */
5830
+ readonly _nominal_BodyPartDescription: unique symbol;
5831
+ AssetId: number;
5832
+ BodyPart: Enum.BodyPart;
5833
+ Color: Color3;
5834
+ Instance: Instance | undefined;
5835
+ }
5836
+
5818
5837
  interface Breakpoint extends Instance {
5819
5838
  /**
5820
5839
  * **DO NOT USE!**
@@ -10287,6 +10306,7 @@ interface DynamicImage extends Instance {
10287
10306
  Crop(this: DynamicImage, min: Vector2, max: Vector2): void;
10288
10307
  DrawCircle(this: DynamicImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
10289
10308
  DrawImage(this: DynamicImage, position: Vector2, image: DynamicImage, combineType: CastsToEnum<Enum.ImageCombineType>): void;
10309
+ DrawLine(this: DynamicImage, p1: Vector2, p2: Vector2, color: Color3, transparency: number): void;
10290
10310
  DrawRectangle(this: DynamicImage, position: Vector2, size: Vector2, color: Color3, transparency: number): void;
10291
10311
  /**
10292
10312
  * Tags: CustomLuaState
@@ -23265,6 +23285,17 @@ interface OpenCloudService extends Instance {
23265
23285
  GetApiV1(this: OpenCloudService): OpenCloudApiV1;
23266
23286
  }
23267
23287
 
23288
+ interface OperationTree extends Instance {
23289
+ /**
23290
+ * **DO NOT USE!**
23291
+ *
23292
+ * This field exists to force TypeScript to recognize this as a nominal type
23293
+ * @hidden
23294
+ * @deprecated
23295
+ */
23296
+ readonly _nominal_OperationTree: unique symbol;
23297
+ }
23298
+
23268
23299
  /** A [PVInstance](https://developer.roblox.com/en-us/api-reference/class/PVInstance) (“Position Velocity Instance”) is an abstract class that cannot be created. It is the base for all objects that have a physical location in the world, specifically [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) and [Models](https://developer.roblox.com/en-us/api-reference/class/Model). */
23269
23300
  interface PVInstance extends Instance {
23270
23301
  /**
@@ -28191,6 +28222,18 @@ interface PlayerScripts extends Instance {
28191
28222
  RegisterTouchMovementMode(this: PlayerScripts, movementMode: CastsToEnum<Enum.TouchMovementMode>): void;
28192
28223
  }
28193
28224
 
28225
+ interface PlayerViewService extends Instance {
28226
+ /**
28227
+ * **DO NOT USE!**
28228
+ *
28229
+ * This field exists to force TypeScript to recognize this as a nominal type
28230
+ * @hidden
28231
+ * @deprecated
28232
+ */
28233
+ readonly _nominal_PlayerViewService: unique symbol;
28234
+ GetDeviceCameraCFrame(this: PlayerViewService, player?: Player): CFrame;
28235
+ }
28236
+
28194
28237
  /** The Players game service contains only [Player](https://developer.roblox.com/en-us/api-reference/class/Player) objects for presently connected clients to a Roblox game server. It also contains information about a place's configuration (such as bubble chat or classic chat). It can fetch information about players not connected to the server, such as character appearances, friends and avatar thumbnail. */
28195
28238
  interface Players extends Instance {
28196
28239
  /**
@@ -31894,11 +31937,12 @@ interface SoundService extends Instance {
31894
31937
  */
31895
31938
  GetListener(
31896
31939
  this: SoundService,
31897
- ):
31940
+ ): LuaTuple<
31898
31941
  | [Enum.ListenerType.Camera, undefined]
31899
31942
  | [Enum.ListenerType.CFrame, CFrame]
31900
31943
  | [Enum.ListenerType.ObjectCFrame, BasePart]
31901
- | [Enum.ListenerType.ObjectPosition, BasePart];
31944
+ | [Enum.ListenerType.ObjectPosition, BasePart]
31945
+ >;
31902
31946
  /**
31903
31947
  * Plays a [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) locally, meaning the sound will only be heard by the client calling this function, regardless of where it's parented to. This function is most useful for playing a [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) locally in the Studio client, for instance in a [Script](https://developer.roblox.com/en-us/api-reference/class/Script) for a [custom plugin](https://developer.roblox.com/en-us/articles/intro-to-plugins).
31904
31948
  */
@@ -32490,6 +32534,22 @@ interface StudioAssetService extends Instance {
32490
32534
  readonly _nominal_StudioAssetService: unique symbol;
32491
32535
  }
32492
32536
 
32537
+ interface StudioAttachment extends Instance {
32538
+ /**
32539
+ * **DO NOT USE!**
32540
+ *
32541
+ * This field exists to force TypeScript to recognize this as a nominal type
32542
+ * @hidden
32543
+ * @deprecated
32544
+ */
32545
+ readonly _nominal_StudioAttachment: unique symbol;
32546
+ AutoHideParent: boolean;
32547
+ IsArrowVisible: boolean;
32548
+ Offset: Vector2;
32549
+ SourceAnchorPoint: Vector2;
32550
+ TargetAnchorPoint: Vector2;
32551
+ }
32552
+
32493
32553
  interface StudioCallout extends Instance {
32494
32554
  /**
32495
32555
  * **DO NOT USE!**
@@ -33984,6 +34044,7 @@ interface TextChatMessage extends Instance {
33984
34044
  TextChannel: TextChannel | undefined;
33985
34045
  TextSource: TextSource | undefined;
33986
34046
  Timestamp: DateTime;
34047
+ Translation: string;
33987
34048
  }
33988
34049
 
33989
34050
  interface TextChatMessageProperties extends Instance {
@@ -33997,6 +34058,7 @@ interface TextChatMessageProperties extends Instance {
33997
34058
  readonly _nominal_TextChatMessageProperties: unique symbol;
33998
34059
  PrefixText: string;
33999
34060
  Text: string;
34061
+ Translation: string;
34000
34062
  }
34001
34063
 
34002
34064
  interface TextChatService extends Instance {
@@ -34008,6 +34070,7 @@ interface TextChatService extends Instance {
34008
34070
  * @deprecated
34009
34071
  */
34010
34072
  readonly _nominal_TextChatService: unique symbol;
34073
+ readonly ChatTranslationEnabled: boolean;
34011
34074
  readonly ChatVersion: Enum.ChatVersion;
34012
34075
  CreateDefaultCommands: boolean;
34013
34076
  CreateDefaultTextChannels: boolean;
@@ -8169,35 +8169,6 @@ declare namespace Enum {
8169
8169
  }
8170
8170
  export type HumanoidHealthDisplayType = HumanoidHealthDisplayType.DisplayWhenDamaged | HumanoidHealthDisplayType.AlwaysOn | HumanoidHealthDisplayType.AlwaysOff;
8171
8171
 
8172
- export namespace HumanoidOnlySetCollisionsOnStateChange {
8173
- export interface Default extends globalThis.EnumItem {
8174
- Name: "Default";
8175
- Value: 0;
8176
- EnumType: typeof globalThis.Enum.HumanoidOnlySetCollisionsOnStateChange;
8177
- }
8178
-
8179
- export const Default: Default;
8180
-
8181
- export interface Disabled extends globalThis.EnumItem {
8182
- Name: "Disabled";
8183
- Value: 1;
8184
- EnumType: typeof globalThis.Enum.HumanoidOnlySetCollisionsOnStateChange;
8185
- }
8186
-
8187
- export const Disabled: Disabled;
8188
-
8189
- export interface Enabled extends globalThis.EnumItem {
8190
- Name: "Enabled";
8191
- Value: 2;
8192
- EnumType: typeof globalThis.Enum.HumanoidOnlySetCollisionsOnStateChange;
8193
- }
8194
-
8195
- export const Enabled: Enabled;
8196
-
8197
- export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.HumanoidOnlySetCollisionsOnStateChange>;
8198
- }
8199
- export type HumanoidOnlySetCollisionsOnStateChange = HumanoidOnlySetCollisionsOnStateChange.Default | HumanoidOnlySetCollisionsOnStateChange.Disabled | HumanoidOnlySetCollisionsOnStateChange.Enabled;
8200
-
8201
8172
  export namespace HumanoidRigType {
8202
8173
  export interface R6 extends globalThis.EnumItem {
8203
8174
  Name: "R6";
@@ -12276,6 +12247,51 @@ declare namespace Enum {
12276
12247
  }
12277
12248
  export type NormalId = NormalId.Top | NormalId.Bottom | NormalId.Back | NormalId.Front | NormalId.Right | NormalId.Left;
12278
12249
 
12250
+ export namespace OperationType {
12251
+ export interface Null extends globalThis.EnumItem {
12252
+ Name: "Null";
12253
+ Value: 0;
12254
+ EnumType: typeof globalThis.Enum.OperationType;
12255
+ }
12256
+
12257
+ export const Null: Null;
12258
+
12259
+ export interface Union extends globalThis.EnumItem {
12260
+ Name: "Union";
12261
+ Value: 1;
12262
+ EnumType: typeof globalThis.Enum.OperationType;
12263
+ }
12264
+
12265
+ export const Union: Union;
12266
+
12267
+ export interface Subtraction extends globalThis.EnumItem {
12268
+ Name: "Subtraction";
12269
+ Value: 2;
12270
+ EnumType: typeof globalThis.Enum.OperationType;
12271
+ }
12272
+
12273
+ export const Subtraction: Subtraction;
12274
+
12275
+ export interface Intersection extends globalThis.EnumItem {
12276
+ Name: "Intersection";
12277
+ Value: 3;
12278
+ EnumType: typeof globalThis.Enum.OperationType;
12279
+ }
12280
+
12281
+ export const Intersection: Intersection;
12282
+
12283
+ export interface Primitive extends globalThis.EnumItem {
12284
+ Name: "Primitive";
12285
+ Value: 4;
12286
+ EnumType: typeof globalThis.Enum.OperationType;
12287
+ }
12288
+
12289
+ export const Primitive: Primitive;
12290
+
12291
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.OperationType>;
12292
+ }
12293
+ export type OperationType = OperationType.Null | OperationType.Union | OperationType.Subtraction | OperationType.Intersection | OperationType.Primitive;
12294
+
12279
12295
  export namespace OrientationAlignmentMode {
12280
12296
  export interface OneAttachment extends globalThis.EnumItem {
12281
12297
  Name: "OneAttachment";
@@ -13302,6 +13318,59 @@ declare namespace Enum {
13302
13318
  }
13303
13319
  export type PositionAlignmentMode = PositionAlignmentMode.OneAttachment | PositionAlignmentMode.TwoAttachment;
13304
13320
 
13321
+ export namespace PrimitiveType {
13322
+ export interface Null extends globalThis.EnumItem {
13323
+ Name: "Null";
13324
+ Value: 0;
13325
+ EnumType: typeof globalThis.Enum.PrimitiveType;
13326
+ }
13327
+
13328
+ export const Null: Null;
13329
+
13330
+ export interface Ball extends globalThis.EnumItem {
13331
+ Name: "Ball";
13332
+ Value: 1;
13333
+ EnumType: typeof globalThis.Enum.PrimitiveType;
13334
+ }
13335
+
13336
+ export const Ball: Ball;
13337
+
13338
+ export interface Cylinder extends globalThis.EnumItem {
13339
+ Name: "Cylinder";
13340
+ Value: 2;
13341
+ EnumType: typeof globalThis.Enum.PrimitiveType;
13342
+ }
13343
+
13344
+ export const Cylinder: Cylinder;
13345
+
13346
+ export interface Block extends globalThis.EnumItem {
13347
+ Name: "Block";
13348
+ Value: 3;
13349
+ EnumType: typeof globalThis.Enum.PrimitiveType;
13350
+ }
13351
+
13352
+ export const Block: Block;
13353
+
13354
+ export interface Wedge extends globalThis.EnumItem {
13355
+ Name: "Wedge";
13356
+ Value: 4;
13357
+ EnumType: typeof globalThis.Enum.PrimitiveType;
13358
+ }
13359
+
13360
+ export const Wedge: Wedge;
13361
+
13362
+ export interface CornerWedge extends globalThis.EnumItem {
13363
+ Name: "CornerWedge";
13364
+ Value: 5;
13365
+ EnumType: typeof globalThis.Enum.PrimitiveType;
13366
+ }
13367
+
13368
+ export const CornerWedge: CornerWedge;
13369
+
13370
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PrimitiveType>;
13371
+ }
13372
+ export type PrimitiveType = PrimitiveType.Null | PrimitiveType.Ball | PrimitiveType.Cylinder | PrimitiveType.Block | PrimitiveType.Wedge | PrimitiveType.CornerWedge;
13373
+
13305
13374
  export namespace PrivilegeType {
13306
13375
  export interface Owner extends globalThis.EnumItem {
13307
13376
  Name: "Owner";
@@ -14776,9 +14845,17 @@ declare namespace Enum {
14776
14845
 
14777
14846
  export const Other: Other;
14778
14847
 
14848
+ export interface Throttled extends globalThis.EnumItem {
14849
+ Name: "Throttled";
14850
+ Value: 6;
14851
+ EnumType: typeof globalThis.Enum.SaveAvatarThumbnailCustomizationFailure;
14852
+ }
14853
+
14854
+ export const Throttled: Throttled;
14855
+
14779
14856
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SaveAvatarThumbnailCustomizationFailure>;
14780
14857
  }
14781
- export type SaveAvatarThumbnailCustomizationFailure = SaveAvatarThumbnailCustomizationFailure.BadThumbnailType | SaveAvatarThumbnailCustomizationFailure.BadYRotDeg | SaveAvatarThumbnailCustomizationFailure.BadFieldOfViewDeg | SaveAvatarThumbnailCustomizationFailure.BadDistanceScale | SaveAvatarThumbnailCustomizationFailure.Other;
14858
+ export type SaveAvatarThumbnailCustomizationFailure = SaveAvatarThumbnailCustomizationFailure.BadThumbnailType | SaveAvatarThumbnailCustomizationFailure.BadYRotDeg | SaveAvatarThumbnailCustomizationFailure.BadFieldOfViewDeg | SaveAvatarThumbnailCustomizationFailure.BadDistanceScale | SaveAvatarThumbnailCustomizationFailure.Other | SaveAvatarThumbnailCustomizationFailure.Throttled;
14782
14859
 
14783
14860
  export namespace SaveFilter {
14784
14861
  export interface SaveAll extends globalThis.EnumItem {
@@ -15314,6 +15391,35 @@ declare namespace Enum {
15314
15391
  }
15315
15392
  export type ServerAudioBehavior = ServerAudioBehavior.Enabled | ServerAudioBehavior.Muted | ServerAudioBehavior.OnlineGame;
15316
15393
 
15394
+ export namespace ServerLiveEditingMode {
15395
+ export interface Uninitialized extends globalThis.EnumItem {
15396
+ Name: "Uninitialized";
15397
+ Value: 0;
15398
+ EnumType: typeof globalThis.Enum.ServerLiveEditingMode;
15399
+ }
15400
+
15401
+ export const Uninitialized: Uninitialized;
15402
+
15403
+ export interface Enabled extends globalThis.EnumItem {
15404
+ Name: "Enabled";
15405
+ Value: 1;
15406
+ EnumType: typeof globalThis.Enum.ServerLiveEditingMode;
15407
+ }
15408
+
15409
+ export const Enabled: Enabled;
15410
+
15411
+ export interface Disabled extends globalThis.EnumItem {
15412
+ Name: "Disabled";
15413
+ Value: 2;
15414
+ EnumType: typeof globalThis.Enum.ServerLiveEditingMode;
15415
+ }
15416
+
15417
+ export const Disabled: Disabled;
15418
+
15419
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ServerLiveEditingMode>;
15420
+ }
15421
+ export type ServerLiveEditingMode = ServerLiveEditingMode.Uninitialized | ServerLiveEditingMode.Enabled | ServerLiveEditingMode.Disabled;
15422
+
15317
15423
  export namespace ServiceVisibility {
15318
15424
  export interface Always extends globalThis.EnumItem {
15319
15425
  Name: "Always";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.714",
3
+ "version": "1.0.716",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },