pub struct Common {
pub player_id: u32,
pub minerals: u32,
pub vespene: u32,
pub food_cap: u32,
pub food_used: u32,
pub food_army: u32,
pub food_workers: u32,
pub idle_worker_count: u32,
pub army_count: u32,
pub warp_gate_count: u32,
pub larva_count: u32,
}
Expand description
Common information of player.
Fields§
§player_id: u32
In-game player id.
minerals: u32
Amount of minerals bot currently has.
vespene: u32
Amount of vespene gas bot currently has.
food_cap: u32
Supply capacity.
food_used: u32
Supply used in total.
food_army: u32
Supply used by combat units.
food_workers: u32
Supply used by workers (workers count).
idle_worker_count: u32
The count of your idle workers.
army_count: u32
The count of your combat units.
warp_gate_count: u32
The count of your free warp gates.
larva_count: u32
The count of your larva.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Common
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnwindSafe for Common
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more