Struct sc2_proto::sc2api::PlayerCommon[][src]

pub struct PlayerCommon {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl PlayerCommon[src]

pub fn new() -> PlayerCommon[src]

pub fn get_player_id(&self) -> u32[src]

pub fn clear_player_id(&mut self)[src]

pub fn has_player_id(&self) -> bool[src]

pub fn set_player_id(&mut self, v: u32)[src]

pub fn get_minerals(&self) -> u32[src]

pub fn clear_minerals(&mut self)[src]

pub fn has_minerals(&self) -> bool[src]

pub fn set_minerals(&mut self, v: u32)[src]

pub fn get_vespene(&self) -> u32[src]

pub fn clear_vespene(&mut self)[src]

pub fn has_vespene(&self) -> bool[src]

pub fn set_vespene(&mut self, v: u32)[src]

pub fn get_food_cap(&self) -> u32[src]

pub fn clear_food_cap(&mut self)[src]

pub fn has_food_cap(&self) -> bool[src]

pub fn set_food_cap(&mut self, v: u32)[src]

pub fn get_food_used(&self) -> u32[src]

pub fn clear_food_used(&mut self)[src]

pub fn has_food_used(&self) -> bool[src]

pub fn set_food_used(&mut self, v: u32)[src]

pub fn get_food_army(&self) -> u32[src]

pub fn clear_food_army(&mut self)[src]

pub fn has_food_army(&self) -> bool[src]

pub fn set_food_army(&mut self, v: u32)[src]

pub fn get_food_workers(&self) -> u32[src]

pub fn clear_food_workers(&mut self)[src]

pub fn has_food_workers(&self) -> bool[src]

pub fn set_food_workers(&mut self, v: u32)[src]

pub fn get_idle_worker_count(&self) -> u32[src]

pub fn clear_idle_worker_count(&mut self)[src]

pub fn has_idle_worker_count(&self) -> bool[src]

pub fn set_idle_worker_count(&mut self, v: u32)[src]

pub fn get_army_count(&self) -> u32[src]

pub fn clear_army_count(&mut self)[src]

pub fn has_army_count(&self) -> bool[src]

pub fn set_army_count(&mut self, v: u32)[src]

pub fn get_warp_gate_count(&self) -> u32[src]

pub fn clear_warp_gate_count(&mut self)[src]

pub fn has_warp_gate_count(&self) -> bool[src]

pub fn set_warp_gate_count(&mut self, v: u32)[src]

pub fn get_larva_count(&self) -> u32[src]

pub fn clear_larva_count(&mut self)[src]

pub fn has_larva_count(&self) -> bool[src]

pub fn set_larva_count(&mut self, v: u32)[src]

Trait Implementations

impl Clear for PlayerCommon[src]

impl Clone for PlayerCommon[src]

impl Debug for PlayerCommon[src]

impl Default for PlayerCommon[src]

impl<'a> Default for &'a PlayerCommon[src]

impl Message for PlayerCommon[src]

impl PartialEq<PlayerCommon> for PlayerCommon[src]

impl ProtobufValue for PlayerCommon[src]

impl StructuralPartialEq for PlayerCommon[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.