summaryrefslogtreecommitdiff
path: root/common/message.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-11-15 08:43:27 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-11-15 08:43:27 +0100
commit7e599c9e515556bf2122bd33f971ef37bbaffd07 (patch)
tree92bcf07118fa739c1cc2120ec912acdcda50c9ba /common/message.h
parentc6a83f89ea55ba2071611513ac85b64134ac8f7b (diff)
Added Game-class and GameStart message.
Diffstat (limited to 'common/message.h')
-rw-r--r--common/message.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h
index 56096ed..3587229 100644
--- a/common/message.h
+++ b/common/message.h
@@ -80,6 +80,16 @@ namespace Message {
virtual void deserialize(uint8_t* data, std::size_t bytes);
};
+ class GameStart : public Base {
+ public:
+ typedef boost::shared_ptr<LoginResponse> p;
+
+ GameStart();
+
+ virtual std::pair<uint8_t*, std::size_t> serialize();
+ virtual void deserialize(uint8_t* data, std::size_t bytes);
+ };
+
typedef boost::shared_ptr<Base> p;
};