[−][src]Struct bwapi_wrapper::BWAPI_GameData
Fields
client_version: c_int
revision: c_int
isDebug: bool
instanceID: c_int
botAPM_noselects: c_int
botAPM_selects: c_int
forceCount: c_int
forces: [BWAPI_ForceData; 5]
playerCount: c_int
players: [BWAPI_PlayerData; 12]
initialUnitCount: c_int
units: [BWAPI_UnitData; 10000]
unitArray: [c_int; 1700]
bullets: [BWAPI_BulletData; 100]
nukeDotCount: c_int
nukeDots: [BWAPIC_Position; 200]
gameType: c_int
latency: c_int
latencyFrames: c_int
latencyTime: c_int
remainingLatencyFrames: c_int
remainingLatencyTime: c_int
hasLatCom: bool
hasGUI: bool
replayFrameCount: c_int
randomSeed: c_uint
frameCount: c_int
elapsedTime: c_int
countdownTimer: c_int
fps: c_int
averageFPS: f64
mouseX: c_int
mouseY: c_int
mouseState: [bool; 3]
keyState: [bool; 255]
screenX: c_int
screenY: c_int
flags: [bool; 2]
mapWidth: c_int
mapHeight: c_int
mapFileName: [c_char; 261]
mapPathName: [c_char; 261]
mapName: [c_char; 33]
mapHash: [c_char; 41]
getGroundHeight: [[c_int; 256]; 256]
isWalkable: [[bool; 1024]; 1024]
isBuildable: [[bool; 256]; 256]
isVisible: [[bool; 256]; 256]
isExplored: [[bool; 256]; 256]
hasCreep: [[bool; 256]; 256]
isOccupied: [[bool; 256]; 256]
mapTileRegionId: [[c_ushort; 256]; 256]
mapSplitTilesMiniTileMask: [c_ushort; 5000]
mapSplitTilesRegion1: [c_ushort; 5000]
mapSplitTilesRegion2: [c_ushort; 5000]
regionCount: c_int
regions: [BWAPI_RegionData; 5000]
startLocationCount: c_int
startLocations: [BWAPIC_Position; 8]
isInGame: bool
isMultiplayer: bool
isBattleNet: bool
isPaused: bool
isReplay: bool
selectedUnitCount: c_int
selectedUnits: [c_int; 12]
self_: c_int
enemy: c_int
neutral: c_int
eventCount: c_int
events: [BWAPIC_Event; 10000]
eventStringCount: c_int
eventStrings: [[c_char; 256]; 1000]
stringCount: c_int
strings: [[c_char; 1024]; 20000]
shapeCount: c_int
shapes: [BWAPIC_Shape; 20000]
commandCount: c_int
commands: [BWAPIC_Command; 20000]
unitCommandCount: c_int
unitCommands: [BWAPIC_UnitCommand; 20000]
unitSearchSize: c_int
xUnitSearch: [BWAPI_unitFinder; 3400]
yUnitSearch: [BWAPI_unitFinder; 3400]
Trait Implementations
impl Clone for BWAPI_GameData
[src]
fn clone(&self) -> BWAPI_GameData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BWAPI_GameData
[src]
impl Default for BWAPI_GameData
[src]
Auto Trait Implementations
impl RefUnwindSafe for BWAPI_GameData
impl Send for BWAPI_GameData
impl Sync for BWAPI_GameData
impl Unpin for BWAPI_GameData
impl UnwindSafe for BWAPI_GameData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,