-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backend: Use SkillAPI in SkillExpGainEvent (#1788)
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
67 additions
and
44 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
4 changes: 3 additions & 1 deletion
4
src/main/java/at/hannibal2/skyhanni/events/SkillExpGainEvent.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.features.skillprogress.SkillType | ||
|
||
// does not know how much exp is there, also gets called multiple times | ||
class SkillExpGainEvent(val skill: String) : LorenzEvent() | ||
class SkillExpGainEvent(val skill: SkillType, val gained: Double) : LorenzEvent() |