@rbxts/types 1.0.660 → 1.0.661
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.
- package/include/roblox.d.ts +11 -17
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -264,24 +264,18 @@ interface BundleInfo {
|
|
|
264
264
|
|
|
265
265
|
type TeleportData = string | number | boolean | Array<unknown> | Map<unknown, unknown>;
|
|
266
266
|
|
|
267
|
-
|
|
268
|
-
/**
|
|
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
|
-
|
|
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>;
|