feat(network): add Message class with payload types

- Introduced `Message` class in `src/network` for handling game-related message payloads (e.g., `JOIN_GAME`, `START_GAME`, etc.).
- Added `Message.cpp` and `Message.h` to `CMakeLists.txt`.
This commit is contained in:
Kieran Kihn
2025-11-21 22:49:23 +08:00
parent 6393a5b311
commit 820358e0a3
3 changed files with 89 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ add_library(uno-game-lib
src/game/Player.cpp
src/game/GameState.cpp
src/common/Utils.cpp
src/network/Message.cpp
)
add_executable(uno-game src/main.cpp)