@rbxts/types 1.0.730 → 1.0.732
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/generated/None.d.ts +65 -46
- package/include/generated/enums.d.ts +243 -2
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/// <reference path="enums.d.ts" />
|
|
6
6
|
|
|
7
7
|
interface Services {
|
|
8
|
+
AccountService: AccountService;
|
|
8
9
|
AnalyticsService: AnalyticsService;
|
|
9
10
|
AnimationClipProvider: AnimationClipProvider;
|
|
10
11
|
AnimationFromVideoCreatorService: AnimationFromVideoCreatorService;
|
|
@@ -151,6 +152,7 @@ interface Services {
|
|
|
151
152
|
TextBoxService: TextBoxService;
|
|
152
153
|
TextChatService: TextChatService;
|
|
153
154
|
TextService: TextService;
|
|
155
|
+
TextureGenerationMeshHandler: TextureGenerationMeshHandler;
|
|
154
156
|
ToastNotificationService: ToastNotificationService;
|
|
155
157
|
TracerService: TracerService;
|
|
156
158
|
TutorialService: TutorialService;
|
|
@@ -261,9 +263,9 @@ interface CreatableInstances {
|
|
|
261
263
|
DoubleConstrainedValue: DoubleConstrainedValue;
|
|
262
264
|
DragDetector: DragDetector;
|
|
263
265
|
Dragger: Dragger;
|
|
264
|
-
DynamicMesh: DynamicMesh;
|
|
265
266
|
EchoSoundEffect: EchoSoundEffect;
|
|
266
267
|
EditableImage: EditableImage;
|
|
268
|
+
EditableMesh: EditableMesh;
|
|
267
269
|
EqualizerSoundEffect: EqualizerSoundEffect;
|
|
268
270
|
EulerRotationCurve: EulerRotationCurve;
|
|
269
271
|
ExperienceInviteOptions: ExperienceInviteOptions;
|
|
@@ -1256,6 +1258,17 @@ interface AccessoryDescription extends Instance {
|
|
|
1256
1258
|
Puffiness: number;
|
|
1257
1259
|
}
|
|
1258
1260
|
|
|
1261
|
+
interface AccountService extends Instance {
|
|
1262
|
+
/**
|
|
1263
|
+
* **DO NOT USE!**
|
|
1264
|
+
*
|
|
1265
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1266
|
+
* @hidden
|
|
1267
|
+
* @deprecated
|
|
1268
|
+
*/
|
|
1269
|
+
readonly _nominal_AccountService: unique symbol;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1259
1272
|
/** An Accoutrement is an object that welds its child [part](https://developer.roblox.com/en-us/api-reference/class/Part) called “Handle” to the Head of a player's character. The position and rotation of the Handle part can be changed with the [AttachmentPos](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentPos)/[Right](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentRight)/[Forward](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentForward)/[Up](https://developer.roblox.com/en-us/api-reference/property/Accoutrement/AttachmentUp) properties.
|
|
1260
1273
|
*
|
|
1261
1274
|
* Parts descending from an accoutrement will be massless when attached to other parts (e.g. with a Weld) as long as they are not the root part of the assembly returned by [GetRootPart()](https://developer.roblox.com/en-us/api-reference/function/BasePart/GetRootPart). [GetMass()](https://developer.roblox.com/en-us/api-reference/function/BasePart/GetMass) will return 0 for parts in this case and it will not add to the total mass or rotational inertia of the Assembly.
|
|
@@ -2303,11 +2316,15 @@ interface AssetService extends Instance {
|
|
|
2303
2316
|
/**
|
|
2304
2317
|
* Tags: Yields
|
|
2305
2318
|
*/
|
|
2306
|
-
|
|
2319
|
+
CreateEditableImageAsync(this: AssetService, textureId: string): EditableImage;
|
|
2320
|
+
/**
|
|
2321
|
+
* Tags: Yields
|
|
2322
|
+
*/
|
|
2323
|
+
CreateEditableMeshAsync(this: AssetService, meshId: string): EditableMesh;
|
|
2307
2324
|
/**
|
|
2308
2325
|
* Tags: Yields
|
|
2309
2326
|
*/
|
|
2310
|
-
|
|
2327
|
+
CreateEditableMeshFromPartAsync(this: AssetService, meshPart: MeshPart): EditableMesh;
|
|
2311
2328
|
/**
|
|
2312
2329
|
* Clones a place with placeId equal to given templatePlaceId. It is placed into the inventory of the place's creator with the given name and description. This method will also return the placeId of the new place, which can be used with TeleportService. This method cannot be used to clone places that you do not own.
|
|
2313
2330
|
*
|
|
@@ -2439,10 +2456,6 @@ interface AssetService extends Instance {
|
|
|
2439
2456
|
* Tags: Yields
|
|
2440
2457
|
*/
|
|
2441
2458
|
SearchAudio(this: AssetService, searchParameters: AudioSearchParams): AudioPages;
|
|
2442
|
-
/**
|
|
2443
|
-
* Tags: Yields
|
|
2444
|
-
*/
|
|
2445
|
-
createDynamicMeshFromPartAsync(this: AssetService, meshPart: MeshPart): DynamicMesh;
|
|
2446
2459
|
}
|
|
2447
2460
|
|
|
2448
2461
|
/** **Note**
|
|
@@ -9534,7 +9547,7 @@ interface CylinderMesh extends BevelMesh {
|
|
|
9534
9547
|
readonly _nominal_CylinderMesh: unique symbol;
|
|
9535
9548
|
}
|
|
9536
9549
|
|
|
9537
|
-
interface
|
|
9550
|
+
interface EditableMesh extends DataModelMesh {
|
|
9538
9551
|
/**
|
|
9539
9552
|
* **DO NOT USE!**
|
|
9540
9553
|
*
|
|
@@ -9542,38 +9555,38 @@ interface DynamicMesh extends DataModelMesh {
|
|
|
9542
9555
|
* @hidden
|
|
9543
9556
|
* @deprecated
|
|
9544
9557
|
*/
|
|
9545
|
-
readonly
|
|
9558
|
+
readonly _nominal_EditableMesh: unique symbol;
|
|
9546
9559
|
/**
|
|
9547
9560
|
* Tags: Hidden
|
|
9548
9561
|
*/
|
|
9549
9562
|
readonly MeshVersion: number;
|
|
9550
|
-
AddTriangle(this:
|
|
9551
|
-
AddVertex(this:
|
|
9552
|
-
FindClosestPointOnSurface(this:
|
|
9553
|
-
FindClosestVertex(this:
|
|
9554
|
-
FindVerticesWithinSphere(this:
|
|
9555
|
-
GetAdjacentTriangles(this:
|
|
9556
|
-
GetAdjacentVertices(this:
|
|
9557
|
-
GetPosition(this:
|
|
9558
|
-
GetTriangleVertices(this:
|
|
9559
|
-
GetTriangles(this:
|
|
9560
|
-
GetUV(this:
|
|
9561
|
-
GetVertexColor(this:
|
|
9562
|
-
GetVertexColorAlpha(this:
|
|
9563
|
-
GetVertexNormal(this:
|
|
9564
|
-
GetVertices(this:
|
|
9565
|
-
Raycast(this:
|
|
9566
|
-
RemoveTriangle(this:
|
|
9567
|
-
RemoveVertex(this:
|
|
9568
|
-
SetPosition(this:
|
|
9569
|
-
SetUV(this:
|
|
9570
|
-
SetVertexColor(this:
|
|
9571
|
-
SetVertexColorAlpha(this:
|
|
9572
|
-
SetVertexNormal(this:
|
|
9563
|
+
AddTriangle(this: EditableMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9564
|
+
AddVertex(this: EditableMesh, p: Vector3): number;
|
|
9565
|
+
FindClosestPointOnSurface(this: EditableMesh, point: Vector3): unknown;
|
|
9566
|
+
FindClosestVertex(this: EditableMesh, toThisPoint: Vector3): number;
|
|
9567
|
+
FindVerticesWithinSphere(this: EditableMesh, center: Vector3, radius: number): unknown;
|
|
9568
|
+
GetAdjacentTriangles(this: EditableMesh, triangleId: number): unknown;
|
|
9569
|
+
GetAdjacentVertices(this: EditableMesh, vertexId: number): unknown;
|
|
9570
|
+
GetPosition(this: EditableMesh, vertexId: number): Vector3;
|
|
9571
|
+
GetTriangleVertices(this: EditableMesh, triangleId: number): unknown;
|
|
9572
|
+
GetTriangles(this: EditableMesh): unknown;
|
|
9573
|
+
GetUV(this: EditableMesh, vertexId: number): Vector2;
|
|
9574
|
+
GetVertexColor(this: EditableMesh, vertexId: number): Color3;
|
|
9575
|
+
GetVertexColorAlpha(this: EditableMesh, vertexId: number): number;
|
|
9576
|
+
GetVertexNormal(this: EditableMesh, vertexId: number): Vector3;
|
|
9577
|
+
GetVertices(this: EditableMesh): unknown;
|
|
9578
|
+
Raycast(this: EditableMesh, origin: Vector3, direction: Vector3): unknown;
|
|
9579
|
+
RemoveTriangle(this: EditableMesh, triangleId: number): void;
|
|
9580
|
+
RemoveVertex(this: EditableMesh, vertexId: number): void;
|
|
9581
|
+
SetPosition(this: EditableMesh, vertexId: number, p: Vector3): void;
|
|
9582
|
+
SetUV(this: EditableMesh, vertexId: number, uv: Vector2): void;
|
|
9583
|
+
SetVertexColor(this: EditableMesh, vertexId: number, color: Color3): void;
|
|
9584
|
+
SetVertexColorAlpha(this: EditableMesh, vertexId: number, alpha: number): void;
|
|
9585
|
+
SetVertexNormal(this: EditableMesh, vertexId: number, vnormal: Vector3): void;
|
|
9573
9586
|
/**
|
|
9574
9587
|
* Tags: Yields
|
|
9575
9588
|
*/
|
|
9576
|
-
CreateMeshPartAsync(this:
|
|
9589
|
+
CreateMeshPartAsync(this: EditableMesh, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>): MeshPart;
|
|
9577
9590
|
}
|
|
9578
9591
|
|
|
9579
9592
|
/** The FileMesh object applies a textured mesh to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) when parented to it. Its properties are inherited by the [SpecialMesh](https://developer.roblox.com/en-us/api-reference/class/SpecialMesh) object.
|
|
@@ -14389,9 +14402,6 @@ interface ScreenGui extends LayerCollector {
|
|
|
14389
14402
|
* @deprecated
|
|
14390
14403
|
*/
|
|
14391
14404
|
readonly _nominal_ScreenGui: unique symbol;
|
|
14392
|
-
/**
|
|
14393
|
-
* Tags: NotBrowsable
|
|
14394
|
-
*/
|
|
14395
14405
|
ClipToDeviceSafeArea: boolean;
|
|
14396
14406
|
/**
|
|
14397
14407
|
* This property controls the order that multiple ScreenGuis are drawn.
|
|
@@ -14403,9 +14413,6 @@ interface ScreenGui extends LayerCollector {
|
|
|
14403
14413
|
* IgnoreGuiInset is a boolean property of ScreenGuis that, when set to true, will force the [GUI Inset](https://developer.roblox.com/en-us/api-reference/function/GuiService/GetGuiInset) imposed by Roblox's CoreGuis to be ignored by this ScreenGui and its descendants. This means that an element with a UDim2 size of `{1,0},{1,0}` will fill up the entire screen, without a 36 pixel gap reserved for Roblox's top bar.
|
|
14404
14414
|
*/
|
|
14405
14415
|
IgnoreGuiInset: boolean;
|
|
14406
|
-
/**
|
|
14407
|
-
* Tags: NotBrowsable
|
|
14408
|
-
*/
|
|
14409
14416
|
SafeAreaCompatibility: Enum.SafeAreaCompatibility;
|
|
14410
14417
|
/**
|
|
14411
14418
|
* Tags: NotBrowsable
|
|
@@ -19210,6 +19217,7 @@ interface InsertService extends Instance {
|
|
|
19210
19217
|
* Returns an array of dictionaries, containing information about various Roblox approved sets.
|
|
19211
19218
|
*
|
|
19212
19219
|
* Tags: Yields
|
|
19220
|
+
* @deprecated
|
|
19213
19221
|
*/
|
|
19214
19222
|
GetBaseSets(this: InsertService): Array<SetInfo>;
|
|
19215
19223
|
/**
|
|
@@ -24298,6 +24306,7 @@ interface BasePart extends PVInstance {
|
|
|
24298
24306
|
* @deprecated Use `AssemblyLinearVelocity` instead
|
|
24299
24307
|
*/
|
|
24300
24308
|
Velocity: Vector3;
|
|
24309
|
+
AngularAccelerationToTorque(this: BasePart, angAcceleration: Vector3, angVelocity?: Vector3): Vector3;
|
|
24301
24310
|
/**
|
|
24302
24311
|
* Applies an instant angular force impulse to this [part's](https://developer.roblox.com/en-us/api-reference/class/BasePart) assembly, causing the assembly to spin.
|
|
24303
24312
|
*
|
|
@@ -24462,6 +24471,7 @@ interface BasePart extends PVInstance {
|
|
|
24462
24471
|
* Lets the game engine dynamically decide who will handle the part's physics (one of the clients or the server).
|
|
24463
24472
|
*/
|
|
24464
24473
|
SetNetworkOwnershipAuto(this: BasePart): void;
|
|
24474
|
+
TorqueToAngularAcceleration(this: BasePart, torque: Vector3, angVelocity?: Vector3): Vector3;
|
|
24465
24475
|
/**
|
|
24466
24476
|
* Tags: Yields
|
|
24467
24477
|
*/
|
|
@@ -26223,6 +26233,7 @@ interface WorldRoot extends Model {
|
|
|
26223
26233
|
direction: Vector3,
|
|
26224
26234
|
raycastParams?: RaycastParams,
|
|
26225
26235
|
): RaycastResult | undefined;
|
|
26236
|
+
Shapecast(this: WorldRoot, part: BasePart, direction: Vector3, params?: RaycastParams): RaycastResult;
|
|
26226
26237
|
Spherecast(
|
|
26227
26238
|
this: WorldRoot,
|
|
26228
26239
|
position: Vector3,
|
|
@@ -31050,7 +31061,6 @@ interface SocialService extends Instance {
|
|
|
31050
31061
|
* Before using this function, you should use the [CanSendGameInviteAsync](https://developer.roblox.com/en-us/api-reference/function/SocialService/CanSendGameInviteAsync) function to determine whether a player can send a game invite, as this can vary depending on the platform or player. After determining that invites are possible for this player, allow the player to opt-in to inviting others. For example, the player clicked on an “Invite Friends” button, shown after `CanSendGameInviteAsync` returned true.\`
|
|
31051
31062
|
*/
|
|
31052
31063
|
PromptGameInvite(this: SocialService, player: Player, experienceInviteOptions?: ExperienceInviteOptions): void;
|
|
31053
|
-
PromptIrisInvite(this: SocialService, player: Player, tag: string): void;
|
|
31054
31064
|
PromptPhoneBook(this: SocialService, player: Player, tag: string): void;
|
|
31055
31065
|
ShowSelfView(this: SocialService, selfViewPosition?: CastsToEnum<Enum.SelfViewPosition>): void;
|
|
31056
31066
|
/**
|
|
@@ -31065,10 +31075,6 @@ interface SocialService extends Instance {
|
|
|
31065
31075
|
* Tags: Yields
|
|
31066
31076
|
*/
|
|
31067
31077
|
CanSendGameInviteAsync(this: SocialService, player: Player, recipientId?: number): boolean;
|
|
31068
|
-
/**
|
|
31069
|
-
* Tags: Yields
|
|
31070
|
-
*/
|
|
31071
|
-
CanSendIrisInviteAsync(this: SocialService, player: Player): boolean;
|
|
31072
31078
|
readonly CallInviteStateChanged: RBXScriptSignal<(player: Player, inviteState: Enum.InviteState) => void>;
|
|
31073
31079
|
/**
|
|
31074
31080
|
* This event is a signal invoked when a player has closed the game invite prompt and batches all users and conversation participants into a single array. This prompt can be prompted by the developer or accessed from the SettingsHub menu.
|
|
@@ -31095,10 +31101,8 @@ interface SocialService extends Instance {
|
|
|
31095
31101
|
* * [SocialService:CanSendGameInviteAsync](https://developer.roblox.com/en-us/api-reference/function/SocialService/CanSendGameInviteAsync), returns true or false depending on the user
|
|
31096
31102
|
*/
|
|
31097
31103
|
readonly GameInvitePromptClosed: RBXScriptSignal<(senderPlayer: Player, recipientIds: Array<number>) => void>;
|
|
31098
|
-
readonly IrisInvitePromptClosed: RBXScriptSignal<(player: Player) => void>;
|
|
31099
31104
|
readonly PhoneBookPromptClosed: RBXScriptSignal<(player: Player) => void>;
|
|
31100
31105
|
OnCallInviteInvoked: (tag: string, callParticipantIds: Array<any>) => Instance;
|
|
31101
|
-
OnIrisInviteInvoked: (tag: string, irisParticipantIds: Array<any>) => Instance;
|
|
31102
31106
|
}
|
|
31103
31107
|
|
|
31104
31108
|
/** A [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) is an object that emits sound. See [Adding Sounds](https://developer.roblox.com/en-us/articles/adding-sounds) for more info on how to upload a sound file.
|
|
@@ -32516,6 +32520,10 @@ interface StarterPlayer extends Instance {
|
|
|
32516
32520
|
* Setting this to _true_ results in the player loading the appearance corresponding to the player's [Player.CharacterAppearanceId](https://developer.roblox.com/en-us/api-reference/property/Player/CharacterAppearanceId).
|
|
32517
32521
|
*/
|
|
32518
32522
|
LoadCharacterAppearance: boolean;
|
|
32523
|
+
/**
|
|
32524
|
+
* Tags: NotBrowsable
|
|
32525
|
+
*/
|
|
32526
|
+
LuaCharacterController: Enum.CharacterControlMode;
|
|
32519
32527
|
/**
|
|
32520
32528
|
* Sets the distance at which this player will see other Humanoid's names. If set to 0, names are hidden.
|
|
32521
32529
|
*
|
|
@@ -34409,6 +34417,17 @@ interface TextSource extends Instance {
|
|
|
34409
34417
|
readonly UserId: number;
|
|
34410
34418
|
}
|
|
34411
34419
|
|
|
34420
|
+
interface TextureGenerationMeshHandler extends Instance {
|
|
34421
|
+
/**
|
|
34422
|
+
* **DO NOT USE!**
|
|
34423
|
+
*
|
|
34424
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
34425
|
+
* @hidden
|
|
34426
|
+
* @deprecated
|
|
34427
|
+
*/
|
|
34428
|
+
readonly _nominal_TextureGenerationMeshHandler: unique symbol;
|
|
34429
|
+
}
|
|
34430
|
+
|
|
34412
34431
|
interface ThreadState extends Instance {
|
|
34413
34432
|
/**
|
|
34414
34433
|
* **DO NOT USE!**
|
|
@@ -434,6 +434,38 @@ declare namespace Enum {
|
|
|
434
434
|
export type AdornCullingMode = AdornCullingMode.Automatic | AdornCullingMode.Never;
|
|
435
435
|
|
|
436
436
|
export namespace AlignType {
|
|
437
|
+
export interface PrimaryAxisParallel extends globalThis.EnumItem {
|
|
438
|
+
Name: "PrimaryAxisParallel";
|
|
439
|
+
Value: 2;
|
|
440
|
+
EnumType: typeof globalThis.Enum.AlignType;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export const PrimaryAxisParallel: PrimaryAxisParallel;
|
|
444
|
+
|
|
445
|
+
export interface PrimaryAxisPerpendicular extends globalThis.EnumItem {
|
|
446
|
+
Name: "PrimaryAxisPerpendicular";
|
|
447
|
+
Value: 3;
|
|
448
|
+
EnumType: typeof globalThis.Enum.AlignType;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export const PrimaryAxisPerpendicular: PrimaryAxisPerpendicular;
|
|
452
|
+
|
|
453
|
+
export interface PrimaryAxisLookAt extends globalThis.EnumItem {
|
|
454
|
+
Name: "PrimaryAxisLookAt";
|
|
455
|
+
Value: 4;
|
|
456
|
+
EnumType: typeof globalThis.Enum.AlignType;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
export const PrimaryAxisLookAt: PrimaryAxisLookAt;
|
|
460
|
+
|
|
461
|
+
export interface AllAxes extends globalThis.EnumItem {
|
|
462
|
+
Name: "AllAxes";
|
|
463
|
+
Value: 5;
|
|
464
|
+
EnumType: typeof globalThis.Enum.AlignType;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export const AllAxes: AllAxes;
|
|
468
|
+
|
|
437
469
|
export interface Parallel extends globalThis.EnumItem {
|
|
438
470
|
Name: "Parallel";
|
|
439
471
|
Value: 0;
|
|
@@ -452,7 +484,7 @@ declare namespace Enum {
|
|
|
452
484
|
|
|
453
485
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AlignType>;
|
|
454
486
|
}
|
|
455
|
-
export type AlignType = AlignType.Parallel | AlignType.Perpendicular;
|
|
487
|
+
export type AlignType = AlignType.PrimaryAxisParallel | AlignType.PrimaryAxisPerpendicular | AlignType.PrimaryAxisLookAt | AlignType.AllAxes | AlignType.Parallel | AlignType.Perpendicular;
|
|
456
488
|
|
|
457
489
|
export namespace AlphaMode {
|
|
458
490
|
export interface Overlay extends globalThis.EnumItem {
|
|
@@ -3444,6 +3476,43 @@ declare namespace Enum {
|
|
|
3444
3476
|
}
|
|
3445
3477
|
export type CenterDialogType = CenterDialogType.UnsolicitedDialog | CenterDialogType.PlayerInitiatedDialog | CenterDialogType.ModalDialog | CenterDialogType.QuitDialog;
|
|
3446
3478
|
|
|
3479
|
+
export namespace CharacterControlMode {
|
|
3480
|
+
export interface Default extends globalThis.EnumItem {
|
|
3481
|
+
Name: "Default";
|
|
3482
|
+
Value: 0;
|
|
3483
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
export const Default: Default;
|
|
3487
|
+
|
|
3488
|
+
export interface Legacy extends globalThis.EnumItem {
|
|
3489
|
+
Name: "Legacy";
|
|
3490
|
+
Value: 1;
|
|
3491
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
export const Legacy: Legacy;
|
|
3495
|
+
|
|
3496
|
+
export interface NoCharacterController extends globalThis.EnumItem {
|
|
3497
|
+
Name: "NoCharacterController";
|
|
3498
|
+
Value: 2;
|
|
3499
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
export const NoCharacterController: NoCharacterController;
|
|
3503
|
+
|
|
3504
|
+
export interface LuaCharacterController extends globalThis.EnumItem {
|
|
3505
|
+
Name: "LuaCharacterController";
|
|
3506
|
+
Value: 3;
|
|
3507
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3510
|
+
export const LuaCharacterController: LuaCharacterController;
|
|
3511
|
+
|
|
3512
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CharacterControlMode>;
|
|
3513
|
+
}
|
|
3514
|
+
export type CharacterControlMode = CharacterControlMode.Default | CharacterControlMode.Legacy | CharacterControlMode.NoCharacterController | CharacterControlMode.LuaCharacterController;
|
|
3515
|
+
|
|
3447
3516
|
export namespace ChatCallbackType {
|
|
3448
3517
|
export interface OnCreatingChatWindow extends globalThis.EnumItem {
|
|
3449
3518
|
Name: "OnCreatingChatWindow";
|
|
@@ -4541,6 +4610,14 @@ declare namespace Enum {
|
|
|
4541
4610
|
|
|
4542
4611
|
export const NetworkSecurity: NetworkSecurity;
|
|
4543
4612
|
|
|
4613
|
+
export interface ReplacementReady extends globalThis.EnumItem {
|
|
4614
|
+
Name: "ReplacementReady";
|
|
4615
|
+
Value: 301;
|
|
4616
|
+
EnumType: typeof globalThis.Enum.ConnectionError;
|
|
4617
|
+
}
|
|
4618
|
+
|
|
4619
|
+
export const ReplacementReady: ReplacementReady;
|
|
4620
|
+
|
|
4544
4621
|
export interface PlacelaunchErrors extends globalThis.EnumItem {
|
|
4545
4622
|
Name: "PlacelaunchErrors";
|
|
4546
4623
|
Value: 512;
|
|
@@ -4735,7 +4812,7 @@ declare namespace Enum {
|
|
|
4735
4812
|
|
|
4736
4813
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ConnectionError>;
|
|
4737
4814
|
}
|
|
4738
|
-
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectPrivateServerKickout | ConnectionError.DisconnectModeratedGame | ConnectionError.ServerShutdown | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.DisconnectCollaboratorPermissionRevoked | ConnectionError.DisconnectCollaboratorUnderage | ConnectionError.NetworkInternal | ConnectionError.NetworkSend | ConnectionError.NetworkTimeout | ConnectionError.NetworkMisbehavior | ConnectionError.NetworkSecurity | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
4815
|
+
export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectPrivateServerKickout | ConnectionError.DisconnectModeratedGame | ConnectionError.ServerShutdown | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.DisconnectCollaboratorPermissionRevoked | ConnectionError.DisconnectCollaboratorUnderage | ConnectionError.NetworkInternal | ConnectionError.NetworkSend | ConnectionError.NetworkTimeout | ConnectionError.NetworkMisbehavior | ConnectionError.NetworkSecurity | ConnectionError.ReplacementReady | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
4739
4816
|
|
|
4740
4817
|
export namespace ConnectionState {
|
|
4741
4818
|
export interface Connected extends globalThis.EnumItem {
|
|
@@ -13408,6 +13485,35 @@ declare namespace Enum {
|
|
|
13408
13485
|
}
|
|
13409
13486
|
export type PlayerActions = PlayerActions.CharacterForward | PlayerActions.CharacterBackward | PlayerActions.CharacterLeft | PlayerActions.CharacterRight | PlayerActions.CharacterJump;
|
|
13410
13487
|
|
|
13488
|
+
export namespace PlayerCharacterDestroyBehavior {
|
|
13489
|
+
export interface Default extends globalThis.EnumItem {
|
|
13490
|
+
Name: "Default";
|
|
13491
|
+
Value: 0;
|
|
13492
|
+
EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
|
|
13493
|
+
}
|
|
13494
|
+
|
|
13495
|
+
export const Default: Default;
|
|
13496
|
+
|
|
13497
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
13498
|
+
Name: "Disabled";
|
|
13499
|
+
Value: 1;
|
|
13500
|
+
EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
|
|
13501
|
+
}
|
|
13502
|
+
|
|
13503
|
+
export const Disabled: Disabled;
|
|
13504
|
+
|
|
13505
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
13506
|
+
Name: "Enabled";
|
|
13507
|
+
Value: 2;
|
|
13508
|
+
EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
|
|
13509
|
+
}
|
|
13510
|
+
|
|
13511
|
+
export const Enabled: Enabled;
|
|
13512
|
+
|
|
13513
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PlayerCharacterDestroyBehavior>;
|
|
13514
|
+
}
|
|
13515
|
+
export type PlayerCharacterDestroyBehavior = PlayerCharacterDestroyBehavior.Default | PlayerCharacterDestroyBehavior.Disabled | PlayerCharacterDestroyBehavior.Enabled;
|
|
13516
|
+
|
|
13411
13517
|
export namespace PlayerChatType {
|
|
13412
13518
|
export interface All extends globalThis.EnumItem {
|
|
13413
13519
|
Name: "All";
|
|
@@ -13762,6 +13868,91 @@ declare namespace Enum {
|
|
|
13762
13868
|
}
|
|
13763
13869
|
export type PromptCreateAssetResult = PromptCreateAssetResult.Success | PromptCreateAssetResult.PermissionDenied | PromptCreateAssetResult.Timeout | PromptCreateAssetResult.UploadFailed | PromptCreateAssetResult.NoUserInput | PromptCreateAssetResult.UnknownFailure;
|
|
13764
13870
|
|
|
13871
|
+
export namespace PromptCreateAvatarResult {
|
|
13872
|
+
export interface Success extends globalThis.EnumItem {
|
|
13873
|
+
Name: "Success";
|
|
13874
|
+
Value: 1;
|
|
13875
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13876
|
+
}
|
|
13877
|
+
|
|
13878
|
+
export const Success: Success;
|
|
13879
|
+
|
|
13880
|
+
export interface PermissionDenied extends globalThis.EnumItem {
|
|
13881
|
+
Name: "PermissionDenied";
|
|
13882
|
+
Value: 2;
|
|
13883
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13884
|
+
}
|
|
13885
|
+
|
|
13886
|
+
export const PermissionDenied: PermissionDenied;
|
|
13887
|
+
|
|
13888
|
+
export interface Timeout extends globalThis.EnumItem {
|
|
13889
|
+
Name: "Timeout";
|
|
13890
|
+
Value: 3;
|
|
13891
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13892
|
+
}
|
|
13893
|
+
|
|
13894
|
+
export const Timeout: Timeout;
|
|
13895
|
+
|
|
13896
|
+
export interface UploadFailed extends globalThis.EnumItem {
|
|
13897
|
+
Name: "UploadFailed";
|
|
13898
|
+
Value: 4;
|
|
13899
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13900
|
+
}
|
|
13901
|
+
|
|
13902
|
+
export const UploadFailed: UploadFailed;
|
|
13903
|
+
|
|
13904
|
+
export interface NoUserInput extends globalThis.EnumItem {
|
|
13905
|
+
Name: "NoUserInput";
|
|
13906
|
+
Value: 5;
|
|
13907
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13908
|
+
}
|
|
13909
|
+
|
|
13910
|
+
export const NoUserInput: NoUserInput;
|
|
13911
|
+
|
|
13912
|
+
export interface InvalidHumanoidDescription extends globalThis.EnumItem {
|
|
13913
|
+
Name: "InvalidHumanoidDescription";
|
|
13914
|
+
Value: 6;
|
|
13915
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13916
|
+
}
|
|
13917
|
+
|
|
13918
|
+
export const InvalidHumanoidDescription: InvalidHumanoidDescription;
|
|
13919
|
+
|
|
13920
|
+
export interface UGCValidationFailed extends globalThis.EnumItem {
|
|
13921
|
+
Name: "UGCValidationFailed";
|
|
13922
|
+
Value: 7;
|
|
13923
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13924
|
+
}
|
|
13925
|
+
|
|
13926
|
+
export const UGCValidationFailed: UGCValidationFailed;
|
|
13927
|
+
|
|
13928
|
+
export interface ModeratedName extends globalThis.EnumItem {
|
|
13929
|
+
Name: "ModeratedName";
|
|
13930
|
+
Value: 8;
|
|
13931
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13932
|
+
}
|
|
13933
|
+
|
|
13934
|
+
export const ModeratedName: ModeratedName;
|
|
13935
|
+
|
|
13936
|
+
export interface MaxOutfits extends globalThis.EnumItem {
|
|
13937
|
+
Name: "MaxOutfits";
|
|
13938
|
+
Value: 9;
|
|
13939
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13940
|
+
}
|
|
13941
|
+
|
|
13942
|
+
export const MaxOutfits: MaxOutfits;
|
|
13943
|
+
|
|
13944
|
+
export interface UnknownFailure extends globalThis.EnumItem {
|
|
13945
|
+
Name: "UnknownFailure";
|
|
13946
|
+
Value: 10;
|
|
13947
|
+
EnumType: typeof globalThis.Enum.PromptCreateAvatarResult;
|
|
13948
|
+
}
|
|
13949
|
+
|
|
13950
|
+
export const UnknownFailure: UnknownFailure;
|
|
13951
|
+
|
|
13952
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PromptCreateAvatarResult>;
|
|
13953
|
+
}
|
|
13954
|
+
export type PromptCreateAvatarResult = PromptCreateAvatarResult.Success | PromptCreateAvatarResult.PermissionDenied | PromptCreateAvatarResult.Timeout | PromptCreateAvatarResult.UploadFailed | PromptCreateAvatarResult.NoUserInput | PromptCreateAvatarResult.InvalidHumanoidDescription | PromptCreateAvatarResult.UGCValidationFailed | PromptCreateAvatarResult.ModeratedName | PromptCreateAvatarResult.MaxOutfits | PromptCreateAvatarResult.UnknownFailure;
|
|
13955
|
+
|
|
13765
13956
|
export namespace PromptPublishAssetResult {
|
|
13766
13957
|
export interface Success extends globalThis.EnumItem {
|
|
13767
13958
|
Name: "Success";
|
|
@@ -16183,6 +16374,27 @@ declare namespace Enum {
|
|
|
16183
16374
|
}
|
|
16184
16375
|
export type StudioDataModelType = StudioDataModelType.Edit | StudioDataModelType.PlayClient | StudioDataModelType.PlayServer | StudioDataModelType.Standalone | StudioDataModelType.None;
|
|
16185
16376
|
|
|
16377
|
+
export namespace StudioPlaceUpdateFailureReason {
|
|
16378
|
+
export interface Other extends globalThis.EnumItem {
|
|
16379
|
+
Name: "Other";
|
|
16380
|
+
Value: 0;
|
|
16381
|
+
EnumType: typeof globalThis.Enum.StudioPlaceUpdateFailureReason;
|
|
16382
|
+
}
|
|
16383
|
+
|
|
16384
|
+
export const Other: Other;
|
|
16385
|
+
|
|
16386
|
+
export interface TeamCreateConflict extends globalThis.EnumItem {
|
|
16387
|
+
Name: "TeamCreateConflict";
|
|
16388
|
+
Value: 1;
|
|
16389
|
+
EnumType: typeof globalThis.Enum.StudioPlaceUpdateFailureReason;
|
|
16390
|
+
}
|
|
16391
|
+
|
|
16392
|
+
export const TeamCreateConflict: TeamCreateConflict;
|
|
16393
|
+
|
|
16394
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.StudioPlaceUpdateFailureReason>;
|
|
16395
|
+
}
|
|
16396
|
+
export type StudioPlaceUpdateFailureReason = StudioPlaceUpdateFailureReason.Other | StudioPlaceUpdateFailureReason.TeamCreateConflict;
|
|
16397
|
+
|
|
16186
16398
|
export namespace StudioScriptEditorColorCategories {
|
|
16187
16399
|
export interface Default extends globalThis.EnumItem {
|
|
16188
16400
|
Name: "Default";
|
|
@@ -18612,6 +18824,35 @@ declare namespace Enum {
|
|
|
18612
18824
|
}
|
|
18613
18825
|
export type TextYAlignment = TextYAlignment.Top | TextYAlignment.Center | TextYAlignment.Bottom;
|
|
18614
18826
|
|
|
18827
|
+
export namespace TextureGenerationMeshHandlerUnwrapMode {
|
|
18828
|
+
export interface Never extends globalThis.EnumItem {
|
|
18829
|
+
Name: "Never";
|
|
18830
|
+
Value: 0;
|
|
18831
|
+
EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
|
|
18832
|
+
}
|
|
18833
|
+
|
|
18834
|
+
export const Never: Never;
|
|
18835
|
+
|
|
18836
|
+
export interface Always extends globalThis.EnumItem {
|
|
18837
|
+
Name: "Always";
|
|
18838
|
+
Value: 1;
|
|
18839
|
+
EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
|
|
18840
|
+
}
|
|
18841
|
+
|
|
18842
|
+
export const Always: Always;
|
|
18843
|
+
|
|
18844
|
+
export interface WhenInvalidUVsDetected extends globalThis.EnumItem {
|
|
18845
|
+
Name: "WhenInvalidUVsDetected";
|
|
18846
|
+
Value: 2;
|
|
18847
|
+
EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
|
|
18848
|
+
}
|
|
18849
|
+
|
|
18850
|
+
export const WhenInvalidUVsDetected: WhenInvalidUVsDetected;
|
|
18851
|
+
|
|
18852
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode>;
|
|
18853
|
+
}
|
|
18854
|
+
export type TextureGenerationMeshHandlerUnwrapMode = TextureGenerationMeshHandlerUnwrapMode.Never | TextureGenerationMeshHandlerUnwrapMode.Always | TextureGenerationMeshHandlerUnwrapMode.WhenInvalidUVsDetected;
|
|
18855
|
+
|
|
18615
18856
|
export namespace TextureMode {
|
|
18616
18857
|
export interface Stretch extends globalThis.EnumItem {
|
|
18617
18858
|
Name: "Stretch";
|