Block.cpp 325 B

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