@rbxts/types 1.0.808 → 1.0.810
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 +191 -65
- package/include/generated/PluginSecurity.d.ts +22 -44
- package/include/generated/enums.d.ts +459 -0
- package/include/roblox.d.ts +4 -0
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ interface Services {
|
|
|
43
43
|
ConversationalAIAcceptanceService: ConversationalAIAcceptanceService;
|
|
44
44
|
CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
|
|
45
45
|
CreationDBService: CreationDBService;
|
|
46
|
+
CreatorStoreService: CreatorStoreService;
|
|
46
47
|
CrossDMScriptChangeListener: CrossDMScriptChangeListener;
|
|
47
48
|
DataModelPatchService: DataModelPatchService;
|
|
48
49
|
DataStoreService: DataStoreService;
|
|
@@ -292,6 +293,7 @@ interface CreatableInstances {
|
|
|
292
293
|
EqualizerSoundEffect: EqualizerSoundEffect;
|
|
293
294
|
EulerRotationCurve: EulerRotationCurve;
|
|
294
295
|
ExperienceInviteOptions: ExperienceInviteOptions;
|
|
296
|
+
ExplorerFilterInstance: ExplorerFilterInstance;
|
|
295
297
|
Explosion: Explosion;
|
|
296
298
|
FaceControls: FaceControls;
|
|
297
299
|
FileMesh: FileMesh;
|
|
@@ -500,6 +502,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
500
502
|
CharacterAppearance: CharacterAppearance;
|
|
501
503
|
ChatInputBarConfiguration: ChatInputBarConfiguration;
|
|
502
504
|
ChatWindowConfiguration: ChatWindowConfiguration;
|
|
505
|
+
ChatWindowMessageProperties: ChatWindowMessageProperties;
|
|
503
506
|
Clothing: Clothing;
|
|
504
507
|
CloudLocalizationTable: CloudLocalizationTable;
|
|
505
508
|
Collaborator: Collaborator;
|
|
@@ -525,6 +528,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
525
528
|
DebuggerVariable: DebuggerVariable;
|
|
526
529
|
DynamicRotate: DynamicRotate;
|
|
527
530
|
EmotesPages: EmotesPages;
|
|
531
|
+
ExplorerFilterAutocompleterInstance: ExplorerFilterAutocompleterInstance;
|
|
528
532
|
FaceInstance: FaceInstance;
|
|
529
533
|
FacialAnimationStreamingServiceStats: FacialAnimationStreamingServiceStats;
|
|
530
534
|
FacialAnimationStreamingSubsessionStats: FacialAnimationStreamingSubsessionStats;
|
|
@@ -1708,7 +1712,7 @@ interface Animation extends Instance {
|
|
|
1708
1712
|
*
|
|
1709
1713
|
* Note, the animation will need to be loaded onto an [AnimationTrack](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) in order to play it.
|
|
1710
1714
|
*/
|
|
1711
|
-
AnimationId:
|
|
1715
|
+
AnimationId: ContentId;
|
|
1712
1716
|
}
|
|
1713
1717
|
|
|
1714
1718
|
interface AnimationClip extends Instance {
|
|
@@ -1812,12 +1816,12 @@ interface AnimationClipProvider extends Instance {
|
|
|
1812
1816
|
* @deprecated
|
|
1813
1817
|
*/
|
|
1814
1818
|
readonly _nominal_AnimationClipProvider: unique symbol;
|
|
1815
|
-
RegisterActiveAnimationClip(this: AnimationClipProvider, animationClip: AnimationClip):
|
|
1816
|
-
RegisterAnimationClip(this: AnimationClipProvider, animationClip: AnimationClip):
|
|
1819
|
+
RegisterActiveAnimationClip(this: AnimationClipProvider, animationClip: AnimationClip): ContentId;
|
|
1820
|
+
RegisterAnimationClip(this: AnimationClipProvider, animationClip: AnimationClip): ContentId;
|
|
1817
1821
|
/**
|
|
1818
1822
|
* Tags: Yields
|
|
1819
1823
|
*/
|
|
1820
|
-
GetAnimationClipAsync(this: AnimationClipProvider, assetId:
|
|
1824
|
+
GetAnimationClipAsync(this: AnimationClipProvider, assetId: ContentId): AnimationClip;
|
|
1821
1825
|
/**
|
|
1822
1826
|
* Tags: Yields
|
|
1823
1827
|
*/
|
|
@@ -1825,7 +1829,7 @@ interface AnimationClipProvider extends Instance {
|
|
|
1825
1829
|
/**
|
|
1826
1830
|
* Tags: Yields
|
|
1827
1831
|
*/
|
|
1828
|
-
GetClipEvaluatorAsync(this: AnimationClipProvider, assetId:
|
|
1832
|
+
GetClipEvaluatorAsync(this: AnimationClipProvider, assetId: ContentId): ClipEvaluator;
|
|
1829
1833
|
}
|
|
1830
1834
|
|
|
1831
1835
|
/** An object which allows animations to be loaded and applied to a character or model in place of a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) when a Humanoid is not needed. Creates an [Animator](https://developer.roblox.com/en-us/api-reference/class/Animator) and loads animations to update [Motor6Ds](https://developer.roblox.com/en-us/api-reference/class/Motor6D) of said character to react in the way that is described within the animation asset referenced by an [Animation](https://developer.roblox.com/en-us/api-reference/class/Animation) object.
|
|
@@ -2426,11 +2430,11 @@ interface AssetService extends Instance {
|
|
|
2426
2430
|
/**
|
|
2427
2431
|
* Tags: Yields
|
|
2428
2432
|
*/
|
|
2429
|
-
CreateEditableImageAsync(this: AssetService, textureId:
|
|
2433
|
+
CreateEditableImageAsync(this: AssetService, textureId: ContentId): EditableImage;
|
|
2430
2434
|
/**
|
|
2431
2435
|
* Tags: Yields
|
|
2432
2436
|
*/
|
|
2433
|
-
CreateEditableMeshAsync(this: AssetService, meshId:
|
|
2437
|
+
CreateEditableMeshAsync(this: AssetService, meshId: ContentId): EditableMesh;
|
|
2434
2438
|
/**
|
|
2435
2439
|
* Tags: Yields
|
|
2436
2440
|
*/
|
|
@@ -3239,6 +3243,10 @@ interface AvatarCreationService extends Instance {
|
|
|
3239
3243
|
* Tags: Yields
|
|
3240
3244
|
*/
|
|
3241
3245
|
PromptCreateAvatarAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
3246
|
+
/**
|
|
3247
|
+
* Tags: Yields
|
|
3248
|
+
*/
|
|
3249
|
+
PromptSelectAvatarGenerationImageAsync(this: AvatarCreationService, player: Player): string;
|
|
3242
3250
|
/**
|
|
3243
3251
|
* Tags: Yields
|
|
3244
3252
|
*/
|
|
@@ -5050,7 +5058,7 @@ interface BaseWrap extends Instance {
|
|
|
5050
5058
|
*
|
|
5051
5059
|
* Asset ID for cage mesh.
|
|
5052
5060
|
*/
|
|
5053
|
-
CageMeshId:
|
|
5061
|
+
CageMeshId: ContentId;
|
|
5054
5062
|
/**
|
|
5055
5063
|
* This property is set up automatically by the Avatar Importer plugin.
|
|
5056
5064
|
*
|
|
@@ -5120,7 +5128,7 @@ interface WrapDeformer extends BaseWrap {
|
|
|
5120
5128
|
readonly _nominal_WrapDeformer: unique symbol;
|
|
5121
5129
|
Amount: number;
|
|
5122
5130
|
Enabled: boolean;
|
|
5123
|
-
RenderMeshID:
|
|
5131
|
+
RenderMeshID: ContentId;
|
|
5124
5132
|
}
|
|
5125
5133
|
|
|
5126
5134
|
/** The WrapLayer object defines a 3D accessory's inner and outer surfaces and other properties related to layering accessories. These surfaces, or the Inner Cage and Outer Cage, are similar to collision boxes, and describe the surfaces of which other 3D accessories can be placed without clipping or breaking.
|
|
@@ -5164,7 +5172,7 @@ interface WrapLayer extends BaseWrap {
|
|
|
5164
5172
|
*
|
|
5165
5173
|
* Note: this property is set up automatically by the FBX importer
|
|
5166
5174
|
*/
|
|
5167
|
-
ReferenceMeshId:
|
|
5175
|
+
ReferenceMeshId: ContentId;
|
|
5168
5176
|
/**
|
|
5169
5177
|
* Reference mesh offset relative to parent MeshPart (in the parent MeshPart space)
|
|
5170
5178
|
*
|
|
@@ -5421,7 +5429,7 @@ interface Beam extends Instance {
|
|
|
5421
5429
|
*
|
|
5422
5430
|
* The scaling of the texture is determined by the [Beam.TextureMode](https://developer.roblox.com/en-us/api-reference/property/Beam/TextureMode), [Beam.TextureLength](https://developer.roblox.com/en-us/api-reference/property/Beam/TextureLength), [Beam.Width0](https://developer.roblox.com/en-us/api-reference/property/Beam/Width0) and [Beam.Width1](https://developer.roblox.com/en-us/api-reference/property/Beam/Width1) properties.
|
|
5423
5431
|
*/
|
|
5424
|
-
Texture:
|
|
5432
|
+
Texture: ContentId;
|
|
5425
5433
|
/**
|
|
5426
5434
|
* Sets the length of the [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam)s texture if [Beam.TextureMode](https://developer.roblox.com/en-us/api-reference/property/Beam/TextureMode) is 'Wrap' or 'Static'. If [Beam.TextureMode](https://developer.roblox.com/en-us/api-reference/property/Beam/TextureMode) is 'Stretch' then it determines the size of the texture relative to the [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam)'s length.
|
|
5427
5435
|
*
|
|
@@ -6925,7 +6933,7 @@ interface CaptureService extends Instance {
|
|
|
6925
6933
|
* @deprecated Use `UserCaptureSaved` instead
|
|
6926
6934
|
*/
|
|
6927
6935
|
readonly CaptureSaved: RBXScriptSignal<(captureInfo: Record<string, unknown>) => void>;
|
|
6928
|
-
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId:
|
|
6936
|
+
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: ContentId) => void>;
|
|
6929
6937
|
}
|
|
6930
6938
|
|
|
6931
6939
|
/** Base class for objects that change a character's appearance. */
|
|
@@ -7107,7 +7115,7 @@ interface Pants extends Clothing {
|
|
|
7107
7115
|
*
|
|
7108
7116
|
* For a [Shirt](https://developer.roblox.com/en-us/api-reference/class/Shirt) object's template, see [Shirt.ShirtTemplate](https://developer.roblox.com/en-us/api-reference/property/Shirt/ShirtTemplate).
|
|
7109
7117
|
*/
|
|
7110
|
-
PantsTemplate:
|
|
7118
|
+
PantsTemplate: ContentId;
|
|
7111
7119
|
}
|
|
7112
7120
|
|
|
7113
7121
|
/**  The **Shirt** object displays a Shirt texture from the Roblox website on a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) rig. Shirts cover the torso and arms, and will take priority over a [Pants](https://developer.roblox.com/en-us/api-reference/class/Pants) on the torso. To be visible, a Shirt must be a sibling of a Humanoid and have its [ShirtTemplate](https://developer.roblox.com/en-us/api-reference/property/Shirt/ShirtTemplate) property set to an appropriate texture (such as `rbxassetid://86896487`, pictured to the right). The shirt texture may be colorized using the [Clothing.Color3](https://developer.roblox.com/en-us/api-reference/property/Clothing/Color3) property.
|
|
@@ -7148,7 +7156,7 @@ interface Shirt extends Clothing {
|
|
|
7148
7156
|
* model.Parent = workspace
|
|
7149
7157
|
* end
|
|
7150
7158
|
*/
|
|
7151
|
-
ShirtTemplate:
|
|
7159
|
+
ShirtTemplate: ContentId;
|
|
7152
7160
|
}
|
|
7153
7161
|
|
|
7154
7162
|
/** The **ShirtGraphic** object applies a texture to the front surface of a character's torso. It is used to display t-shirts. */
|
|
@@ -7189,7 +7197,7 @@ interface ShirtGraphic extends CharacterAppearance {
|
|
|
7189
7197
|
* model.Parent = workspace
|
|
7190
7198
|
* end
|
|
7191
7199
|
*/
|
|
7192
|
-
Graphic:
|
|
7200
|
+
Graphic: ContentId;
|
|
7193
7201
|
}
|
|
7194
7202
|
|
|
7195
7203
|
/** The **Chat** service houses the Lua code responsible for running the [Lua Chat System](https://developer.roblox.com/en-us/articles/lua-chat-system). Similar to [StarterPlayerScripts](https://developer.roblox.com/en-us/api-reference/class/StarterPlayerScripts), default objects like [Scripts](https://developer.roblox.com/en-us/api-reference/class/Script) and [ModuleScripts](https://developer.roblox.com/en-us/api-reference/class/ModuleScript) are inserted into the service.
|
|
@@ -7392,7 +7400,7 @@ interface ClickDetector extends Instance {
|
|
|
7392
7400
|
*
|
|
7393
7401
|
* 
|
|
7394
7402
|
*/
|
|
7395
|
-
CursorIcon:
|
|
7403
|
+
CursorIcon: ContentId;
|
|
7396
7404
|
/**
|
|
7397
7405
|
* The MaxActivationDistance property controls the maximum distance, in studs, between a [Character](https://developer.roblox.com/en-us/api-reference/property/Player/Character) and the [ClickDetector](https://developer.roblox.com/en-us/api-reference/class/ClickDetector) for the character to be able to click it. This is used to limit from how far a player can interact with a ClickDetector.
|
|
7398
7406
|
*
|
|
@@ -7452,7 +7460,7 @@ interface DragDetector extends ClickDetector {
|
|
|
7452
7460
|
* @deprecated
|
|
7453
7461
|
*/
|
|
7454
7462
|
readonly _nominal_DragDetector: unique symbol;
|
|
7455
|
-
ActivatedCursorIcon:
|
|
7463
|
+
ActivatedCursorIcon: ContentId;
|
|
7456
7464
|
ApplyAtCenterOfMass: boolean;
|
|
7457
7465
|
/**
|
|
7458
7466
|
* Tags: NotReplicated
|
|
@@ -9259,20 +9267,20 @@ interface ContentProvider extends Instance {
|
|
|
9259
9267
|
* Tags: NotReplicated
|
|
9260
9268
|
*/
|
|
9261
9269
|
readonly RequestQueueSize: number;
|
|
9262
|
-
GetAssetFetchStatus(this: ContentProvider, contentId:
|
|
9263
|
-
GetAssetFetchStatusChangedSignal(this: ContentProvider, contentId:
|
|
9270
|
+
GetAssetFetchStatus(this: ContentProvider, contentId: ContentId): Enum.AssetFetchStatus;
|
|
9271
|
+
GetAssetFetchStatusChangedSignal(this: ContentProvider, contentId: ContentId): RBXScriptSignal;
|
|
9264
9272
|
ListEncryptedAssets(this: ContentProvider): unknown;
|
|
9265
9273
|
/**
|
|
9266
9274
|
* Usually, content is loaded only when it starts being used. That explains why it often takes a moment for an image to appear in a [GUI](https://developer.roblox.com/en-us/api-reference/class/GuiObject), or a [mesh](https://developer.roblox.com/en-us/api-reference/class/Mesh) to appear in a [part](https://developer.roblox.com/en-us/api-reference/class/BasePart), or why a [sound](https://developer.roblox.com/en-us/api-reference/class/Sound) doesn't play for the first time. All because the asset has not yet finished loading. Preload is used to load this content beforehand, so that it works instantly.
|
|
9267
9275
|
* @deprecated Use `PreloadAsync` instead
|
|
9268
9276
|
*/
|
|
9269
|
-
Preload(this: ContentProvider, contentId:
|
|
9277
|
+
Preload(this: ContentProvider, contentId: ContentId): void;
|
|
9270
9278
|
RegisterDefaultEncryptionKey(this: ContentProvider, encryptionKey: string): void;
|
|
9271
9279
|
RegisterDefaultSessionKey(this: ContentProvider, sessionKey: string): void;
|
|
9272
|
-
RegisterEncryptedAsset(this: ContentProvider, assetId:
|
|
9273
|
-
RegisterSessionEncryptedAsset(this: ContentProvider, contentId:
|
|
9280
|
+
RegisterEncryptedAsset(this: ContentProvider, assetId: ContentId, encryptionKey: string): void;
|
|
9281
|
+
RegisterSessionEncryptedAsset(this: ContentProvider, contentId: ContentId, sessionKey: string): void;
|
|
9274
9282
|
UnregisterDefaultEncryptionKey(this: ContentProvider): void;
|
|
9275
|
-
UnregisterEncryptedAsset(this: ContentProvider, assetId:
|
|
9283
|
+
UnregisterEncryptedAsset(this: ContentProvider, assetId: ContentId): void;
|
|
9276
9284
|
/**
|
|
9277
9285
|
* Yields until all of the assets associated with the given [Instances](https://developer.roblox.com/en-us/api-reference/class/Instance) have loaded and takes an array of [Instances](https://developer.roblox.com/en-us/api-reference/class/Instance) as a parameter.
|
|
9278
9286
|
*
|
|
@@ -9287,7 +9295,7 @@ interface ContentProvider extends Instance {
|
|
|
9287
9295
|
contentIdList: Array<Instance | string>,
|
|
9288
9296
|
callback?: (contentId: string, status: Enum.AssetFetchStatus) => void,
|
|
9289
9297
|
): void;
|
|
9290
|
-
readonly AssetFetchFailed: RBXScriptSignal<(assetId:
|
|
9298
|
+
readonly AssetFetchFailed: RBXScriptSignal<(assetId: ContentId) => void>;
|
|
9291
9299
|
}
|
|
9292
9300
|
|
|
9293
9301
|
/** ContextActionService is a game service that allows a game to bind user input to contextual actions, or actions that are only enabled under some condition or period of time. For example, allowing a player to open a door only while close by. In code, an action is simply a string (the name of the action) used by the service to differentiate between unique actions. The action string is provided to [BindAction](https://developer.roblox.com/en-us/api-reference/function/ContextActionService/BindAction) and [UnbindAction](https://developer.roblox.com/en-us/api-reference/function/ContextActionService/UnbindAction), among other member functions. If two actions are bound to the same input, the most recently bound will take priority. When the most recent action is unbound, the one bound before that takes control again. Since ContextActionService deals with user input, you can only use it in [LocalScripts](https://developer.roblox.com/en-us/api-reference/class/LocalScript) which run on the client.
|
|
@@ -9795,6 +9803,17 @@ interface CreationDBService extends Instance {
|
|
|
9795
9803
|
readonly _nominal_CreationDBService: unique symbol;
|
|
9796
9804
|
}
|
|
9797
9805
|
|
|
9806
|
+
interface CreatorStoreService extends Instance {
|
|
9807
|
+
/**
|
|
9808
|
+
* **DO NOT USE!**
|
|
9809
|
+
*
|
|
9810
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9811
|
+
* @hidden
|
|
9812
|
+
* @deprecated
|
|
9813
|
+
*/
|
|
9814
|
+
readonly _nominal_CreatorStoreService: unique symbol;
|
|
9815
|
+
}
|
|
9816
|
+
|
|
9798
9817
|
interface CrossDMScriptChangeListener extends Instance {
|
|
9799
9818
|
/**
|
|
9800
9819
|
* **DO NOT USE!**
|
|
@@ -9990,14 +10009,35 @@ interface EditableMesh extends DataModelMesh {
|
|
|
9990
10009
|
GetAdjacentVertices(this: EditableMesh, vertexId: number): Array<number>;
|
|
9991
10010
|
GetColor(this: EditableMesh, colorId: number): Color3 | undefined;
|
|
9992
10011
|
GetColorAlpha(this: EditableMesh, colorId: number): number | undefined;
|
|
10012
|
+
/**
|
|
10013
|
+
* Tags: CustomLuaState
|
|
10014
|
+
*/
|
|
9993
10015
|
GetColors(this: EditableMesh): unknown;
|
|
10016
|
+
/**
|
|
10017
|
+
* Tags: CustomLuaState
|
|
10018
|
+
*/
|
|
9994
10019
|
GetFaceColors(this: EditableMesh, faceId: number): unknown;
|
|
10020
|
+
/**
|
|
10021
|
+
* Tags: CustomLuaState
|
|
10022
|
+
*/
|
|
9995
10023
|
GetFaceNormals(this: EditableMesh, faceId: number): unknown;
|
|
10024
|
+
/**
|
|
10025
|
+
* Tags: CustomLuaState
|
|
10026
|
+
*/
|
|
9996
10027
|
GetFaceUVs(this: EditableMesh, faceId: number): unknown;
|
|
10028
|
+
/**
|
|
10029
|
+
* Tags: CustomLuaState
|
|
10030
|
+
*/
|
|
9997
10031
|
GetFaceVertices(this: EditableMesh, faceId: number): unknown;
|
|
10032
|
+
/**
|
|
10033
|
+
* Tags: CustomLuaState
|
|
10034
|
+
*/
|
|
9998
10035
|
GetFaces(this: EditableMesh): unknown;
|
|
9999
10036
|
GetFacesWithAttribute(this: EditableMesh, id: number): unknown;
|
|
10000
10037
|
GetNormal(this: EditableMesh, normalId: number): Vector3 | undefined;
|
|
10038
|
+
/**
|
|
10039
|
+
* Tags: CustomLuaState
|
|
10040
|
+
*/
|
|
10001
10041
|
GetNormals(this: EditableMesh): unknown;
|
|
10002
10042
|
GetPosition(this: EditableMesh, vertexId: number): Vector3;
|
|
10003
10043
|
/**
|
|
@@ -10009,6 +10049,9 @@ interface EditableMesh extends DataModelMesh {
|
|
|
10009
10049
|
*/
|
|
10010
10050
|
GetTriangles(this: EditableMesh): Array<number>;
|
|
10011
10051
|
GetUV(this: EditableMesh, uvId: number): Vector2 | undefined;
|
|
10052
|
+
/**
|
|
10053
|
+
* Tags: CustomLuaState
|
|
10054
|
+
*/
|
|
10012
10055
|
GetUVs(this: EditableMesh): unknown;
|
|
10013
10056
|
/**
|
|
10014
10057
|
* @deprecated
|
|
@@ -10040,9 +10083,21 @@ interface EditableMesh extends DataModelMesh {
|
|
|
10040
10083
|
ResetNormal(this: EditableMesh, normalId: number): void;
|
|
10041
10084
|
SetColor(this: EditableMesh, colorId: number, color: Color3): void;
|
|
10042
10085
|
SetColorAlpha(this: EditableMesh, colorId: number, alpha: number): void;
|
|
10086
|
+
/**
|
|
10087
|
+
* Tags: CustomLuaState
|
|
10088
|
+
*/
|
|
10043
10089
|
SetFaceColors(this: EditableMesh, faceId: number, ids: Array<any>): void;
|
|
10090
|
+
/**
|
|
10091
|
+
* Tags: CustomLuaState
|
|
10092
|
+
*/
|
|
10044
10093
|
SetFaceNormals(this: EditableMesh, faceId: number, ids: Array<any>): void;
|
|
10094
|
+
/**
|
|
10095
|
+
* Tags: CustomLuaState
|
|
10096
|
+
*/
|
|
10045
10097
|
SetFaceUVs(this: EditableMesh, faceId: number, ids: Array<any>): void;
|
|
10098
|
+
/**
|
|
10099
|
+
* Tags: CustomLuaState
|
|
10100
|
+
*/
|
|
10046
10101
|
SetFaceVertices(this: EditableMesh, faceId: number, ids: Array<any>): void;
|
|
10047
10102
|
SetNormal(this: EditableMesh, normalId: number, normal: Vector3): void;
|
|
10048
10103
|
SetPosition(this: EditableMesh, vertexId: number, p: Vector3): void;
|
|
@@ -10107,7 +10162,7 @@ interface FileMesh extends DataModelMesh {
|
|
|
10107
10162
|
*
|
|
10108
10163
|
* Meshes can currently only be be uploaded using [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart)s or the game explorer. Once uploaded however, the content ID for the mesh can be used for the MeshId property. For more information on how to do this please see [this tutorial](https://developer.roblox.com/en-us/articles/mesh-parts).
|
|
10109
10164
|
*/
|
|
10110
|
-
MeshId:
|
|
10165
|
+
MeshId: ContentId;
|
|
10111
10166
|
/**
|
|
10112
10167
|
* The TextureId is the content ID of the image that is to be applied to used for the meshes texture. When the TextureId property is set to an empty string, no texture will be applied to the mesh.
|
|
10113
10168
|
*
|
|
@@ -10123,7 +10178,7 @@ interface FileMesh extends DataModelMesh {
|
|
|
10123
10178
|
*
|
|
10124
10179
|
* A mesh can only be textured if the mesh has been UV mapped. UV mapping refers to the practice of projecting a texture map onto a mesh. This cannot be done using Roblox Studio and has to be done using an external 3D modelling application such as [Blender](https://www.blender.org/).
|
|
10125
10180
|
*/
|
|
10126
|
-
TextureId:
|
|
10181
|
+
TextureId: ContentId;
|
|
10127
10182
|
}
|
|
10128
10183
|
|
|
10129
10184
|
/** The SpecialMesh is an object that allows developers to provide a standard template or user uploaded mesh to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart).
|
|
@@ -11150,6 +11205,42 @@ interface ExperienceStateCaptureService extends Instance {
|
|
|
11150
11205
|
readonly _nominal_ExperienceStateCaptureService: unique symbol;
|
|
11151
11206
|
}
|
|
11152
11207
|
|
|
11208
|
+
interface ExplorerFilterAutocompleterInstance extends Instance {
|
|
11209
|
+
/**
|
|
11210
|
+
* **DO NOT USE!**
|
|
11211
|
+
*
|
|
11212
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
11213
|
+
* @hidden
|
|
11214
|
+
* @deprecated
|
|
11215
|
+
*/
|
|
11216
|
+
readonly _nominal_ExplorerFilterAutocompleterInstance: unique symbol;
|
|
11217
|
+
/**
|
|
11218
|
+
* Tags: NotReplicated
|
|
11219
|
+
*/
|
|
11220
|
+
readonly ReplaceRange: Vector2;
|
|
11221
|
+
/**
|
|
11222
|
+
* Tags: NotReplicated
|
|
11223
|
+
*/
|
|
11224
|
+
readonly RequiresOutsideContext: boolean;
|
|
11225
|
+
GetSuggestions(this: ExplorerFilterAutocompleterInstance): unknown;
|
|
11226
|
+
}
|
|
11227
|
+
|
|
11228
|
+
interface ExplorerFilterInstance extends Instance {
|
|
11229
|
+
/**
|
|
11230
|
+
* **DO NOT USE!**
|
|
11231
|
+
*
|
|
11232
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
11233
|
+
* @hidden
|
|
11234
|
+
* @deprecated
|
|
11235
|
+
*/
|
|
11236
|
+
readonly _nominal_ExplorerFilterInstance: unique symbol;
|
|
11237
|
+
GetAutocompleter(this: ExplorerFilterInstance): ExplorerFilterAutocompleterInstance;
|
|
11238
|
+
GetErrors(this: ExplorerFilterInstance): unknown;
|
|
11239
|
+
GetLexemes(this: ExplorerFilterInstance): unknown;
|
|
11240
|
+
InstancePassesFilter(this: ExplorerFilterInstance, instance: Instance): boolean;
|
|
11241
|
+
SetFilter(this: ExplorerFilterInstance, search: string): void;
|
|
11242
|
+
}
|
|
11243
|
+
|
|
11153
11244
|
/** An Explosion applies force to `BaseParts` within the explosion's [Explosion.BlastRadius](https://developer.roblox.com/en-us/api-reference/property/Explosion/BlastRadius). This force breaks joints between parts and kills [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) characters not protected by a [ForceField](https://developer.roblox.com/en-us/api-reference/class/ForceField).
|
|
11154
11245
|
*
|
|
11155
11246
|
* If an explosion is instanced whilst the game is running, it will destroy itself shortly afterwards meaning they do not need to be cleaned up using the [Debris](https://developer.roblox.com/en-us/api-reference/class/Debris) service.
|
|
@@ -11367,7 +11458,7 @@ interface Decal extends FaceInstance {
|
|
|
11367
11458
|
* * Paste the URL into the Texture property in Roblox Studio. Roblox will automatically update the property to the correct Content ID. Note this only works in Roblox Studio and cannot be done from Scripts or whilst the game is running.
|
|
11368
11459
|
* * Insert the Decal into the game, this is generally done through the Toolbox under 'My Decals'. The Content ID can be found in the decal that is inserted. Note, [InsertService:LoadAsset](https://developer.roblox.com/en-us/api-reference/function/InsertService/LoadAsset) can also be used if developers wish to automate this method.
|
|
11369
11460
|
*/
|
|
11370
|
-
Texture:
|
|
11461
|
+
Texture: ContentId;
|
|
11371
11462
|
/**
|
|
11372
11463
|
* Determines the transparency of the [Decal](https://developer.roblox.com/en-us/api-reference/class/Decal) with 0 being completely opaque and 1 completely transparent.
|
|
11373
11464
|
*
|
|
@@ -13364,11 +13455,11 @@ interface ImageButton extends GuiButton {
|
|
|
13364
13455
|
/**
|
|
13365
13456
|
* A textureId that could be set on the [ImageButton's](https://developer.roblox.com/en-us/api-reference/class/ImageButton) properties. When the button is hovered, it will render HoverImage if specified.
|
|
13366
13457
|
*/
|
|
13367
|
-
HoverImage:
|
|
13458
|
+
HoverImage: ContentId;
|
|
13368
13459
|
/**
|
|
13369
13460
|
* The Image property is a content-type property that should hold the asset ID of a Decal or Image on the Roblox website. It functions identically to [Decal.Texture](https://developer.roblox.com/en-us/api-reference/property/Decal/Texture) with regards to loading the image from the Roblox website. The rendered image will be colorized using [ImageButton.ImageColor3](https://developer.roblox.com/en-us/api-reference/property/ImageButton/ImageColor3). It is possible to make the image render as tiled, scaled to fit, or 9-sliced, by adjusting the [ImageButton.ScaleType](https://developer.roblox.com/en-us/api-reference/property/ImageButton/ScaleType) property.
|
|
13370
13461
|
*/
|
|
13371
|
-
Image:
|
|
13462
|
+
Image: ContentId;
|
|
13372
13463
|
/**
|
|
13373
13464
|
* The ImageColor3 property determines how an image is colorized. When set to white, no colorization occurs. This property is very useful for reusing image assets: If the source image is completely white with transparency, you can set the entire color of the image at once with this property.
|
|
13374
13465
|
*/
|
|
@@ -13398,7 +13489,7 @@ interface ImageButton extends GuiButton {
|
|
|
13398
13489
|
/**
|
|
13399
13490
|
* A texture ID that can be set as an [ImageButton](https://developer.roblox.com/en-us/api-reference/class/ImageButton) property. When the button is pressed, it will render this image.
|
|
13400
13491
|
*/
|
|
13401
|
-
PressedImage:
|
|
13492
|
+
PressedImage: ContentId;
|
|
13402
13493
|
/**
|
|
13403
13494
|
* Determines how the image looks when it is scaled.
|
|
13404
13495
|
*
|
|
@@ -13697,7 +13788,7 @@ interface ImageLabel extends GuiLabel {
|
|
|
13697
13788
|
/**
|
|
13698
13789
|
* The Image property is a content-type property that should hold the asset ID of a Decal or Image on the Roblox website. It functions identically to [Decal.Texture](https://developer.roblox.com/en-us/api-reference/property/Decal/Texture) with regards to loading the image from the Roblox website. The rendered image will be colorized using [ImageLabel.ImageColor3](https://developer.roblox.com/en-us/api-reference/property/ImageLabel/ImageColor3). It is possible to make the image render as tiled, scaled to fit, or 9-sliced, by adjusting the [ImageLabel.ScaleType](https://developer.roblox.com/en-us/api-reference/property/ImageLabel/ScaleType) property.
|
|
13699
13790
|
*/
|
|
13700
|
-
Image:
|
|
13791
|
+
Image: ContentId;
|
|
13701
13792
|
/**
|
|
13702
13793
|
* The ImageColor3 property determines how an image is colorized. When set to white, no colorization occurs. This property is very useful for reusing image assets: If the source image is completely white with transparency, you can set the entire color of the image at once with this property.
|
|
13703
13794
|
*/
|
|
@@ -14024,7 +14115,7 @@ interface ScrollingFrame extends GuiObject {
|
|
|
14024
14115
|
/**
|
|
14025
14116
|
* The Down image on the vertical scrollbar. Size of this is always ScrollBarThickness by ScrollBarThickness. This is also used as the image on the horizontal scroll bar.
|
|
14026
14117
|
*/
|
|
14027
|
-
BottomImage:
|
|
14118
|
+
BottomImage: ContentId;
|
|
14028
14119
|
/**
|
|
14029
14120
|
* The location within the canvas, in pixels, that should be drawn at the top left of the scroll frame
|
|
14030
14121
|
*/
|
|
@@ -14083,7 +14174,7 @@ interface ScrollingFrame extends GuiObject {
|
|
|
14083
14174
|
/**
|
|
14084
14175
|
* The middle image on the vertical scrollbar. The size of this can vary in the y direction, but is always set as [ScrollingFrame.ScrollBarThickness](https://developer.roblox.com/en-us/api-reference/property/ScrollingFrame/ScrollBarThickness) in the x direction. This is also used as the middle image on the horizontal scroll bar.
|
|
14085
14176
|
*/
|
|
14086
|
-
MidImage:
|
|
14177
|
+
MidImage: ContentId;
|
|
14087
14178
|
/**
|
|
14088
14179
|
* Determines how a scrolling bar image is colorized. When set to white, no colorization occurs. This property is very useful for reusing image assets: If the source image is completely white with transparency, you can set the entire color of the image at once with this property.
|
|
14089
14180
|
*/
|
|
@@ -14151,7 +14242,7 @@ interface ScrollingFrame extends GuiObject {
|
|
|
14151
14242
|
/**
|
|
14152
14243
|
* The Up image on the vertical scrollbar. The size of this is always ScrollBarThickness by ScrollBarThickness. This is also used as the left image on the horizontal scroll bar.
|
|
14153
14244
|
*/
|
|
14154
|
-
TopImage:
|
|
14245
|
+
TopImage: ContentId;
|
|
14155
14246
|
/**
|
|
14156
14247
|
* Indicates the inset behavior of the vertical scrolling bar.
|
|
14157
14248
|
*/
|
|
@@ -14521,7 +14612,7 @@ interface VideoFrame extends GuiObject {
|
|
|
14521
14612
|
/**
|
|
14522
14613
|
* The content ID of the video file a [VideoFrame](https://developer.roblox.com/en-us/api-reference/class/VideoFrame) object is associated with.
|
|
14523
14614
|
*/
|
|
14524
|
-
Video:
|
|
14615
|
+
Video: ContentId;
|
|
14525
14616
|
/**
|
|
14526
14617
|
* This property determines how loud the [VideoFrame.Video](https://developer.roblox.com/en-us/api-reference/property/VideoFrame/Video) plays back. It can be set to a number between 0 and 100.
|
|
14527
14618
|
*/
|
|
@@ -15029,7 +15120,7 @@ interface AdGui extends SurfaceGuiBase {
|
|
|
15029
15120
|
readonly _nominal_AdGui: unique symbol;
|
|
15030
15121
|
AdShape: Enum.AdShape;
|
|
15031
15122
|
EnableVideoAds: boolean;
|
|
15032
|
-
FallbackImage:
|
|
15123
|
+
FallbackImage: ContentId;
|
|
15033
15124
|
/**
|
|
15034
15125
|
* Tags: NotReplicated
|
|
15035
15126
|
*/
|
|
@@ -15174,7 +15265,7 @@ interface FloorWire extends GuiBase3d {
|
|
|
15174
15265
|
/**
|
|
15175
15266
|
* Sets the texture to be displayed on the FloorWire.
|
|
15176
15267
|
*/
|
|
15177
|
-
Texture:
|
|
15268
|
+
Texture: ContentId;
|
|
15178
15269
|
/**
|
|
15179
15270
|
* Sets the size of the texture used with the FloorWire.
|
|
15180
15271
|
*/
|
|
@@ -15436,7 +15527,7 @@ interface ImageHandleAdornment extends HandleAdornment {
|
|
|
15436
15527
|
/**
|
|
15437
15528
|
* The image to draw for the adornment.
|
|
15438
15529
|
*/
|
|
15439
|
-
Image:
|
|
15530
|
+
Image: ContentId;
|
|
15440
15531
|
/**
|
|
15441
15532
|
* The size in studs of the image.
|
|
15442
15533
|
*/
|
|
@@ -19898,7 +19989,7 @@ interface InsertService extends Instance {
|
|
|
19898
19989
|
/**
|
|
19899
19990
|
* Tags: Yields
|
|
19900
19991
|
*/
|
|
19901
|
-
CreateMeshPartAsync(this: InsertService, meshId:
|
|
19992
|
+
CreateMeshPartAsync(this: InsertService, meshId: ContentId, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>, renderFidelity: CastsToEnum<Enum.RenderFidelity>): MeshPart;
|
|
19902
19993
|
/**
|
|
19903
19994
|
* Tags: Yields
|
|
19904
19995
|
* @deprecated Use `GetBaseSets` instead
|
|
@@ -20688,7 +20779,7 @@ interface KeyframeSequenceProvider extends Instance {
|
|
|
20688
20779
|
*
|
|
20689
20780
|
* The asset ID generated by this function is temporary and cannot be used outside of Studio. Developers wishing to generate an asset ID that can be used online should upload the [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) to Roblox.
|
|
20690
20781
|
*/
|
|
20691
|
-
RegisterActiveKeyframeSequence(this: KeyframeSequenceProvider, keyframeSequence: KeyframeSequence):
|
|
20782
|
+
RegisterActiveKeyframeSequence(this: KeyframeSequenceProvider, keyframeSequence: KeyframeSequence): ContentId;
|
|
20692
20783
|
/**
|
|
20693
20784
|
* Generates a temporary asset ID from a [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) that can be used for localized testing of an animation.
|
|
20694
20785
|
*
|
|
@@ -20698,7 +20789,7 @@ interface KeyframeSequenceProvider extends Instance {
|
|
|
20698
20789
|
*
|
|
20699
20790
|
* The asset ID generated by this function is temporary and cannot be used outside of Studio. Developers wishing to generate an asset ID that can be used online should upload the [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) to Roblox.
|
|
20700
20791
|
*/
|
|
20701
|
-
RegisterKeyframeSequence(this: KeyframeSequenceProvider, keyframeSequence: KeyframeSequence):
|
|
20792
|
+
RegisterKeyframeSequence(this: KeyframeSequenceProvider, keyframeSequence: KeyframeSequence): ContentId;
|
|
20702
20793
|
/**
|
|
20703
20794
|
* This function returns an [InventoryPages](https://developer.roblox.com/en-us/api-reference/class/InventoryPages) object which can be used to iterate over animations owned by a specific user.
|
|
20704
20795
|
*
|
|
@@ -22749,7 +22840,7 @@ interface BaseScript extends LuaSourceContainer {
|
|
|
22749
22840
|
* For the LinkedSource property for [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript)s, please see [ModuleScript.LinkedSource](https://developer.roblox.com/en-us/api-reference/property/ModuleScript/LinkedSource).
|
|
22750
22841
|
* @deprecated
|
|
22751
22842
|
*/
|
|
22752
|
-
LinkedSource:
|
|
22843
|
+
LinkedSource: ContentId;
|
|
22753
22844
|
RunContext: Enum.RunContext;
|
|
22754
22845
|
}
|
|
22755
22846
|
|
|
@@ -22772,6 +22863,18 @@ interface Script extends BaseScript {
|
|
|
22772
22863
|
* @deprecated
|
|
22773
22864
|
*/
|
|
22774
22865
|
readonly _nominal_Script: unique symbol;
|
|
22866
|
+
/**
|
|
22867
|
+
* A script's Source is the code to be executed. Modifying the code within a script modifies the source code executes when the script runs.
|
|
22868
|
+
*
|
|
22869
|
+
* For instance, given a script containing the line:
|
|
22870
|
+
*
|
|
22871
|
+
* print("Hello world!")
|
|
22872
|
+
*
|
|
22873
|
+
* The script's source is the “print(“Hello world”)” command because it is what will be executed when the script runs, leading to “Hello world” being printed in the command line.
|
|
22874
|
+
*
|
|
22875
|
+
* This item is protected. Attempting to use it in a [Script](https://developer.roblox.com/en-us/api-reference/class/Script) or [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript) will cause an error.
|
|
22876
|
+
*/
|
|
22877
|
+
Source: string;
|
|
22775
22878
|
}
|
|
22776
22879
|
|
|
22777
22880
|
/** A LocalScript is a Lua source container that runs Lua code on a client connected to a Roblox server. They are used to access client-only objects, such as the player's [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera). For code run through LocalScripts, the LocalPlayer property of the [Players](https://developer.roblox.com/en-us/api-reference/class/Players) service will return the player whose client is running the script.
|
|
@@ -22818,7 +22921,7 @@ interface ModuleScript extends LuaSourceContainer {
|
|
|
22818
22921
|
* Used to store a URL that points to an online script source. Binds the online code to the script's [Script.Source](https://developer.roblox.com/en-us/api-reference/property/Script/Source).
|
|
22819
22922
|
* @deprecated
|
|
22820
22923
|
*/
|
|
22821
|
-
LinkedSource:
|
|
22924
|
+
LinkedSource: ContentId;
|
|
22822
22925
|
}
|
|
22823
22926
|
|
|
22824
22927
|
interface LuauScriptAnalyzerService extends Instance {
|
|
@@ -23852,7 +23955,7 @@ interface Mouse extends Instance {
|
|
|
23852
23955
|
*
|
|
23853
23956
|
* \* These appearances are approximations – the actual look is dependent on your operating system.
|
|
23854
23957
|
*/
|
|
23855
|
-
Icon:
|
|
23958
|
+
Icon: ContentId;
|
|
23856
23959
|
/**
|
|
23857
23960
|
* The origin [Mouse](https://developer.roblox.com/en-us/api-reference/class/Mouse) property is a [CFrame](https://developer.roblox.com/en-us/api-reference/datatype/CFrame) indicating where the mouse originated from. It is positioned at the [Workspace.CurrentCamera](https://developer.roblox.com/en-us/api-reference/property/Workspace/CurrentCamera) and oriented toward the [Mouse](https://developer.roblox.com/en-us/api-reference/class/Mouse)'s 3D position.
|
|
23858
23961
|
*
|
|
@@ -25961,7 +26064,7 @@ interface MeshPart extends TriangleMeshPart {
|
|
|
25961
26064
|
*
|
|
25962
26065
|
* Note that this property currently cannot be changed by scripts as the collision model of the mesh cannot be recomputed during runtime. Developers should not rely on this behavior as it may change in the future. Those looking for a custom mesh object that can be updated during runtime should use [SpecialMesh](https://developer.roblox.com/en-us/api-reference/class/SpecialMesh).
|
|
25963
26066
|
*/
|
|
25964
|
-
readonly MeshId:
|
|
26067
|
+
readonly MeshId: ContentId;
|
|
25965
26068
|
/**
|
|
25966
26069
|
* This property determines the level of detail that solid-modeled and mesh parts will be shown in and can be set to the possible values of the [RenderFidelity](https://developer.roblox.com/en-us/api-reference/enum/RenderFidelity) enum.
|
|
25967
26070
|
*
|
|
@@ -26010,7 +26113,7 @@ interface MeshPart extends TriangleMeshPart {
|
|
|
26010
26113
|
*
|
|
26011
26114
|
* A mesh can only be textured if the mesh has been UV mapped. UV mapping refers to the practice of projecting a texture map onto a mesh. This cannot be done using Roblox Studio and has to be done using an external 3D modelling application such as [Blender](https://www.blender.org/).
|
|
26012
26115
|
*/
|
|
26013
|
-
TextureID:
|
|
26116
|
+
TextureID: ContentId;
|
|
26014
26117
|
ApplyMesh(this: MeshPart, meshPart: MeshPart): void;
|
|
26015
26118
|
}
|
|
26016
26119
|
|
|
@@ -26437,7 +26540,7 @@ interface BackpackItem extends Model {
|
|
|
26437
26540
|
*
|
|
26438
26541
|
* If this property is left blank, the [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack) GUI will display the name of the tool instead.
|
|
26439
26542
|
*/
|
|
26440
|
-
TextureId:
|
|
26543
|
+
TextureId: ContentId;
|
|
26441
26544
|
}
|
|
26442
26545
|
|
|
26443
26546
|
/** Tools are objects that a [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) object can equip. For players, they are stored in a [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack) object parented to a [Player](https://developer.roblox.com/en-us/api-reference/class/Player) object. In-game, players may have multiple tools which appear as icons at the bottom of the screen. Equipping a tool moves it from the Backpack and into a player's [character](https://developer.roblox.com/en-us/api-reference/class/Character) model in the [Workspace](https://developer.roblox.com/en-us/api-reference/class/Workspace). By default, tools are held in the right hand and have a handle in them, which is a [Part](https://developer.roblox.com/en-us/api-reference/class/BasePart) named “Handle” inside (though one is not required if [Tool.RequiresHandle](https://developer.roblox.com/en-us/api-reference/property/Tool/RequiresHandle) is off). Tools that are to be provided to (re)spawning players ought to be stored in the [StarterPack](https://developer.roblox.com/en-us/api-reference/class/StarterPack).
|
|
@@ -27331,7 +27434,7 @@ interface PackageLink extends Instance {
|
|
|
27331
27434
|
*
|
|
27332
27435
|
* Tags: NotReplicated
|
|
27333
27436
|
*/
|
|
27334
|
-
readonly PackageId:
|
|
27437
|
+
readonly PackageId: ContentId;
|
|
27335
27438
|
/**
|
|
27336
27439
|
* This property refers to a revision of a specific package
|
|
27337
27440
|
*
|
|
@@ -27822,7 +27925,7 @@ interface ParticleEmitter extends Instance {
|
|
|
27822
27925
|
* Below is an opaque gray-scale Texture that works nicely for particles with [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission) set to 1.
|
|
27823
27926
|
* 
|
|
27824
27927
|
*/
|
|
27825
|
-
Texture:
|
|
27928
|
+
Texture: ContentId;
|
|
27826
27929
|
TimeScale: number;
|
|
27827
27930
|
/**
|
|
27828
27931
|
* The Transparency property determines the transparency of all active particles over their individual lifetimes. It works similar to [ParticleEmitter.Size](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Size) in how it affects particles over time. In terms of rendering, it works like the [BasePart.Transparency](https://developer.roblox.com/en-us/api-reference/property/BasePart/Transparency) of a part on a scale of 0 to 1, where 0 is completely visible (opaque), and a value of 1 is completely invisible (not rendered at all).
|
|
@@ -31049,7 +31152,7 @@ interface ScreenshotHud extends Instance {
|
|
|
31049
31152
|
* @deprecated
|
|
31050
31153
|
*/
|
|
31051
31154
|
readonly _nominal_ScreenshotHud: unique symbol;
|
|
31052
|
-
CameraButtonIcon:
|
|
31155
|
+
CameraButtonIcon: ContentId;
|
|
31053
31156
|
CameraButtonPosition: UDim2;
|
|
31054
31157
|
CloseButtonPosition: UDim2;
|
|
31055
31158
|
CloseWhenScreenshotTaken: boolean;
|
|
@@ -31837,31 +31940,31 @@ interface Sky extends Instance {
|
|
|
31837
31940
|
/**
|
|
31838
31941
|
* The texture of the moon while using this skybox.
|
|
31839
31942
|
*/
|
|
31840
|
-
MoonTextureId:
|
|
31943
|
+
MoonTextureId: ContentId;
|
|
31841
31944
|
/**
|
|
31842
31945
|
* The URL link to a picture for the back surface of the sky.
|
|
31843
31946
|
*/
|
|
31844
|
-
SkyboxBk:
|
|
31947
|
+
SkyboxBk: ContentId;
|
|
31845
31948
|
/**
|
|
31846
31949
|
* The URL asset link to a picture for the Bottom surface of the sky.
|
|
31847
31950
|
*/
|
|
31848
|
-
SkyboxDn:
|
|
31951
|
+
SkyboxDn: ContentId;
|
|
31849
31952
|
/**
|
|
31850
31953
|
* The URL link to a picture for the front surface of the skybox.
|
|
31851
31954
|
*/
|
|
31852
|
-
SkyboxFt:
|
|
31955
|
+
SkyboxFt: ContentId;
|
|
31853
31956
|
/**
|
|
31854
31957
|
* The URL link to a picture for the left surface of the sky.
|
|
31855
31958
|
*/
|
|
31856
|
-
SkyboxLf:
|
|
31959
|
+
SkyboxLf: ContentId;
|
|
31857
31960
|
/**
|
|
31858
31961
|
* The URL link to a picture for the right surface of the sky.
|
|
31859
31962
|
*/
|
|
31860
|
-
SkyboxRt:
|
|
31963
|
+
SkyboxRt: ContentId;
|
|
31861
31964
|
/**
|
|
31862
31965
|
* The URL link to a picture for the top surface of the sky.
|
|
31863
31966
|
*/
|
|
31864
|
-
SkyboxUp:
|
|
31967
|
+
SkyboxUp: ContentId;
|
|
31865
31968
|
/**
|
|
31866
31969
|
* How many stars are shown in the skybox. Note that too many stars may cause severe lag. Only works if [Sky.CelestialBodiesShown](https://developer.roblox.com/en-us/api-reference/property/Sky/CelestialBodiesShown) is true.
|
|
31867
31970
|
*/
|
|
@@ -31873,7 +31976,7 @@ interface Sky extends Instance {
|
|
|
31873
31976
|
/**
|
|
31874
31977
|
* The texture of the sun while using this skybox.
|
|
31875
31978
|
*/
|
|
31876
|
-
SunTextureId:
|
|
31979
|
+
SunTextureId: ContentId;
|
|
31877
31980
|
}
|
|
31878
31981
|
|
|
31879
31982
|
/** Smoke is one of several particle-emitting classes. Like other particle emitters of its kind, Smoke objects emit particles when parented to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart) (such as a [Part](https://developer.roblox.com/en-us/api-reference/class/Part)) or an [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment) within such a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart). Compared to the [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter) class, Smoke lacks many different customization properties and special methods, such as [ParticleEmitter.Lifetime](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Lifetime) or [ParticleEmitter:Emit](https://developer.roblox.com/en-us/api-reference/function/ParticleEmitter/Emit). It is useful to create a quick special effect in a pinch; for more detailed work it is preferable to use a [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter) instead.
|
|
@@ -32261,7 +32364,7 @@ interface Sound extends Instance {
|
|
|
32261
32364
|
* "http://www.roblox.com/asset/?id=12222216" -- Content ID (will work)
|
|
32262
32365
|
* "rbxassetid://12222216" -- Content ID (alternative version, will work)
|
|
32263
32366
|
*/
|
|
32264
|
-
SoundId:
|
|
32367
|
+
SoundId: ContentId;
|
|
32265
32368
|
/**
|
|
32266
32369
|
* The length of the [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) in seconds. If the [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) is not loaded, this value will be 0.
|
|
32267
32370
|
*
|
|
@@ -35178,6 +35281,7 @@ interface ChatWindowConfiguration extends TextChatConfigurations {
|
|
|
35178
35281
|
TextStrokeTransparency: number;
|
|
35179
35282
|
VerticalAlignment: Enum.VerticalAlignment;
|
|
35180
35283
|
WidthScale: number;
|
|
35284
|
+
DeriveNewMessageProperties(this: ChatWindowConfiguration): ChatWindowMessageProperties;
|
|
35181
35285
|
}
|
|
35182
35286
|
|
|
35183
35287
|
interface TextChatMessage extends Instance {
|
|
@@ -35190,6 +35294,7 @@ interface TextChatMessage extends Instance {
|
|
|
35190
35294
|
*/
|
|
35191
35295
|
readonly _nominal_TextChatMessage: unique symbol;
|
|
35192
35296
|
BubbleChatMessageProperties: BubbleChatMessageProperties | undefined;
|
|
35297
|
+
ChatWindowMessageProperties: ChatWindowMessageProperties | undefined;
|
|
35193
35298
|
MessageId: string;
|
|
35194
35299
|
Metadata: string;
|
|
35195
35300
|
PrefixText: string;
|
|
@@ -35215,6 +35320,23 @@ interface TextChatMessageProperties extends Instance {
|
|
|
35215
35320
|
Translation: string;
|
|
35216
35321
|
}
|
|
35217
35322
|
|
|
35323
|
+
interface ChatWindowMessageProperties extends TextChatMessageProperties {
|
|
35324
|
+
/**
|
|
35325
|
+
* **DO NOT USE!**
|
|
35326
|
+
*
|
|
35327
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
35328
|
+
* @hidden
|
|
35329
|
+
* @deprecated
|
|
35330
|
+
*/
|
|
35331
|
+
readonly _nominal_ChatWindowMessageProperties: unique symbol;
|
|
35332
|
+
FontFace: Font;
|
|
35333
|
+
PrefixTextProperties: ChatWindowMessageProperties | undefined;
|
|
35334
|
+
TextColor3: Color3;
|
|
35335
|
+
TextSize: number;
|
|
35336
|
+
TextStrokeColor3: Color3;
|
|
35337
|
+
TextStrokeTransparency: number;
|
|
35338
|
+
}
|
|
35339
|
+
|
|
35218
35340
|
interface TextChatService extends Instance {
|
|
35219
35341
|
/**
|
|
35220
35342
|
* **DO NOT USE!**
|
|
@@ -35244,6 +35366,7 @@ interface TextChatService extends Instance {
|
|
|
35244
35366
|
readonly MessageReceived: RBXScriptSignal<(textChatMessage: TextChatMessage) => void>;
|
|
35245
35367
|
readonly SendingMessage: RBXScriptSignal<(textChatMessage: TextChatMessage) => void>;
|
|
35246
35368
|
OnBubbleAdded: (message: TextChatMessage, adornee: Instance) => TextChatMessageProperties | undefined;
|
|
35369
|
+
OnChatWindowAdded: (message: TextChatMessage) => Array<any>;
|
|
35247
35370
|
OnIncomingMessage: (message: TextChatMessage) => TextChatMessageProperties | undefined;
|
|
35248
35371
|
}
|
|
35249
35372
|
|
|
@@ -35377,7 +35500,7 @@ interface TextService extends Instance {
|
|
|
35377
35500
|
/**
|
|
35378
35501
|
* Tags: Yields
|
|
35379
35502
|
*/
|
|
35380
|
-
GetFamilyInfoAsync(this: TextService, assetId:
|
|
35503
|
+
GetFamilyInfoAsync(this: TextService, assetId: ContentId): object;
|
|
35381
35504
|
/**
|
|
35382
35505
|
* Tags: Yields
|
|
35383
35506
|
*/
|
|
@@ -35682,7 +35805,7 @@ interface Trail extends Instance {
|
|
|
35682
35805
|
*
|
|
35683
35806
|
* Textures can be displayed in a variety of different ways based on the trail's [Trail.TextureMode](https://developer.roblox.com/en-us/api-reference/property/Trail/TextureMode) and [Trail.TextureLength](https://developer.roblox.com/en-us/api-reference/property/Trail/TextureLength) properties.
|
|
35684
35807
|
*/
|
|
35685
|
-
Texture:
|
|
35808
|
+
Texture: ContentId;
|
|
35686
35809
|
/**
|
|
35687
35810
|
* This property determines how [Trail.Texture](https://developer.roblox.com/en-us/api-reference/property/Trail/Texture)s are drawn by [Trail](https://developer.roblox.com/en-us/api-reference/class/Trail). The behavior of TextureLength is determined by the [Trail.TextureMode](https://developer.roblox.com/en-us/api-reference/property/Trail/TextureMode) of its trail.
|
|
35688
35811
|
*
|
|
@@ -36257,10 +36380,10 @@ interface UIDragDetector extends UIComponent {
|
|
|
36257
36380
|
* @deprecated
|
|
36258
36381
|
*/
|
|
36259
36382
|
readonly _nominal_UIDragDetector: unique symbol;
|
|
36260
|
-
ActivatedCursorIcon:
|
|
36383
|
+
ActivatedCursorIcon: ContentId;
|
|
36261
36384
|
BoundingBehavior: Enum.UIDragDetectorBoundingBehavior;
|
|
36262
36385
|
BoundingUI: GuiBase2d | undefined;
|
|
36263
|
-
CursorIcon:
|
|
36386
|
+
CursorIcon: ContentId;
|
|
36264
36387
|
DragAxis: Vector2;
|
|
36265
36388
|
DragRelativity: Enum.UIDragDetectorDragRelativity;
|
|
36266
36389
|
DragRotation: number;
|
|
@@ -36274,6 +36397,9 @@ interface UIDragDetector extends UIComponent {
|
|
|
36274
36397
|
MinDragTranslation: UDim2;
|
|
36275
36398
|
ReferenceUIInstance: GuiObject | undefined;
|
|
36276
36399
|
ResponseStyle: Enum.UIDragDetectorResponseStyle;
|
|
36400
|
+
SelectionModeDragSpeed: UDim2;
|
|
36401
|
+
SelectionModeRotateSpeed: number;
|
|
36402
|
+
UIDragSpeedAxisMapping: Enum.UIDragSpeedAxisMapping;
|
|
36277
36403
|
AddConstraintFunction(
|
|
36278
36404
|
this: UIDragDetector,
|
|
36279
36405
|
priority: number,
|
|
@@ -37224,7 +37350,7 @@ interface UserInputService extends Instance {
|
|
|
37224
37350
|
* Tags: NotReplicated
|
|
37225
37351
|
*/
|
|
37226
37352
|
readonly MouseEnabled: boolean;
|
|
37227
|
-
MouseIcon:
|
|
37353
|
+
MouseIcon: ContentId;
|
|
37228
37354
|
/**
|
|
37229
37355
|
* This property determines whether the [Mouse's](https://developer.roblox.com/en-us/api-reference/class/Mouse) icon is visible When _true_ the mouse's icon is visible, when _false_ it is not.
|
|
37230
37356
|
*
|
|
@@ -37534,7 +37660,7 @@ interface UserInputService extends Instance {
|
|
|
37534
37660
|
* * [UserInputService.GamepadEnabled](https://developer.roblox.com/en-us/api-reference/property/UserInputService/GamepadEnabled)
|
|
37535
37661
|
*/
|
|
37536
37662
|
GetGamepadState(this: UserInputService, gamepadNum: CastsToEnum<Enum.UserInputType>): Array<InputObject>;
|
|
37537
|
-
GetImageForKeyCode(this: UserInputService, keyCode: CastsToEnum<Enum.KeyCode>):
|
|
37663
|
+
GetImageForKeyCode(this: UserInputService, keyCode: CastsToEnum<Enum.KeyCode>): ContentId;
|
|
37538
37664
|
/**
|
|
37539
37665
|
* This function returns an array of [InputObjects](https://developer.roblox.com/en-us/api-reference/class/InputObject) associated with the keys currently being pressed down.
|
|
37540
37666
|
*
|