BlockTypes.h 237 B

1234567891011
  1. #ifndef BLOCKTYPES_H
  2. #define BLOCKTYPES_H
  3. #include "gaming-core/utils/StringBuffer.h"
  4. typedef StringBuffer<32> BlockName;
  5. typedef unsigned short BlockId;
  6. static_assert(sizeof(BlockId) == 2, "size of block id must be 2 bytes");
  7. #endif