#[repr(C)]pub struct SSetMyIncomeMultiplierCheatCommand {
pub factor: f32,
}
Expand description
Allows one to give an income (dis-)advantage to the team controlled by the Skirmish AI. This value can also be set through the GameSetup script, with the difference that it causes an instant desync when set here.
Fields§
§factor: f32
default: 1.0; common: [0.0, 2.0]; valid: [0.0, FLOAT_MAX]
Trait Implementations§
Source§impl Clone for SSetMyIncomeMultiplierCheatCommand
impl Clone for SSetMyIncomeMultiplierCheatCommand
Source§fn clone(&self) -> SSetMyIncomeMultiplierCheatCommand
fn clone(&self) -> SSetMyIncomeMultiplierCheatCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SSetMyIncomeMultiplierCheatCommand
Auto Trait Implementations§
impl Freeze for SSetMyIncomeMultiplierCheatCommand
impl RefUnwindSafe for SSetMyIncomeMultiplierCheatCommand
impl Send for SSetMyIncomeMultiplierCheatCommand
impl Sync for SSetMyIncomeMultiplierCheatCommand
impl Unpin for SSetMyIncomeMultiplierCheatCommand
impl UnwindSafe for SSetMyIncomeMultiplierCheatCommand
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