Class ActiveSlotChangeEventArgs
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
This contains data about an event that fires when a player changes which slot they're actively using. Such as the currently selected hotbar slot.
public class ActiveSlotChangeEventArgs
- Inheritance
-
ActiveSlotChangeEventArgs
- Inherited Members
- Extension Methods
Constructors
ActiveSlotChangeEventArgs(int, int)
public ActiveSlotChangeEventArgs(int from, int to)
Parameters
Properties
FromSlot
The currently active slot being switched away from.
public int FromSlot { get; }
Property Value
ToSlot
The target slot that is being switched to.
public int ToSlot { get; }