C++ Pixels Library For Windows
Enable communications with Pixels dice using Bluetooth Low Energy.
Loading...
Searching...
No Matches
PixelTypes.h File Reference

Common types used across the Systemic::Pixel namespace. More...

#include <cstdint>
Include dependency graph for PixelTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Systemic::Pixels
 A collection of C++ classes and types to scan for and connect to Pixels dice.
 

Typedefs

using Systemic::Pixels::pixel_id_t = uint32_t
 Type for a Pixel Id.
 

Enumerations

enum class  Systemic::Pixels::PixelDesignAndColor : uint8_t {
  Unknown , Generic , V3Orange , V4BlackClear ,
  V4WhiteClear , V5Grey , V5White , V5Black ,
  V5Gold , OnyxBlack , HematiteGrey , MidnightGalaxy ,
  AuroraSky
}
 Available combinations of Pixel designs and colors.
 
enum class  Systemic::Pixels::PixelRollState : uint8_t {
  Systemic::Pixels::Unknown , Systemic::Pixels::OnFace , Systemic::Pixels::Handling , Systemic::Pixels::Rolling ,
  Systemic::Pixels::Crooked
}
 Pixel roll states. More...
 
enum class  Systemic::Pixels::PixelBatteryState : uint8_t {
  Systemic::Pixels::Ok , Systemic::Pixels::Low , Systemic::Pixels::Charging , Systemic::Pixels::Done ,
  Systemic::Pixels::BadCharging , Systemic::Pixels::Error
}
 The different possible battery charging states. More...
 
enum class  Systemic::Pixels::DieType {
  D20 , D12 , D10 , D8 ,
  D6 , D6Pipped , D6Fudge , D4
}
 The different types of dice.
 

Detailed Description

Common types used across the Systemic::Pixel namespace.