VOX
A little voxel engine
Loading...
Searching...
No Matches
ItemInfo Class Reference

#include <Item.hpp>

Collaboration diagram for ItemInfo:
Collaboration graph

Public Types

enum class  Type : uint16_t {
  GrassBlock , DirtBlock , StoneBlock , WaterBlock ,
  GlassBlock , LightBlock , WoodBlock , LeavesBlock ,
  SandBlock , None
}
 

Public Attributes

enum ItemInfo::Type type = Type::None
 
const BlockInfo::Type block_id
 
uint64_t mesh_id = 0
 

Member Enumeration Documentation

◆ Type

enum class ItemInfo::Type : uint16_t
strong
Enumerator
GrassBlock 
DirtBlock 
StoneBlock 
WaterBlock 
GlassBlock 
LightBlock 
WoodBlock 
LeavesBlock 
SandBlock 
None 

Member Data Documentation

◆ block_id

const BlockInfo::Type ItemInfo::block_id

◆ mesh_id

uint64_t ItemInfo::mesh_id = 0

◆ type

enum ItemInfo::Type ItemInfo::type = Type::None

The documentation for this class was generated from the following file: