pub struct FactionFlags {
pub claimable: bool,
pub pvp_enabled: bool,
pub power_loss_in_territory: bool,
pub power_gain_in_territory: bool,
pub permanent: bool,
}Expand description
Fags that modify how a faction behaves and how the claimed terrain behaves.
Fields§
§claimable: boolYou can steal terrain from this faction.
pvp_enabled: boolPlayer attacks are enabled in claimed terrain.
power_loss_in_territory: boolYou lose power on death in claimed terrain.
power_gain_in_territory: boolYou can gain power in claimed terrain.
permanent: boolIf true, will not destroy the faction once all players leaved the faction.
Auto Trait Implementations§
impl Freeze for FactionFlags
impl RefUnwindSafe for FactionFlags
impl Send for FactionFlags
impl Sync for FactionFlags
impl Unpin for FactionFlags
impl UnwindSafe for FactionFlags
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