Economy — Internal — Adapters¶
Purpose¶
This folder contains the concrete adapter implementations that connect Economy abstractions to backing systems.
Namespace root: RevGaming.RevFramework.Economy.Internal.Adapters Folder: Runtime/Systems/Economy/Internal/Adapters/
These types are internal implementation details and may change or be replaced over time.
Not for Production Use¶
Types in this folder are not intended as extension points
They should not be referenced from gameplay code or relied upon as stable APIs.
Usage Guidance¶
If you are looking for how to use Economy, start with:
RevGaming.RevFramework.Economy.Abstractions(interfaces)EconomyBootstrap(facade wiring)RevGaming.RevFramework.Economy(model, results, reasons)
Public-facing behaviour documentation lives in:
Documentation/Economy/PublicAPI/
Folder Overview¶
Subfolders¶
Currency¶
Internal/Adapters/Currency/
Concrete implementations that adapt the Currency module (ICurrencyService, CurrencyPolicy) into IValueLedger.
Inventory¶
Internal/Adapters/Inventory/
Concrete implementations that adapt the Inventory module (IInventoryService) into IItemStore.
Important Notes¶
Maintenance rules¶
- Adapter types should remain
internaland withinEconomy.Internal.Adapters.*namespaces - Public APIs should return abstractions rather than adapter concrete types
-
New behaviour should generally be added by:
-
Extending the backing module (Currency or Inventory), or
- Adding new adapter implementations behind the existing abstractions
Avoid introducing new public helper APIs in this layer