SC2API
An API for AI for StarCraft II
Public Types | Public Member Functions | Public Attributes | List of all members
sc2::Weapon Struct Reference

Unit weapon. More...

#include <sc2_data.h>

Public Types

enum  TargetType { Ground = 1, Air = 2, Any = 3, Invalid = 4 }
 

Public Member Functions

void ReadFromProto (const SC2APIProtocol::Weapon &weapon)
 

Public Attributes

TargetType type
 
float damage_
 
std::vector< DamageBonusdamage_bonus
 
uint32_t attacks
 
float range
 
float speed
 

Detailed Description

Unit weapon.


The documentation for this struct was generated from the following file: