summaryrefslogtreecommitdiff
path: root/common/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/message.h')
-rw-r--r--common/message.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/common/message.h b/common/message.h
index cbb46a4..7cddbe3 100644
--- a/common/message.h
+++ b/common/message.h
@@ -244,20 +244,9 @@ namespace Message {
}
};
- struct Yaku {
- std::string name;
- int value;
-
- template<class Archive>
- void serialize(Archive & ar, const unsigned int v) {
- ar & name;
- ar & value;
- }
- };
-
RoundEnd() : Base(Types::RoundEnd) {}
Tiles hand;
- std::vector<Yaku> yakus;
+ std::vector<std::pair<std::string, int> > yakus;
int total_han;
int total_fu;
int won;