t1k:unity:tof:inventory
| Field | Value |
|---|---|
| Module | tof |
| Version | 2.2.2 |
| Effort | low |
| Tools | — |
Keywords: inventory, items, storage
How to invoke
Section titled “How to invoke”/t1k:unity:tof:inventoryInventory
Section titled “Inventory”Purpose
Section titled “Purpose”Tracks and mutates currency balances through a generic IRewardHandler contract backed by InventoryService with VContainer DI registration.
Public API
Section titled “Public API”interface
IRewardHandler(IRewardHandler.cs) classCurrencySelectorAttribute(CurrencySelectorAttribute.cs)CurrencySelectorAttributeDrawer(CurrencySelectorAttributeDrawer.cs)InventoryService(InventoryService.cs)InventoryValidator(InventoryValidator.cs)InventoryVContainer(InventoryVContainer.cs)
Signals / Events
Section titled “Signals / Events”None detected.
Config / ScriptableObjects
Section titled “Config / ScriptableObjects”None detected.
Integration Steps
Section titled “Integration Steps”- Reference package
TheOneFeaturein your project. - Register the Inventory services via VContainer (see Architecture).
- Configure any ScriptableObjects listed in Config section.
- Subscribe to signals listed in Signals / Events to react to state changes.
Architecture
Section titled “Architecture”Detected public types (6): interface
IRewardHandler(IRewardHandler.cs) classCurrencySelectorAttribute(CurrencySelectorAttribute.cs)CurrencySelectorAttributeDrawer(CurrencySelectorAttributeDrawer.cs)InventoryService(InventoryService.cs)InventoryValidator(InventoryValidator.cs)InventoryVContainer(InventoryVContainer.cs)
Detected DI registrations:
InventoryService
Dependencies
Section titled “Dependencies”Run with FEATURE_MATRIX/DEPENDENCY_GRAPH integration to fill.
Gotchas
Section titled “Gotchas”(None reported yet — open an issue in The1Studio/theonekit-unity if you hit one.)
References
Section titled “References”- Source:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Inventory/ - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Inventory/README.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Inventory/CHANGELOG.md - Namespace:
TheOne.Features.Inventory.Core.Editor,TheOne.Features.Inventory.Core,TheOne.Features.Inventory.Core.DI,TheOne.Features.Inventory.Core.Services