#include <CSWWeaponSupply.h>
Public Types | |
enum | WeaponResource { GREEN_TORPEDO_ID = 1 , RED_TORPEDO_ID = 2 , BLUE_TORPEDO_ID = 4 , GREEN_MINE_ID = 1024 , YELLOW_MINE_ID = 2048 } |
Additional Inherited Members | |
![]() | |
const std::string & | getName () const |
This class represents a resource provider for weapons. Rechargeable objects can request recharging of specific weapons to this object. The instance of this class broadcasts text messages periodicaly every 5 seconds. These messages contain the name, the position, the radius within objects must be for recharging and the bitwise ORed provided resource ids.
The message format is: "<WeaponSupplyName> position: <x> <y> <z> radius: <r> resources: <i>"
The resource of weapons.