@rbxts/types 1.0.660 → 1.0.662

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.
@@ -111,6 +111,7 @@ interface Services {
111
111
  StudioPublishService: StudioPublishService;
112
112
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
113
113
  StudioSdkService: StudioSdkService;
114
+ TeamCreateData: TeamCreateData;
114
115
  TeamCreateService: TeamCreateService;
115
116
  Teams: Teams;
116
117
  TeleportService: TeleportService;
@@ -5978,6 +5979,7 @@ interface Camera extends Instance {
5978
5979
  * Note this function does not perform any raycasting, meaning the visible bool will be true regardless if the _worldPoint_ is obscured by [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) or [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain).
5979
5980
  */
5980
5981
  WorldToViewportPoint(this: Camera, worldPoint: Vector3): LuaTuple<[Vector3, boolean]>;
5982
+ ZoomToExtents(this: Camera, boundingBoxCFrame: CFrame, boundingBoxSize: Vector3): void;
5981
5983
  /**
5982
5984
  * This event fires when the [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera) has finished interpolating using the [Camera:Interpolate](https://developer.roblox.com/en-us/api-reference/function/Camera/Interpolate) function.
5983
5985
  *
@@ -24398,6 +24400,7 @@ interface Model extends PVInstance {
24398
24400
  * @deprecated
24399
24401
  */
24400
24402
  GetPrimaryPartCFrame(this: Model): CFrame;
24403
+ GetScale(this: Model): number;
24401
24404
  /**
24402
24405
  * **Deprecated**
24403
24406
  *
@@ -24429,6 +24432,7 @@ interface Model extends PVInstance {
24429
24432
  * @deprecated
24430
24433
  */
24431
24434
  ResetOrientationToIdentity(this: Model): void;
24435
+ ScaleTo(this: Model, newScaleFactor: number): void;
24432
24436
  /**
24433
24437
  * Sets the identity rotation of the given model, allowing you to reset the rotation of the entire model later, through the use of the `ResetOrientationToIdentity` method.
24434
24438
  * Tags: Deprecated
@@ -31149,6 +31153,17 @@ interface Team extends Instance {
31149
31153
  readonly PlayerRemoved: RBXScriptSignal<(player: Player) => void>;
31150
31154
  }
31151
31155
 
31156
+ interface TeamCreateData extends Instance {
31157
+ /**
31158
+ * **DO NOT USE!**
31159
+ *
31160
+ * This field exists to force TypeScript to recognize this as a nominal type
31161
+ * @hidden
31162
+ * @deprecated
31163
+ */
31164
+ readonly _nominal_TeamCreateData: unique symbol;
31165
+ }
31166
+
31152
31167
  interface TeamCreateService extends Instance {
31153
31168
  /**
31154
31169
  * **DO NOT USE!**
@@ -264,24 +264,18 @@ interface BundleInfo {
264
264
 
265
265
  type TeleportData = string | number | boolean | Array<unknown> | Map<unknown, unknown>;
266
266
 
267
- type PlayerJoinInfo = {
268
- /** Data passed along with the players. As this is transmitted by the client it is not secure. For this reason it should only be used for local settings and not sensitive items (such as the users’ score or in-game currency). */
267
+ interface PlayerJoinInfo {
268
+ /** The `DataModel.GameId` of the experience the `Player` teleported from. Only present if the player teleports to the current experience and if a server calls the teleport function. */
269
+ SourceGameId?: number;
270
+ /** The `DataModel.PlaceId` of the place the `Player` teleported from. Only present if the player teleports to the current place and a server calls the teleport function. */
271
+ SourcePlaceId?: number;
272
+ /** An array containing the `UserId` numbers of the users teleported alongside the `Player`. Only present if the player teleported as part of a group. */
273
+ Members?: Array<number>;
274
+ /** Reflects the `teleportData` specified in the original teleport. Useful for sharing information between servers the player teleports to. Only present if `teleportData` was specified and a server calls the teleport function. */
269
275
  TeleportData?: TeleportData;
270
- } & (
271
- | {
272
- SourceGameId: undefined;
273
- SourcePlaceId: undefined;
274
- Members: undefined;
275
- }
276
- | {
277
- /** The DataModel.GameId of the game the Player was teleported from. Only present if the player was teleported to the current place. */
278
- SourceGameId: number;
279
- /** The DataModel.PlaceId of the place the Player was teleported from. Only present if the player was teleported to the current place. */
280
- SourcePlaceId: number;
281
- /** An array containing the UserIds teleported alongside the Player. Only present if the player was teleported in using TeleportService:TeleportPartyAsync. */
282
- Members: Array<number>;
283
- }
284
- );
276
+ /** A string containing launch data specified in the URL the player clicks to join the experience. Only present if the URL contains launch data. */
277
+ LaunchData?: string;
278
+ }
285
279
 
286
280
  interface BoundActionInfo {
287
281
  inputTypes: Array<Enum.KeyCode | Enum.PlayerActions | Enum.UserInputType | string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.660",
3
+ "version": "1.0.662",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },