@rbxts/types 1.0.557 → 1.0.558
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.
|
@@ -1131,7 +1131,7 @@ interface Accessory extends Accoutrement {
|
|
|
1131
1131
|
*/
|
|
1132
1132
|
readonly _nominal_Accessory: unique symbol;
|
|
1133
1133
|
/**
|
|
1134
|
-
* Specifies the AccessoryType of the Accessory. Will be `Enum/AccessoryType|AccessoryType.Unknown` unless the Accessory has been equipped through the player spawning process or [Humanoid:ApplyDescription](https://developer.roblox.com/en-us/api-reference/function/Humanoid/ApplyDescription).
|
|
1134
|
+
* Specifies the AccessoryType of the Accessory. Will be `Enum/AccessoryType|AccessoryType.Unknown` unless the Accessory has been equipped through the player spawning process or [Humanoid:ApplyDescription](https://developer.roblox.com/en-us/api-reference/function/Humanoid/ApplyDescription). If available on the Avatar shop, the Accessory item is categorized by the set [AccessoryType](https://developer.roblox.com/en-us/api-reference/enum/AccessoryType) (for example, “Hat” or “Face”).
|
|
1135
1135
|
*/
|
|
1136
1136
|
readonly AccessoryType: Enum.AccessoryType;
|
|
1137
1137
|
}
|
|
@@ -2962,12 +2962,16 @@ interface Tool extends BackpackItem {
|
|
|
2962
2962
|
/**
|
|
2963
2963
|
* The Equipped event fires when a player when a player takes a [Tool](https://developer.roblox.com/en-us/api-reference/class/Tool) out of their [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack) to use. This event can be used to determine when a player stops using and puts a tool away.
|
|
2964
2964
|
*
|
|
2965
|
+
* This event does not fire when [Tool.RequiresHandle](https://developer.roblox.com/en-us/api-reference/property/Tool/RequiresHandle) is enabled and no handle is present.
|
|
2966
|
+
*
|
|
2965
2967
|
* The opposite of this event, [Tool.Unequipped](https://developer.roblox.com/en-us/api-reference/event/Tool/Unequipped), can be used alongside this event to determine unequips a [Tool](https://developer.roblox.com/en-us/api-reference/class/Tool) by putting in back in their backpack.
|
|
2966
2968
|
*/
|
|
2967
2969
|
readonly Equipped: RBXScriptSignal<(mouse: Mouse) => void>;
|
|
2968
2970
|
/**
|
|
2969
2971
|
* The Unequipped event fires when a player unequips a [Tool](https://developer.roblox.com/en-us/api-reference/class/Tool) by putting in back in their [Backpack](https://developer.roblox.com/en-us/api-reference/class/Backpack). This event can be used to determine when a player stops using and puts a tool away.
|
|
2970
2972
|
*
|
|
2973
|
+
* This event does not fire when [Tool.RequiresHandle](https://developer.roblox.com/en-us/api-reference/property/Tool/RequiresHandle) is enabled and no handle is present.
|
|
2974
|
+
*
|
|
2971
2975
|
* The opposite of this event, [Tool.Equipped](https://developer.roblox.com/en-us/api-reference/event/Tool/Equipped), can be used alongside this event to determine when a player takes a tool out of their backpack to use.
|
|
2972
2976
|
*
|
|
2973
2977
|
* The example shown below will print “A tool was unequipped” each time the tool is unequipped by the player. Please note that the below example assumes that you've already defined what “Tool” is.
|
|
@@ -23227,7 +23231,7 @@ interface Model extends PVInstance {
|
|
|
23227
23231
|
TranslateBy(this: Model, delta: Vector3): void;
|
|
23228
23232
|
}
|
|
23229
23233
|
|
|
23230
|
-
/** Actor Class */
|
|
23234
|
+
/** This is the Actor Class */
|
|
23231
23235
|
interface Actor extends Model {
|
|
23232
23236
|
/**
|
|
23233
23237
|
* **DO NOT USE!**
|