Block.h 292 B

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