[−][src]Struct reefast::dh::Effect
Dogma effect data.
Fields
id: ReeInt
Dogma effect ID.
category_id: ReeInt
Refers an effect category the effect belongs to.
is_assistance: bool
Defines if the effect is considered as an assistance.
is_offensive: bool
Defines if the effect is offensive or not.
is_warp_safe: bool
Defines if the effect can be used while in warp.
discharge_attr_id: Option<ReeInt>
Refers an attribute value which defines capacitor cost to run the effect.
duration_attr_id: Option<ReeInt>
Refers an attribute value which defines how long an effect cycle would take in milliseconds.
range_attr_id: Option<ReeInt>
Refers an attribute value which defines optimal range of the effect in meters.
falloff_attr_id: Option<ReeInt>
Refers an attribute value which defines falloff range of the effect in meters.
tracking_attr_id: Option<ReeInt>
Refers an attribute value which defines tracking speed of the effect.
usage_chance_attr_id: Option<ReeInt>
Refers an attribute value which defines chance of the effect to run when its parent item is fitted.
resist_attr_id: Option<ReeInt>
Refers an attribute value which defines resistance strength to the effect.
mods: Vec<EffectMod>
Modifiers of the effect.
Implementations
impl Effect
[src]
pub fn new(
id: ReeInt,
category_id: ReeInt,
is_assistance: bool,
is_offensive: bool,
is_warp_safe: bool,
discharge_attr_id: Option<ReeInt>,
duration_attr_id: Option<ReeInt>,
range_attr_id: Option<ReeInt>,
falloff_attr_id: Option<ReeInt>,
tracking_attr_id: Option<ReeInt>,
usage_chance_attr_id: Option<ReeInt>,
resist_attr_id: Option<ReeInt>,
mods: Vec<EffectMod>
) -> Effect
[src]
id: ReeInt,
category_id: ReeInt,
is_assistance: bool,
is_offensive: bool,
is_warp_safe: bool,
discharge_attr_id: Option<ReeInt>,
duration_attr_id: Option<ReeInt>,
range_attr_id: Option<ReeInt>,
falloff_attr_id: Option<ReeInt>,
tracking_attr_id: Option<ReeInt>,
usage_chance_attr_id: Option<ReeInt>,
resist_attr_id: Option<ReeInt>,
mods: Vec<EffectMod>
) -> Effect
Make a new dogma effect out of passed data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
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, 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>,