[][src]Enum lf2_parse::OPointKind

pub enum OPointKind {
    Spawn,
    HoldLightWeapon,
}

Object spawning variants.

See https://lf-empire.de/lf2-empire/data-changing/frame-elements/178-opoint-object-point

Variants

Spawn

Spawns an object on the same team.

Note that when spawning type: 0 objects (characters), ID 5 (Rudolf) and ID 52 (Julian) are spawned with 10 HP, and all other IDs are spawned with 500 HP.

HoldLightWeapon

Object is spawned and held as a light weapon.

Ensure the spawned object has WPoint kind: 2 in its spawned frame.

Trait Implementations

impl Clone for OPointKind[src]

impl Copy for OPointKind[src]

impl Debug for OPointKind[src]

impl Default for OPointKind[src]

impl Eq for OPointKind[src]

impl FromStr for OPointKind[src]

type Err = OPointKindParseError

The associated error which can be returned from parsing.

impl PartialEq<OPointKind> for OPointKind[src]

impl StructuralEq for OPointKind[src]

impl StructuralPartialEq for OPointKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.