[−][src]Struct bwapi_wrapper::BWAPI_PlayerData
Fields
name: [c_char; 25]
race: c_int
type_: c_int
force: c_int
isAlly: [bool; 12]
isEnemy: [bool; 12]
isNeutral: bool
startLocationX: c_int
startLocationY: c_int
isVictorious: bool
isDefeated: bool
leftGame: bool
isParticipating: bool
minerals: c_int
gas: c_int
gatheredMinerals: c_int
gatheredGas: c_int
repairedMinerals: c_int
repairedGas: c_int
refundedMinerals: c_int
refundedGas: c_int
supplyTotal: [c_int; 3]
supplyUsed: [c_int; 3]
allUnitCount: [c_int; 234]
visibleUnitCount: [c_int; 234]
completedUnitCount: [c_int; 234]
deadUnitCount: [c_int; 234]
killedUnitCount: [c_int; 234]
upgradeLevel: [c_int; 63]
hasResearched: [bool; 47]
isResearching: [bool; 47]
isUpgrading: [bool; 63]
color: c_int
totalUnitScore: c_int
totalKillScore: c_int
totalBuildingScore: c_int
totalRazingScore: c_int
customScore: c_int
maxUpgradeLevel: [c_int; 63]
isResearchAvailable: [bool; 47]
isUnitAvailable: [bool; 234]
Trait Implementations
impl Clone for BWAPI_PlayerData
[src]
fn clone(&self) -> BWAPI_PlayerData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BWAPI_PlayerData
[src]
impl Default for BWAPI_PlayerData
[src]
Auto Trait Implementations
impl RefUnwindSafe for BWAPI_PlayerData
impl Send for BWAPI_PlayerData
impl Sync for BWAPI_PlayerData
impl Unpin for BWAPI_PlayerData
impl UnwindSafe for BWAPI_PlayerData
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>,