[−][src]Struct sc2_proto::sc2api::PlayerCommon
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl PlayerCommon
[src]
[−]
impl PlayerCommon
pub fn new() -> PlayerCommon
[src]
pub fn new() -> PlayerCommon
pub fn clear_player_id(&mut self)
[src]
pub fn clear_player_id(&mut self)
pub fn has_player_id(&self) -> bool
[src]
pub fn has_player_id(&self) -> bool
pub fn set_player_id(&mut self, v: u32)
[src]
pub fn set_player_id(&mut self, v: u32)
pub fn get_player_id(&self) -> u32
[src]
pub fn get_player_id(&self) -> u32
pub fn clear_minerals(&mut self)
[src]
pub fn clear_minerals(&mut self)
pub fn has_minerals(&self) -> bool
[src]
pub fn has_minerals(&self) -> bool
pub fn set_minerals(&mut self, v: u32)
[src]
pub fn set_minerals(&mut self, v: u32)
pub fn get_minerals(&self) -> u32
[src]
pub fn get_minerals(&self) -> u32
pub fn clear_vespene(&mut self)
[src]
pub fn clear_vespene(&mut self)
pub fn has_vespene(&self) -> bool
[src]
pub fn has_vespene(&self) -> bool
pub fn set_vespene(&mut self, v: u32)
[src]
pub fn set_vespene(&mut self, v: u32)
pub fn get_vespene(&self) -> u32
[src]
pub fn get_vespene(&self) -> u32
pub fn clear_food_cap(&mut self)
[src]
pub fn clear_food_cap(&mut self)
pub fn has_food_cap(&self) -> bool
[src]
pub fn has_food_cap(&self) -> bool
pub fn set_food_cap(&mut self, v: u32)
[src]
pub fn set_food_cap(&mut self, v: u32)
pub fn get_food_cap(&self) -> u32
[src]
pub fn get_food_cap(&self) -> u32
pub fn clear_food_used(&mut self)
[src]
pub fn clear_food_used(&mut self)
pub fn has_food_used(&self) -> bool
[src]
pub fn has_food_used(&self) -> bool
pub fn set_food_used(&mut self, v: u32)
[src]
pub fn set_food_used(&mut self, v: u32)
pub fn get_food_used(&self) -> u32
[src]
pub fn get_food_used(&self) -> u32
pub fn clear_food_army(&mut self)
[src]
pub fn clear_food_army(&mut self)
pub fn has_food_army(&self) -> bool
[src]
pub fn has_food_army(&self) -> bool
pub fn set_food_army(&mut self, v: u32)
[src]
pub fn set_food_army(&mut self, v: u32)
pub fn get_food_army(&self) -> u32
[src]
pub fn get_food_army(&self) -> u32
pub fn clear_food_workers(&mut self)
[src]
pub fn clear_food_workers(&mut self)
pub fn has_food_workers(&self) -> bool
[src]
pub fn has_food_workers(&self) -> bool
pub fn set_food_workers(&mut self, v: u32)
[src]
pub fn set_food_workers(&mut self, v: u32)
pub fn get_food_workers(&self) -> u32
[src]
pub fn get_food_workers(&self) -> u32
pub fn clear_idle_worker_count(&mut self)
[src]
pub fn clear_idle_worker_count(&mut self)
pub fn has_idle_worker_count(&self) -> bool
[src]
pub fn has_idle_worker_count(&self) -> bool
pub fn set_idle_worker_count(&mut self, v: u32)
[src]
pub fn set_idle_worker_count(&mut self, v: u32)
pub fn get_idle_worker_count(&self) -> u32
[src]
pub fn get_idle_worker_count(&self) -> u32
pub fn clear_army_count(&mut self)
[src]
pub fn clear_army_count(&mut self)
pub fn has_army_count(&self) -> bool
[src]
pub fn has_army_count(&self) -> bool
pub fn set_army_count(&mut self, v: u32)
[src]
pub fn set_army_count(&mut self, v: u32)
pub fn get_army_count(&self) -> u32
[src]
pub fn get_army_count(&self) -> u32
pub fn clear_warp_gate_count(&mut self)
[src]
pub fn clear_warp_gate_count(&mut self)
pub fn has_warp_gate_count(&self) -> bool
[src]
pub fn has_warp_gate_count(&self) -> bool
pub fn set_warp_gate_count(&mut self, v: u32)
[src]
pub fn set_warp_gate_count(&mut self, v: u32)
pub fn get_warp_gate_count(&self) -> u32
[src]
pub fn get_warp_gate_count(&self) -> u32
pub fn clear_larva_count(&mut self)
[src]
pub fn clear_larva_count(&mut self)
pub fn has_larva_count(&self) -> bool
[src]
pub fn has_larva_count(&self) -> bool
pub fn set_larva_count(&mut self, v: u32)
[src]
pub fn set_larva_count(&mut self, v: u32)
pub fn get_larva_count(&self) -> u32
[src]
pub fn get_larva_count(&self) -> u32
Trait Implementations
impl Default for PlayerCommon
[src]
[+]
impl Default for PlayerCommon
impl PartialEq<PlayerCommon> for PlayerCommon
[src]
[+]
impl PartialEq<PlayerCommon> for PlayerCommon
impl Clone for PlayerCommon
[src]
[+]
impl Clone for PlayerCommon
impl Debug for PlayerCommon
[src]
[+]
impl Debug for PlayerCommon
impl Message for PlayerCommon
[src]
[+]
impl Message for PlayerCommon
impl Clear for PlayerCommon
[src]
[+]
impl Clear for PlayerCommon
impl ProtobufValue for PlayerCommon
[src]
[+]
impl ProtobufValue for PlayerCommon
Auto Trait Implementations
impl Send for PlayerCommon
impl Send for PlayerCommon
impl Sync for PlayerCommon
impl Sync for PlayerCommon
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
[−]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
[−]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
[−]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
[−]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
[−]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
[−]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
[−]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
[−]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
[−]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
[−]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
[−]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
[−]
fn borrow_mut(&mut self) -> &mut T