git.delta.rocks / unique-network / refs/commits / 2ef3805aebca

difftreelog

source

primitives/rmrk-traits/src/lib.rs771 Bsourcehistory
1#![cfg_attr(not(feature = "std"), no_std)]23pub mod base;4pub mod collection;5pub mod nft;6pub mod part;7pub mod property;8pub mod resource;9pub mod theme;1011#[cfg(feature = "std")]12mod serialize;1314pub use base::BaseInfo;15pub use part::{EquippableList, FixedPart, PartType, SlotPart};16pub use theme::{Theme, ThemeProperty};17pub use collection::CollectionInfo;18pub use nft::{AccountIdOrCollectionNftTuple, NftInfo, RoyaltyInfo, NftChild};19pub use property::PropertyInfo;20pub use resource::{21	BasicResource, ComposableResource, ResourceInfo, ResourceTypes, SlotResource,22};23pub mod primitives {24	pub type CollectionId = u32;25	pub type ResourceId = u32;26	pub type NftId = u32;27	pub type BaseId = u32;28	pub type SlotId = u32;29	pub type PartId = u32;30	pub type ZIndex = u32;31}