[−][src]Struct genie_rec::actions::BuildCommand
Place a building foundation and task a group of villagers to start building.
Fields
player_id: PlayerID
The ID of the player issuing this command.
unit_type_id: UnitTypeID
The type of building to place.
location: Location2
The location of the new building foundation.
frame: u8
The index of the frame to use, for buildings with multiple graphics like houses.
builders: ObjectsList
The IDs of the villagers that are tasked to build this building.
Implementations
impl BuildCommand
[src]
Trait Implementations
impl Clone for BuildCommand
[src]
fn clone(&self) -> BuildCommand
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BuildCommand
[src]
impl Default for BuildCommand
[src]
fn default() -> BuildCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildCommand
impl Send for BuildCommand
impl Sync for BuildCommand
impl Unpin for BuildCommand
impl UnwindSafe for BuildCommand
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>,