S9SourceNine Labs / CMAPI Docs 1.0
CMAPI / API reference

IPlayerInventoryManager

Provides read-only local backpack and equipment state.

View source ↗
CMAPI 1.0.0Standalone runtimeWindows x64Tested with Planet Crafter 2.008
Namespace CMAPIInterfaceAssembly CMAPI.API.dll
public interface IPlayerInventoryManager

Provides read-only local backpack and equipment state.

Members

Backpack

property
PlayerInventorySnapshot Backpack

Gets a fresh local backpack snapshot.

Equipment

property
PlayerInventorySnapshot Equipment

Gets a fresh local equipment snapshot.

Changed

event
event Action<PlayerInventoryChangedEvent> Changed

Raised after Planet Crafter reports an item added to or removed from either local-player inventory.