diff options
author | David Cole <40234707+DavidArthurCole@users.noreply.github.com> | 2024-08-25 20:42:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 02:42:33 +0200 |
commit | 290676ba3954d653bc1cbc0630d2cde90a3249f4 (patch) | |
tree | aad9f4d117b5e1b3ebb50817c87b6ab7b63ec656 /src/main/java/at/hannibal2/skyhanni/events | |
parent | fe0770027bd09c22c3399ee3abf02c530ebc49ec (diff) | |
download | skyhanni-290676ba3954d653bc1cbc0630d2cde90a3249f4.tar.gz skyhanni-290676ba3954d653bc1cbc0630d2cde90a3249f4.tar.bz2 skyhanni-290676ba3954d653bc1cbc0630d2cde90a3249f4.zip |
Feature + Fix: Hoppity Event Summarization (#2311)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/hoppity/RabbitFoundEvent.kt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/hoppity/RabbitFoundEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/hoppity/RabbitFoundEvent.kt new file mode 100644 index 000000000..865f5a690 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/hoppity/RabbitFoundEvent.kt @@ -0,0 +1,14 @@ +package at.hannibal2.skyhanni.events.hoppity + +import at.hannibal2.skyhanni.api.event.SkyHanniEvent +import at.hannibal2.skyhanni.features.event.hoppity.HoppityEggType + +class RabbitFoundEvent( + val eggType: HoppityEggType, + val duplicate: Boolean, + val rabbitName: String, + val chocGained: Long = 0, +) : SkyHanniEvent() { + override fun toString(): String = + "§fType§7: ${eggType.coloredName}\n§fDuplicate§7: §b$duplicate\n§fRabbit§7: $rabbitName\n§fChoc Gained§7: §6$chocGained" +} |