@rbxts/types 1.0.535 → 1.0.536
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 +54 -25
- package/include/generated/enums.d.ts +85 -9
- package/package.json +1 -1
|
@@ -52,11 +52,13 @@ interface Services {
|
|
|
52
52
|
MemoryStoreService: MemoryStoreService;
|
|
53
53
|
MessageBusService: MessageBusService;
|
|
54
54
|
MessagingService: MessagingService;
|
|
55
|
+
NewVoiceChatService: NewVoiceChatService;
|
|
55
56
|
PathfindingService: PathfindingService;
|
|
56
57
|
PhysicsService: PhysicsService;
|
|
57
58
|
Players: Players;
|
|
58
59
|
PluginPolicyService: PluginPolicyService;
|
|
59
60
|
PolicyService: PolicyService;
|
|
61
|
+
ProcessInstancePhysicsService: ProcessInstancePhysicsService;
|
|
60
62
|
ProximityPromptService: ProximityPromptService;
|
|
61
63
|
PublishService: PublishService;
|
|
62
64
|
RemoteDebuggerServer: RemoteDebuggerServer;
|
|
@@ -140,6 +142,7 @@ interface CreatableInstances {
|
|
|
140
142
|
ConeHandleAdornment: ConeHandleAdornment;
|
|
141
143
|
Configuration: Configuration;
|
|
142
144
|
CornerWedgePart: CornerWedgePart;
|
|
145
|
+
CurveAnimation: CurveAnimation;
|
|
143
146
|
CylinderHandleAdornment: CylinderHandleAdornment;
|
|
144
147
|
CylinderMesh: CylinderMesh;
|
|
145
148
|
CylindricalConstraint: CylindricalConstraint;
|
|
@@ -1412,6 +1415,17 @@ interface AnimationClip extends Instance {
|
|
|
1412
1415
|
Priority: Enum.AnimationPriority;
|
|
1413
1416
|
}
|
|
1414
1417
|
|
|
1418
|
+
interface CurveAnimation extends AnimationClip {
|
|
1419
|
+
/**
|
|
1420
|
+
* **DO NOT USE!**
|
|
1421
|
+
*
|
|
1422
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1423
|
+
* @hidden
|
|
1424
|
+
* @deprecated
|
|
1425
|
+
*/
|
|
1426
|
+
readonly _nominal_CurveAnimation: unique symbol;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1415
1429
|
/** This object stores all the [Keyframe](https://developer.roblox.com/en-us/api-reference/class/Keyframe)s for an animation, determines if the animation is looped, and determines its priority against other animations.
|
|
1416
1430
|
*
|
|
1417
1431
|
* What is a Keyframe Sequence?
|
|
@@ -4023,6 +4037,7 @@ interface Beam extends Instance {
|
|
|
4023
4037
|
* For more information how a [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam) curves, see [Beam.CurveSize1](https://developer.roblox.com/en-us/api-reference/property/Beam/CurveSize1).
|
|
4024
4038
|
*/
|
|
4025
4039
|
Attachment1: Attachment | undefined;
|
|
4040
|
+
Brightness: number;
|
|
4026
4041
|
/**
|
|
4027
4042
|
* Determines the color of the [Beam](https://developer.roblox.com/en-us/api-reference/class/Beam).
|
|
4028
4043
|
*
|
|
@@ -15045,6 +15060,7 @@ interface ImporterGroupSettings extends ImporterBaseSettings {
|
|
|
15045
15060
|
* @deprecated
|
|
15046
15061
|
*/
|
|
15047
15062
|
readonly _nominal_ImporterGroupSettings: unique symbol;
|
|
15063
|
+
ImportAsModelAsset: boolean;
|
|
15048
15064
|
}
|
|
15049
15065
|
|
|
15050
15066
|
interface ImporterJointSettings extends ImporterBaseSettings {
|
|
@@ -15067,8 +15083,16 @@ interface ImporterMeshSettings extends ImporterBaseSettings {
|
|
|
15067
15083
|
* @deprecated
|
|
15068
15084
|
*/
|
|
15069
15085
|
readonly _nominal_ImporterMeshSettings: unique symbol;
|
|
15086
|
+
/**
|
|
15087
|
+
* Tags: ReadOnly, NotReplicated
|
|
15088
|
+
*/
|
|
15089
|
+
readonly Dimensions: Vector3;
|
|
15070
15090
|
DoubleSided: boolean;
|
|
15071
15091
|
IgnoreVertexColors: boolean;
|
|
15092
|
+
/**
|
|
15093
|
+
* Tags: ReadOnly, NotReplicated
|
|
15094
|
+
*/
|
|
15095
|
+
readonly PolygonCount: number;
|
|
15072
15096
|
}
|
|
15073
15097
|
|
|
15074
15098
|
interface ImporterRootSettings extends ImporterBaseSettings {
|
|
@@ -15084,6 +15108,7 @@ interface ImporterRootSettings extends ImporterBaseSettings {
|
|
|
15084
15108
|
* Tags: ReadOnly, NotReplicated
|
|
15085
15109
|
*/
|
|
15086
15110
|
readonly FileDimensions: Vector3;
|
|
15111
|
+
ImportAsModelAsset: boolean;
|
|
15087
15112
|
InvertNegativeFaces: boolean;
|
|
15088
15113
|
MergeMeshes: boolean;
|
|
15089
15114
|
/**
|
|
@@ -20688,6 +20713,17 @@ interface NetworkMarker extends Instance {
|
|
|
20688
20713
|
readonly Received: RBXScriptSignal<() => void>;
|
|
20689
20714
|
}
|
|
20690
20715
|
|
|
20716
|
+
interface NewVoiceChatService extends Instance {
|
|
20717
|
+
/**
|
|
20718
|
+
* **DO NOT USE!**
|
|
20719
|
+
*
|
|
20720
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
20721
|
+
* @hidden
|
|
20722
|
+
* @deprecated
|
|
20723
|
+
*/
|
|
20724
|
+
readonly _nominal_NewVoiceChatService: unique symbol;
|
|
20725
|
+
}
|
|
20726
|
+
|
|
20691
20727
|
/** The NoCollisionConstraint is an instance used to prevent collisions between two specific parts. Connected [Parts](https://developer.roblox.com/en-us/api-reference/class/BasePart) will have no collision reaction between them, but can still have collisions with the rest of the world. Both parts can still receive touch events.
|
|
20692
20728
|
*
|
|
20693
20729
|
* Using a NoCollisionConstraint will allow you to create and share [Models](https://developer.roblox.com/en-us/api-reference/class/Model) with customized collision filtering. While you can still achieve collision filtering with [Collision Groups](https://developer.roblox.com/articles/Collision-Filtering), you are unable to export that information to a model without adding a script to set them when the game runs.
|
|
@@ -23583,6 +23619,7 @@ interface ParticleEmitter extends Instance {
|
|
|
23583
23619
|
* Acceleration is most often used to apply a gravity effect to particles (try a value of (0, -3, 0) for this). You can also use small values on the X/Z axes to make it look like particles are being blown away by wind. If you emit a bubble particle downwards, you could use an acceleration of (0, 5, 0) to cause the bubbles to decelerate and then float back upwards.
|
|
23584
23620
|
*/
|
|
23585
23621
|
Acceleration: Vector3;
|
|
23622
|
+
Brightness: number;
|
|
23586
23623
|
/**
|
|
23587
23624
|
* The Color property determines the color of all particles active in an emitter's system. The color is applied to the [ParticleEmitter.Texture](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Texture) when rendering, and uses the texture alpha along with the [ParticleEmitter.Transparency](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Transparency). If a particle has a [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission) of greater than 0, darker colors will make particles appear more transparent. Below, two default [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter) are pictured, except the right emitter uses a Color from yellow to cyan.
|
|
23588
23625
|
*
|
|
@@ -23691,6 +23728,10 @@ interface ParticleEmitter extends Instance {
|
|
|
23691
23728
|
* Changes to this value only affect new particles; existing particles will maintain the rotation at which they were originally emitted.
|
|
23692
23729
|
*/
|
|
23693
23730
|
Rotation: NumberRange;
|
|
23731
|
+
Shape: Enum.ParticleEmitterShape;
|
|
23732
|
+
ShapeInOut: Enum.ParticleEmitterShapeInOut;
|
|
23733
|
+
ShapePartial: number;
|
|
23734
|
+
ShapeStyle: Enum.ParticleEmitterShapeStyle;
|
|
23694
23735
|
/**
|
|
23695
23736
|
* The Size property determines the world size in studs of all active particles over their individual lifetimes. This property represents the dimensions of the square [ParticleEmitter.Texture](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Texture) for each particle. It is a [NumberSequence](https://developer.roblox.com/en-us/api-reference/datatype/NumberSequence) that works similar to [ParticleEmitter.Transparency](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Transparency) and [ParticleEmitter.Color](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Color).
|
|
23696
23737
|
*
|
|
@@ -23725,6 +23766,7 @@ interface ParticleEmitter extends Instance {
|
|
|
23725
23766
|
* Setting one axis to 360 will cause particles to emit in all direction in a **circle**. Setting both to 360 will cause particles to emit in all directions in a **sphere**.
|
|
23726
23767
|
*/
|
|
23727
23768
|
SpreadAngle: Vector2;
|
|
23769
|
+
Squash: NumberSequence;
|
|
23728
23770
|
/**
|
|
23729
23771
|
* The Texture property determines the image rendered on particle billboards. The rendered image is influenced by [ParticleEmitter.Color](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Color), [ParticleEmitter.Transparency](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/Transparency), [ParticleEmitter.LightInfluence](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightInfluence), and [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission). Transparent textures work best for particles
|
|
23730
23772
|
*
|
|
@@ -25849,6 +25891,17 @@ interface SunRaysEffect extends PostEffect {
|
|
|
25849
25891
|
Spread: number;
|
|
25850
25892
|
}
|
|
25851
25893
|
|
|
25894
|
+
interface ProcessInstancePhysicsService extends Instance {
|
|
25895
|
+
/**
|
|
25896
|
+
* **DO NOT USE!**
|
|
25897
|
+
*
|
|
25898
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
25899
|
+
* @hidden
|
|
25900
|
+
* @deprecated
|
|
25901
|
+
*/
|
|
25902
|
+
readonly _nominal_ProcessInstancePhysicsService: unique symbol;
|
|
25903
|
+
}
|
|
25904
|
+
|
|
25852
25905
|
/** The ProximityPrompt is an object that allows developers to prompt users to interact with an object in the 3D world, such as opening a door or picking up an item.
|
|
25853
25906
|
*
|
|
25854
25907
|
* ProximityPrompts work when parented to a [Part](https://developer.roblox.com/en-us/api-reference/class/Part), [Model](https://developer.roblox.com/en-us/api-reference/class/Model), or [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment) in the workspace.
|
|
@@ -30154,6 +30207,7 @@ interface Trail extends Instance {
|
|
|
30154
30207
|
* Changing the Attachments of a Trail while a trail is drawing will remove all of the segments the trail has already drawn.
|
|
30155
30208
|
*/
|
|
30156
30209
|
Attachment1: Attachment | undefined;
|
|
30210
|
+
Brightness: number;
|
|
30157
30211
|
/**
|
|
30158
30212
|
* The color of a [Trail](https://developer.roblox.com/en-us/api-reference/class/Trail) can be set with the effect's Color property. This property determines what color the segments of the trail will have through their [Trail.Lifetime](https://developer.roblox.com/en-us/api-reference/property/Trail/Lifetime).
|
|
30159
30213
|
*
|
|
@@ -33604,16 +33658,6 @@ interface VoiceChatService extends Instance {
|
|
|
33604
33658
|
* @deprecated
|
|
33605
33659
|
*/
|
|
33606
33660
|
readonly _nominal_VoiceChatService: unique symbol;
|
|
33607
|
-
/**
|
|
33608
|
-
* Tags: Hidden, ReadOnly, NotReplicated, Deprecated
|
|
33609
|
-
* @deprecated
|
|
33610
|
-
*/
|
|
33611
|
-
readonly VoiceChatState: Enum.VoiceChatState;
|
|
33612
|
-
/**
|
|
33613
|
-
* Tags: Deprecated
|
|
33614
|
-
* @deprecated
|
|
33615
|
-
*/
|
|
33616
|
-
GetAndClearCallFailureMessage(this: VoiceChatService): string;
|
|
33617
33661
|
/**
|
|
33618
33662
|
* Tags: Deprecated
|
|
33619
33663
|
* @deprecated
|
|
@@ -33698,21 +33742,6 @@ interface VoiceChatService extends Instance {
|
|
|
33698
33742
|
* Tags: Yields
|
|
33699
33743
|
*/
|
|
33700
33744
|
IsVoiceEnabledForUserIdAsync(this: VoiceChatService, userId: number): boolean;
|
|
33701
|
-
/**
|
|
33702
|
-
* Tags: Deprecated
|
|
33703
|
-
* @deprecated
|
|
33704
|
-
*/
|
|
33705
|
-
readonly ParticipantsStateChanged: RBXScriptSignal<(participantsLeft: Array<any>, participantsJoined: Array<any>, updatedStates: Array<any>) => void>;
|
|
33706
|
-
/**
|
|
33707
|
-
* Tags: Deprecated
|
|
33708
|
-
* @deprecated
|
|
33709
|
-
*/
|
|
33710
|
-
readonly PlayerMicActivitySignalChange: RBXScriptSignal<(activityInfo: object) => void>;
|
|
33711
|
-
/**
|
|
33712
|
-
* Tags: Deprecated
|
|
33713
|
-
* @deprecated
|
|
33714
|
-
*/
|
|
33715
|
-
readonly StateChanged: RBXScriptSignal<(oldValue: Enum.VoiceChatState, newValue: Enum.VoiceChatState) => void>;
|
|
33716
33745
|
}
|
|
33717
33746
|
|
|
33718
33747
|
interface VoiceSource extends Instance {
|
|
@@ -5778,14 +5778,6 @@ declare namespace Enum {
|
|
|
5778
5778
|
|
|
5779
5779
|
export const Automatic: Automatic;
|
|
5780
5780
|
|
|
5781
|
-
export interface Direct3D9 {
|
|
5782
|
-
Name: "Direct3D9";
|
|
5783
|
-
Value: 3;
|
|
5784
|
-
EnumType: EnumType<GraphicsMode>;
|
|
5785
|
-
}
|
|
5786
|
-
|
|
5787
|
-
export const Direct3D9: Direct3D9;
|
|
5788
|
-
|
|
5789
5781
|
export interface Direct3D11 {
|
|
5790
5782
|
Name: "Direct3D11";
|
|
5791
5783
|
Value: 2;
|
|
@@ -5828,7 +5820,7 @@ declare namespace Enum {
|
|
|
5828
5820
|
|
|
5829
5821
|
export function GetEnumItems(this: defined): Array<GraphicsMode>
|
|
5830
5822
|
}
|
|
5831
|
-
export type GraphicsMode = GraphicsMode.Automatic | GraphicsMode.
|
|
5823
|
+
export type GraphicsMode = GraphicsMode.Automatic | GraphicsMode.Direct3D11 | GraphicsMode.OpenGL | GraphicsMode.Metal | GraphicsMode.Vulkan | GraphicsMode.NoGraphics;
|
|
5832
5824
|
export namespace HandlesStyle {
|
|
5833
5825
|
export interface Resize {
|
|
5834
5826
|
Name: "Resize";
|
|
@@ -10149,6 +10141,90 @@ declare namespace Enum {
|
|
|
10149
10141
|
export function GetEnumItems(this: defined): Array<PartType>
|
|
10150
10142
|
}
|
|
10151
10143
|
export type PartType = PartType.Ball | PartType.Block | PartType.Cylinder;
|
|
10144
|
+
export namespace ParticleEmitterShape {
|
|
10145
|
+
export interface Box {
|
|
10146
|
+
Name: "Box";
|
|
10147
|
+
Value: 0;
|
|
10148
|
+
EnumType: EnumType<ParticleEmitterShape>;
|
|
10149
|
+
}
|
|
10150
|
+
|
|
10151
|
+
export const Box: Box;
|
|
10152
|
+
|
|
10153
|
+
export interface Sphere {
|
|
10154
|
+
Name: "Sphere";
|
|
10155
|
+
Value: 1;
|
|
10156
|
+
EnumType: EnumType<ParticleEmitterShape>;
|
|
10157
|
+
}
|
|
10158
|
+
|
|
10159
|
+
export const Sphere: Sphere;
|
|
10160
|
+
|
|
10161
|
+
export interface Cylinder {
|
|
10162
|
+
Name: "Cylinder";
|
|
10163
|
+
Value: 2;
|
|
10164
|
+
EnumType: EnumType<ParticleEmitterShape>;
|
|
10165
|
+
}
|
|
10166
|
+
|
|
10167
|
+
export const Cylinder: Cylinder;
|
|
10168
|
+
|
|
10169
|
+
export interface Disc {
|
|
10170
|
+
Name: "Disc";
|
|
10171
|
+
Value: 3;
|
|
10172
|
+
EnumType: EnumType<ParticleEmitterShape>;
|
|
10173
|
+
}
|
|
10174
|
+
|
|
10175
|
+
export const Disc: Disc;
|
|
10176
|
+
|
|
10177
|
+
export function GetEnumItems(this: defined): Array<ParticleEmitterShape>
|
|
10178
|
+
}
|
|
10179
|
+
export type ParticleEmitterShape = ParticleEmitterShape.Box | ParticleEmitterShape.Sphere | ParticleEmitterShape.Cylinder | ParticleEmitterShape.Disc;
|
|
10180
|
+
export namespace ParticleEmitterShapeInOut {
|
|
10181
|
+
export interface Outward {
|
|
10182
|
+
Name: "Outward";
|
|
10183
|
+
Value: 0;
|
|
10184
|
+
EnumType: EnumType<ParticleEmitterShapeInOut>;
|
|
10185
|
+
}
|
|
10186
|
+
|
|
10187
|
+
export const Outward: Outward;
|
|
10188
|
+
|
|
10189
|
+
export interface Inward {
|
|
10190
|
+
Name: "Inward";
|
|
10191
|
+
Value: 1;
|
|
10192
|
+
EnumType: EnumType<ParticleEmitterShapeInOut>;
|
|
10193
|
+
}
|
|
10194
|
+
|
|
10195
|
+
export const Inward: Inward;
|
|
10196
|
+
|
|
10197
|
+
export interface InAndOut {
|
|
10198
|
+
Name: "InAndOut";
|
|
10199
|
+
Value: 2;
|
|
10200
|
+
EnumType: EnumType<ParticleEmitterShapeInOut>;
|
|
10201
|
+
}
|
|
10202
|
+
|
|
10203
|
+
export const InAndOut: InAndOut;
|
|
10204
|
+
|
|
10205
|
+
export function GetEnumItems(this: defined): Array<ParticleEmitterShapeInOut>
|
|
10206
|
+
}
|
|
10207
|
+
export type ParticleEmitterShapeInOut = ParticleEmitterShapeInOut.Outward | ParticleEmitterShapeInOut.Inward | ParticleEmitterShapeInOut.InAndOut;
|
|
10208
|
+
export namespace ParticleEmitterShapeStyle {
|
|
10209
|
+
export interface Volume {
|
|
10210
|
+
Name: "Volume";
|
|
10211
|
+
Value: 0;
|
|
10212
|
+
EnumType: EnumType<ParticleEmitterShapeStyle>;
|
|
10213
|
+
}
|
|
10214
|
+
|
|
10215
|
+
export const Volume: Volume;
|
|
10216
|
+
|
|
10217
|
+
export interface Surface {
|
|
10218
|
+
Name: "Surface";
|
|
10219
|
+
Value: 1;
|
|
10220
|
+
EnumType: EnumType<ParticleEmitterShapeStyle>;
|
|
10221
|
+
}
|
|
10222
|
+
|
|
10223
|
+
export const Surface: Surface;
|
|
10224
|
+
|
|
10225
|
+
export function GetEnumItems(this: defined): Array<ParticleEmitterShapeStyle>
|
|
10226
|
+
}
|
|
10227
|
+
export type ParticleEmitterShapeStyle = ParticleEmitterShapeStyle.Volume | ParticleEmitterShapeStyle.Surface;
|
|
10152
10228
|
export namespace ParticleOrientation {
|
|
10153
10229
|
export interface FacingCamera {
|
|
10154
10230
|
Name: "FacingCamera";
|