载入中...
搜索中...
未找到
eve::inventory 命名空间参考

运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。 更多...

类

class  Bag
 格子型物品容器(脚本可直接操作)。 更多...
 
class  EquipmentSet
 EVENGINE_API_FOUNDATION public API. 更多...
 
class  Inventory
 背包模块(eve.Inventory)。 更多...
 
struct  InventoryChangeEvent
 一次成功库存变更的事件(供脚本 poll / C++ hook)。 更多...
 
class  InventoryContainerAdapter
 Adapts one Bag or EquipmentSet without changing their legacy APIs. 更多...
 
struct  InventoryContainerObject
 Owning transfer payload for one inventory stack. 更多...
 
class  InventoryControl
 Exposes the module's published player inventories through the shared gameplay command protocol. 更多...
 
struct  InventoryItemGrant
 One exact item quantity requested by an atomic inventory batch. 更多...
 
class  InventoryResourceAccount
 Adapts one Bag's item quantities to the common resource protocol. 更多...
 
class  InventorySaveSession
 Coordinates persistent inventory owners without duplicating their live state. 更多...
 
class  InventorySystem
 EVENGINE_API_FOUNDATION public API. 更多...
 
class  ItemCostAdapter
 Creates canonical costs for item and ammunition quantities. 更多...
 
struct  ItemDefinition
 物品模板(进程级注册表中的定义,不含运行时数量)。 更多...
 
class  ItemRegistry
 EVENGINE_API_FOUNDATION public API. 更多...
 
struct  ItemStack
 容器中的一格堆叠(空槽:itemId 为空或 quantity <= 0)。 更多...
 
class  PreparedInventoryAdd
 Move-only, validated inventory state prepared for one Bag. 更多...
 
class  PreparedInventoryRemove
 Move-only, validated inventory removal prepared for one Bag. 更多...
 

枚举

enum class  InventoryContainerKind : std::uint8_t { Bag , Equipment }
 InventoryContainerKind public API. 更多...
 

函数

 Module_IMPL (Inventory, new Inventory())
 

详细描述

运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。

背包模块入口:物品定义 / 容器 / 装备栏 / 变更事件的脚本绑定点。 设计文档:docs/dev/背包系统设计.md

枚举类型说明

◆ InventoryContainerKind

enum class eve::inventory::InventoryContainerKind : std::uint8_t
strong

InventoryContainerKind public API.

枚举值
Bag 
Equipment 

在文件 ContainerAdapters.h 第 17 行定义.

函数说明

◆ Module_IMPL()

eve::inventory::Module_IMPL ( Inventory  ,
new   Inventory() 
)