CEL

Public API Reference

iPcInventoryListener Struct Reference

Listen to inventory changes. More...

#include <propclass/inv.h>

Inheritance diagram for iPcInventoryListener:

List of all members.

Public Member Functions

virtual void AddChild (iPcInventory *inventory, iCelEntity *entity)=0
 A child is added to this inventory.
virtual void AddChildTemplate (iPcInventory *inventory, iCelEntityTemplate *tpl, int amount)=0
 An entity template is added to this inventory.
virtual void RemoveChild (iPcInventory *inventory, iCelEntity *entity)=0
 A child is removed from this inventory.
virtual void RemoveChildTemplate (iPcInventory *inventory, iCelEntityTemplate *tpl, int amount)=0
 An entity template is removed from this inventory.

Detailed Description

Listen to inventory changes.

Definition at line 35 of file inv.h.


Member Function Documentation

virtual void iPcInventoryListener::AddChild ( iPcInventory inventory,
iCelEntity entity 
) [pure virtual]

A child is added to this inventory.

virtual void iPcInventoryListener::AddChildTemplate ( iPcInventory inventory,
iCelEntityTemplate tpl,
int  amount 
) [pure virtual]

An entity template is added to this inventory.

virtual void iPcInventoryListener::RemoveChild ( iPcInventory inventory,
iCelEntity entity 
) [pure virtual]

A child is removed from this inventory.

virtual void iPcInventoryListener::RemoveChildTemplate ( iPcInventory inventory,
iCelEntityTemplate tpl,
int  amount 
) [pure virtual]

An entity template is removed from this inventory.


The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1