From 89c8bf8103b9429fbc7a1ea63612dac565872d43 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Thu, 20 Jun 2024 23:25:12 +0200 Subject: Backend: PlayerDeathEvent (#1544) Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/events/player/PlayerDeathEvent.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/at/hannibal2/skyhanni/events/player/PlayerDeathEvent.kt (limited to 'src/main/java/at/hannibal2/skyhanni/events/player') diff --git a/src/main/java/at/hannibal2/skyhanni/events/player/PlayerDeathEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/player/PlayerDeathEvent.kt new file mode 100644 index 000000000..fe9cac685 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/player/PlayerDeathEvent.kt @@ -0,0 +1,9 @@ +package at.hannibal2.skyhanni.events.player + +import at.hannibal2.skyhanni.events.LorenzChatEvent +import at.hannibal2.skyhanni.events.LorenzEvent + +/** + * When the player "you" dies in the game. does not fire when other players die. + */ +class PlayerDeathEvent(val name: String, val reason: String, val chatEvent: LorenzChatEvent) : LorenzEvent() -- cgit