aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events')
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/FirmamentCustomPayloadEvent.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/FirmamentCustomPayloadEvent.kt b/src/main/kotlin/moe/nea/firmament/events/FirmamentCustomPayloadEvent.kt
new file mode 100644
index 0000000..057fcef
--- /dev/null
+++ b/src/main/kotlin/moe/nea/firmament/events/FirmamentCustomPayloadEvent.kt
@@ -0,0 +1,15 @@
+/*
+ * SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+package moe.nea.firmament.events
+
+import moe.nea.firmament.apis.ingame.FirmamentCustomPayload
+
+data class FirmamentCustomPayloadEvent(
+ val payload: FirmamentCustomPayload
+) : FirmamentEvent() {
+ companion object : FirmamentEventBus<FirmamentCustomPayloadEvent>()
+}