aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/ProfileSwitchEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/ProfileSwitchEvent.kt')
-rw-r--r--src/main/kotlin/events/ProfileSwitchEvent.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/events/ProfileSwitchEvent.kt b/src/main/kotlin/events/ProfileSwitchEvent.kt
new file mode 100644
index 0000000..683b7dd
--- /dev/null
+++ b/src/main/kotlin/events/ProfileSwitchEvent.kt
@@ -0,0 +1,7 @@
+package moe.nea.firmament.events
+
+import java.util.UUID
+
+data class ProfileSwitchEvent(val oldProfile: UUID?, val newProfile: UUID?) : FirmamentEvent() {
+ companion object : FirmamentEventBus<ProfileSwitchEvent>()
+}