Module veloren_common::comp::inventory::item
source · Re-exports§
pub use modular::MaterialStatManifest;
pub use modular::ModularBase;
pub use modular::ModularComponent;
pub use tool::AbilityMap;
pub use tool::AbilitySet;
pub use tool::AbilitySpec;
pub use tool::Hands;
pub use tool::Tool;
pub use tool::ToolKind;
Modules§
Structs§
- Newtype around
Item
used for frontend events to prevent it accidentally being used for anything other than frontend events - NOTE: Do not call
Item::clone
without consulting the core devs! It only exists due to being required for message serialization at the moment, and should not be used for any other purpose. - To be used with ItemDesc::i18n
- An iterator over the variants of Material
Enums§
Traits§
- Provides common methods providing details about an item definition for either an
Item
containing the definition, or the actualItemDef
Functions§
- Returns all item asset specifiers
- Designed to return all possible items, including modulars. And some impossible too, like ItemKind::TagExamples.
- Returns all item asset specifiers
Type Aliases§
- I18nId 🔒