Interface IWorldItem
Server-side interface for world item interactables. Exposes the item template, stack amount, and despawn capability needed by the interaction handler.
public interface IWorldItem : IInteractable, ISceneObject
- Inherited Members
Properties
AchievementTemplateID
Achievement template ID to increment when a player picks up this world item.
int AchievementTemplateID { get; }
Property Value
Amount
The number of items in this world item stack.
uint Amount { get; set; }
Property Value
Template
The item template defining the type of item this world object represents.
BaseItemTemplate Template { get; }
Property Value
Methods
Despawn()
Despawns this world item via its assigned ObjectSpawner.
void Despawn()