pub trait IUnitInfoWeaponModelPoolMethods: IUnitInfoWeaponModelPool {
Show 14 methods
// Provided methods
fn get_and_load_weapon(
self,
unit: impl Into<Unit>,
equipped: impl Into<UnitItem>,
asset_type: impl Into<AssetType>,
) -> CharacterAsset { ... }
fn get_and_load_weapon_shop(
self,
equipped: impl Into<UnitItem>,
asset_type: impl Into<AssetType>,
) -> CharacterAsset { ... }
fn add_left(self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>) { ... }
fn add_right(self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>) { ... }
fn try_get_left(self, equipped: impl Into<UnitItem>) -> GameObject { ... }
fn try_get_right(self, equipped: impl Into<UnitItem>) -> GameObject { ... }
fn try_active_left(self, equipped: impl Into<UnitItem>) { ... }
fn try_active_right(self, equipped: impl Into<UnitItem>) { ... }
fn set_shop_weapon(self, equipped: impl Into<UnitItem>) { ... }
fn load_async(self, callback: impl Into<Action>) { ... }
fn wait_loaded(self) -> IEnumerator { ... }
fn is_loaded(self) -> bool { ... }
fn delete(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_and_load_weapon(
self,
unit: impl Into<Unit>,
equipped: impl Into<UnitItem>,
asset_type: impl Into<AssetType>,
) -> CharacterAsset
fn get_and_load_weapon( self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>, asset_type: impl Into<AssetType>, ) -> CharacterAsset
GetAndLoadWeapon(crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::combat::assettype::AssetType) overload
Sourcefn get_and_load_weapon_shop(
self,
equipped: impl Into<UnitItem>,
asset_type: impl Into<AssetType>,
) -> CharacterAsset
fn get_and_load_weapon_shop( self, equipped: impl Into<UnitItem>, asset_type: impl Into<AssetType>, ) -> CharacterAsset
GetAndLoadWeaponShop(crate::app::unititem::UnitItem, crate::combat::assettype::AssetType) overload
Sourcefn add_left(self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>)
fn add_left(self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>)
AddLeft(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcefn add_right(self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>)
fn add_right(self, unit: impl Into<Unit>, equipped: impl Into<UnitItem>)
AddRight(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcefn try_get_left(self, equipped: impl Into<UnitItem>) -> GameObject
fn try_get_left(self, equipped: impl Into<UnitItem>) -> GameObject
TryGetLeft(crate::app::unititem::UnitItem) overload
Sourcefn try_get_right(self, equipped: impl Into<UnitItem>) -> GameObject
fn try_get_right(self, equipped: impl Into<UnitItem>) -> GameObject
TryGetRight(crate::app::unititem::UnitItem) overload
Sourcefn try_active_left(self, equipped: impl Into<UnitItem>)
fn try_active_left(self, equipped: impl Into<UnitItem>)
TryActiveLeft(crate::app::unititem::UnitItem) overload
Sourcefn try_active_right(self, equipped: impl Into<UnitItem>)
fn try_active_right(self, equipped: impl Into<UnitItem>)
TryActiveRight(crate::app::unititem::UnitItem) overload
Sourcefn set_shop_weapon(self, equipped: impl Into<UnitItem>)
fn set_shop_weapon(self, equipped: impl Into<UnitItem>)
SetShopWeapon(crate::app::unititem::UnitItem) overload
Sourcefn load_async(self, callback: impl Into<Action>)
fn load_async(self, callback: impl Into<Action>)
LoadAsync(crate::system::action::Action) overload
Sourcefn wait_loaded(self) -> IEnumerator
fn wait_loaded(self) -> IEnumerator
WaitLoaded() 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: IUnitInfoWeaponModelPool> IUnitInfoWeaponModelPoolMethods for __T
app-unitinfoweaponmodelpool only.