Table of Contents

Interface IWorldItem

Namespace
FishMMO.Shared.Core
Assembly
FishMMO.Shared.dll

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

int

Amount

The number of items in this world item stack.

uint Amount { get; set; }

Property Value

uint

Template

The item template defining the type of item this world object represents.

BaseItemTemplate Template { get; }

Property Value

BaseItemTemplate

Methods

Despawn()

Despawns this world item via its assigned ObjectSpawner.

void Despawn()