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§
Sourcefn ctor(
self,
unit_item: impl Into<UnitItem>,
unit: impl Into<Unit>,
label: impl Into<Il2CppString>,
count: impl Into<i32>,
)
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
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§
impl<__T: IItemGainSequence> IItemGainSequenceMethods for __T
Available on crate feature
app-itemgainsequence only.