载入中...
搜索中...
未找到
eve::weapon::WeaponEntity::Definition结构体 参考

Typed definition projection used by legacy WeaponSystem code. @ownership Borrowed through def when owned is empty. When owned is present, this component owns the immutable projection and def points into it. @lifetime The borrowed pointer remains valid until this component is replaced or its owner is destroyed. Callers must not retain it across a definition projection swap. 更多...

#include <WeaponTypes.h>

Public 属性

const WeaponDefinition * def = nullptr
 
std::shared_ptr< const WeaponDefinition > owned
 Immutable typed projection owner installed by checked adapters.
 

详细描述

Typed definition projection used by legacy WeaponSystem code. @ownership Borrowed through def when owned is empty. When owned is present, this component owns the immutable projection and def points into it. @lifetime The borrowed pointer remains valid until this component is replaced or its owner is destroyed. Callers must not retain it across a definition projection swap.

在文件 WeaponTypes.h 第 300 行定义.

类成员变量说明

◆ def

const WeaponDefinition* eve::weapon::WeaponEntity::Definition::def = nullptr

在文件 WeaponTypes.h 第 301 行定义.

◆ owned

std::shared_ptr<const WeaponDefinition> eve::weapon::WeaponEntity::Definition::owned

Immutable typed projection owner installed by checked adapters.

在文件 WeaponTypes.h 第 303 行定义.


该结构体的文档由以下文件生成: