Introduction
This class provides the base for item sources

Fields#
| Name | Description |
|---|---|
| Display Name | Name of the creature or object attached |
| Color | Color associated with this object |
| Broadcast Messages | Broadcast message to 'GDTK_Inventory' channel |
| On Funds Changed | Event raised when funds are added or removed |
| On Item Added | Event raised when an item is added to inventory |
| On Item Removed | Event raised when an item is removed from inventory |
| On Inventory Changed | Event raised when any inventory change occurs |
| On Item Count Changed | Event raised whenever item count changes |
| On Weight Changed | Event raised when total weight changes |
| On Display Name Changed | Event raised when Display Name changes |
| On Color Changed | Event raised when Color changes |
Properties#
| Name | Description |
|---|---|
| actor | Gets reference to the associated actor |
| color | Color associated with this object |
| displayName | Name of the creature or object attached |
| instanceId | Get the id of this instance of the object |
| itemContainer | Gets the item container |
| items | Gets a list of all items in the container |
| statIds | List of all Stat Ids |
| totalItemWeight | Gets the total weight of all items in the container |
Methods#
| Name | Description |
|---|---|
| AddItem | Add an item to the container |
| AddItems | Add a list of items item to the container |
| DataLoad | Loads data from a specified file |
| DataLoadJSON | Loads JSON data from a JSON string |
| DataLoadJSONFile | Loads JSON data from a specified file |
| DataSave | Saves data to a specified file |
| DataSaveJSON | Saves JSON data to a JSON strting |
| GetStatValue | Get the value of a stat |
| RefreshActor | Attempt to find actor for component |
| ReplaceItem | Replace an existing item with a new one |
| RunPluginCommand | Run a plugin on an item |