Skip to main content

IItemGainSequenceMethods

Trait IItemGainSequenceMethods 

Source
pub trait IItemGainSequenceMethods: IItemGainSequence {
    // Provided methods
    fn ctor(
        self,
        unit_item: impl Into<UnitItem>,
        unit: impl Into<Unit>,
        label: impl Into<Il2CppString>,
        count: impl Into<i32>,
    ) { ... }
    fn gain(self) { ... }
    fn branch(self) { ... }
    fn tutorial(self) { ... }
    fn is_player(self, unit: impl Into<Unit>) -> bool { ... }
}

Provided Methods§

Source

fn ctor( self, unit_item: impl Into<UnitItem>, unit: impl Into<Unit>, label: impl Into<Il2CppString>, count: impl Into<i32>, )

.ctor(crate::app::unititem::UnitItem, crate::app::unit::Unit, ::unity::Il2CppString, i32) overload

Source

fn gain(self)

Gain() overload

Source

fn branch(self)

Branch() overload

Source

fn tutorial(self)

Tutorial() overload

Source

fn is_player(self, unit: impl Into<Unit>) -> bool

IsPlayer(crate::app::unit::Unit) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IItemGainSequence> IItemGainSequenceMethods for __T

Available on crate feature app-itemgainsequence only.