Block.h 294 B

123456789101112131415161718192021
  1. #ifndef BLOCK_H
  2. #define BLOCK_H
  3. #include <string>
  4. #include "common/utils/Types.h"
  5. class Block
  6. {
  7. public:
  8. Block(u16 id, const std::string& registry);
  9. u16 getId() const;
  10. const std::string& getRegistry() const;
  11. private:
  12. const u16 id;
  13. const std::string registry;
  14. };
  15. #endif