Public Member Functions | |
virtual ARSTD::Command::PtrType | copy () const |
Static Public Member Functions | |
static PtrType | create (boost::shared_ptr< CSWWeaponBattery > &pWeaponBattery, const std::string &strSupplyName, unsigned long nResourceIDs) |
CSWRechargeWeaponBatteryCommand::PtrType CSWRechargeWeaponBatteryCommand::create | ( | boost::shared_ptr< CSWWeaponBattery > & | pWeaponBattery, | |
const std::string & | strSupplyName, | |||
unsigned long | nResourceIDs | |||
) | [static] |
Creates a new command that let the given WeaponBattery tries to recharge at the given supply.
pWeaponBattery | The weapon battery which should be recharged. | |
strSupplyName | The name of the object where the battery should try to be recharged. | |
nResourceIDs | The ORed combination of resourceIDs that should be recharged at that supply. |
ARSTD::Command::PtrType CSWRechargeWeaponBatteryCommand::copy | ( | ) | const [virtual] |