diff options
Diffstat (limited to 'common/message.h')
| -rw-r--r-- | common/message.h | 34 | 
1 files changed, 34 insertions, 0 deletions
| diff --git a/common/message.h b/common/message.h index 6b2744d..26deb32 100644 --- a/common/message.h +++ b/common/message.h @@ -13,6 +13,8 @@ using boost::dynamic_pointer_cast;  #include <vector>  #include <string> +#include "state.h" +  namespace Message {  	namespace Types {  		//! Message types. @@ -124,6 +126,38 @@ namespace Message {  			Ready();  	}; +	class RoundStart : public NullBase { +		public: +			typedef boost::shared_ptr<RoundStart> p; +			 +			RoundStart(); +	}; +	 +	class RoundState : public BoostBase { +		public: +			typedef boost::shared_ptr<RoundState> p; +			 +			RoundState(); +			RoundState(State::p state_); +			 +			State::p state; +			 +			virtual void serialize(boost::archive::text_oarchive& ar); +			virtual void deserialize(boost::archive::text_iarchive& ar); +	}; +	 +	class RoundAction : public BoostBase { +		public: +			typedef boost::shared_ptr<RoundAction> p; +			 +			RoundAction(); +			 +			Action action; +			 +			virtual void serialize(boost::archive::text_oarchive& ar); +			virtual void deserialize(boost::archive::text_iarchive& ar); +	}; +	  	typedef boost::shared_ptr<Base> p;  }; | 
