summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/message.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h
index 4f1026e..cbb46a4 100644
--- a/common/message.h
+++ b/common/message.h
@@ -25,6 +25,7 @@ namespace Message {
LobbyStatus,
LobbyAction,
GameStart,
+ GameResume,
Ready,
RoundStart,
RoundState,
@@ -144,6 +145,20 @@ namespace Message {
}
};
+ class GameResume : public Base {
+ public:
+ typedef boost::shared_ptr<GameResume> p;
+
+ GameResume() : Base(Types::GameResume) {}
+
+ std::vector<std::string> players;
+
+ template<class Archive>
+ void serialize(Archive & ar, const unsigned int v) {
+ ar & players;
+ }
+ };
+
class Ready : public Base {
public:
typedef boost::shared_ptr<Ready> p;