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