BWAPI
Classes | Enumerations | Functions | Variables
messages Namespace Reference

Classes

class  PlayerText
class  FrameMessage
class  FrameCommands
class  Command
class  Color
class  DrawCommand
class  DynamicTerrainInfo
class  StaticTerrainInfo
class  BaseLocation
class  Chokepoint
class  Polygon
class  Region
class  VoidT
class  BoxedBoolean
class  TextMsg
class  Position
class  TilePosition
class  UnitId
class  UnitType
class  UnitTypeData
class  UpgradeTypeData
class  Unit
class  RaceData
class  PlayerStatus
class  UnitTypeIntPair
class  Player
class  UpgradeLevel
class  TechType
class  UpgradeType
class  TechTypeData
class  WeaponType
class  WeaponTypeData
class  StaticGameData
class  Bullet

Enumerations

enum  Flag { CompleteMapInformation = 0, UserInput = 1 }
enum  CommandType {
  none = 1, attackMove = 2, attackUnit = 3, rightClick = 4,
  rightClickUnit = 5, train = 6, build = 7, buildAddon = 8,
  research = 9, upgrade = 10, stop = 11, holdPosition = 12,
  patrol = 13, follow = 14, setRallyPosition = 15, setRallyUnit = 16,
  repair = 17, morph = 18, burrow = 19, unburrow = 20,
  siege = 21, unsiege = 22, cloak = 23, decloak = 24,
  lift = 25, land = 26, load = 27, unload = 28,
  unloadAll = 29, unloadAllPosition = 30, cancelConstruction = 31, haltConstruction = 32,
  cancelMorph = 33, cancelTrain = 34, cancelTrainSlot = 35, cancelAddon = 36,
  cancelResearch = 37, cancelUpgrade = 38, useTech = 39, useTechPosition = 40,
  useTechTarget = 41
}
enum  ShapeType {
  setTextSize = 1, text = 2, box = 3, circle = 4,
  ellipse = 5, dot = 6, line = 7, triangle = 8
}
enum  CoordinateType { screen = 1, map = 2, mouse = 3 }
enum  UnitSizeType {
  Independent = 0, Small = 1, Medium = 2, Large = 3,
  NoneSize = 4, UnknownSize = 5
}
enum  Race {
  Zerg = 0, Terran = 1, Protoss = 2, Random = 3,
  Other = 4, None = 5, Unknown = 6
}
enum  PlayerStance { Neutral = 1, Ally = 2, Enemy = 3 }
enum  DamageType {
  IndependentDamage = 0, Explosive = 1, Concussive = 2, Normal = 3,
  IgnoreArmor = 4, NoneDamage = 5, UnknownDamage = 6
}
enum  ExplosionType {
  ExplosionNone = 0, ExplosionNormal = 1, Radial_Splash = 2, Enemy_Splash = 3,
  Lockdown = 4, Nuclear_Missile = 5, Parasite = 6, Broodlings = 7,
  EMP_Shockwave = 8, Irradiate = 9, Ensnare = 10, Plague = 11,
  Stasis_Field = 12, Dark_Swarm = 13, Consume = 14, Yamato_Gun = 15,
  Restoration = 16, Disruption_Web = 17, Corrosive_Acid = 18, Mind_Control = 19,
  Feedback = 20, Optical_Flare = 21, Maelstrom = 22, Air_Splash = 24,
  ExplosionUnknown = 25
}
enum  BulletType {
  Melee = 0, Fusion_Cutter_Hit = 141, Gauss_Rifle_Hit = 142, C_10_Canister_Rifle_Hit = 143,
  Gemini_Missiles = 144, Fragmentation_Grenade = 145, Longbolt_Missile = 146, ATS_ATA_Laser_Battery = 148,
  Burst_Lasers = 149, Arclite_Shock_Cannon_Hit = 150, EMP_Missile = 151, Dual_Photon_Blasters_Hit = 152,
  Particle_Beam_Hit = 153, Anti_Matter_Missile = 154, Pulse_Cannon = 155, Psionic_Shockwave_Hit = 156,
  Psionic_Storm = 157, Yamato_Gun_Bullet = 158, Phase_Disruptor = 159, STA_STS_Cannon_Overlay = 160,
  Sunken_Colony_Tentacle = 161, Acid_Spore = 163, Glave_Wurm = 165, Seeker_Spores = 166,
  Queen_Spell_Carrier = 167, Plague_Cloud = 168, ConsumeBullet = 169, Needle_Spine_Hit = 171,
  Invisible = 172, Optical_Flare_Grenade = 201, Halo_Rockets = 202, Subterranean_Spines = 203,
  Corrosive_Acid_Shot = 204, Neutron_Flare = 206, NoneBullet = 209, UnknownBullet = 210
}

Functions

void protobuf_AddDesc_aimodule_2eproto ()
void protobuf_AssignDesc_aimodule_2eproto ()
void protobuf_ShutdownFile_aimodule_2eproto ()
bool Flag_IsValid (int value)
const
::google::protobuf::EnumDescriptor
Flag_descriptor ()
const ::std::string & Flag_Name (Flag value)
bool Flag_Parse (const ::std::string &name, Flag *value)
void protobuf_AddDesc_command_2eproto ()
void protobuf_AssignDesc_command_2eproto ()
void protobuf_ShutdownFile_command_2eproto ()
bool CommandType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
CommandType_descriptor ()
const ::std::string & CommandType_Name (CommandType value)
bool CommandType_Parse (const ::std::string &name, CommandType *value)
void protobuf_AddDesc_draw_2eproto ()
void protobuf_AssignDesc_draw_2eproto ()
void protobuf_ShutdownFile_draw_2eproto ()
bool ShapeType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
ShapeType_descriptor ()
const ::std::string & ShapeType_Name (ShapeType value)
bool ShapeType_Parse (const ::std::string &name, ShapeType *value)
bool CoordinateType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
CoordinateType_descriptor ()
const ::std::string & CoordinateType_Name (CoordinateType value)
bool CoordinateType_Parse (const ::std::string &name, CoordinateType *value)
void protobuf_AddDesc_terrain_2eproto ()
void protobuf_AssignDesc_terrain_2eproto ()
void protobuf_ShutdownFile_terrain_2eproto ()
void protobuf_AddDesc_types_2eproto ()
void protobuf_AssignDesc_types_2eproto ()
void protobuf_ShutdownFile_types_2eproto ()
void protobuf_AddDesc_unit_2eproto ()
void protobuf_AssignDesc_unit_2eproto ()
void protobuf_ShutdownFile_unit_2eproto ()
bool UnitSizeType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
UnitSizeType_descriptor ()
const ::std::string & UnitSizeType_Name (UnitSizeType value)
bool UnitSizeType_Parse (const ::std::string &name, UnitSizeType *value)
bool Race_IsValid (int value)
const
::google::protobuf::EnumDescriptor
Race_descriptor ()
const ::std::string & Race_Name (Race value)
bool Race_Parse (const ::std::string &name, Race *value)
bool PlayerStance_IsValid (int value)
const
::google::protobuf::EnumDescriptor
PlayerStance_descriptor ()
const ::std::string & PlayerStance_Name (PlayerStance value)
bool PlayerStance_Parse (const ::std::string &name, PlayerStance *value)
bool DamageType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
DamageType_descriptor ()
const ::std::string & DamageType_Name (DamageType value)
bool DamageType_Parse (const ::std::string &name, DamageType *value)
bool ExplosionType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
ExplosionType_descriptor ()
const ::std::string & ExplosionType_Name (ExplosionType value)
bool ExplosionType_Parse (const ::std::string &name, ExplosionType *value)
bool BulletType_IsValid (int value)
const
::google::protobuf::EnumDescriptor
BulletType_descriptor ()
const ::std::string & BulletType_Name (BulletType value)
bool BulletType_Parse (const ::std::string &name, BulletType *value)

Variables

const Flag Flag_MIN = CompleteMapInformation
const Flag Flag_MAX = UserInput
const int Flag_ARRAYSIZE = Flag_MAX + 1
const CommandType CommandType_MIN = none
const CommandType CommandType_MAX = useTechTarget
const int CommandType_ARRAYSIZE = CommandType_MAX + 1
const ShapeType ShapeType_MIN = setTextSize
const ShapeType ShapeType_MAX = triangle
const int ShapeType_ARRAYSIZE = ShapeType_MAX + 1
const CoordinateType CoordinateType_MIN = screen
const CoordinateType CoordinateType_MAX = mouse
const int CoordinateType_ARRAYSIZE = CoordinateType_MAX + 1
const UnitSizeType UnitSizeType_MIN = Independent
const UnitSizeType UnitSizeType_MAX = UnknownSize
const int UnitSizeType_ARRAYSIZE = UnitSizeType_MAX + 1
const Race Race_MIN = Zerg
const Race Race_MAX = Unknown
const int Race_ARRAYSIZE = Race_MAX + 1
const PlayerStance PlayerStance_MIN = Neutral
const PlayerStance PlayerStance_MAX = Enemy
const int PlayerStance_ARRAYSIZE = PlayerStance_MAX + 1
const DamageType DamageType_MIN = IndependentDamage
const DamageType DamageType_MAX = UnknownDamage
const int DamageType_ARRAYSIZE = DamageType_MAX + 1
const ExplosionType ExplosionType_MIN = ExplosionNone
const ExplosionType ExplosionType_MAX = ExplosionUnknown
const int ExplosionType_ARRAYSIZE = ExplosionType_MAX + 1
const BulletType BulletType_MIN = Melee
const BulletType BulletType_MAX = UnknownBullet
const int BulletType_ARRAYSIZE = BulletType_MAX + 1

Enumeration Type Documentation

Enumerator:
Melee 
Fusion_Cutter_Hit 
Gauss_Rifle_Hit 
C_10_Canister_Rifle_Hit 
Gemini_Missiles 
Fragmentation_Grenade 
Longbolt_Missile 
ATS_ATA_Laser_Battery 
Burst_Lasers 
Arclite_Shock_Cannon_Hit 
EMP_Missile 
Dual_Photon_Blasters_Hit 
Particle_Beam_Hit 
Anti_Matter_Missile 
Pulse_Cannon 
Psionic_Shockwave_Hit 
Psionic_Storm 
Yamato_Gun_Bullet 
Phase_Disruptor 
STA_STS_Cannon_Overlay 
Sunken_Colony_Tentacle 
Acid_Spore 
Glave_Wurm 
Seeker_Spores 
Queen_Spell_Carrier 
Plague_Cloud 
ConsumeBullet 
Needle_Spine_Hit 
Invisible 
Optical_Flare_Grenade 
Halo_Rockets 
Subterranean_Spines 
Corrosive_Acid_Shot 
Neutron_Flare 
NoneBullet 
UnknownBullet 
Enumerator:
none 
attackMove 
attackUnit 
rightClick 
rightClickUnit 
train 
build 
buildAddon 
research 
upgrade 
stop 
holdPosition 
patrol 
follow 
setRallyPosition 
setRallyUnit 
repair 
morph 
burrow 
unburrow 
siege 
unsiege 
cloak 
decloak 
lift 
land 
load 
unload 
unloadAll 
unloadAllPosition 
cancelConstruction 
haltConstruction 
cancelMorph 
cancelTrain 
cancelTrainSlot 
cancelAddon 
cancelResearch 
cancelUpgrade 
useTech 
useTechPosition 
useTechTarget 
Enumerator:
screen 
map 
mouse 
Enumerator:
IndependentDamage 
Explosive 
Concussive 
Normal 
IgnoreArmor 
NoneDamage 
UnknownDamage 
Enumerator:
ExplosionNone 
ExplosionNormal 
Radial_Splash 
Enemy_Splash 
Lockdown 
Nuclear_Missile 
Parasite 
Broodlings 
EMP_Shockwave 
Irradiate 
Ensnare 
Plague 
Stasis_Field 
Dark_Swarm 
Consume 
Yamato_Gun 
Restoration 
Disruption_Web 
Corrosive_Acid 
Mind_Control 
Feedback 
Optical_Flare 
Maelstrom 
Air_Splash 
ExplosionUnknown 
Enumerator:
CompleteMapInformation 
UserInput 
Enumerator:
Neutral 
Ally 
Enemy 
Enumerator:
Zerg 
Terran 
Protoss 
Random 
Other 
None 
Unknown 
Enumerator:
setTextSize 
text 
box 
circle 
ellipse 
dot 
line 
triangle 
Enumerator:
Independent 
Small 
Medium 
Large 
NoneSize 
UnknownSize 

Function Documentation

Here is the caller graph for this function:

bool messages::BulletType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::BulletType_Name ( BulletType  value) [inline]

Here is the call graph for this function:

bool messages::BulletType_Parse ( const ::std::string &  name,
BulletType *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::CommandType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::CommandType_Name ( CommandType  value) [inline]

Here is the call graph for this function:

bool messages::CommandType_Parse ( const ::std::string &  name,
CommandType *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::CoordinateType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::CoordinateType_Name ( CoordinateType  value) [inline]

Here is the call graph for this function:

bool messages::CoordinateType_Parse ( const ::std::string &  name,
CoordinateType *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::DamageType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::DamageType_Name ( DamageType  value) [inline]

Here is the call graph for this function:

bool messages::DamageType_Parse ( const ::std::string &  name,
DamageType *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::ExplosionType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::ExplosionType_Name ( ExplosionType  value) [inline]

Here is the call graph for this function:

bool messages::ExplosionType_Parse ( const ::std::string &  name,
ExplosionType *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::Flag_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::Flag_Name ( Flag  value) [inline]

Here is the call graph for this function:

bool messages::Flag_Parse ( const ::std::string &  name,
Flag *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::PlayerStance_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::PlayerStance_Name ( PlayerStance  value) [inline]

Here is the call graph for this function:

bool messages::PlayerStance_Parse ( const ::std::string &  name,
PlayerStance *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::Race_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::Race_Name ( Race  value) [inline]

Here is the call graph for this function:

bool messages::Race_Parse ( const ::std::string &  name,
Race *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::ShapeType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::ShapeType_Name ( ShapeType  value) [inline]

Here is the call graph for this function:

bool messages::ShapeType_Parse ( const ::std::string &  name,
ShapeType *  value 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

bool messages::UnitSizeType_IsValid ( int  value)

Here is the caller graph for this function:

const ::std::string& messages::UnitSizeType_Name ( UnitSizeType  value) [inline]

Here is the call graph for this function:

bool messages::UnitSizeType_Parse ( const ::std::string &  name,
UnitSizeType *  value 
) [inline]

Here is the call graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines