Crate bwapi_wrapper

Source

Modules§

command
position
prelude
tech_type
unit_type
upgrade_type
weapon_type

Structs§

BWAPIC_Command
BWAPIC_Event
BWAPIC_Position
BWAPIC_Shape
BWAPIC_UnitCommand
BWAPI_AIModule
AIModule is a virtual class that is intended to be implemented or inherited by a custom AI class. The Broodwar interface is guaranteed to be initialized if any of these predefined interface functions are invoked by BWAPI.
BWAPI_AIModule__bindgen_vtable
BWAPI_BestFilter
The BestFilter is used to compare two objects with each other. Each function object compares two of the same object and returns the most desirable one.
BWAPI_BulletData
BWAPI_BulletImpl
BWAPI_BulletInterface
An interface object representing a bullet or missile spawned from an attack.
BWAPI_BulletType
This class represents a type of bullet.
BWAPI_Bulletset
A container for a set of Bullet objects.
BWAPI_Client
BWAPI_Color
The Color object is used in drawing routines to specify the color to use.
BWAPI_CompareFilter
The CompareFilter is a container in which a stored function predicate returns a value. Arithmetic and bitwise operators will return a new CompareFilter that applies the operation to the result of the original functor. If any relational operators are used, then it creates a UnaryFilter that returns the result of the operation.
BWAPI_DamageType
Damage types are used in Broodwar to determine the amount of damage that will be done to a unit. This corresponds with UnitSizeType to determine the damage done to a unit.
BWAPI_Error
The Error object is generally used to determine why certain functions in BWAPI have failed.
BWAPI_Event
BWAPI_ExplosionType
A representation of a weapon's explosion type. This indicates how the weapon behaves, such as if it deals splash damage or causes an effect to occur.
BWAPI_ForceData
BWAPI_ForceImpl
BWAPI_ForceInterface
The Force class is used to get information about each force in a match. Normally this is considered a team.
BWAPI_Forceset
A container that holds a group of Forces.
BWAPI_Game
The abstract Game class is implemented by BWAPI and is the primary means of obtaining all game state information from Starcraft Broodwar. Game state information includes all units, resources, players, forces, bullets, terrain, fog of war, regions, etc.
BWAPI_GameData
BWAPI_GameImpl
BWAPI_GameInstance
BWAPI_GameTable
BWAPI_GameType
A class that represents game types in Broodwar. A game type is selected when creating a game.
BWAPI_GameWrapper
Broodwar wrapper
BWAPI_Interface
This generalized class allows the application of features that are common to all interface classes.
BWAPI_InterfaceEvent
The interface event is an attachment to BWAPI interfaces which allows the user to register powerful conditional callbacks that can be executed a user-specified number of times.
BWAPI_Interface__bindgen_vtable
BWAPI_Order
An Order (Order type) represents a Unit's current action and can be retrieved with UnitInterface::getOrder. It can also be used to identify the current state of the unit during command execution (gathering minerals can consist of Orders::MoveToMinerals, Orders::WaitForMinerals, Orders::MiningMinerals, etc.).
BWAPI_PlayerData
BWAPI_PlayerImpl
BWAPI_PlayerInterface
The Player represents a unique controller in the game. Each player in a match will have his or her own player instance. There is also a neutral player which owns all the neutral units (such as mineral patches and vespene geysers).
BWAPI_PlayerType
Represents the type of controller for the player slot (i.e. human, computer).
BWAPI_Playerset
A set containing Player objects.
BWAPI_Race
The Race object is used to get information about a particular race. For example, the default worker and supply provider UnitType.
BWAPI_RegionData
BWAPI_RegionImpl
BWAPI_RegionInterface
Region objects are created by Starcraft: Broodwar to contain several tiles with the same properties, and create a node in pathfinding and other algorithms. Regions may not contain detailed information, but have a sufficient amount of data to identify general chokepoints, accessibility to neighboring terrain, be used in general pathing algorithms, and used as nodes to rally units to.
BWAPI_Regionset
A container that holds a set of Region objects.
BWAPI_SetContainer
This container is used to wrap convenience functions for BWAPI and be used as a bridge with a built-in set type.
BWAPI_TechType
The TechType (or Technology Type, also referred to as an Ability) represents a Unit's ability which can be researched with UnitInterface::research or used with UnitInterface::useTech. In order for a Unit to use its own specialized ability, it must first be available and researched.
BWAPI_TournamentModule
TournamentModule is a virtual class that is intended to be implemented or inherited by a custom Tournament class. Like AIModule, the Broodwar interface is guaranteed to be initialized if any of these predefined interface functions are invoked by BWAPI.
BWAPI_TournamentModule__bindgen_vtable
BWAPI_UnaryFilter
UnaryFilter allows for logical functor combinations.
BWAPI_UnitCommand
BWAPI_UnitCommandType
A representation of a unit command in BWAPI. This is used by bots to notify BWAPI which commands to use. BWAPI filters commands accordingly and then converts them to Broodwar commands, which differ in complexity.
BWAPI_UnitData
BWAPI_UnitImpl
BWAPI_UnitInterface
The Unit class is used to get information about individual units as well as issue orders to units. Each unit in the game has a unique Unit object, and Unit objects are not deleted until the end of the match (so you don't need to worry about unit pointers becoming invalid).
BWAPI_UnitSizeType
Size types are used by unit types in Broodwar to determine how much damage will be applied. This corresponds with DamageType for several different damage reduction applications.
BWAPI_UnitType
The UnitType is used to get information about a particular type of unit, such as its cost, build time, weapon, hit points, abilities, etc.
BWAPI_Unitset
The Unitset is a container for a set of pointers to Unit objects. It is typically used for groups of units instead of having to manage each Unit individually.
BWAPI_UpgradeType
The upgrade type represents a passive upgrade that can be obtained with UnitInterface::upgrade.
BWAPI_WeaponType
This object identifies a weapon type used by a unit to attack and deal damage. Some weapon types can be upgraded while others are used for special abilities.
BWAPI_unitFinder
__va_list_tag
std_allocator
std_allocator_rebind
std_deque
std_function
std_hash
std_less
std_list
std_list__Finalize_merge
std_map
std_map_value_compare
std_pair
std_pair___zero_as_null_pointer_constant
std_unordered_map
std_unordered_set
std_vector
std_vector__Temporary_value

Enums§

BWAPIC_CommandType_Enum
BWAPIC_ShapeType_Enum
BWAPI_BulletTypes_Enum_Enum
Enumeration of bullet types. @see BulletType
BWAPI_CoordinateType_Enum
The coordinate type enumeration, used to indicate relative drawing positions.
BWAPI_DamageTypes_Enum_Enum
Enumeration of damage types. @see DamageType
BWAPI_Errors_Enum_Enum
Enumeration of Error types. @see Error
BWAPI_EventType_Enum
Enumeration of callback event types.
BWAPI_ExplosionTypes_Enum_Enum
Enumeration of explosion types. @see ExplosionType
BWAPI_Flag_Enum
Contains flag enumerations for BWAPI. @see Game::enableFlag, Game::isFlagEnabled
BWAPI_GameTypes_Enum_Enum
Enumeration of game types. @see GameType
BWAPI_Key
An enumeration of keyboard input values. @see Game::getKeyState
BWAPI_Latency_Enum
Contains enumeration of known latency values. @see Game::getLatency
BWAPI_MouseButton
An enumeration of mouse button inputs. @see Game::getMouseState
BWAPI_Orders_Enum_Enum
Enumeration of unit orders. @see Order
BWAPI_PlayerTypes_Enum_Enum
Enumeration of player types (player controllers). @see PlayerType
BWAPI_Races_Enum_Enum
Enumeration of races. @see Race
BWAPI_TechTypes_Enum_Enum
Enumeration of Tech Types. @see TechType
BWAPI_Text_Enum
Enumeration of text formatting codes
BWAPI_Text_Size_Enum
Enumeration of available text sizes
BWAPI_Tournament_ActionID
Contains a list of interruptable actions that the tournament module can allow or deny. @see TournamentModule::onAction
BWAPI_UnitCommandTypes_Enum_Enum
Enumeration of valid unit command types. @see UnitCommandType
BWAPI_UnitSizeTypes_Enum_Enum
Enumeration of unit size types. @see UnitSizeType
BWAPI_UnitTypes_Enum_Enum
Enumeration of unit types @see UnitType
BWAPI_UpgradeTypes_Enum_Enum
Enumeration of upgrade types.
BWAPI_WeaponTypes_Enum_Enum
Enumeration of weapon types. @see WeaponType

Constants§

BWAPI_GameData_MAX_COMMANDS
BWAPI_GameData_MAX_EVENTS
BWAPI_GameData_MAX_EVENT_STRINGS
BWAPI_GameData_MAX_SHAPES
BWAPI_GameData_MAX_STRINGS
BWAPI_GameData_MAX_UNIT_COMMANDS
BWAPI_GameTable_MAX_GAME_INSTANCES

Statics§

BWAPI_Unitset_none
A blank Unitset containing no elements. This is typically used as a return value for BWAPI interface functions that have encountered an error.

Traits§

TypeFrom

Functions§

BWAPI_AIModule_AIModule
BWAPI_AIModule_AIModule_destructor
BWAPI_BulletImpl_BulletImpl
BWAPI_Client_Client
BWAPI_Client_Client_destructor
BWAPI_Color_Color
A constructor that uses the color index in the palette that is closest to the given rgb values. On its first call, the colors in the palette will be sorted for fast indexing.
BWAPI_Event_Event
BWAPI_Event_Event1
BWAPI_Event_Event_destructor
BWAPI_ForceImpl_ForceImpl
BWAPI_GameImpl_GameImpl
BWAPI_PlayerImpl_PlayerImpl
BWAPI_RegionImpl_RegionImpl
BWAPI_TournamentModule_TournamentModule
BWAPI_TournamentModule_TournamentModule_destructor
BWAPI_UnitCommand_UnitCommand
BWAPI_UnitCommand_UnitCommand1
BWAPI_UnitImpl_UnitImpl

Type Aliases§

BWAPI_BestUnitFilter
BWAPI_Bullet
BWAPI_Force
BWAPI_GameWrapper_ostream_manipulator
Definition of ostream_manipulator type for convenience.
BWAPI_Player
BWAPI_Point_list
BWAPI_Position
Indicates a position that is 1x1 pixel in size. This is the most precise position type. @see Positions
BWAPI_PtrIntCompareUnitFilter
BWAPI_PtrUnitFilter
BWAPI_Region
BWAPI_SetContainerUnderlyingT
BWAPI_TilePosition
Indicates a position that is 32x32 pixels in size. Typically used for building placement. @see TilePositions
BWAPI_Type_list
A list type that contains the current type.
BWAPI_Type_set
A set type that contains the current type.
BWAPI_Type_typeMapT
Type that maps names to their type values.
BWAPI_Unit
BWAPI_UnitFilter
UnaryFilter allows for logical functor combinations.
BWAPI_WalkPosition
Indicates a position that is 8x8 pixels in size. @see Game::isWalkable, WalkPositions
HANDLE
__builtin_va_list
__gnuc_va_list
std_allocator_const_pointer
std_allocator_const_reference
std_allocator_difference_type
std_allocator_is_always_equal
std_allocator_pointer
std_allocator_propagate_on_container_move_assignment
std_allocator_rebind_other
std_allocator_reference
std_allocator_size_type
std_allocator_value_type
std_array_const_iterator
std_array_const_pointer
std_array_const_reference
std_array_const_reverse_iterator
std_array_difference_type
std_array_iterator
std_array_pointer
std_array_reference
std_array_reverse_iterator
std_array_size_type
std_array_value_type
std_deque__Alloc_traits
std_deque__Base
std_deque__Map_pointer
std_deque__Tp_alloc_type
std_deque_allocator_type
std_deque_const_iterator
std_deque_const_pointer
std_deque_const_reference
std_deque_const_reverse_iterator
std_deque_difference_type
std_deque_iterator
std_deque_pointer
std_deque_reference
std_deque_reverse_iterator
std_deque_size_type
std_deque_value_type
std_list__Base
std_list__Node
std_list__Node_alloc_traits
std_list__Node_alloc_type
std_list__Tp_alloc_traits
std_list__Tp_alloc_type
std_list___remove_return_type
std_list_allocator_type
std_list_const_iterator
std_list_const_pointer
std_list_const_reference
std_list_const_reverse_iterator
std_list_difference_type
std_list_iterator
std_list_pointer
std_list_reference
std_list_reverse_iterator
std_list_size_type
std_list_value_type
std_map__Alloc_traits
std_map__Pair_alloc_type
std_map__Rep_type
std_map_allocator_type
std_map_const_iterator
std_map_const_pointer
std_map_const_reference
std_map_const_reverse_iterator
std_map_difference_type
std_map_iterator
std_map_key_compare
std_map_key_type
std_map_mapped_type
std_map_pointer
std_map_reference
std_map_reverse_iterator
std_map_size_type
std_map_value_type
std_ostream
std_ostringstream
std_pair__PCCFP
std_pair__PCCP
std_pair_first_type
std_pair_second_type
std_string
std_unordered_map__Hashtable
std_unordered_map_allocator_type
std_unordered_map_const_iterator
std_unordered_map_const_local_iterator
std_unordered_map_const_pointer
std_unordered_map_const_reference
std_unordered_map_difference_type
std_unordered_map_hasher
std_unordered_map_iterator
std_unordered_map_key_equal
std_unordered_map_key_type
std_unordered_map_local_iterator
std_unordered_map_mapped_type
std_unordered_map_pointer
std_unordered_map_reference
std_unordered_map_size_type
std_unordered_map_value_type
std_unordered_set__Hashtable
std_unordered_set_allocator_type
std_unordered_set_const_iterator
std_unordered_set_const_local_iterator
std_unordered_set_const_pointer
std_unordered_set_const_reference
std_unordered_set_difference_type
std_unordered_set_hasher
std_unordered_set_iterator
std_unordered_set_key_equal
std_unordered_set_key_type
std_unordered_set_local_iterator
std_unordered_set_pointer
std_unordered_set_reference
std_unordered_set_size_type
std_unordered_set_value_type
std_vector__Alloc_traits
std_vector__Base
std_vector__Tp_alloc_type
std_vector_allocator_type
std_vector_const_iterator
std_vector_const_pointer
std_vector_const_reference
std_vector_const_reverse_iterator
std_vector_difference_type
std_vector_iterator
std_vector_pointer
std_vector_reference
std_vector_reverse_iterator
std_vector_size_type
std_vector_value_type
va_list

Unions§

std_vector__Temporary_value__Storage