forked from Grasscutters/Grasscutter
-
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.
- Loading branch information
1 parent
b01a29c
commit 63b6b80
Showing
13 changed files
with
4,396 additions
and
30 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
22 changes: 22 additions & 0 deletions
22
src/main/java/emu/grasscutter/game/dungeons/DungeonDrop.java
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package emu.grasscutter.game.dungeons; | ||
|
||
import java.util.List; | ||
|
||
public class DungeonDrop { | ||
private int dungeonId; | ||
private List<DungeonDropEntry> drops; | ||
|
||
public int getDungeonId() { | ||
return dungeonId; | ||
} | ||
public void setDungeonId(int dungeonId) { | ||
this.dungeonId = dungeonId; | ||
} | ||
|
||
public List<DungeonDropEntry> getDrops() { | ||
return drops; | ||
} | ||
public void setDrops(List<DungeonDropEntry> drops) { | ||
this.drops = drops; | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
src/main/java/emu/grasscutter/game/dungeons/DungeonDropEntry.java
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package emu.grasscutter.game.dungeons; | ||
|
||
import java.util.List; | ||
|
||
public class DungeonDropEntry { | ||
private List<Integer> counts; | ||
private List<Integer> items; | ||
private List<Integer> probabilities; | ||
private List<Integer> itemProbabilities; | ||
private boolean mpDouble; | ||
|
||
public List<Integer> getCounts() { | ||
return counts; | ||
} | ||
public void setCounts(List<Integer> counts) { | ||
this.counts = counts; | ||
} | ||
|
||
public List<Integer> getItems() { | ||
return items; | ||
} | ||
public void setItems(List<Integer> items) { | ||
this.items = items; | ||
} | ||
|
||
public List<Integer> getProbabilities() { | ||
return probabilities; | ||
} | ||
public void setProbabilities(List<Integer> probabilities) { | ||
this.probabilities = probabilities; | ||
} | ||
|
||
public List<Integer> getItemProbabilities() { | ||
return itemProbabilities; | ||
} | ||
public void setItemProbabilities(List<Integer> itemProbabilities) { | ||
this.itemProbabilities = itemProbabilities; | ||
} | ||
|
||
public boolean isMpDouble() { | ||
return mpDouble; | ||
} | ||
public void setMpDouble(boolean mpDouble) { | ||
this.mpDouble = mpDouble; | ||
} | ||
} |
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
Oops, something went wrong.