summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/message.cpp2
-rw-r--r--common/message.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/common/message.cpp b/common/message.cpp
index f3a4748..568ad9d 100644
--- a/common/message.cpp
+++ b/common/message.cpp
@@ -142,10 +142,12 @@ Message::RoundState::RoundState(State state_) : BoostBase(Types::RoundState), st
void Message::RoundState::serialize(boost::archive::text_oarchive& ar) {
ar & state;
+ ar & dora;
}
void Message::RoundState::deserialize(boost::archive::text_iarchive& ar) {
ar & state;
+ ar & dora;
}
Message::RoundAction::RoundAction() : BoostBase(Types::RoundAction) {
diff --git a/common/message.h b/common/message.h
index efcca2e..69135fe 100644
--- a/common/message.h
+++ b/common/message.h
@@ -14,6 +14,7 @@ using boost::dynamic_pointer_cast;
#include <string>
#include "state.h"
+#include "tile.h"
namespace Message {
namespace Types {
@@ -142,6 +143,7 @@ namespace Message {
RoundState(State state_);
State state;
+ Tiles dora;
virtual void serialize(boost::archive::text_oarchive& ar);
virtual void deserialize(boost::archive::text_iarchive& ar);