载入中...
搜索中...
未找到
Command-network policy and derived connection state for a mobile unit or relay. 更多...
#include <RTSTypes.h>
Public 属性 | |
| float | range = 0.0f |
| int | capacity = 0 |
| int | load = 0 |
| int | cost = 1 |
| int | priority = 0 |
| float | jammingRange = 0.0f |
| float | outOfCommandSpeedFactor = 1.0f |
| float | outOfCommandDamageFactor = 1.0f |
| bool | requiresCommand = false |
| bool | relayRequiresUplink = false |
| bool | relayActive = false |
| bool | jammed = false |
| bool | inCommand = true |
| ecs::EntityHandle | source {} |
| ecs::EntityHandle | uplink {} |
详细描述
Command-network policy and derived connection state for a mobile unit or relay.
在文件 RTSTypes.h 第 655 行定义.
类成员变量说明
◆ capacity
| int eve::rts::Unit::Command::capacity = 0 |
在文件 RTSTypes.h 第 657 行定义.
◆ cost
| int eve::rts::Unit::Command::cost = 1 |
在文件 RTSTypes.h 第 659 行定义.
◆ inCommand
| bool eve::rts::Unit::Command::inCommand = true |
在文件 RTSTypes.h 第 668 行定义.
◆ jammed
| bool eve::rts::Unit::Command::jammed = false |
在文件 RTSTypes.h 第 667 行定义.
◆ jammingRange
| float eve::rts::Unit::Command::jammingRange = 0.0f |
在文件 RTSTypes.h 第 661 行定义.
◆ load
| int eve::rts::Unit::Command::load = 0 |
在文件 RTSTypes.h 第 658 行定义.
◆ outOfCommandDamageFactor
| float eve::rts::Unit::Command::outOfCommandDamageFactor = 1.0f |
在文件 RTSTypes.h 第 663 行定义.
◆ outOfCommandSpeedFactor
| float eve::rts::Unit::Command::outOfCommandSpeedFactor = 1.0f |
在文件 RTSTypes.h 第 662 行定义.
◆ priority
| int eve::rts::Unit::Command::priority = 0 |
在文件 RTSTypes.h 第 660 行定义.
◆ range
| float eve::rts::Unit::Command::range = 0.0f |
在文件 RTSTypes.h 第 656 行定义.
◆ relayActive
| bool eve::rts::Unit::Command::relayActive = false |
在文件 RTSTypes.h 第 666 行定义.
◆ relayRequiresUplink
| bool eve::rts::Unit::Command::relayRequiresUplink = false |
在文件 RTSTypes.h 第 665 行定义.
◆ requiresCommand
| bool eve::rts::Unit::Command::requiresCommand = false |
在文件 RTSTypes.h 第 664 行定义.
◆ source
| ecs::EntityHandle eve::rts::Unit::Command::source {} |
在文件 RTSTypes.h 第 669 行定义.
◆ uplink
| ecs::EntityHandle eve::rts::Unit::Command::uplink {} |
在文件 RTSTypes.h 第 670 行定义.
该结构体的文档由以下文件生成:
- src/modules/rts/RTSTypes.h