Attack Location command in bw, can target either location or target.
| 31 | |
| 32 | // Attack Location command in bw, can target either location or target. |
| 33 | class Attack : private BWCommand<0x15> |
| 34 | { |
| 35 | public: |
| 36 | // Attack Location on position. |
| 37 | Attack(const BW::Position& target, BWAPI::Order order, bool queued = false); |
| 38 | Attack(int x, int y, BWAPI::Order order, bool queued = false); |
| 39 | // Attack Location on unit. |
| 40 | Attack(BWAPI::Unit target, BWAPI::Order order, bool queued = false); |
| 41 | // Attack Location on general target. |
| 42 | Attack(const PositionUnitTarget& target, BWAPI::Order order, bool queued = false); |
| 43 | private: |
| 44 | BW::PositionUnitTarget target; |
| 45 | u16 always0xe4 = BWAPI::UnitTypes::Enum::None; |
| 46 | u8 order; |
| 47 | u8 type; |
| 48 | }; |
| 49 | |
| 50 | // Right click command in bw, can target either location or target. |
| 51 | class RightClick : private BWCommand<0x14> |
nothing calls this directly
no outgoing calls
no test coverage detected