载入中...
搜索中...
未找到
EquipmentUpgrade.h 文件参考

RPG adapter that pays materials and upgrades one inventory item instance. 更多...

#include "common/ResourceAccount.h"
#include "common/Time.h"
#include "common/definitions/DefinitionRuntime.h"
#include "inventory/InventorySystem.h"
#include "production/Production.h"
#include "transaction/Transaction.h"
#include <cstdint>
#include <string>
#include <string_view>
#include "common/Export.h"

浏览源代码.

类

struct  eve::rpg::EquipmentUpgradeRecipe
 Validated upgrade ladder step for one equipment instance. 更多...
 
struct  eve::rpg::EquipmentUpgradeRequest
 Borrowed inputs for paying materials and enqueueing an upgrade job. 更多...
 
struct  eve::rpg::EquipmentUpgradeReceipt
 Receipt for an accepted upgrade job. 更多...
 
class  eve::rpg::EquipmentUpgrade
 Composes equipment upgrade with production and inventory owners. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::inventory
 运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。
 
namespace  eve::rpg
 RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。
 

变量

constexpr const char * eve::rpg::kEquipmentEnhanceProp = "enhance"
 Stable prop key written by EquipmentUpgrade::settle and read by EquipmentSystem.
 

详细描述

RPG adapter that pays materials and upgrades one inventory item instance.

Upgrade mutates an existing max-stack-1 equipment stack in place (props key enhance), instead of granting a new item id. Production owns the timed work; inventory owns the instance; this adapter owns neither.

在文件 EquipmentUpgrade.h 中定义.