Interface ICollectibleOnDisplayInteractable
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
A collectible object that can be placed on the ground or on shelves or in display cases, but also can still accept interactions from the player
public interface ICollectibleOnDisplayInteractable
- Extension Methods
Methods
OnInteractCancel(float, ItemSlot, IPlayer, EnumItemUseCancelReason)
bool OnInteractCancel(float secondsUsed, ItemSlot inSlot, IPlayer byPlayer, EnumItemUseCancelReason cancelReason)
Parameters
secondsUsed
floatinSlot
ItemSlotbyPlayer
IPlayercancelReason
EnumItemUseCancelReason
Returns
OnInteractStart(ItemSlot, IPlayer)
bool OnInteractStart(ItemSlot inSlot, IPlayer byPlayer)
Parameters
Returns
OnInteractStep(float, ItemSlot, IPlayer)
bool OnInteractStep(float secondsUsed, ItemSlot inSlot, IPlayer byPlayer)
Parameters
Returns
OnInteractStop(float, ItemSlot, IPlayer)
void OnInteractStop(float secondsUsed, ItemSlot inSlot, IPlayer byPlayer)