ue4 warehouse system

Warehouse system summary

  1. Divided into 4 modules: GamePlay core (blue), UI module (pink), scene interaction module (green), tool module (yellow)
  2. Each module is independent of each other and uses extensive use of data tables, interfaces, reflection, and event decoupling.
  3. Assets are loaded at runtime, using asset management tools, synchronously or asynchronously while the asset is in use
  4. The project has good scalability. Due to clear decoupling, there is no need to delete the original code in the extension program. You only need to create a new type and add it to the data table.
  5. Use the MVC framework to achieve separation of front-end and back-end data, as well as separation of back-end data modification and data storage.

Insert image description here

the data shows

data file:

  • Game.ini: Record which navigation buttons are enabled, what backpack type is enabled, and what item grid style is enabled

Data table functions:

  • NavButtonAttrs_DT: records the basic information and generated events of all navigation buttons
  • ItemTipBorderAttr_DT: Record all items that can display prompt windows, as well as item corresponding information
  • ItemOnGroundAttrs_DT: records all items that can appear on the ground, as well as corresponding Mesh and Actor types and other information
  • BagWidgetType1Attrs_DT: records all types of UI information of the backpack Type1 type
  • BagGridWidgetType1Attrs_DT: Record the items that can exist in the backpack, each item has a unique style

screenshot

Insert image description here

Notice

Saved at https://github.com/Bioinformatics2020/InventorySystem

formatics2020/InventorySystem

InventorySystom\Content\LPSDeluxe2TropicalEnvironment\ExampleMaps has been compressed and needs to be decompressed after downloading

Guess you like

Origin blog.csdn.net/m0_59723700/article/details/127779949