Block.cpp 283 B

12345678910111213
  1. #include "common/block/Block.h"
  2. Block::Block(u16 id, const HashedString& registry, const BlockBuilder& builder) : id(id), registry(registry) {
  3. (void) builder;
  4. }
  5. u16 Block::getId() const {
  6. return id;
  7. }
  8. const HashedString& Block::getRegistry() const {
  9. return registry;
  10. }