From 2225ecff5a48c2db1690e256ac653984d63c4905 Mon Sep 17 00:00:00 2001 From: dofes <91889957+dofes@users.noreply.github.com> Date: Tue, 9 Jan 2024 22:09:52 +0800 Subject: [PATCH] feat: add Side and SignTextSide enum --- src/mc/enums/Side.h | 5 ++++- src/mc/enums/SignTextSide.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/mc/enums/Side.h b/src/mc/enums/Side.h index 71060b33c6..513a2c7372 100644 --- a/src/mc/enums/Side.h +++ b/src/mc/enums/Side.h @@ -2,4 +2,7 @@ #include "mc/_HeaderOutputPredefine.h" -enum class Side {}; +enum class Side : int { + Left = 0x0, + Right = 0x1, +}; diff --git a/src/mc/enums/SignTextSide.h b/src/mc/enums/SignTextSide.h index 6dc357019b..c0575195c0 100644 --- a/src/mc/enums/SignTextSide.h +++ b/src/mc/enums/SignTextSide.h @@ -2,4 +2,7 @@ #include "mc/_HeaderOutputPredefine.h" -enum class SignTextSide {}; +enum class SignTextSide : int { + Front = 0x0, + Back = 0x1, +};