#include "shared/item/block.hh" namespace shared { namespace item { item::type_t block::get_type(const enum shared::world::block::type& type) noexcept { return static_cast(type) + type_offset; } item::type_t block::get_type() const noexcept { return this->get_type(this->type); } } // namespace item } // namespace shared