forked from hannibal002/SkyHanni
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backend: Migrate to skyhanni events #1
- Loading branch information
Showing
126 changed files
with
256 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/ActionBarUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/ActionBarValueUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.data.ActionBarStatsData | ||
|
||
class ActionBarValueUpdateEvent(val updated: ActionBarStatsData) : LorenzEvent() | ||
class ActionBarValueUpdateEvent(val updated: ActionBarStatsData) : SkyHanniEvent() |
4 changes: 2 additions & 2 deletions
4
src/main/java/at/hannibal2/skyhanni/events/BazaarOpenedProductEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.utils.NEUInternalName | ||
|
||
class BazaarOpenedProductEvent(val openedProduct: NEUInternalName?, val inventoryOpenEvent: InventoryFullyOpenedEvent) : | ||
LorenzEvent() | ||
class BazaarOpenedProductEvent(val openedProduct: NEUInternalName?, val inventoryOpenEvent: InventoryFullyOpenedEvent) : SkyHanniEvent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/BossHealthChangeEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.combat.damageindicator.EntityData | ||
|
||
class BossHealthChangeEvent(val entityData: EntityData, val lastHealth: Long, val health: Long, val maxHealth: Long) : LorenzEvent() | ||
class BossHealthChangeEvent(val entityData: EntityData, val lastHealth: Long, val health: Long, val maxHealth: Long) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/BossbarUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class BossbarUpdateEvent(val bossbar: String) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class BossbarUpdateEvent(val bossbar: String) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/BurrowDetectEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.event.diana.BurrowType | ||
import at.hannibal2.skyhanni.utils.LorenzVec | ||
|
||
class BurrowDetectEvent(val burrowLocation: LorenzVec, val type: BurrowType) : LorenzEvent() | ||
class BurrowDetectEvent(val burrowLocation: LorenzVec, val type: BurrowType) : SkyHanniEvent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.utils.LorenzVec | ||
|
||
class BurrowDugEvent(val burrowLocation: LorenzVec) : LorenzEvent() | ||
class BurrowDugEvent(val burrowLocation: LorenzVec) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/BurrowGuessEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.utils.LorenzVec | ||
|
||
class BurrowGuessEvent(val guessLocation: LorenzVec) : LorenzEvent() | ||
class BurrowGuessEvent(val guessLocation: LorenzVec) : SkyHanniEvent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class ColdUpdateEvent(val cold: Int) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class ColdUpdateEvent(val cold: Int) : SkyHanniEvent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/DamageIndicatorDeathEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.combat.damageindicator.EntityData | ||
import net.minecraft.entity.EntityLivingBase | ||
|
||
class DamageIndicatorDeathEvent(val entity: EntityLivingBase, val data: EntityData) : LorenzEvent() | ||
class DamageIndicatorDeathEvent(val entity: EntityLivingBase, val data: EntityData) : SkyHanniEvent() | ||
|
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/DamageIndicatorDetectedEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import at.hannibal2.skyhanni.features.combat.damageindicator.EntityData | ||
|
||
class DamageIndicatorDetectedEvent(val entityData: EntityData) : LorenzEvent() | ||
class DamageIndicatorDetectedEvent(val entityData: EntityData) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/DamageIndicatorFinalBossEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class DamageIndicatorFinalBossEvent(val id: Int) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class DamageIndicatorFinalBossEvent(val id: Int) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/DrawScreenAfterEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo | ||
|
||
class DrawScreenAfterEvent(val mouseX: Int, val mouseY: Int, val ci: CallbackInfo) : LorenzEvent() | ||
class DrawScreenAfterEvent(val mouseX: Int, val mouseY: Int, val ci: CallbackInfo) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/DungeonCompleteEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
class DungeonCompleteEvent(val floor: String) : LorenzEvent() | ||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
class DungeonCompleteEvent(val floor: String) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/DungeonEnterEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
@Suppress("UnusedPrivateProperty") | ||
class DungeonEnterEvent(dungeonFloor: String) : LorenzEvent() | ||
class DungeonEnterEvent(dungeonFloor: String) : SkyHanniEvent() |
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/DungeonStartEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
|
||
@Suppress("UnusedPrivateProperty") | ||
class DungeonStartEvent(dungeonFloor: String) : LorenzEvent() | ||
class DungeonStartEvent(dungeonFloor: String) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/EntityHealthUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import net.minecraft.entity.EntityLivingBase | ||
|
||
class EntityHealthUpdateEvent(val entity: EntityLivingBase, val health: Int) : LorenzEvent() | ||
class EntityHealthUpdateEvent(val entity: EntityLivingBase, val health: Int) : SkyHanniEvent() |
3 changes: 2 additions & 1 deletion
3
src/main/java/at/hannibal2/skyhanni/events/EntityMaxHealthUpdateEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package at.hannibal2.skyhanni.events | ||
|
||
import at.hannibal2.skyhanni.api.event.SkyHanniEvent | ||
import net.minecraft.entity.EntityLivingBase | ||
|
||
class EntityMaxHealthUpdateEvent(val entity: EntityLivingBase, val maxHealth: Int) : LorenzEvent() | ||
class EntityMaxHealthUpdateEvent(val entity: EntityLivingBase, val maxHealth: Int) : SkyHanniEvent() |
Oops, something went wrong.