|
Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Sub module that extends dinv core features with in-game shops required API \ features and GUI controls.
With the module you can turn a storage to a shop with specific features.
To create a new shop, you have to create a regular Storage template resource and extend it with the ShopFeature component. The feature defines main shops parameters and makes it visible within the ShopsInspector window.
Storage component or its derived variant over it.ShopFeature component to turn the Storage into a shop. Configure shop behavior parameters.AStorageFeature derived component to extend item's logic.Resources folder to make it accessible to search.Explore API:
The package supplying you with several Window implementation to complex task solving.
Complex Window controller that tracks on scene loaded storages and provides access to via the GUI. Distinct storages pool on two groups:
GuidStore feature component.The window automatically tracks storages collection update.
The window automatically tracks storages' content update.
Explore API: Doloro.InvetorySystem.Modules.Shops.UI.Windows.ShopsInspector Explore Demo: Demo: Shops inspector
Window controller that handles TransactionOrder content visualization and management.
Item icon, title, description.Read also: Trasaction Service
Explore API:
The module extends regular controls with specified features. Following subjects provides you with a brief description of controls features.
You may find controls using examples in by the following path Doloro-Inventory-Shops \ Scenes.
You also may consider useful exploration of the Demo: Shops inspector that provides you with a complex solution build including entire stack of features.
| GUI Element | Description |
|---|---|
ShopGUIElement | Extended Storage GUI control that visualizes Storage in GUI as a store. Example: using at the ShopsInspector stores catalog as collection element. |
ExchangeBufferGUIElement | GUI element that visualizes items for 2 storages along with currently placed transactions orders. Can work in 3 modes: - Raw: shows not formated storages content. - Available: shows only items not reserved with placed transaction orders. - Reserved: Shows items reserved in transactions between two selected storages. |
InvalidOrderInfoGUIElement | GUI control using in transaction UI as overlay in case the system has no valid state and can't perform its features. Shows an error message and recommendation toward issue solve. |
TradingConsoleGUIElement | GUI control that tracks summary of exchange buffer. Visualizes states. Controls transaction order actions. Handles high-end order permission logic. |
The module supports Virtual UI Hub features.
That allows to relay shops GUI controls events cross dui2 hierarchy, including cross-windows messages.
System handler that listens for selection messages shared with the TransferAgentCollectionDataConnector components within the Shops Inspector.
The listener works in a pair with an ExchangeBufferGUIElement and change its conent along with a Storage selected in collection managed with a TransferAgentCollectionDataConnector component.
Distinguishes 2 types of events:
from section of exchange buffer.destination section of exchange buffer.Examples of TransferAgentCollectionDataConnector usage:
Examples of ExchangeBufferGUIElement usage: