diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/message.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h index 0051e03..0380b3e 100644 --- a/common/message.h +++ b/common/message.h @@ -166,6 +166,15 @@ namespace Message { //! Discarded tiles. Tiles pond; + //! Riichi declared? + bool riichi; + + //! Player's score + int score; + + //! Seat wind. + int wind; + template<class Archive> void serialize(Archive & ar, const unsigned int v) { ar & hand; @@ -195,6 +204,18 @@ namespace Message { //! Current player, relative to client. 0 = self, 1 = shimocha and so on. int current_player; + //! Round (prevalent) wind. + int round_wind; + + //! Round number (of this wind). + int round_number; + + //! Count of riichi sticks on table (current and leftovers). + int riichibou; + + //! Count of honba sticks on table (indicating renchan). + int honba; + template<class Archive> void serialize(Archive & ar, const unsigned int v) { ar & players; |