| 319 | return TechTypes::None; |
| 320 | } |
| 321 | UpgradeType UnitCommand::getUpgradeType() const |
| 322 | { |
| 323 | if (type == UnitCommandTypes::Upgrade) |
| 324 | return UpgradeType(extra); |
| 325 | return UpgradeTypes::None; |
| 326 | } |
| 327 | int UnitCommand::getSlot() const |
| 328 | { |
| 329 | if (type == UnitCommandTypes::Cancel_Train_Slot) |
no test coverage detected