@rbxts/types 1.0.558 → 1.0.559
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.
|
@@ -126,7 +126,6 @@ interface CreatableInstances {
|
|
|
126
126
|
BallSocketConstraint: BallSocketConstraint;
|
|
127
127
|
Beam: Beam;
|
|
128
128
|
BillboardGui: BillboardGui;
|
|
129
|
-
BinaryStringValue: BinaryStringValue;
|
|
130
129
|
BindableEvent: BindableEvent;
|
|
131
130
|
BindableFunction: BindableFunction;
|
|
132
131
|
BlockMesh: BlockMesh;
|
|
@@ -1499,7 +1498,7 @@ interface CurveAnimation extends AnimationClip {
|
|
|
1499
1498
|
*
|
|
1500
1499
|
* In some cases the developer may wish to download the KeyframeSequence corresponding to an existing uploaded Animation. This can be done so using [KeyframeSequenceProvider:GetKeyframeSequenceAsync](https://developer.roblox.com/en-us/api-reference/function/KeyframeSequenceProvider/GetKeyframeSequenceAsync).
|
|
1501
1500
|
*/
|
|
1502
|
-
interface KeyframeSequence extends
|
|
1501
|
+
interface KeyframeSequence extends AnimationClip {
|
|
1503
1502
|
/**
|
|
1504
1503
|
* **DO NOT USE!**
|
|
1505
1504
|
*
|
|
@@ -9614,7 +9613,7 @@ interface FloatCurve extends Instance {
|
|
|
9614
9613
|
/**
|
|
9615
9614
|
* Samples the float curve at a given time passed as argument.
|
|
9616
9615
|
*/
|
|
9617
|
-
GetValueAtTime(this: FloatCurve, time: number):
|
|
9616
|
+
GetValueAtTime(this: FloatCurve, time: number): number | undefined;
|
|
9618
9617
|
/**
|
|
9619
9618
|
* Adds the key passed as argument to this curve. If a key exists at the same time it will be replaced. First return value is true if a key was added, false if a previous key was replaced. Second return value is the index at which the marker was added.
|
|
9620
9619
|
*/
|
|
@@ -26906,7 +26905,7 @@ interface RotationCurve extends Instance {
|
|
|
26906
26905
|
/**
|
|
26907
26906
|
* Samples the RotationCurve at a given time and returns the corresponding rotation. Empty RotationCurves are interpreted as zero.
|
|
26908
26907
|
*/
|
|
26909
|
-
GetValueAtTime(this: RotationCurve, time: number):
|
|
26908
|
+
GetValueAtTime(this: RotationCurve, time: number): CFrame | undefined;
|
|
26910
26909
|
/**
|
|
26911
26910
|
* Adds the key passed as argument to this curve. If a key at the same time is found it will be replaced. First return value is true if a key was added, false if a previous key was replaced. Second return value is the index at which the marker was added.
|
|
26912
26911
|
*/
|
|
@@ -33906,29 +33905,6 @@ interface ValueBase extends Instance {
|
|
|
33906
33905
|
readonly Changed: RBXScriptSignal<(value?: unknown) => void>;
|
|
33907
33906
|
}
|
|
33908
33907
|
|
|
33909
|
-
/** An internal type of [StringValue](https://developer.roblox.com/en-us/api-reference/class/StringValue) object, that stores a `BinaryString` value. */
|
|
33910
|
-
interface BinaryStringValue extends ValueBase {
|
|
33911
|
-
/**
|
|
33912
|
-
* **DO NOT USE!**
|
|
33913
|
-
*
|
|
33914
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
33915
|
-
* @hidden
|
|
33916
|
-
* @deprecated
|
|
33917
|
-
*/
|
|
33918
|
-
readonly _nominal_BinaryStringValue: unique symbol;
|
|
33919
|
-
/**
|
|
33920
|
-
* Fires if the `BinaryStringValue/Value` of the [BinaryStringValue](https://developer.roblox.com/en-us/api-reference/class/BinaryStringValue) is changed by the engine.
|
|
33921
|
-
*
|
|
33922
|
-
* In practice, this object is stored out of reach from normal scripts, so this event cannot be connected to. If a BinaryStringValue is created by a script, the engine will not do anything with it, so the event will never fire.
|
|
33923
|
-
*
|
|
33924
|
-
* Note
|
|
33925
|
-
* ----
|
|
33926
|
-
*
|
|
33927
|
-
* Equivalent changed events exist for similar objects, such as [NumberValue](https://developer.roblox.com/en-us/api-reference/class/NumberValue) and [StringValue](https://developer.roblox.com/en-us/api-reference/class/StringValue), depending on what object type best suits the need.
|
|
33928
|
-
*/
|
|
33929
|
-
readonly Changed: RBXScriptSignal<(value: unknown) => void>;
|
|
33930
|
-
}
|
|
33931
|
-
|
|
33932
33908
|
/** An instance which is used to hold a boolean value. The value can be used for many things, including to communicate between scripts. */
|
|
33933
33909
|
interface BoolValue extends ValueBase {
|
|
33934
33910
|
/**
|
|
@@ -124,7 +124,7 @@ interface ABTestService extends Instance {
|
|
|
124
124
|
readonly OnUserABTestLoadingStatusChanged: RBXScriptSignal<(status: Enum.ABTestLoadingStatus, userId: number) => void>;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
interface KeyframeSequence extends
|
|
127
|
+
interface KeyframeSequence extends AnimationClip {
|
|
128
128
|
/**
|
|
129
129
|
* **DO NOT USE!**
|
|
130
130
|
*
|