Add: Message.print()

This commit is contained in:
itiB
2020-10-31 20:51:28 +09:00
parent 96e379cc52
commit 0f6d53582e

View File

@@ -39,6 +39,11 @@ impl Message {
.get(message_num)
.unwrap_or(self.map.get("undefined").unwrap())
}
/// MessageMaoのなかに入っているメッセージすべてを表示する
pub fn print(&self) {
println!("{:?}", self.map);
}
}
/// メッセージテキストを言語設定に合わせて返す