Releases: The-Chest/TheChest.Unity
Releases · The-Chest/TheChest.Unity
v0.3.0
What's Added
- The project is now using The Chest Inventory v0.7.0
Known Issues
- The project needs a great refactor, every version before this will be considered Obsolete
Full Changelog: v0.2.2...v0.3.0
v0.2.2
What's Added
IStackContainer<T>,IStackInventory<T>andIContainer<T>interfacesIInventorySlot<T>,IStackSlot<T>andIInventoryStackSlot<T>interfaces
What's Changed
- The whole structure of
StackandContainercode
What's Removed
Weapon,Consumable,Types
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's added
IContainer<T>,IInteractiveContainer<T>andIInventory<T>interfaces
What's changed
- The whole project folder architecture
What's removed
- Inventory property naming
- Deprecated Interfaces and Base Classes of Inventory
- Linq methods usage
Full Changelog: v0.2.0-1...v0.2.1
v0.2.0-1
v0.2.0-1
New features (from v0.2.0)
- Tooltip
- Add UISlotTooltipHandler component
- Add UITooltip prefab
What's Changed
Fixes
- Project not compiling due merge conflicts
- Item icon layer wrong when using drag 'n drop
Next Steps
- Add Context Menu
v0.1.0
v0.1.0
New features
-
Inventory
- Interfaces
- IInventory<T> - Interface with abstract methods for inventories (uses ISlot<T>)
- IInventoryUI<T> - Interface with abstract methods for inventory UI (uses ISlotUI<T>)
- Classes
- BaseInventory<T> - Default inventory methods for generic classes (extends IInventory<T>)
- Inventory- Inventory class for Item class and Slot class (extends BaseInventory<Item>)
- UIInventory - Inventory UI using Inventory and Item
- Methods (IInventory<T>)
- Add - Adds an item at first empty ISlot<T>
- Add at Index - Adds an item at a selected ISlot<T> (can replace if enabled)
- Get Item - Gets the first occurrence of an item and amount from a slot
- Get by Index - Gets an item and amount by slot index
- Get Item Count - Gets the amount of an item in the inventory
- Clear - Get all items and remove from slot
- Move - Switches items from slots
- Interfaces
-
Slot
- Interfaces
- ISlot<T> - Interface with abstract methods for slots
- ISlotUI<T> - Interface with abstract methods for Slot UI
- Classes
- BaseSlot<T> - Default slot methods for generic classes (extends ISlot<Item>)
- Slot - Slot class for Item class (extends BaseSlot<Item>)
- UISlot - Slot UI using Item
- Methods (ISlot<T>)
- Add - Adds an item at the empty ISlot<T>
- Get Amount - Gets the amount of the item on the ISlot<T>
- Get All - Gets all the items from the ISlot<T>
- Replace - Replaces the item of the ISlot<T> for other one
- Interfaces