From fa00b957378a393f8edbfc98ef111d35d18ecb09 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 24 Sep 2023 13:40:25 +0200 Subject: initial commit --- src/Model/Event/TrainUnits.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/Model/Event/TrainUnits.php (limited to 'src/Model/Event/TrainUnits.php') diff --git a/src/Model/Event/TrainUnits.php b/src/Model/Event/TrainUnits.php new file mode 100644 index 0000000..0c7e0de --- /dev/null +++ b/src/Model/Event/TrainUnits.php @@ -0,0 +1,27 @@ +payload, true); + + DB::query( + << $payload['amount'], 'type' => $payload['type'], 'id' => $this->villageId] + ); + } +} -- cgit v1.2.3