Skip to content

Releases: The-Chest/TheChest.Unity

v0.3.0

13 Dec 02:26
a7687c2

Choose a tag to compare

What's Added

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

28 Jun 21:11
9553b27

Choose a tag to compare

What's Added

  • IStackContainer<T>, IStackInventory<T> and IContainer<T> interfaces
  • IInventorySlot<T>, IStackSlot<T> and IInventoryStackSlot<T> interfaces

What's Changed

  • The whole structure of Stack and Container code

What's Removed

  • Weapon, Consumable, Types

Full Changelog: v0.2.1...v0.2.2

v0.2.1

28 Jun 20:52
9e6de60

Choose a tag to compare

What's added

  • IContainer<T>, IInteractiveContainer<T> and IInventory<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

23 Apr 03:53
472d791

Choose a tag to compare

v0.2.0-1

New features (from v0.2.0)

  • Tooltip
    • Add UISlotTooltipHandler component
    • Add UITooltip prefab

What's Changed

  • The Chest : Empty Slot & Item layer fixes in #10
  • The Chest : Basic Tooltip in #11

Fixes

  • Project not compiling due merge conflicts
  • Item icon layer wrong when using drag 'n drop

Next Steps

  • Add Context Menu

v0.1.0

08 Apr 19:38

Choose a tag to compare

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
  • 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