Releases: The-Chest/TheChest.Core
Releases · The-Chest/TheChest.Core
v0.3.0
What's Added
Inventory<T>
implementsIInventory<T>
- A container that permit to change its contents
InventorySlot<T>
implementsIInventorySlot<T>
- A Slot that permit to change its contents
What's Changed
- Removed obsolete from
IInventory<T>
IInteractiveContainer<out T>
IStackInventory<T>
CreateRandom
andCreateManyRandom
methods toSlotItemFactory
- Example project folder structure
ISlot<T>.Content
now returnsT?
InventorySlotEventType
references removed for nowISlotItemFactory.CreateItem
is now calledISlotItemFactory.CreateDefault
Known Issues
- #12 -
IStackSlot<T>
andILazyStackSlot<T>
tests not working together
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Added
ILazyStackSlot<T>
- implements
ISlot<ICollection<T>>
- implements
IStackSlot<T>
- implements
ISlot<ICollection<T>>
- implements
StackSlot<T>
- A Slot that have lots of items inside it
LazyStackSlot<T>
- A Slot that have the same copy of the item inside it
What's Changed
IStackSlot<T>
now isILazyStackSlot<T>
StackSlot<T>
andLazyStackSlot<T>
implementsISlot<ICollection<T>>
- Improvements to summary docs
- Removed
Base
prefix from base classes and removedabstract
keywordBaseContainer<T>
toContainer<T>
BaseStackContainer<T>
toLazyStackContainer<T>
BaseSlot<T>
toSlot<T>
BaseStackSlot<T>
toLazyStackSlot<T>
- Removed
Base
prefix from factory classesBaseContainerFactory<T>
toContainerFactory<T>
BaseStackContainerFactory<T>
toLazyStackContainerFactory<T>
BaseSlotFactory<T>
toSlotFactory<T>
BaseStackSlotFactory<T>
toLazyStackSlotFactory<T>
- Removed
Generics
from interface namespaces of Slots and Containers Base
from factory namespaces of Slots and Containers
Known Issues
- #12 -
IStackSlot<T>
andILazyStackSlot<T>
tests not working together
Full Changelog: v0.1.1...v0.2.0
v0.1.1
What's Added
- Unit tests to
BaseContainer<T>
andBaseStackContainer<T>
- Unit tests to
BaseSlot<T>
andBaseStackSlot<T>
- Example projects -
TheChest.Example.ConsoleApp
What's Changed
BaseStackSlot<T>(T[] items, int maxStack)
now calls base class constructorBaseSlot<T>(T item)
Known Issues
- No documentation yet
- No unit tests to Inventory features yet
Full Changelog: https://github.com/The-Chest/the-chest-core/pull/4/commits
v0.1.0
What's Added
- Base project architecture migrated from the-chest-unity
- Base classes
BaseContainer<T>
- Generic container withIContainer<T>
implementationBaseStackContainer<T>
- Generic container withIStackContainer<T>
implementationBaseInventory<T>
- Generic Inventory withIInventory<T>
implementationBaseStackInventory<T>
- Generic Inventory withIStackInventory<T>
implementationBaseInventorySlot<T>
- Generic Slot Inventory withIInventorySlot<T>
implementationBaseInventoryStackSlot<T>
- Generic Slot Inventory withIStackInventorySlot<T>
implementation
- Interfaces
IContainer<T>
- Interface with basic features of a Container withISlot<T>
slotsIStackContainer<T>
- Interface with basic features of a Container withIStackSlot<T>
slotsIInteractiveContainer<T>
- Interface with methods for interaction with the ContainerIInventory<T>
- Interface with methods for interaction with the Inventory withIInventorySlot<T>
slotsIStackInventory<T>
- Interface with methods for interaction with the Inventory usingIInventoryStackSlot<T>
slotsISlot<T>
- Interface with properties for a basic SlotIStackSlot<T>
- Interface Container with properties for a basic Stack SlotIInventorySlot<T>
- Interface with methods for a basic Inventory SlotIInventoryStackSlot<T>
- Interface with methods for a basic Inventory Stackable Slot
- Base classes
Known Issues
- No documentation yet
- No unit tests yet
Full Changelog: https://github.com/The-Chest/the-chest-core/pull/5/commits