Compartment function catalogue entry. 更多...
#include <WarshipTypes.h>
Public 属性 | |
| std::string | id |
| std::string | displayName |
| float | powerDraw = 0.f |
| Power drawn from the ship net (positive = consumer). | |
| float | powerProvide = 0.f |
| Power contributed to the ship net (reactors / generators). | |
| float | thrustBonus = 0.f |
| Additive thrust multiplier contribution (0.1 = +10%). | |
| int | hangarCapacity = 0 |
| Hangar craft capacity contributed by this cell. | |
| int | weaponBayCount = 0 |
| Hardpoint / weapon-bay count contributed by this cell. | |
| int | crewCapacity = 0 |
| Crew berths contributed by this cell. | |
| float | sailPower = 0.f |
| Sail / wind capture contribution (sailships). | |
| std::vector< std::string > | tags |
详细描述
Compartment function catalogue entry.
Functions are the rearrangeable "modules" inside a hull: bridge, reactor, hangar, weapon bay, quarters, cargo, engine, sail rig, shield generator, …
在文件 WarshipTypes.h 第 74 行定义.
类成员变量说明
◆ crewCapacity
| int eve::warship::CompartmentFunctionDef::crewCapacity = 0 |
Crew berths contributed by this cell.
在文件 WarshipTypes.h 第 88 行定义.
◆ displayName
| std::string eve::warship::CompartmentFunctionDef::displayName |
在文件 WarshipTypes.h 第 76 行定义.
◆ hangarCapacity
| int eve::warship::CompartmentFunctionDef::hangarCapacity = 0 |
Hangar craft capacity contributed by this cell.
在文件 WarshipTypes.h 第 84 行定义.
◆ id
| std::string eve::warship::CompartmentFunctionDef::id |
在文件 WarshipTypes.h 第 75 行定义.
被这些函数引用 eve::warship::WarshipRegistry::loadFunctionsFromJson().
◆ powerDraw
| float eve::warship::CompartmentFunctionDef::powerDraw = 0.f |
Power drawn from the ship net (positive = consumer).
在文件 WarshipTypes.h 第 78 行定义.
◆ powerProvide
| float eve::warship::CompartmentFunctionDef::powerProvide = 0.f |
Power contributed to the ship net (reactors / generators).
在文件 WarshipTypes.h 第 80 行定义.
◆ sailPower
| float eve::warship::CompartmentFunctionDef::sailPower = 0.f |
Sail / wind capture contribution (sailships).
在文件 WarshipTypes.h 第 90 行定义.
◆ tags
| std::vector<std::string> eve::warship::CompartmentFunctionDef::tags |
在文件 WarshipTypes.h 第 91 行定义.
◆ thrustBonus
| float eve::warship::CompartmentFunctionDef::thrustBonus = 0.f |
Additive thrust multiplier contribution (0.1 = +10%).
在文件 WarshipTypes.h 第 82 行定义.
◆ weaponBayCount
| int eve::warship::CompartmentFunctionDef::weaponBayCount = 0 |
Hardpoint / weapon-bay count contributed by this cell.
在文件 WarshipTypes.h 第 86 行定义.
该结构体的文档由以下文件生成:
- src/modules/warship/WarshipTypes.h