git.delta.rocks / unique-network / refs/commits / 6fb759d0245c

difftreelog

source

primitives/rmrk-traits/src/lib.rs947 Bsourcehistory
1// Copyright (C) 2021-2022 RMRK2// This file is part of rmrk-substrate.3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE45#![cfg_attr(not(feature = "std"), no_std)]67pub mod base;8pub mod collection;9pub mod nft;10pub mod part;11pub mod property;12pub mod resource;13pub mod theme;1415#[cfg(feature = "std")]16mod serialize;1718pub use base::BaseInfo;19pub use part::{EquippableList, FixedPart, PartType, SlotPart};20pub use theme::{Theme, ThemeProperty};21pub use collection::CollectionInfo;22pub use nft::{AccountIdOrCollectionNftTuple, NftInfo, RoyaltyInfo, NftChild};23pub use property::PropertyInfo;24pub use resource::{BasicResource, ComposableResource, ResourceInfo, ResourceTypes, SlotResource};25pub mod primitives {26	pub type CollectionId = u32;27	pub type ResourceId = u32;28	pub type NftId = u32;29	pub type BaseId = u32;30	pub type SlotId = u32;31	pub type PartId = u32;32	pub type ZIndex = u32;33}