@rbxts/types 1.0.572 → 1.0.575
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 +17 -3
- package/include/generated/PluginSecurity.d.ts +84 -4
- package/include/generated/enums.d.ts +92 -16
- package/include/lua.d.ts +14 -16
- package/package.json +1 -1
|
@@ -287,6 +287,7 @@ interface CreatableInstances {
|
|
|
287
287
|
SurfaceSelection: SurfaceSelection;
|
|
288
288
|
Team: Team;
|
|
289
289
|
TeleportOptions: TeleportOptions;
|
|
290
|
+
TerrainDetail: TerrainDetail;
|
|
290
291
|
TerrainRegion: TerrainRegion;
|
|
291
292
|
TextBox: TextBox;
|
|
292
293
|
TextButton: TextButton;
|
|
@@ -20727,9 +20728,7 @@ interface MarketplaceService extends Instance {
|
|
|
20727
20728
|
* Returns a [Pages](https://developer.roblox.com/en-us/api-reference/class/Pages) object which contains information for all of the current game's developer products.
|
|
20728
20729
|
* Tags: Yields
|
|
20729
20730
|
*/
|
|
20730
|
-
GetDeveloperProductsAsync(
|
|
20731
|
-
this: MarketplaceService,
|
|
20732
|
-
): StandardPages<{
|
|
20731
|
+
GetDeveloperProductsAsync(this: MarketplaceService): StandardPages<{
|
|
20733
20732
|
Description: string;
|
|
20734
20733
|
PriceInRobux: number;
|
|
20735
20734
|
ProductId: number;
|
|
@@ -21068,6 +21067,7 @@ interface MaterialService extends Instance {
|
|
|
21068
21067
|
ClearOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
|
|
21069
21068
|
ClearOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
|
|
21070
21069
|
GetBaseMaterialOverride(this: MaterialService, material: CastsToEnum<Enum.Material>): string;
|
|
21070
|
+
GetMaterialVariant(this: MaterialService, material: CastsToEnum<Enum.Material>, name: string): MaterialVariant;
|
|
21071
21071
|
GetOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
|
|
21072
21072
|
GetOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
|
|
21073
21073
|
SetBaseMaterialOverride(this: MaterialService, material: CastsToEnum<Enum.Material>, name: string): void;
|
|
@@ -31306,6 +31306,20 @@ interface TemporaryScriptService extends Instance {
|
|
|
31306
31306
|
readonly _nominal_TemporaryScriptService: unique symbol;
|
|
31307
31307
|
}
|
|
31308
31308
|
|
|
31309
|
+
interface TerrainDetail extends Instance {
|
|
31310
|
+
/**
|
|
31311
|
+
* **DO NOT USE!**
|
|
31312
|
+
*
|
|
31313
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31314
|
+
* @hidden
|
|
31315
|
+
* @deprecated
|
|
31316
|
+
*/
|
|
31317
|
+
readonly _nominal_TerrainDetail: unique symbol;
|
|
31318
|
+
Face: Enum.TerrainFace;
|
|
31319
|
+
MaterialPattern: Enum.MaterialPattern;
|
|
31320
|
+
StudsPerTile: number;
|
|
31321
|
+
}
|
|
31322
|
+
|
|
31309
31323
|
/** A TerrainRegion is a snapshot of [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain) retrieved from the [CopyRegion](https://developer.roblox.com/api-reference/function/Terrain/CopyRegion "CopyRegion") method. Can be later pasted into the Terrain using [PasteRegion](https://developer.roblox.com/api-reference/function/Terrain/PasteRegion "PasteRegion"). */
|
|
31310
31324
|
interface TerrainRegion extends Instance {
|
|
31311
31325
|
/**
|
|
@@ -3592,9 +3592,7 @@ interface StudioService extends Instance {
|
|
|
3592
3592
|
*/
|
|
3593
3593
|
UseLocalSpace: boolean;
|
|
3594
3594
|
AnimationIdSelected(this: StudioService, id: number): void;
|
|
3595
|
-
ConvertToPackageUpload(this: StudioService, uploadUrl: string): void;
|
|
3596
3595
|
CopyToClipboard(this: StudioService, stringToCopy: string): void;
|
|
3597
|
-
DEPRECATED_SetTurnOnTeamCreateOnPublish(this: StudioService, turnOn: boolean): void;
|
|
3598
3596
|
EmitPlacePublishedSignal(this: StudioService): void;
|
|
3599
3597
|
GetBadgeConfigureUrl(this: StudioService, badgeId: number): string;
|
|
3600
3598
|
GetBadgeUploadUrl(this: StudioService): string;
|
|
@@ -3675,9 +3673,7 @@ interface StudioService extends Instance {
|
|
|
3675
3673
|
TryInstallPlugin(this: StudioService, assetId: number, assetVersionId: number): void;
|
|
3676
3674
|
readonly GameNameUpdated: RBXScriptSignal<(name: string) => void>;
|
|
3677
3675
|
readonly GamePublishFinished: RBXScriptSignal<(success: boolean, gameId: number) => void>;
|
|
3678
|
-
readonly OnConvertToPackageResult: RBXScriptSignal<(isSuccessful: boolean, errorMessage: string) => void>;
|
|
3679
3676
|
readonly OnImportFromRoblox: RBXScriptSignal<() => void>;
|
|
3680
|
-
readonly OnOpenConvertToPackagePlugin: RBXScriptSignal<(instances: Array<Instance>, name: string) => void>;
|
|
3681
3677
|
readonly OnOpenGameSettings: RBXScriptSignal<(pageIdentifier: string) => void>;
|
|
3682
3678
|
readonly OnOpenManagePackagePlugin: RBXScriptSignal<(userId: number, assetId: number) => void>;
|
|
3683
3679
|
readonly OnPluginInstalledFromToolbox: RBXScriptSignal<() => void>;
|
|
@@ -3709,6 +3705,75 @@ interface StudioTheme extends Instance {
|
|
|
3709
3705
|
GetColor(this: StudioTheme, styleguideitem: CastsToEnum<Enum.StudioStyleGuideColor>, modifier?: CastsToEnum<Enum.StudioStyleGuideModifier>): Color3;
|
|
3710
3706
|
}
|
|
3711
3707
|
|
|
3708
|
+
interface SurfaceAppearance extends Instance {
|
|
3709
|
+
/**
|
|
3710
|
+
* **DO NOT USE!**
|
|
3711
|
+
*
|
|
3712
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3713
|
+
* @hidden
|
|
3714
|
+
* @deprecated
|
|
3715
|
+
*/
|
|
3716
|
+
readonly _nominal_SurfaceAppearance: unique symbol;
|
|
3717
|
+
/**
|
|
3718
|
+
* This property determines how the alpha channel of the [SurfaceAppearance.ColorMap](https://developer.roblox.com/en-us/api-reference/property/SurfaceAppearance/ColorMap) of a [SurfaceAppearance](https://developer.roblox.com/en-us/api-reference/class/SurfaceAppearance) is used.
|
|
3719
|
+
*
|
|
3720
|
+
* When AlphaMode is set to [Transparency](https://developer.roblox.com/en-us/api-reference/enum/AlphaMode) and the [MeshPart.Transparency](https://developer.roblox.com/en-us/api-reference/property/BasePart/Transparency) is set to 0, opaque pixels in the SurfaceAppearance's ColorMap will render as completely opaque in the 3D scene. This solves various problems for textures with different transparent and opaque areas, such as foliage. When parts of the surface are fully opaque, the Roblox engine can render them with proper depth-based occlusion. Opaque surfaces also generally work better with depth-based effects like DepthOfField, glass and water refraction, and water reflection.
|
|
3721
|
+
*
|
|
3722
|
+
* MeshPart.TextureId vs SurfaceAppearance:
|
|
3723
|
+
*
|
|
3724
|
+
* 
|
|
3725
|
+
*
|
|
3726
|
+
* Here is an example of a fern color map. Only the pixels on the leaves have full alpha.
|
|
3727
|
+
*
|
|
3728
|
+
* 
|
|
3729
|
+
*/
|
|
3730
|
+
AlphaMode: Enum.AlphaMode;
|
|
3731
|
+
/**
|
|
3732
|
+
* 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.
|
|
3733
|
+
*/
|
|
3734
|
+
ColorMap: string;
|
|
3735
|
+
/**
|
|
3736
|
+
* 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.
|
|
3737
|
+
*
|
|
3738
|
+
* Metals only reflect light the same color as the metal, and they reflect much more light than non-metals. Most materials in the real world can be categorized either metals or non-metals. For this reason, most pixels in a metalness map will be either pure black or pure white. Values in between are typically used to simulate dirt or grunge on top of an underlying metal area.
|
|
3739
|
+
*
|
|
3740
|
+
* Here's an example of a piece of metal with a layer of paint on top. Most paints are non-metallic, so the metalness map is black everywhere except on unpainted metal parts and spots where the paint has chipped away and the underlying metal is visible.
|
|
3741
|
+
*
|
|
3742
|
+
* 
|
|
3743
|
+
*
|
|
3744
|
+
* 
|
|
3745
|
+
*
|
|
3746
|
+
* Note
|
|
3747
|
+
* ----
|
|
3748
|
+
*
|
|
3749
|
+
* * 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.
|
|
3750
|
+
*/
|
|
3751
|
+
MetalnessMap: string;
|
|
3752
|
+
/**
|
|
3753
|
+
* This property modifies the lighting of the surface by adding bumps, dents, cracks, and curves without adding more polygons.
|
|
3754
|
+
*
|
|
3755
|
+
* Normal maps are RGB images that modify the surface's normal vector used for lighting calculations. The R, G, and B channels of the NormalMap correspond to the X, Y, and Z components of the local surface vector respectively, and byte values of 0 and 255 for each channel correspond linearly to normal vector components of -1 and 1.016 respectively. This range is stretched slightly from -1 to 1 so that a byte value of 127 maps to exactly 0. The normal vector's Z axis is always defined as the direction of the underlying mesh's normal. A uniform (127,127,255) image translates to a completely flat normal map where the normal is everywhere perpendicular to the mesh surface. This format is called “tangent space” normal maps. Roblox does not support world space or object space normal maps.
|
|
3756
|
+
*
|
|
3757
|
+
* Incorrectly flipped normal components can make bumps appear like indents. If you import a normal map and notice the lighting looks off, you may need to invert the G channel of the image. The X and Y axes of the tangent space frame correspond to the X and Y directions in the image after it's transformed by the mesh UVs. If you view your normal map in an image editor as if it were displayed on a surface, normals pointing towards the right side of the screen should appear more red, and normals pointing towards the top side of your screen should appear more green.
|
|
3758
|
+
*
|
|
3759
|
+
* 
|
|
3760
|
+
*
|
|
3761
|
+
* The terms “DirectX format” and “OpenGL format” are sometimes used to describe whether the G channel of the normal map is inverted or not. Roblox expects the OpenGL format.
|
|
3762
|
+
*
|
|
3763
|
+
* Note
|
|
3764
|
+
* ----
|
|
3765
|
+
*
|
|
3766
|
+
* 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.
|
|
3767
|
+
*/
|
|
3768
|
+
NormalMap: string;
|
|
3769
|
+
/**
|
|
3770
|
+
* 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.
|
|
3771
|
+
*
|
|
3772
|
+
* 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.
|
|
3773
|
+
*/
|
|
3774
|
+
RoughnessMap: string;
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3712
3777
|
/** TaskScheduler is a read-only settings class responsible for the Task Scheduler feature.
|
|
3713
3778
|
* Can be found in Roblox Studio's settings with the name _Task Scheduler_.
|
|
3714
3779
|
*/
|
|
@@ -3742,6 +3807,21 @@ interface TaskScheduler extends Instance {
|
|
|
3742
3807
|
readonly ThreadPoolSize: number;
|
|
3743
3808
|
}
|
|
3744
3809
|
|
|
3810
|
+
interface TerrainDetail extends Instance {
|
|
3811
|
+
/**
|
|
3812
|
+
* **DO NOT USE!**
|
|
3813
|
+
*
|
|
3814
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3815
|
+
* @hidden
|
|
3816
|
+
* @deprecated
|
|
3817
|
+
*/
|
|
3818
|
+
readonly _nominal_TerrainDetail: unique symbol;
|
|
3819
|
+
ColorMap: string;
|
|
3820
|
+
MetalnessMap: string;
|
|
3821
|
+
NormalMap: string;
|
|
3822
|
+
RoughnessMap: string;
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3745
3825
|
interface TerrainRegion extends Instance {
|
|
3746
3826
|
/**
|
|
3747
3827
|
* **DO NOT USE!**
|
|
@@ -3282,6 +3282,14 @@ declare namespace Enum {
|
|
|
3282
3282
|
|
|
3283
3283
|
export const DisconnectOutOfMemory: DisconnectOutOfMemory;
|
|
3284
3284
|
|
|
3285
|
+
export interface DisconnectModeratedGame {
|
|
3286
|
+
Name: "DisconnectModeratedGame";
|
|
3287
|
+
Value: 287;
|
|
3288
|
+
EnumType: EnumType<ConnectionError>;
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
export const DisconnectModeratedGame: DisconnectModeratedGame;
|
|
3292
|
+
|
|
3285
3293
|
export interface PlacelaunchErrors {
|
|
3286
3294
|
Name: "PlacelaunchErrors";
|
|
3287
3295
|
Value: 512;
|
|
@@ -3468,7 +3476,7 @@ declare namespace Enum {
|
|
|
3468
3476
|
|
|
3469
3477
|
export function GetEnumItems(this: defined): Array<ConnectionError>
|
|
3470
3478
|
}
|
|
3471
|
-
export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | 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.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | 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.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
3479
|
+
export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | 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.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | 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.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
|
|
3472
3480
|
export namespace ConnectionState {
|
|
3473
3481
|
export interface Connected {
|
|
3474
3482
|
Name: "Connected";
|
|
@@ -12970,25 +12978,17 @@ declare namespace Enum {
|
|
|
12970
12978
|
|
|
12971
12979
|
export const PlayServer: PlayServer;
|
|
12972
12980
|
|
|
12973
|
-
export interface
|
|
12974
|
-
Name: "
|
|
12981
|
+
export interface Standalone {
|
|
12982
|
+
Name: "Standalone";
|
|
12975
12983
|
Value: 3;
|
|
12976
12984
|
EnumType: EnumType<StudioDataModelType>;
|
|
12977
12985
|
}
|
|
12978
12986
|
|
|
12979
|
-
export const
|
|
12980
|
-
|
|
12981
|
-
export interface UserPlugin {
|
|
12982
|
-
Name: "UserPlugin";
|
|
12983
|
-
Value: 4;
|
|
12984
|
-
EnumType: EnumType<StudioDataModelType>;
|
|
12985
|
-
}
|
|
12986
|
-
|
|
12987
|
-
export const UserPlugin: UserPlugin;
|
|
12987
|
+
export const Standalone: Standalone;
|
|
12988
12988
|
|
|
12989
12989
|
export interface None {
|
|
12990
12990
|
Name: "None";
|
|
12991
|
-
Value:
|
|
12991
|
+
Value: 4;
|
|
12992
12992
|
EnumType: EnumType<StudioDataModelType>;
|
|
12993
12993
|
}
|
|
12994
12994
|
|
|
@@ -12996,7 +12996,7 @@ declare namespace Enum {
|
|
|
12996
12996
|
|
|
12997
12997
|
export function GetEnumItems(this: defined): Array<StudioDataModelType>
|
|
12998
12998
|
}
|
|
12999
|
-
export type StudioDataModelType = StudioDataModelType.Edit | StudioDataModelType.PlayClient | StudioDataModelType.PlayServer | StudioDataModelType.
|
|
12999
|
+
export type StudioDataModelType = StudioDataModelType.Edit | StudioDataModelType.PlayClient | StudioDataModelType.PlayServer | StudioDataModelType.Standalone | StudioDataModelType.None;
|
|
13000
13000
|
export namespace StudioScriptEditorColorCategories {
|
|
13001
13001
|
export interface Default {
|
|
13002
13002
|
Name: "Default";
|
|
@@ -14901,6 +14901,34 @@ declare namespace Enum {
|
|
|
14901
14901
|
export function GetEnumItems(this: defined): Array<TerrainAcquisitionMethod>
|
|
14902
14902
|
}
|
|
14903
14903
|
export type TerrainAcquisitionMethod = TerrainAcquisitionMethod.None | TerrainAcquisitionMethod.Legacy | TerrainAcquisitionMethod.Template | TerrainAcquisitionMethod.Generate | TerrainAcquisitionMethod.Import | TerrainAcquisitionMethod.Convert | TerrainAcquisitionMethod.EditAddTool | TerrainAcquisitionMethod.EditSeaLevelTool | TerrainAcquisitionMethod.EditReplaceTool | TerrainAcquisitionMethod.RegionFillTool | TerrainAcquisitionMethod.RegionPasteTool | TerrainAcquisitionMethod.Other;
|
|
14904
|
+
export namespace TerrainFace {
|
|
14905
|
+
export interface Top {
|
|
14906
|
+
Name: "Top";
|
|
14907
|
+
Value: 0;
|
|
14908
|
+
EnumType: EnumType<TerrainFace>;
|
|
14909
|
+
}
|
|
14910
|
+
|
|
14911
|
+
export const Top: Top;
|
|
14912
|
+
|
|
14913
|
+
export interface Side {
|
|
14914
|
+
Name: "Side";
|
|
14915
|
+
Value: 1;
|
|
14916
|
+
EnumType: EnumType<TerrainFace>;
|
|
14917
|
+
}
|
|
14918
|
+
|
|
14919
|
+
export const Side: Side;
|
|
14920
|
+
|
|
14921
|
+
export interface Bottom {
|
|
14922
|
+
Name: "Bottom";
|
|
14923
|
+
Value: 2;
|
|
14924
|
+
EnumType: EnumType<TerrainFace>;
|
|
14925
|
+
}
|
|
14926
|
+
|
|
14927
|
+
export const Bottom: Bottom;
|
|
14928
|
+
|
|
14929
|
+
export function GetEnumItems(this: defined): Array<TerrainFace>
|
|
14930
|
+
}
|
|
14931
|
+
export type TerrainFace = TerrainFace.Top | TerrainFace.Side | TerrainFace.Bottom;
|
|
14904
14932
|
export namespace TextChatMessageStatus {
|
|
14905
14933
|
export interface Unknown {
|
|
14906
14934
|
Name: "Unknown";
|
|
@@ -16354,9 +16382,49 @@ declare namespace Enum {
|
|
|
16354
16382
|
|
|
16355
16383
|
export const OuterCage: OuterCage;
|
|
16356
16384
|
|
|
16385
|
+
export interface ReferenceMeshAfterMorph {
|
|
16386
|
+
Name: "ReferenceMeshAfterMorph";
|
|
16387
|
+
Value: 7;
|
|
16388
|
+
EnumType: EnumType<WrapLayerDebugMode>;
|
|
16389
|
+
}
|
|
16390
|
+
|
|
16391
|
+
export const ReferenceMeshAfterMorph: ReferenceMeshAfterMorph;
|
|
16392
|
+
|
|
16393
|
+
export interface HSROuterDetail {
|
|
16394
|
+
Name: "HSROuterDetail";
|
|
16395
|
+
Value: 8;
|
|
16396
|
+
EnumType: EnumType<WrapLayerDebugMode>;
|
|
16397
|
+
}
|
|
16398
|
+
|
|
16399
|
+
export const HSROuterDetail: HSROuterDetail;
|
|
16400
|
+
|
|
16401
|
+
export interface HSROuter {
|
|
16402
|
+
Name: "HSROuter";
|
|
16403
|
+
Value: 9;
|
|
16404
|
+
EnumType: EnumType<WrapLayerDebugMode>;
|
|
16405
|
+
}
|
|
16406
|
+
|
|
16407
|
+
export const HSROuter: HSROuter;
|
|
16408
|
+
|
|
16409
|
+
export interface HSRInner {
|
|
16410
|
+
Name: "HSRInner";
|
|
16411
|
+
Value: 10;
|
|
16412
|
+
EnumType: EnumType<WrapLayerDebugMode>;
|
|
16413
|
+
}
|
|
16414
|
+
|
|
16415
|
+
export const HSRInner: HSRInner;
|
|
16416
|
+
|
|
16417
|
+
export interface HSRInnerReverse {
|
|
16418
|
+
Name: "HSRInnerReverse";
|
|
16419
|
+
Value: 11;
|
|
16420
|
+
EnumType: EnumType<WrapLayerDebugMode>;
|
|
16421
|
+
}
|
|
16422
|
+
|
|
16423
|
+
export const HSRInnerReverse: HSRInnerReverse;
|
|
16424
|
+
|
|
16357
16425
|
export function GetEnumItems(this: defined): Array<WrapLayerDebugMode>
|
|
16358
16426
|
}
|
|
16359
|
-
export type WrapLayerDebugMode = WrapLayerDebugMode.None | WrapLayerDebugMode.BoundCage | WrapLayerDebugMode.LayerCage | WrapLayerDebugMode.BoundCageAndLinks | WrapLayerDebugMode.Reference | WrapLayerDebugMode.Rbf | WrapLayerDebugMode.OuterCage;
|
|
16427
|
+
export type WrapLayerDebugMode = WrapLayerDebugMode.None | WrapLayerDebugMode.BoundCage | WrapLayerDebugMode.LayerCage | WrapLayerDebugMode.BoundCageAndLinks | WrapLayerDebugMode.Reference | WrapLayerDebugMode.Rbf | WrapLayerDebugMode.OuterCage | WrapLayerDebugMode.ReferenceMeshAfterMorph | WrapLayerDebugMode.HSROuterDetail | WrapLayerDebugMode.HSROuter | WrapLayerDebugMode.HSRInner | WrapLayerDebugMode.HSRInnerReverse;
|
|
16360
16428
|
export namespace WrapTargetDebugMode {
|
|
16361
16429
|
export interface None {
|
|
16362
16430
|
Name: "None";
|
|
@@ -16422,9 +16490,17 @@ declare namespace Enum {
|
|
|
16422
16490
|
|
|
16423
16491
|
export const Rbf: Rbf;
|
|
16424
16492
|
|
|
16493
|
+
export interface OuterCageDetail {
|
|
16494
|
+
Name: "OuterCageDetail";
|
|
16495
|
+
Value: 8;
|
|
16496
|
+
EnumType: EnumType<WrapTargetDebugMode>;
|
|
16497
|
+
}
|
|
16498
|
+
|
|
16499
|
+
export const OuterCageDetail: OuterCageDetail;
|
|
16500
|
+
|
|
16425
16501
|
export function GetEnumItems(this: defined): Array<WrapTargetDebugMode>
|
|
16426
16502
|
}
|
|
16427
|
-
export type WrapTargetDebugMode = WrapTargetDebugMode.None | WrapTargetDebugMode.TargetCageOriginal | WrapTargetDebugMode.TargetCageCompressed | WrapTargetDebugMode.TargetCageInterface | WrapTargetDebugMode.TargetLayerCageOriginal | WrapTargetDebugMode.TargetLayerCageCompressed | WrapTargetDebugMode.TargetLayerInterface | WrapTargetDebugMode.Rbf;
|
|
16503
|
+
export type WrapTargetDebugMode = WrapTargetDebugMode.None | WrapTargetDebugMode.TargetCageOriginal | WrapTargetDebugMode.TargetCageCompressed | WrapTargetDebugMode.TargetCageInterface | WrapTargetDebugMode.TargetLayerCageOriginal | WrapTargetDebugMode.TargetLayerCageCompressed | WrapTargetDebugMode.TargetLayerInterface | WrapTargetDebugMode.Rbf | WrapTargetDebugMode.OuterCageDetail;
|
|
16428
16504
|
export namespace ZIndexBehavior {
|
|
16429
16505
|
export interface Global {
|
|
16430
16506
|
Name: "Global";
|
package/include/lua.d.ts
CHANGED
|
@@ -221,28 +221,26 @@ declare namespace TS {
|
|
|
221
221
|
...T[16],
|
|
222
222
|
...T[17],
|
|
223
223
|
...T[18],
|
|
224
|
-
...T[19]
|
|
224
|
+
...T[19],
|
|
225
225
|
];
|
|
226
226
|
|
|
227
227
|
type Flat<T extends Array<any>> = ConcatTuple<
|
|
228
228
|
[...{ [K in keyof T]: T[K] extends Array<any> ? T[K] : [T[K]] }, ...Array<[]>]
|
|
229
229
|
>;
|
|
230
230
|
|
|
231
|
-
type InfoFlags<T extends Array<any>> = TS.Flat<
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
>;
|
|
231
|
+
type InfoFlags<T extends Array<any>> = TS.Flat<{
|
|
232
|
+
[K in keyof T]: T[K] extends "s"
|
|
233
|
+
? string
|
|
234
|
+
: T[K] extends "l"
|
|
235
|
+
? number
|
|
236
|
+
: T[K] extends "n"
|
|
237
|
+
? string | undefined
|
|
238
|
+
: T[K] extends "a"
|
|
239
|
+
? [number, boolean]
|
|
240
|
+
: T[K] extends "f"
|
|
241
|
+
? Callback
|
|
242
|
+
: never;
|
|
243
|
+
}>;
|
|
246
244
|
}
|
|
247
245
|
|
|
248
246
|
declare namespace debug {
|