@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
|
@@ -124,7 +124,7 @@ interface AnimationClipProvider extends Instance {
|
|
|
124
124
|
/**
|
|
125
125
|
* @deprecated Use `GetAnimationClipAsync` instead
|
|
126
126
|
*/
|
|
127
|
-
GetAnimationClip(this: AnimationClipProvider, assetId:
|
|
127
|
+
GetAnimationClip(this: AnimationClipProvider, assetId: ContentId): AnimationClip;
|
|
128
128
|
/**
|
|
129
129
|
* @deprecated Use `GetAnimationClipAsync` instead
|
|
130
130
|
*/
|
|
@@ -166,7 +166,7 @@ interface AssetService extends Instance {
|
|
|
166
166
|
/**
|
|
167
167
|
* Tags: Yields
|
|
168
168
|
*/
|
|
169
|
-
CreateMeshPartAsync(this: AssetService, meshId:
|
|
169
|
+
CreateMeshPartAsync(this: AssetService, meshId: ContentId, options?: object): MeshPart;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
/** The CoreGui is a service used to store Guis created in-game by Roblox for the core user interface found in every game (such as the game menu, the playerlist, the backpack, etc.). It can also be used by [Plugins](https://developer.roblox.com/en-us/api-reference/class/Plugin) in Roblox Studio.
|
|
@@ -225,7 +225,7 @@ interface BaseWrap extends Instance {
|
|
|
225
225
|
*
|
|
226
226
|
* Asset ID for cage mesh.
|
|
227
227
|
*/
|
|
228
|
-
CageMeshId:
|
|
228
|
+
CageMeshId: ContentId;
|
|
229
229
|
/**
|
|
230
230
|
* This property is set up automatically by the Avatar Importer plugin.
|
|
231
231
|
*
|
|
@@ -282,7 +282,7 @@ interface WrapDeformer extends BaseWrap {
|
|
|
282
282
|
*/
|
|
283
283
|
readonly _nominal_WrapDeformer: unique symbol;
|
|
284
284
|
Amount: number;
|
|
285
|
-
RenderMeshID:
|
|
285
|
+
RenderMeshID: ContentId;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
interface WrapLayer extends BaseWrap {
|
|
@@ -307,7 +307,7 @@ interface WrapLayer extends BaseWrap {
|
|
|
307
307
|
*
|
|
308
308
|
* Note: this property is set up automatically by the FBX importer
|
|
309
309
|
*/
|
|
310
|
-
ReferenceMeshId:
|
|
310
|
+
ReferenceMeshId: ContentId;
|
|
311
311
|
/**
|
|
312
312
|
* Reference mesh offset relative to parent MeshPart (in the parent MeshPart space)
|
|
313
313
|
*
|
|
@@ -914,7 +914,7 @@ interface File extends Instance {
|
|
|
914
914
|
*
|
|
915
915
|
* Throws an error if the file does not exist on disk.
|
|
916
916
|
*/
|
|
917
|
-
GetTemporaryId(this: File):
|
|
917
|
+
GetTemporaryId(this: File): ContentId;
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
/** Various miscellaneous options for in-game. Can be accessed from Roblox Studio's settings menu under the _Game_ tab. */
|
|
@@ -1148,7 +1148,7 @@ interface KeyframeSequenceProvider extends Instance {
|
|
|
1148
1148
|
* Returns a [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) from a given asset URL.
|
|
1149
1149
|
* @deprecated Use `GetKeyframeSequenceAsync` instead
|
|
1150
1150
|
*/
|
|
1151
|
-
GetKeyframeSequence(this: KeyframeSequenceProvider, assetId:
|
|
1151
|
+
GetKeyframeSequence(this: KeyframeSequenceProvider, assetId: ContentId): Instance | undefined;
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Returns a [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) from the supplied assetId. Can optionally cache to reduce unnecessary loading freezes.
|
|
1154
1154
|
* @deprecated Use `GetKeyframeSequenceAsync` instead
|
|
@@ -1182,29 +1182,6 @@ interface BaseScript extends LuaSourceContainer {
|
|
|
1182
1182
|
RunContext: Enum.RunContext;
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
interface Script extends BaseScript {
|
|
1186
|
-
/**
|
|
1187
|
-
* **DO NOT USE!**
|
|
1188
|
-
*
|
|
1189
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1190
|
-
* @hidden
|
|
1191
|
-
* @deprecated
|
|
1192
|
-
*/
|
|
1193
|
-
readonly _nominal_Script: unique symbol;
|
|
1194
|
-
/**
|
|
1195
|
-
* 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.
|
|
1196
|
-
*
|
|
1197
|
-
* For instance, given a script containing the line:
|
|
1198
|
-
*
|
|
1199
|
-
* print("Hello world!")
|
|
1200
|
-
*
|
|
1201
|
-
* 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.
|
|
1202
|
-
*
|
|
1203
|
-
* 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.
|
|
1204
|
-
*/
|
|
1205
|
-
Source: string;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
1185
|
interface ModuleScript extends LuaSourceContainer {
|
|
1209
1186
|
/**
|
|
1210
1187
|
* **DO NOT USE!**
|
|
@@ -1230,10 +1207,10 @@ interface MaterialVariant extends Instance {
|
|
|
1230
1207
|
*/
|
|
1231
1208
|
readonly _nominal_MaterialVariant: unique symbol;
|
|
1232
1209
|
BaseMaterial: Enum.Material;
|
|
1233
|
-
ColorMap:
|
|
1234
|
-
MetalnessMap:
|
|
1235
|
-
NormalMap:
|
|
1236
|
-
RoughnessMap:
|
|
1210
|
+
ColorMap: ContentId;
|
|
1211
|
+
MetalnessMap: ContentId;
|
|
1212
|
+
NormalMap: ContentId;
|
|
1213
|
+
RoughnessMap: ContentId;
|
|
1237
1214
|
}
|
|
1238
1215
|
|
|
1239
1216
|
interface MemStorageConnection extends Instance {
|
|
@@ -2744,7 +2721,7 @@ interface PluginToolbarButton extends Instance {
|
|
|
2744
2721
|
/**
|
|
2745
2722
|
* Tags: NotReplicated
|
|
2746
2723
|
*/
|
|
2747
|
-
Icon:
|
|
2724
|
+
Icon: ContentId;
|
|
2748
2725
|
SetActive(this: PluginToolbarButton, active: boolean): void;
|
|
2749
2726
|
/**
|
|
2750
2727
|
* **Click** fires when the PluginToolbarButton is pressed and released by the user.
|
|
@@ -3309,7 +3286,7 @@ interface DataModel extends ServiceProvider<Services> {
|
|
|
3309
3286
|
*
|
|
3310
3287
|
* Due to this function's security context it can only be used by plugins or the command bar. For an alternative that can be used in [Scripts](https://developer.roblox.com/en-us/api-reference/class/Script) and [LocalScripts](https://developer.roblox.com/en-us/api-reference/class/LocalScript), see [InsertService:LoadAsset](https://developer.roblox.com/en-us/api-reference/function/InsertService/LoadAsset).
|
|
3311
3288
|
*/
|
|
3312
|
-
GetObjects(this: DataModel, url:
|
|
3289
|
+
GetObjects(this: DataModel, url: ContentId): Array<Instance>;
|
|
3313
3290
|
/**
|
|
3314
3291
|
* This function sets the [DataModel.PlaceId](https://developer.roblox.com/en-us/api-reference/property/DataModel/PlaceId) of the game instance to the given _placeId_.
|
|
3315
3292
|
*
|
|
@@ -3374,6 +3351,7 @@ interface SoundService extends Instance {
|
|
|
3374
3351
|
* @deprecated
|
|
3375
3352
|
*/
|
|
3376
3353
|
readonly _nominal_SoundService: unique symbol;
|
|
3354
|
+
DefaultListenerLocation: Enum.ListenerLocation;
|
|
3377
3355
|
OpenAttenuationCurveEditor(this: SoundService, selectedCurveObjects: Array<Instance>): void;
|
|
3378
3356
|
}
|
|
3379
3357
|
|
|
@@ -3980,7 +3958,7 @@ interface SurfaceAppearance extends Instance {
|
|
|
3980
3958
|
/**
|
|
3981
3959
|
* This property determines the color and opacity of the surface. This texture is sometimes called the albedo texture. The alpha channel of this texture controls its opacity, which behaves differently based on the [SurfaceAppearance.AlphaMode](https://developer.roblox.com/en-us/api-reference/property/SurfaceAppearance/AlphaMode) setting.
|
|
3982
3960
|
*/
|
|
3983
|
-
ColorMap:
|
|
3961
|
+
ColorMap: ContentId;
|
|
3984
3962
|
/**
|
|
3985
3963
|
* This property determines which parts of the surface are metal and are non-metal. A metalness map is a grayscale image where black pixels correspond to non-metals and white pixels correspond to metals.
|
|
3986
3964
|
*
|
|
@@ -3997,7 +3975,7 @@ interface SurfaceAppearance extends Instance {
|
|
|
3997
3975
|
*
|
|
3998
3976
|
* * When [Lighting.EnvironmentSpecularScale](https://developer.roblox.com/en-us/api-reference/property/Lighting/EnvironmentSpecularScale) is 0, metalness has no effect. For the most realistic reflections, setting EnvironmentSpecularScale and [Lighting.EnvironmentDiffuseScale](https://developer.roblox.com/en-us/api-reference/property/Lighting/EnvironmentDiffuseScale) to 1, and [Lighting.Ambient](https://developer.roblox.com/en-us/api-reference/property/Lighting/Ambient) and [Lighting.OutdoorAmbient](https://developer.roblox.com/en-us/api-reference/property/Lighting/OutdoorAmbient) to (0,0,0) is recommended.
|
|
3999
3977
|
*/
|
|
4000
|
-
MetalnessMap:
|
|
3978
|
+
MetalnessMap: ContentId;
|
|
4001
3979
|
/**
|
|
4002
3980
|
* This property modifies the lighting of the surface by adding bumps, dents, cracks, and curves without adding more polygons.
|
|
4003
3981
|
*
|
|
@@ -4014,13 +3992,13 @@ interface SurfaceAppearance extends Instance {
|
|
|
4014
3992
|
*
|
|
4015
3993
|
* Roblox expects imported meshes to include tangents. Modeling software may also refer to this as “tangent space” information. If you apply a normal map and it does not seem to make any visual difference, you may need to re-export your mesh along with its tangent information from modeling software.
|
|
4016
3994
|
*/
|
|
4017
|
-
NormalMap:
|
|
3995
|
+
NormalMap: ContentId;
|
|
4018
3996
|
/**
|
|
4019
3997
|
* This property determines the apparent roughness across the surface. A roughness map is a grayscale image where black pixels correspond to a maximally smooth surface, and white pixels correspond to a maximally rough surface.
|
|
4020
3998
|
*
|
|
4021
3999
|
* Roughness refers to how much variation the surface has on a very small scale. Reflections on smooth surfaces are sharp and concentrated. Reflections on rough surfaces are more blurry and dispersed.
|
|
4022
4000
|
*/
|
|
4023
|
-
RoughnessMap:
|
|
4001
|
+
RoughnessMap: ContentId;
|
|
4024
4002
|
}
|
|
4025
4003
|
|
|
4026
4004
|
/** TaskScheduler is a read-only settings class responsible for the Task Scheduler feature.
|
|
@@ -4068,10 +4046,10 @@ interface TerrainDetail extends Instance {
|
|
|
4068
4046
|
* @deprecated
|
|
4069
4047
|
*/
|
|
4070
4048
|
readonly _nominal_TerrainDetail: unique symbol;
|
|
4071
|
-
ColorMap:
|
|
4072
|
-
MetalnessMap:
|
|
4073
|
-
NormalMap:
|
|
4074
|
-
RoughnessMap:
|
|
4049
|
+
ColorMap: ContentId;
|
|
4050
|
+
MetalnessMap: ContentId;
|
|
4051
|
+
NormalMap: ContentId;
|
|
4052
|
+
RoughnessMap: ContentId;
|
|
4075
4053
|
}
|
|
4076
4054
|
|
|
4077
4055
|
interface TerrainRegion extends Instance {
|
|
@@ -1108,6 +1108,35 @@ declare namespace Enum {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
export type AnimatorRetargetingMode = AnimatorRetargetingMode.Default | AnimatorRetargetingMode.Disabled | AnimatorRetargetingMode.Enabled;
|
|
1110
1110
|
|
|
1111
|
+
export namespace AnnotationEditingMode {
|
|
1112
|
+
export interface None extends globalThis.EnumItem {
|
|
1113
|
+
Name: "None";
|
|
1114
|
+
Value: 0;
|
|
1115
|
+
EnumType: typeof globalThis.Enum.AnnotationEditingMode;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export const None: None;
|
|
1119
|
+
|
|
1120
|
+
export interface PlacingNew extends globalThis.EnumItem {
|
|
1121
|
+
Name: "PlacingNew";
|
|
1122
|
+
Value: 1;
|
|
1123
|
+
EnumType: typeof globalThis.Enum.AnnotationEditingMode;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
export const PlacingNew: PlacingNew;
|
|
1127
|
+
|
|
1128
|
+
export interface WritingNew extends globalThis.EnumItem {
|
|
1129
|
+
Name: "WritingNew";
|
|
1130
|
+
Value: 2;
|
|
1131
|
+
EnumType: typeof globalThis.Enum.AnnotationEditingMode;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
export const WritingNew: WritingNew;
|
|
1135
|
+
|
|
1136
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AnnotationEditingMode>;
|
|
1137
|
+
}
|
|
1138
|
+
export type AnnotationEditingMode = AnnotationEditingMode.None | AnnotationEditingMode.PlacingNew | AnnotationEditingMode.WritingNew;
|
|
1139
|
+
|
|
1111
1140
|
export namespace AppLifecycleManagerState {
|
|
1112
1141
|
export interface Detached extends globalThis.EnumItem {
|
|
1113
1142
|
Name: "Detached";
|
|
@@ -4156,6 +4185,35 @@ declare namespace Enum {
|
|
|
4156
4185
|
}
|
|
4157
4186
|
export type ChatPrivacyMode = ChatPrivacyMode.AllUsers | ChatPrivacyMode.NoOne | ChatPrivacyMode.Friends;
|
|
4158
4187
|
|
|
4188
|
+
export namespace ChatRestrictionStatus {
|
|
4189
|
+
export interface Unknown extends globalThis.EnumItem {
|
|
4190
|
+
Name: "Unknown";
|
|
4191
|
+
Value: 0;
|
|
4192
|
+
EnumType: typeof globalThis.Enum.ChatRestrictionStatus;
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
export const Unknown: Unknown;
|
|
4196
|
+
|
|
4197
|
+
export interface NotRestricted extends globalThis.EnumItem {
|
|
4198
|
+
Name: "NotRestricted";
|
|
4199
|
+
Value: 1;
|
|
4200
|
+
EnumType: typeof globalThis.Enum.ChatRestrictionStatus;
|
|
4201
|
+
}
|
|
4202
|
+
|
|
4203
|
+
export const NotRestricted: NotRestricted;
|
|
4204
|
+
|
|
4205
|
+
export interface Restricted extends globalThis.EnumItem {
|
|
4206
|
+
Name: "Restricted";
|
|
4207
|
+
Value: 2;
|
|
4208
|
+
EnumType: typeof globalThis.Enum.ChatRestrictionStatus;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
export const Restricted: Restricted;
|
|
4212
|
+
|
|
4213
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ChatRestrictionStatus>;
|
|
4214
|
+
}
|
|
4215
|
+
export type ChatRestrictionStatus = ChatRestrictionStatus.Unknown | ChatRestrictionStatus.NotRestricted | ChatRestrictionStatus.Restricted;
|
|
4216
|
+
|
|
4159
4217
|
export namespace ChatStyle {
|
|
4160
4218
|
export interface Classic extends globalThis.EnumItem {
|
|
4161
4219
|
Name: "Classic";
|
|
@@ -7249,6 +7307,163 @@ declare namespace Enum {
|
|
|
7249
7307
|
}
|
|
7250
7308
|
export type FillDirection = FillDirection.Horizontal | FillDirection.Vertical;
|
|
7251
7309
|
|
|
7310
|
+
export namespace FilterErrorType {
|
|
7311
|
+
export interface BackslashNotEscapingAnything extends globalThis.EnumItem {
|
|
7312
|
+
Name: "BackslashNotEscapingAnything";
|
|
7313
|
+
Value: 0;
|
|
7314
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7315
|
+
}
|
|
7316
|
+
|
|
7317
|
+
export const BackslashNotEscapingAnything: BackslashNotEscapingAnything;
|
|
7318
|
+
|
|
7319
|
+
export interface BadBespokeFilter extends globalThis.EnumItem {
|
|
7320
|
+
Name: "BadBespokeFilter";
|
|
7321
|
+
Value: 1;
|
|
7322
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7323
|
+
}
|
|
7324
|
+
|
|
7325
|
+
export const BadBespokeFilter: BadBespokeFilter;
|
|
7326
|
+
|
|
7327
|
+
export interface BadName extends globalThis.EnumItem {
|
|
7328
|
+
Name: "BadName";
|
|
7329
|
+
Value: 2;
|
|
7330
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7331
|
+
}
|
|
7332
|
+
|
|
7333
|
+
export const BadName: BadName;
|
|
7334
|
+
|
|
7335
|
+
export interface IncompleteOr extends globalThis.EnumItem {
|
|
7336
|
+
Name: "IncompleteOr";
|
|
7337
|
+
Value: 3;
|
|
7338
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7339
|
+
}
|
|
7340
|
+
|
|
7341
|
+
export const IncompleteOr: IncompleteOr;
|
|
7342
|
+
|
|
7343
|
+
export interface IncompleteParenthesis extends globalThis.EnumItem {
|
|
7344
|
+
Name: "IncompleteParenthesis";
|
|
7345
|
+
Value: 4;
|
|
7346
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
export const IncompleteParenthesis: IncompleteParenthesis;
|
|
7350
|
+
|
|
7351
|
+
export interface InvalidDoubleStar extends globalThis.EnumItem {
|
|
7352
|
+
Name: "InvalidDoubleStar";
|
|
7353
|
+
Value: 5;
|
|
7354
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7355
|
+
}
|
|
7356
|
+
|
|
7357
|
+
export const InvalidDoubleStar: InvalidDoubleStar;
|
|
7358
|
+
|
|
7359
|
+
export interface InvalidTilde extends globalThis.EnumItem {
|
|
7360
|
+
Name: "InvalidTilde";
|
|
7361
|
+
Value: 6;
|
|
7362
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7363
|
+
}
|
|
7364
|
+
|
|
7365
|
+
export const InvalidTilde: InvalidTilde;
|
|
7366
|
+
|
|
7367
|
+
export interface PropertyBadOperator extends globalThis.EnumItem {
|
|
7368
|
+
Name: "PropertyBadOperator";
|
|
7369
|
+
Value: 7;
|
|
7370
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7371
|
+
}
|
|
7372
|
+
|
|
7373
|
+
export const PropertyBadOperator: PropertyBadOperator;
|
|
7374
|
+
|
|
7375
|
+
export interface PropertyDoesNotExist extends globalThis.EnumItem {
|
|
7376
|
+
Name: "PropertyDoesNotExist";
|
|
7377
|
+
Value: 8;
|
|
7378
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7379
|
+
}
|
|
7380
|
+
|
|
7381
|
+
export const PropertyDoesNotExist: PropertyDoesNotExist;
|
|
7382
|
+
|
|
7383
|
+
export interface PropertyInvalidField extends globalThis.EnumItem {
|
|
7384
|
+
Name: "PropertyInvalidField";
|
|
7385
|
+
Value: 9;
|
|
7386
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7387
|
+
}
|
|
7388
|
+
|
|
7389
|
+
export const PropertyInvalidField: PropertyInvalidField;
|
|
7390
|
+
|
|
7391
|
+
export interface PropertyInvalidValue extends globalThis.EnumItem {
|
|
7392
|
+
Name: "PropertyInvalidValue";
|
|
7393
|
+
Value: 10;
|
|
7394
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7395
|
+
}
|
|
7396
|
+
|
|
7397
|
+
export const PropertyInvalidValue: PropertyInvalidValue;
|
|
7398
|
+
|
|
7399
|
+
export interface PropertyUnsupportedFields extends globalThis.EnumItem {
|
|
7400
|
+
Name: "PropertyUnsupportedFields";
|
|
7401
|
+
Value: 11;
|
|
7402
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7403
|
+
}
|
|
7404
|
+
|
|
7405
|
+
export const PropertyUnsupportedFields: PropertyUnsupportedFields;
|
|
7406
|
+
|
|
7407
|
+
export interface PropertyUnsupportedProperty extends globalThis.EnumItem {
|
|
7408
|
+
Name: "PropertyUnsupportedProperty";
|
|
7409
|
+
Value: 12;
|
|
7410
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7411
|
+
}
|
|
7412
|
+
|
|
7413
|
+
export const PropertyUnsupportedProperty: PropertyUnsupportedProperty;
|
|
7414
|
+
|
|
7415
|
+
export interface UnexpectedNameIndex extends globalThis.EnumItem {
|
|
7416
|
+
Name: "UnexpectedNameIndex";
|
|
7417
|
+
Value: 13;
|
|
7418
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7419
|
+
}
|
|
7420
|
+
|
|
7421
|
+
export const UnexpectedNameIndex: UnexpectedNameIndex;
|
|
7422
|
+
|
|
7423
|
+
export interface UnexpectedToken extends globalThis.EnumItem {
|
|
7424
|
+
Name: "UnexpectedToken";
|
|
7425
|
+
Value: 14;
|
|
7426
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7427
|
+
}
|
|
7428
|
+
|
|
7429
|
+
export const UnexpectedToken: UnexpectedToken;
|
|
7430
|
+
|
|
7431
|
+
export interface UnfinishedBinaryOperator extends globalThis.EnumItem {
|
|
7432
|
+
Name: "UnfinishedBinaryOperator";
|
|
7433
|
+
Value: 15;
|
|
7434
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7435
|
+
}
|
|
7436
|
+
|
|
7437
|
+
export const UnfinishedBinaryOperator: UnfinishedBinaryOperator;
|
|
7438
|
+
|
|
7439
|
+
export interface UnfinishedQuote extends globalThis.EnumItem {
|
|
7440
|
+
Name: "UnfinishedQuote";
|
|
7441
|
+
Value: 16;
|
|
7442
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7443
|
+
}
|
|
7444
|
+
|
|
7445
|
+
export const UnfinishedQuote: UnfinishedQuote;
|
|
7446
|
+
|
|
7447
|
+
export interface UnknownBespokeFilter extends globalThis.EnumItem {
|
|
7448
|
+
Name: "UnknownBespokeFilter";
|
|
7449
|
+
Value: 17;
|
|
7450
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7451
|
+
}
|
|
7452
|
+
|
|
7453
|
+
export const UnknownBespokeFilter: UnknownBespokeFilter;
|
|
7454
|
+
|
|
7455
|
+
export interface WildcardInProperty extends globalThis.EnumItem {
|
|
7456
|
+
Name: "WildcardInProperty";
|
|
7457
|
+
Value: 18;
|
|
7458
|
+
EnumType: typeof globalThis.Enum.FilterErrorType;
|
|
7459
|
+
}
|
|
7460
|
+
|
|
7461
|
+
export const WildcardInProperty: WildcardInProperty;
|
|
7462
|
+
|
|
7463
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.FilterErrorType>;
|
|
7464
|
+
}
|
|
7465
|
+
export type FilterErrorType = FilterErrorType.BackslashNotEscapingAnything | FilterErrorType.BadBespokeFilter | FilterErrorType.BadName | FilterErrorType.IncompleteOr | FilterErrorType.IncompleteParenthesis | FilterErrorType.InvalidDoubleStar | FilterErrorType.InvalidTilde | FilterErrorType.PropertyBadOperator | FilterErrorType.PropertyDoesNotExist | FilterErrorType.PropertyInvalidField | FilterErrorType.PropertyInvalidValue | FilterErrorType.PropertyUnsupportedFields | FilterErrorType.PropertyUnsupportedProperty | FilterErrorType.UnexpectedNameIndex | FilterErrorType.UnexpectedToken | FilterErrorType.UnfinishedBinaryOperator | FilterErrorType.UnfinishedQuote | FilterErrorType.UnknownBespokeFilter | FilterErrorType.WildcardInProperty;
|
|
7466
|
+
|
|
7252
7467
|
export namespace FilterResult {
|
|
7253
7468
|
export interface Accepted extends globalThis.EnumItem {
|
|
7254
7469
|
Name: "Accepted";
|
|
@@ -12159,6 +12374,163 @@ declare namespace Enum {
|
|
|
12159
12374
|
}
|
|
12160
12375
|
export type LeftRight = LeftRight.Left | LeftRight.Center | LeftRight.Right;
|
|
12161
12376
|
|
|
12377
|
+
export namespace LexemeType {
|
|
12378
|
+
export interface Eof extends globalThis.EnumItem {
|
|
12379
|
+
Name: "Eof";
|
|
12380
|
+
Value: 0;
|
|
12381
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12382
|
+
}
|
|
12383
|
+
|
|
12384
|
+
export const Eof: Eof;
|
|
12385
|
+
|
|
12386
|
+
export interface Name extends globalThis.EnumItem {
|
|
12387
|
+
Name: "Name";
|
|
12388
|
+
Value: 1;
|
|
12389
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12390
|
+
}
|
|
12391
|
+
|
|
12392
|
+
export const Name: Name;
|
|
12393
|
+
|
|
12394
|
+
export interface QuotedString extends globalThis.EnumItem {
|
|
12395
|
+
Name: "QuotedString";
|
|
12396
|
+
Value: 2;
|
|
12397
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12398
|
+
}
|
|
12399
|
+
|
|
12400
|
+
export const QuotedString: QuotedString;
|
|
12401
|
+
|
|
12402
|
+
export interface Number extends globalThis.EnumItem {
|
|
12403
|
+
Name: "Number";
|
|
12404
|
+
Value: 3;
|
|
12405
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12406
|
+
}
|
|
12407
|
+
|
|
12408
|
+
export const Number: Number;
|
|
12409
|
+
|
|
12410
|
+
export interface And extends globalThis.EnumItem {
|
|
12411
|
+
Name: "And";
|
|
12412
|
+
Value: 4;
|
|
12413
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12414
|
+
}
|
|
12415
|
+
|
|
12416
|
+
export const And: And;
|
|
12417
|
+
|
|
12418
|
+
export interface Or extends globalThis.EnumItem {
|
|
12419
|
+
Name: "Or";
|
|
12420
|
+
Value: 5;
|
|
12421
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12422
|
+
}
|
|
12423
|
+
|
|
12424
|
+
export const Or: Or;
|
|
12425
|
+
|
|
12426
|
+
export interface Equal extends globalThis.EnumItem {
|
|
12427
|
+
Name: "Equal";
|
|
12428
|
+
Value: 6;
|
|
12429
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12430
|
+
}
|
|
12431
|
+
|
|
12432
|
+
export const Equal: Equal;
|
|
12433
|
+
|
|
12434
|
+
export interface TildeEqual extends globalThis.EnumItem {
|
|
12435
|
+
Name: "TildeEqual";
|
|
12436
|
+
Value: 7;
|
|
12437
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12438
|
+
}
|
|
12439
|
+
|
|
12440
|
+
export const TildeEqual: TildeEqual;
|
|
12441
|
+
|
|
12442
|
+
export interface GreaterThan extends globalThis.EnumItem {
|
|
12443
|
+
Name: "GreaterThan";
|
|
12444
|
+
Value: 8;
|
|
12445
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12446
|
+
}
|
|
12447
|
+
|
|
12448
|
+
export const GreaterThan: GreaterThan;
|
|
12449
|
+
|
|
12450
|
+
export interface GreaterThanEqual extends globalThis.EnumItem {
|
|
12451
|
+
Name: "GreaterThanEqual";
|
|
12452
|
+
Value: 9;
|
|
12453
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12454
|
+
}
|
|
12455
|
+
|
|
12456
|
+
export const GreaterThanEqual: GreaterThanEqual;
|
|
12457
|
+
|
|
12458
|
+
export interface LessThan extends globalThis.EnumItem {
|
|
12459
|
+
Name: "LessThan";
|
|
12460
|
+
Value: 10;
|
|
12461
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12462
|
+
}
|
|
12463
|
+
|
|
12464
|
+
export const LessThan: LessThan;
|
|
12465
|
+
|
|
12466
|
+
export interface LessThanEqual extends globalThis.EnumItem {
|
|
12467
|
+
Name: "LessThanEqual";
|
|
12468
|
+
Value: 11;
|
|
12469
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12470
|
+
}
|
|
12471
|
+
|
|
12472
|
+
export const LessThanEqual: LessThanEqual;
|
|
12473
|
+
|
|
12474
|
+
export interface Colon extends globalThis.EnumItem {
|
|
12475
|
+
Name: "Colon";
|
|
12476
|
+
Value: 12;
|
|
12477
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12478
|
+
}
|
|
12479
|
+
|
|
12480
|
+
export const Colon: Colon;
|
|
12481
|
+
|
|
12482
|
+
export interface Dot extends globalThis.EnumItem {
|
|
12483
|
+
Name: "Dot";
|
|
12484
|
+
Value: 13;
|
|
12485
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12486
|
+
}
|
|
12487
|
+
|
|
12488
|
+
export const Dot: Dot;
|
|
12489
|
+
|
|
12490
|
+
export interface LeftParenthesis extends globalThis.EnumItem {
|
|
12491
|
+
Name: "LeftParenthesis";
|
|
12492
|
+
Value: 14;
|
|
12493
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12494
|
+
}
|
|
12495
|
+
|
|
12496
|
+
export const LeftParenthesis: LeftParenthesis;
|
|
12497
|
+
|
|
12498
|
+
export interface RightParenthesis extends globalThis.EnumItem {
|
|
12499
|
+
Name: "RightParenthesis";
|
|
12500
|
+
Value: 15;
|
|
12501
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12502
|
+
}
|
|
12503
|
+
|
|
12504
|
+
export const RightParenthesis: RightParenthesis;
|
|
12505
|
+
|
|
12506
|
+
export interface Star extends globalThis.EnumItem {
|
|
12507
|
+
Name: "Star";
|
|
12508
|
+
Value: 16;
|
|
12509
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12510
|
+
}
|
|
12511
|
+
|
|
12512
|
+
export const Star: Star;
|
|
12513
|
+
|
|
12514
|
+
export interface DoubleStar extends globalThis.EnumItem {
|
|
12515
|
+
Name: "DoubleStar";
|
|
12516
|
+
Value: 17;
|
|
12517
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12518
|
+
}
|
|
12519
|
+
|
|
12520
|
+
export const DoubleStar: DoubleStar;
|
|
12521
|
+
|
|
12522
|
+
export interface ReservedSpecial extends globalThis.EnumItem {
|
|
12523
|
+
Name: "ReservedSpecial";
|
|
12524
|
+
Value: 18;
|
|
12525
|
+
EnumType: typeof globalThis.Enum.LexemeType;
|
|
12526
|
+
}
|
|
12527
|
+
|
|
12528
|
+
export const ReservedSpecial: ReservedSpecial;
|
|
12529
|
+
|
|
12530
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.LexemeType>;
|
|
12531
|
+
}
|
|
12532
|
+
export type LexemeType = LexemeType.Eof | LexemeType.Name | LexemeType.QuotedString | LexemeType.Number | LexemeType.And | LexemeType.Or | LexemeType.Equal | LexemeType.TildeEqual | LexemeType.GreaterThan | LexemeType.GreaterThanEqual | LexemeType.LessThan | LexemeType.LessThanEqual | LexemeType.Colon | LexemeType.Dot | LexemeType.LeftParenthesis | LexemeType.RightParenthesis | LexemeType.Star | LexemeType.DoubleStar | LexemeType.ReservedSpecial;
|
|
12533
|
+
|
|
12162
12534
|
export namespace Limb {
|
|
12163
12535
|
export interface Head extends globalThis.EnumItem {
|
|
12164
12536
|
Name: "Head";
|
|
@@ -12270,6 +12642,43 @@ declare namespace Enum {
|
|
|
12270
12642
|
}
|
|
12271
12643
|
export type ListDisplayMode = ListDisplayMode.Horizontal | ListDisplayMode.Vertical;
|
|
12272
12644
|
|
|
12645
|
+
export namespace ListenerLocation {
|
|
12646
|
+
export interface Default extends globalThis.EnumItem {
|
|
12647
|
+
Name: "Default";
|
|
12648
|
+
Value: 0;
|
|
12649
|
+
EnumType: typeof globalThis.Enum.ListenerLocation;
|
|
12650
|
+
}
|
|
12651
|
+
|
|
12652
|
+
export const Default: Default;
|
|
12653
|
+
|
|
12654
|
+
export interface None extends globalThis.EnumItem {
|
|
12655
|
+
Name: "None";
|
|
12656
|
+
Value: 1;
|
|
12657
|
+
EnumType: typeof globalThis.Enum.ListenerLocation;
|
|
12658
|
+
}
|
|
12659
|
+
|
|
12660
|
+
export const None: None;
|
|
12661
|
+
|
|
12662
|
+
export interface Character extends globalThis.EnumItem {
|
|
12663
|
+
Name: "Character";
|
|
12664
|
+
Value: 2;
|
|
12665
|
+
EnumType: typeof globalThis.Enum.ListenerLocation;
|
|
12666
|
+
}
|
|
12667
|
+
|
|
12668
|
+
export const Character: Character;
|
|
12669
|
+
|
|
12670
|
+
export interface Camera extends globalThis.EnumItem {
|
|
12671
|
+
Name: "Camera";
|
|
12672
|
+
Value: 3;
|
|
12673
|
+
EnumType: typeof globalThis.Enum.ListenerLocation;
|
|
12674
|
+
}
|
|
12675
|
+
|
|
12676
|
+
export const Camera: Camera;
|
|
12677
|
+
|
|
12678
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ListenerLocation>;
|
|
12679
|
+
}
|
|
12680
|
+
export type ListenerLocation = ListenerLocation.Default | ListenerLocation.None | ListenerLocation.Character | ListenerLocation.Camera;
|
|
12681
|
+
|
|
12273
12682
|
export namespace ListenerType {
|
|
12274
12683
|
export interface Camera extends globalThis.EnumItem {
|
|
12275
12684
|
Name: "Camera";
|
|
@@ -21546,6 +21955,35 @@ declare namespace Enum {
|
|
|
21546
21955
|
}
|
|
21547
21956
|
export type UIDragDetectorResponseStyle = UIDragDetectorResponseStyle.Offset | UIDragDetectorResponseStyle.Scale | UIDragDetectorResponseStyle.CustomOffset | UIDragDetectorResponseStyle.CustomScale;
|
|
21548
21957
|
|
|
21958
|
+
export namespace UIDragSpeedAxisMapping {
|
|
21959
|
+
export interface XY extends globalThis.EnumItem {
|
|
21960
|
+
Name: "XY";
|
|
21961
|
+
Value: 0;
|
|
21962
|
+
EnumType: typeof globalThis.Enum.UIDragSpeedAxisMapping;
|
|
21963
|
+
}
|
|
21964
|
+
|
|
21965
|
+
export const XY: XY;
|
|
21966
|
+
|
|
21967
|
+
export interface XX extends globalThis.EnumItem {
|
|
21968
|
+
Name: "XX";
|
|
21969
|
+
Value: 1;
|
|
21970
|
+
EnumType: typeof globalThis.Enum.UIDragSpeedAxisMapping;
|
|
21971
|
+
}
|
|
21972
|
+
|
|
21973
|
+
export const XX: XX;
|
|
21974
|
+
|
|
21975
|
+
export interface YY extends globalThis.EnumItem {
|
|
21976
|
+
Name: "YY";
|
|
21977
|
+
Value: 2;
|
|
21978
|
+
EnumType: typeof globalThis.Enum.UIDragSpeedAxisMapping;
|
|
21979
|
+
}
|
|
21980
|
+
|
|
21981
|
+
export const YY: YY;
|
|
21982
|
+
|
|
21983
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragSpeedAxisMapping>;
|
|
21984
|
+
}
|
|
21985
|
+
export type UIDragSpeedAxisMapping = UIDragSpeedAxisMapping.XY | UIDragSpeedAxisMapping.XX | UIDragSpeedAxisMapping.YY;
|
|
21986
|
+
|
|
21549
21987
|
export namespace UIFlexAlignment {
|
|
21550
21988
|
export interface None extends globalThis.EnumItem {
|
|
21551
21989
|
Name: "None";
|
|
@@ -22898,6 +23336,27 @@ declare namespace Enum {
|
|
|
22898
23336
|
}
|
|
22899
23337
|
export type WeldConstraintPreserve = WeldConstraintPreserve.All | WeldConstraintPreserve.None | WeldConstraintPreserve.Touching;
|
|
22900
23338
|
|
|
23339
|
+
export namespace WhisperChatPrivacyMode {
|
|
23340
|
+
export interface AllUsers extends globalThis.EnumItem {
|
|
23341
|
+
Name: "AllUsers";
|
|
23342
|
+
Value: 0;
|
|
23343
|
+
EnumType: typeof globalThis.Enum.WhisperChatPrivacyMode;
|
|
23344
|
+
}
|
|
23345
|
+
|
|
23346
|
+
export const AllUsers: AllUsers;
|
|
23347
|
+
|
|
23348
|
+
export interface NoOne extends globalThis.EnumItem {
|
|
23349
|
+
Name: "NoOne";
|
|
23350
|
+
Value: 1;
|
|
23351
|
+
EnumType: typeof globalThis.Enum.WhisperChatPrivacyMode;
|
|
23352
|
+
}
|
|
23353
|
+
|
|
23354
|
+
export const NoOne: NoOne;
|
|
23355
|
+
|
|
23356
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.WhisperChatPrivacyMode>;
|
|
23357
|
+
}
|
|
23358
|
+
export type WhisperChatPrivacyMode = WhisperChatPrivacyMode.AllUsers | WhisperChatPrivacyMode.NoOne;
|
|
23359
|
+
|
|
22901
23360
|
export namespace WrapLayerAutoSkin {
|
|
22902
23361
|
export interface Disabled extends globalThis.EnumItem {
|
|
22903
23362
|
Name: "Disabled";
|
package/include/roblox.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ type ChangedSignal = {
|
|
|
31
31
|
|
|
32
32
|
type Tweenable = number | boolean | CFrame | Rect | Color3 | UDim | UDim2 | Vector2 | Vector2int16 | Vector3;
|
|
33
33
|
|
|
34
|
+
type ContentId = string;
|
|
35
|
+
|
|
34
36
|
interface EmoteDictionary {
|
|
35
37
|
/** When these arrays have more than one emote id in them, it will randomly select one of the emotes to play from the list. */
|
|
36
38
|
[emoteName: string]: Array<number>;
|
|
@@ -1392,6 +1394,8 @@ interface CFrameConstructor {
|
|
|
1392
1394
|
Angles: (rX: number, rY: number, rZ: number) => CFrame;
|
|
1393
1395
|
/** Creates a rotated CFrame from a Unit Vector3 and a rotation in radians */
|
|
1394
1396
|
fromAxisAngle: (unit: Vector3, rotation: number) => CFrame;
|
|
1397
|
+
/** Creates a rotated CFrame using angles (rx, ry, rz) in radians. Rotations are applied in the optional Enum.RotationOrder with a default of `XYZ`. */
|
|
1398
|
+
fromEulerAngles: (rX: number, rY: number, rZ: number, order?: Enum.RotationOrder) => CFrame;
|
|
1395
1399
|
/** Creates a rotated CFrame using angles (rx, ry, rz) in radians. Rotations are applied in Z, Y, X order. */
|
|
1396
1400
|
fromEulerAnglesXYZ: (rX: number, rY: number, rZ: number) => CFrame;
|
|
1397
1401
|
/** Creates a rotated CFrame using angles (rx, ry, rz) in radians. Rotations are applied in Z, X, Y order. */
|