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

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

class  Bag
 格子型物品容器(脚本可直接操作)。 更多...
 
class  EquipmentSet
 
class  Inventory
 背包模块(eve.Inventory)。 更多...
 
struct  InventoryChangeEvent
 一次成功库存变更的事件(供脚本 poll / C++ hook)。 更多...
 
class  InventorySystem
 
struct  ItemDefinition
 物品模板(进程级注册表中的定义,不含运行时数量)。 更多...
 
class  ItemRegistry
 
struct  ItemStack
 容器中的一格堆叠(空槽:itemId 为空或 quantity <= 0)。 更多...
 

函数

 Module_IMPL (Inventory, new Inventory())
 

详细描述

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

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

函数说明

◆ Module_IMPL()

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