Orion inventory interaction framework

From OrionUE/Orion_FreeEdition · View interactive version

Orion inventory interaction framework is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Use when Codex works on Unreal Engine inventory interaction and item interaction systems: GameInventorySystem, InteractionSystem, JInventorySystem, interactable item actors, item pickup/drop/equip, inventory containers, IInteractableTarget, AInteractionItem, FInteractionOption, FInteractionQuery, UA

How to use this skill

Skill file

Unreal Inventory Interaction Framework

本 Skill 用于框架内“可交互物品 -> 交互提示 UI -> 输入触发 -> GA/库存事件 -> 多人权威处理”的完整链路。它覆盖交互发现层、背包数据层、GameUI IndicatorSystem、AbilitySet/InputTag 接入和多人拾取校验。

详细说明:

references/inventory-interaction-framework.zh-CN.md

工作流

  1. 先分层:InteractionSystem 负责发现交互目标和生成 FInteractionOption;JInventorySystem 负责物品实例、容器、装备、搜索和库存复制;IndicatorSystem 负责交互提示 UI;GA 负责输入、预测和最终触发业务。
  2. 先读真实源码:交互接口、AbilityTask、玩家交互 GA、库存组件、物品 Actor、Indicator 组件、目标 GameFeature/Experience/PawnData/AbilitySet。
  3. 新增世界物品交互时,优先复用已有交互 Actor/组件或实现 IInteractableTarget,通过 FInteractionOption 指定展示文本、交互 UI 和要触发的 Ability。
  4. 交互输入默认走 InputTag.Ability.Interact,玩家侧交互 GA 默认通过 AbilitySet/PawnData/Experience 或 GameFeature 授予,不在 GameMode 中写交互业务。
  5. 交互 UI 默认通过 UIndicatorManagerComponent 挂到 PlayerController,并使用 UIndicatorDescriptor 描述目标;不要直接在物品 Actor 上手动 AddToViewport。
  6. 多人游戏中,客户端 Trace/Indicator 只做发现和表现;拾取、开箱、装备、掉落、销毁世界物品和修改库存必须在服务器权威路径里再次校验距离、状态、所有权和可用性。
  7. 实现后验证:碰撞 Profile、输入绑定、AbilitySet 授予、Indicator 显示/移除、服务器拾取、客户端同步、Listen Server、Dedicated Server、延迟/丢包和 GameFeature 反激活清理。

路由

约束

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.