[−][src]Struct genie_rec::actions::UserPatchAICommand
Meta-command for UserPatch's new AI commands.
Fields
player_id: PlayerID
ai_action: u8
0: move to object 1: set unit ai state 2: ? 3: ? 4: stop unit group? 5: dropoff something? 6: dropoff something? 7: ? 8: set offensive target priority 9: reset offensive target priorities? 10: nothing? 11: stop unit group? 12: set gather point to garrison in self 13: set ai player name 14: unload object 15: nothing?
params: ArrayVec<[u32; 4]>
Implementations
impl UserPatchAICommand
[src]
pub fn read_from(input: impl Read, size: u32) -> Result<Self>
[src]
pub fn write_to<W: Write>(&self, output: &mut W) -> Result<()>
[src]
Trait Implementations
impl Clone for UserPatchAICommand
[src]
fn clone(&self) -> UserPatchAICommand
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UserPatchAICommand
[src]
impl Default for UserPatchAICommand
[src]
fn default() -> UserPatchAICommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserPatchAICommand
impl Send for UserPatchAICommand
impl Sync for UserPatchAICommand
impl Unpin for UserPatchAICommand
impl UnwindSafe for UserPatchAICommand
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>,