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
156102a
commit 8484a53
Showing
2 changed files
with
55 additions
and
0 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
50 changes: 50 additions & 0 deletions
50
src/main/java/emu/grasscutter/data/excels/CookRecipeData.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,50 @@ | ||
package emu.grasscutter.data.excels; | ||
|
||
import java.util.List; | ||
|
||
import emu.grasscutter.data.GameResource; | ||
import emu.grasscutter.data.ResourceType; | ||
import emu.grasscutter.data.ResourceType.LoadPriority; | ||
import emu.grasscutter.data.common.ItemParamData; | ||
import emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam; | ||
|
||
@ResourceType(name = {"CookRecipeExcelConfigData.json"}, loadPriority = LoadPriority.LOW) | ||
public class CookRecipeData extends GameResource { | ||
private int id; | ||
|
||
private int rankLevel; | ||
private boolean isDefaultUnlocked; | ||
private int maxProficiency; | ||
|
||
private List<ItemParamData> qualityOutputVec; | ||
private List<ItemParamData> inputVec; | ||
|
||
@Override | ||
public int getId() { | ||
return this.id; | ||
} | ||
|
||
public int getRankLevel() { | ||
return this.rankLevel; | ||
} | ||
|
||
public boolean isDefaultUnlocked() { | ||
return this.isDefaultUnlocked; | ||
} | ||
|
||
public int getMaxProficiency() { | ||
return this.maxProficiency; | ||
} | ||
|
||
public List<ItemParamData> getQualityOutputVec() { | ||
return this.qualityOutputVec; | ||
} | ||
|
||
public List<ItemParamData> getInputVec() { | ||
return this.inputVec; | ||
} | ||
|
||
@Override | ||
public void onLoad() { | ||
} | ||
} |