Commit a23b29b6 authored by Melledy's avatar Melledy
Browse files

Rename excel classes

parent f1398182
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
...@@ -8,22 +8,21 @@ import emu.grasscutter.game.props.SceneType; ...@@ -8,22 +8,21 @@ import emu.grasscutter.game.props.SceneType;
@ResourceType(name = "SceneExcelConfigData.json") @ResourceType(name = "SceneExcelConfigData.json")
public class SceneData extends GameResource { public class SceneData extends GameResource {
private int Id; private int id;
private SceneType Type; private SceneType type;
private String ScriptData; private String scriptData;
@Override @Override
public int getId() { public int getId() {
return this.Id; return this.id;
} }
public SceneType getSceneType() { public SceneType getSceneType() {
return Type; return type;
} }
public String getScriptData() { public String getScriptData() {
return ScriptData; return scriptData;
} }
@Override @Override
......
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType; import emu.grasscutter.data.ResourceType;
...@@ -9,34 +9,34 @@ import java.util.List; ...@@ -9,34 +9,34 @@ import java.util.List;
@ResourceType(name = "ShopGoodsExcelConfigData.json") @ResourceType(name = "ShopGoodsExcelConfigData.json")
public class ShopGoodsData extends GameResource { public class ShopGoodsData extends GameResource {
private int GoodsId; private int goodsId;
private int ShopType; private int shopType;
private int ItemId; private int itemId;
private int ItemCount; private int itemCount;
private int CostScoin; private int costScoin;
private int CostHcoin; private int costHcoin;
private int CostMcoin; private int costMcoin;
private List<ItemParamData> CostItems; private List<ItemParamData> costItems;
private int MinPlayerLevel; private int minPlayerLevel;
private int MaxPlayerLevel; private int maxPlayerLevel;
private int BuyLimit; private int buyLimit;
private int SubTabId; private int subTabId;
private String RefreshType; private String refreshType;
private transient ShopInfo.ShopRefreshType RefreshTypeEnum; private transient ShopInfo.ShopRefreshType refreshTypeEnum;
private int RefreshParam; private int refreshParam;
@Override @Override
public void onLoad() { public void onLoad() {
if (this.RefreshType == null) if (this.refreshType == null)
this.RefreshTypeEnum = ShopInfo.ShopRefreshType.NONE; this.refreshTypeEnum = ShopInfo.ShopRefreshType.NONE;
else { else {
this.RefreshTypeEnum = switch (this.RefreshType) { this.refreshTypeEnum = switch (this.refreshType) {
case "SHOP_REFRESH_DAILY" -> ShopInfo.ShopRefreshType.SHOP_REFRESH_DAILY; case "SHOP_REFRESH_DAILY" -> ShopInfo.ShopRefreshType.SHOP_REFRESH_DAILY;
case "SHOP_REFRESH_WEEKLY" -> ShopInfo.ShopRefreshType.SHOP_REFRESH_WEEKLY; case "SHOP_REFRESH_WEEKLY" -> ShopInfo.ShopRefreshType.SHOP_REFRESH_WEEKLY;
case "SHOP_REFRESH_MONTHLY" -> ShopInfo.ShopRefreshType.SHOP_REFRESH_MONTHLY; case "SHOP_REFRESH_MONTHLY" -> ShopInfo.ShopRefreshType.SHOP_REFRESH_MONTHLY;
...@@ -51,58 +51,58 @@ public class ShopGoodsData extends GameResource { ...@@ -51,58 +51,58 @@ public class ShopGoodsData extends GameResource {
} }
public int getGoodsId() { public int getGoodsId() {
return GoodsId; return goodsId;
} }
public int getShopType() { public int getShopType() {
return ShopType; return shopType;
} }
public int getItemId() { public int getItemId() {
return ItemId; return itemId;
} }
public int getItemCount() { public int getItemCount() {
return ItemCount; return itemCount;
} }
public int getCostScoin() { public int getCostScoin() {
return CostScoin; return costScoin;
} }
public int getCostHcoin() { public int getCostHcoin() {
return CostHcoin; return costHcoin;
} }
public int getCostMcoin() { public int getCostMcoin() {
return CostMcoin; return costMcoin;
} }
public List<ItemParamData> getCostItems() { public List<ItemParamData> getCostItems() {
return CostItems; return costItems;
} }
public int getMinPlayerLevel() { public int getMinPlayerLevel() {
return MinPlayerLevel; return minPlayerLevel;
} }
public int getMaxPlayerLevel() { public int getMaxPlayerLevel() {
return MaxPlayerLevel; return maxPlayerLevel;
} }
public int getBuyLimit() { public int getBuyLimit() {
return BuyLimit; return buyLimit;
} }
public int getSubTabId() { public int getSubTabId() {
return SubTabId; return subTabId;
} }
public ShopInfo.ShopRefreshType getRefreshType() { public ShopInfo.ShopRefreshType getRefreshType() {
return RefreshTypeEnum; return refreshTypeEnum;
} }
public int getRefreshParam() { public int getRefreshParam() {
return RefreshParam; return refreshParam;
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType; import emu.grasscutter.data.ResourceType;
...@@ -6,16 +6,16 @@ import emu.grasscutter.data.ResourceType; ...@@ -6,16 +6,16 @@ import emu.grasscutter.data.ResourceType;
@ResourceType(name = "TowerFloorExcelConfigData.json") @ResourceType(name = "TowerFloorExcelConfigData.json")
public class TowerFloorData extends GameResource { public class TowerFloorData extends GameResource {
private int FloorId; private int floorId;
private int FloorIndex; private int floorIndex;
private int LevelId; private int levelId;
private int OverrideMonsterLevel; private int overrideMonsterLevel;
private int TeamNum; private int teamNum;
private int FloorLevelConfigId; private int floorLevelConfigId;
@Override @Override
public int getId() { public int getId() {
return this.FloorId; return this.floorId;
} }
@Override @Override
...@@ -24,50 +24,26 @@ public class TowerFloorData extends GameResource { ...@@ -24,50 +24,26 @@ public class TowerFloorData extends GameResource {
} }
public int getFloorId() { public int getFloorId() {
return FloorId; return floorId;
}
public void setFloorId(int floorId) {
FloorId = floorId;
} }
public int getFloorIndex() { public int getFloorIndex() {
return FloorIndex; return floorIndex;
}
public void setFloorIndex(int floorIndex) {
FloorIndex = floorIndex;
} }
public int getLevelId() { public int getLevelId() {
return LevelId; return levelId;
}
public void setLevelId(int levelId) {
LevelId = levelId;
} }
public int getOverrideMonsterLevel() { public int getOverrideMonsterLevel() {
return OverrideMonsterLevel; return overrideMonsterLevel;
}
public void setOverrideMonsterLevel(int overrideMonsterLevel) {
OverrideMonsterLevel = overrideMonsterLevel;
} }
public int getTeamNum() { public int getTeamNum() {
return TeamNum; return teamNum;
}
public void setTeamNum(int teamNum) {
TeamNum = teamNum;
} }
public int getFloorLevelConfigId() { public int getFloorLevelConfigId() {
return FloorLevelConfigId; return floorLevelConfigId;
}
public void setFloorLevelConfigId(int floorLevelConfigId) {
FloorLevelConfigId = floorLevelConfigId;
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType; import emu.grasscutter.data.ResourceType;
...@@ -6,50 +6,24 @@ import emu.grasscutter.data.ResourceType; ...@@ -6,50 +6,24 @@ import emu.grasscutter.data.ResourceType;
@ResourceType(name = "TowerLevelExcelConfigData.json") @ResourceType(name = "TowerLevelExcelConfigData.json")
public class TowerLevelData extends GameResource { public class TowerLevelData extends GameResource {
private int ID; private int levelId;
private int LevelId; private int levelIndex;
private int LevelIndex; private int dungeonId;
private int DungeonId;
@Override @Override
public int getId() { public int getId() {
return this.ID; return this.getLevelId();
}
@Override
public void onLoad() {
super.onLoad();
}
public int getID() {
return ID;
}
public void setID(int ID) {
this.ID = ID;
} }
public int getLevelId() { public int getLevelId() {
return LevelId; return levelId;
}
public void setLevelId(int levelId) {
LevelId = levelId;
} }
public int getLevelIndex() { public int getLevelIndex() {
return LevelIndex; return levelIndex;
}
public void setLevelIndex(int levelIndex) {
LevelIndex = levelIndex;
} }
public int getDungeonId() { public int getDungeonId() {
return DungeonId; return dungeonId;
}
public void setDungeonId(int dungeonId) {
DungeonId = dungeonId;
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType; import emu.grasscutter.data.ResourceType;
...@@ -7,64 +7,45 @@ import java.util.List; ...@@ -7,64 +7,45 @@ import java.util.List;
@ResourceType(name = "TowerScheduleExcelConfigData.json") @ResourceType(name = "TowerScheduleExcelConfigData.json")
public class TowerScheduleData extends GameResource { public class TowerScheduleData extends GameResource {
private int ScheduleId; private int scheduleId;
private List<Integer> EntranceFloorId; private List<Integer> entranceFloorId;
private List<ScheduleDetail> Schedules; private List<ScheduleDetail> schedules;
private int MonthlyLevelConfigId; private int monthlyLevelConfigId;
@Override @Override
public int getId() { public int getId() {
return ScheduleId; return scheduleId;
} }
@Override @Override
public void onLoad() { public void onLoad() {
super.onLoad(); super.onLoad();
this.Schedules = this.Schedules.stream() this.schedules = this.schedules.stream()
.filter(item -> item.getFloorList().size() > 0) .filter(item -> item.getFloorList().size() > 0)
.toList(); .toList();
} }
public int getScheduleId() { public int getScheduleId() {
return ScheduleId; return scheduleId;
}
public void setScheduleId(int scheduleId) {
ScheduleId = scheduleId;
} }
public List<Integer> getEntranceFloorId() { public List<Integer> getEntranceFloorId() {
return EntranceFloorId; return entranceFloorId;
}
public void setEntranceFloorId(List<Integer> entranceFloorId) {
EntranceFloorId = entranceFloorId;
} }
public List<ScheduleDetail> getSchedules() { public List<ScheduleDetail> getSchedules() {
return Schedules; return schedules;
}
public void setSchedules(List<ScheduleDetail> schedules) {
Schedules = schedules;
} }
public int getMonthlyLevelConfigId() { public int getMonthlyLevelConfigId() {
return MonthlyLevelConfigId; return monthlyLevelConfigId;
}
public void setMonthlyLevelConfigId(int monthlyLevelConfigId) {
MonthlyLevelConfigId = monthlyLevelConfigId;
} }
public static class ScheduleDetail{ public static class ScheduleDetail{
private List<Integer> FloorList; private List<Integer> floorList;
public List<Integer> getFloorList() { public List<Integer> getFloorList() {
return FloorList; return floorList;
}
public void setFloorList(List<Integer> floorList) {
FloorList = floorList;
} }
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -10,23 +10,23 @@ import emu.grasscutter.data.common.CurveInfo; ...@@ -10,23 +10,23 @@ import emu.grasscutter.data.common.CurveInfo;
@ResourceType(name = "WeaponCurveExcelConfigData.json") @ResourceType(name = "WeaponCurveExcelConfigData.json")
public class WeaponCurveData extends GameResource { public class WeaponCurveData extends GameResource {
private int Level; private int level;
private CurveInfo[] CurveInfos; private CurveInfo[] curveInfos;
private Map<String, Float> curveInfos; private Map<String, Float> curveInfosMap;
@Override @Override
public int getId() { public int getId() {
return Level; return level;
} }
public float getMultByProp(String fightProp) { public float getMultByProp(String fightProp) {
return curveInfos.getOrDefault(fightProp, 1f); return curveInfosMap.getOrDefault(fightProp, 1f);
} }
@Override @Override
public void onLoad() { public void onLoad() {
this.curveInfos = new HashMap<>(); this.curveInfosMap = new HashMap<>();
Stream.of(this.CurveInfos).forEach(info -> this.curveInfos.put(info.getType(), info.getValue())); Stream.of(this.curveInfos).forEach(info -> this.curveInfosMap.put(info.getType(), info.getValue()));
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType; import emu.grasscutter.data.ResourceType;
@ResourceType(name = "WeaponLevelExcelConfigData.json") @ResourceType(name = "WeaponLevelExcelConfigData.json")
public class WeaponLevelData extends GameResource { public class WeaponLevelData extends GameResource {
private int Level; private int level;
private int[] RequiredExps; private int[] requiredExps;
@Override @Override
public int getId() { public int getId() {
return this.Level; return this.level;
} }
public int getLevel() { public int getLevel() {
return Level; return level;
} }
public int[] getRequiredExps() { public int[] getRequiredExps() {
return RequiredExps; return requiredExps;
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import java.util.ArrayList; import java.util.ArrayList;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
...@@ -9,45 +9,45 @@ import emu.grasscutter.data.common.ItemParamData; ...@@ -9,45 +9,45 @@ import emu.grasscutter.data.common.ItemParamData;
@ResourceType(name = "WeaponPromoteExcelConfigData.json") @ResourceType(name = "WeaponPromoteExcelConfigData.json")
public class WeaponPromoteData extends GameResource { public class WeaponPromoteData extends GameResource {
private int WeaponPromoteId; private int weaponPromoteId;
private int PromoteLevel; private int promoteLevel;
private ItemParamData[] CostItems; private ItemParamData[] costItems;
private int CoinCost; private int coinCost;
private FightPropData[] AddProps; private FightPropData[] addProps;
private int UnlockMaxLevel; private int unlockMaxLevel;
private int RequiredPlayerLevel; private int requiredPlayerLevel;
@Override @Override
public int getId() { public int getId() {
return (WeaponPromoteId << 8) + PromoteLevel; return (weaponPromoteId << 8) + promoteLevel;
} }
public int getWeaponPromoteId() { public int getWeaponPromoteId() {
return WeaponPromoteId; return weaponPromoteId;
} }
public int getPromoteLevel() { public int getPromoteLevel() {
return PromoteLevel; return promoteLevel;
} }
public ItemParamData[] getCostItems() { public ItemParamData[] getCostItems() {
return CostItems; return costItems;
} }
public int getCoinCost() { public int getCoinCost() {
return CoinCost; return coinCost;
} }
public FightPropData[] getAddProps() { public FightPropData[] getAddProps() {
return AddProps; return addProps;
} }
public int getUnlockMaxLevel() { public int getUnlockMaxLevel() {
return UnlockMaxLevel; return unlockMaxLevel;
} }
public int getRequiredPlayerLevel() { public int getRequiredPlayerLevel() {
return RequiredPlayerLevel; return requiredPlayerLevel;
} }
@Override @Override
...@@ -60,7 +60,7 @@ public class WeaponPromoteData extends GameResource { ...@@ -60,7 +60,7 @@ public class WeaponPromoteData extends GameResource {
} }
trim.add(itemParam); trim.add(itemParam);
} }
this.CostItems = trim.toArray(new ItemParamData[trim.size()]); this.costItems = trim.toArray(new ItemParamData[trim.size()]);
// Trim fight prop data // Trim fight prop data
ArrayList<FightPropData> parsed = new ArrayList<>(getAddProps().length); ArrayList<FightPropData> parsed = new ArrayList<>(getAddProps().length);
for (FightPropData prop : getAddProps()) { for (FightPropData prop : getAddProps()) {
...@@ -69,6 +69,6 @@ public class WeaponPromoteData extends GameResource { ...@@ -69,6 +69,6 @@ public class WeaponPromoteData extends GameResource {
parsed.add(prop); parsed.add(prop);
} }
} }
this.AddProps = parsed.toArray(new FightPropData[parsed.size()]); this.addProps = parsed.toArray(new FightPropData[parsed.size()]);
} }
} }
package emu.grasscutter.data.def; package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource; import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType; import emu.grasscutter.data.ResourceType;
@ResourceType(name = "WorldLevelExcelConfigData.json") @ResourceType(name = "WorldLevelExcelConfigData.json")
public class WorldLevelData extends GameResource { public class WorldLevelData extends GameResource {
private int Level; private int level;
private int MonsterLevel; private int monsterLevel;
@Override @Override
public int getId() { public int getId() {
return this.Level; return this.level;
} }
public int getMonsterLevel() { public int getMonsterLevel() {
return MonsterLevel; return monsterLevel;
} }
@Override @Override
......
...@@ -7,10 +7,10 @@ import com.google.protobuf.InvalidProtocolBufferException; ...@@ -7,10 +7,10 @@ import com.google.protobuf.InvalidProtocolBufferException;
import emu.grasscutter.Grasscutter; import emu.grasscutter.Grasscutter;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.custom.AbilityModifier.AbilityModifierAction; import emu.grasscutter.data.binout.AbilityModifierEntry;
import emu.grasscutter.data.def.AvatarSkillDepotData; import emu.grasscutter.data.binout.AbilityModifier.AbilityModifierAction;
import emu.grasscutter.data.def.ItemData; import emu.grasscutter.data.excels.AvatarSkillDepotData;
import emu.grasscutter.data.custom.AbilityModifierEntry; import emu.grasscutter.data.excels.ItemData;
import emu.grasscutter.game.avatar.Avatar; import emu.grasscutter.game.avatar.Avatar;
import emu.grasscutter.game.entity.EntityAvatar; import emu.grasscutter.game.entity.EntityAvatar;
import emu.grasscutter.game.entity.EntityClientGadget; import emu.grasscutter.game.entity.EntityClientGadget;
......
...@@ -17,24 +17,24 @@ import dev.morphia.annotations.PostLoad; ...@@ -17,24 +17,24 @@ import dev.morphia.annotations.PostLoad;
import dev.morphia.annotations.PrePersist; import dev.morphia.annotations.PrePersist;
import dev.morphia.annotations.Transient; import dev.morphia.annotations.Transient;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.binout.OpenConfigEntry;
import emu.grasscutter.data.binout.OpenConfigEntry.SkillPointModifier;
import emu.grasscutter.data.common.FightPropData; import emu.grasscutter.data.common.FightPropData;
import emu.grasscutter.data.custom.OpenConfigEntry; import emu.grasscutter.data.excels.AvatarData;
import emu.grasscutter.data.custom.OpenConfigEntry.SkillPointModifier; import emu.grasscutter.data.excels.AvatarPromoteData;
import emu.grasscutter.data.def.AvatarData; import emu.grasscutter.data.excels.AvatarSkillData;
import emu.grasscutter.data.def.AvatarPromoteData; import emu.grasscutter.data.excels.AvatarSkillDepotData;
import emu.grasscutter.data.def.AvatarSkillData; import emu.grasscutter.data.excels.AvatarTalentData;
import emu.grasscutter.data.def.AvatarSkillDepotData; import emu.grasscutter.data.excels.EquipAffixData;
import emu.grasscutter.data.def.AvatarSkillDepotData.InherentProudSkillOpens; import emu.grasscutter.data.excels.ProudSkillData;
import emu.grasscutter.data.def.AvatarTalentData; import emu.grasscutter.data.excels.ReliquaryAffixData;
import emu.grasscutter.data.def.EquipAffixData; import emu.grasscutter.data.excels.ReliquaryLevelData;
import emu.grasscutter.data.def.ItemData.WeaponProperty; import emu.grasscutter.data.excels.ReliquaryMainPropData;
import emu.grasscutter.data.def.ProudSkillData; import emu.grasscutter.data.excels.ReliquarySetData;
import emu.grasscutter.data.def.ReliquaryAffixData; import emu.grasscutter.data.excels.WeaponCurveData;
import emu.grasscutter.data.def.ReliquaryLevelData; import emu.grasscutter.data.excels.WeaponPromoteData;
import emu.grasscutter.data.def.ReliquaryMainPropData; import emu.grasscutter.data.excels.AvatarSkillDepotData.InherentProudSkillOpens;
import emu.grasscutter.data.def.ReliquarySetData; import emu.grasscutter.data.excels.ItemData.WeaponProperty;
import emu.grasscutter.data.def.WeaponCurveData;
import emu.grasscutter.data.def.WeaponPromoteData;
import emu.grasscutter.database.DatabaseHelper; import emu.grasscutter.database.DatabaseHelper;
import emu.grasscutter.game.entity.EntityAvatar; import emu.grasscutter.game.entity.EntityAvatar;
import emu.grasscutter.game.inventory.EquipType; import emu.grasscutter.game.inventory.EquipType;
......
...@@ -4,8 +4,8 @@ import java.util.Iterator; ...@@ -4,8 +4,8 @@ import java.util.Iterator;
import java.util.List; import java.util.List;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.def.AvatarData; import emu.grasscutter.data.excels.AvatarData;
import emu.grasscutter.data.def.AvatarSkillDepotData; import emu.grasscutter.data.excels.AvatarSkillDepotData;
import emu.grasscutter.database.DatabaseHelper; import emu.grasscutter.database.DatabaseHelper;
import emu.grasscutter.game.entity.EntityAvatar; import emu.grasscutter.game.entity.EntityAvatar;
import emu.grasscutter.game.inventory.GameItem; import emu.grasscutter.game.inventory.GameItem;
......
package emu.grasscutter.game.combine; package emu.grasscutter.game.combine;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.def.CombineData; import emu.grasscutter.data.common.ItemParamData;
import emu.grasscutter.data.excels.CombineData;
import emu.grasscutter.game.inventory.ItemType; import emu.grasscutter.game.inventory.ItemType;
import emu.grasscutter.game.player.Player; import emu.grasscutter.game.player.Player;
import emu.grasscutter.net.proto.RetcodeOuterClass; import emu.grasscutter.net.proto.RetcodeOuterClass;
...@@ -71,7 +72,7 @@ public class CombineManger { ...@@ -71,7 +72,7 @@ public class CombineManger {
CombineResult result = new CombineResult(); CombineResult result = new CombineResult();
result.setMaterial(List.of()); result.setMaterial(List.of());
result.setResult(List.of(new CombineData.CombineItemPair(combineData.getResultItemId(), result.setResult(List.of(new ItemParamData(combineData.getResultItemId(),
combineData.getResultItemCount() * count))); combineData.getResultItemCount() * count)));
// TODO lucky characters // TODO lucky characters
result.setExtra(List.of()); result.setExtra(List.of());
......
package emu.grasscutter.game.combine; package emu.grasscutter.game.combine;
import emu.grasscutter.data.def.CombineData;
import java.util.List; import java.util.List;
import emu.grasscutter.data.common.ItemParamData;
import emu.grasscutter.data.excels.CombineData;
public class CombineResult { public class CombineResult {
private List<CombineData.CombineItemPair> material; private List<ItemParamData> material;
private List<CombineData.CombineItemPair> result; private List<ItemParamData> result;
private List<CombineData.CombineItemPair> extra; private List<ItemParamData> extra;
private List<CombineData.CombineItemPair> back; private List<ItemParamData> back;
public List<CombineData.CombineItemPair> getMaterial() { public List<ItemParamData> getMaterial() {
return material; return material;
} }
public void setMaterial(List<CombineData.CombineItemPair> material) { public void setMaterial(List<ItemParamData> material) {
this.material = material; this.material = material;
} }
public List<CombineData.CombineItemPair> getResult() { public List<ItemParamData> getResult() {
return result; return result;
} }
public void setResult(List<CombineData.CombineItemPair> result) { public void setResult(List<ItemParamData> result) {
this.result = result; this.result = result;
} }
public List<CombineData.CombineItemPair> getExtra() { public List<ItemParamData> getExtra() {
return extra; return extra;
} }
public void setExtra(List<CombineData.CombineItemPair> extra) { public void setExtra(List<ItemParamData> extra) {
this.extra = extra; this.extra = extra;
} }
public List<CombineData.CombineItemPair> getBack() { public List<ItemParamData> getBack() {
return back; return back;
} }
public void setBack(List<CombineData.CombineItemPair> back) { public void setBack(List<ItemParamData> back) {
this.back = back; this.back = back;
} }
......
...@@ -4,7 +4,7 @@ import com.google.gson.reflect.TypeToken; ...@@ -4,7 +4,7 @@ import com.google.gson.reflect.TypeToken;
import emu.grasscutter.Grasscutter; import emu.grasscutter.Grasscutter;
import emu.grasscutter.data.DataLoader; import emu.grasscutter.data.DataLoader;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.def.ItemData; import emu.grasscutter.data.excels.ItemData;
import emu.grasscutter.game.entity.EntityItem; import emu.grasscutter.game.entity.EntityItem;
import emu.grasscutter.game.entity.EntityMonster; import emu.grasscutter.game.entity.EntityMonster;
import emu.grasscutter.game.inventory.GameItem; import emu.grasscutter.game.inventory.GameItem;
......
package emu.grasscutter.game.dungeons; package emu.grasscutter.game.dungeons;
import emu.grasscutter.data.common.ItemParamData; import emu.grasscutter.data.common.ItemParamData;
import emu.grasscutter.data.def.DungeonData; import emu.grasscutter.data.excels.DungeonData;
import emu.grasscutter.game.entity.EntityMonster; import emu.grasscutter.game.entity.EntityMonster;
import emu.grasscutter.game.inventory.GameItem; import emu.grasscutter.game.inventory.GameItem;
import emu.grasscutter.game.player.Player; import emu.grasscutter.game.player.Player;
......
...@@ -3,8 +3,8 @@ package emu.grasscutter.game.dungeons; ...@@ -3,8 +3,8 @@ package emu.grasscutter.game.dungeons;
import emu.grasscutter.GameConstants; import emu.grasscutter.GameConstants;
import emu.grasscutter.Grasscutter; import emu.grasscutter.Grasscutter;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.custom.ScenePointEntry; import emu.grasscutter.data.binout.ScenePointEntry;
import emu.grasscutter.data.def.DungeonData; import emu.grasscutter.data.excels.DungeonData;
import emu.grasscutter.game.player.Player; import emu.grasscutter.game.player.Player;
import emu.grasscutter.game.props.SceneType; import emu.grasscutter.game.props.SceneType;
import emu.grasscutter.game.quest.enums.QuestTrigger; import emu.grasscutter.game.quest.enums.QuestTrigger;
......
...@@ -2,8 +2,8 @@ package emu.grasscutter.game.entity; ...@@ -2,8 +2,8 @@ package emu.grasscutter.game.entity;
import emu.grasscutter.GameConstants; import emu.grasscutter.GameConstants;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.def.AvatarData; import emu.grasscutter.data.excels.AvatarData;
import emu.grasscutter.data.def.AvatarSkillDepotData; import emu.grasscutter.data.excels.AvatarSkillDepotData;
import emu.grasscutter.game.avatar.Avatar; import emu.grasscutter.game.avatar.Avatar;
import emu.grasscutter.game.inventory.EquipType; import emu.grasscutter.game.inventory.EquipType;
import emu.grasscutter.game.inventory.GameItem; import emu.grasscutter.game.inventory.GameItem;
......
...@@ -4,7 +4,7 @@ import java.util.Arrays; ...@@ -4,7 +4,7 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import emu.grasscutter.data.GameData; import emu.grasscutter.data.GameData;
import emu.grasscutter.data.def.GadgetData; import emu.grasscutter.data.excels.GadgetData;
import emu.grasscutter.game.props.EntityIdType; import emu.grasscutter.game.props.EntityIdType;
import emu.grasscutter.game.props.EntityType; import emu.grasscutter.game.props.EntityType;
import emu.grasscutter.game.props.PlayerProperty; import emu.grasscutter.game.props.PlayerProperty;
......
package emu.grasscutter.game.entity; package emu.grasscutter.game.entity;
import emu.grasscutter.data.def.ItemData; import emu.grasscutter.data.excels.ItemData;
import emu.grasscutter.game.inventory.GameItem; import emu.grasscutter.game.inventory.GameItem;
import emu.grasscutter.game.player.Player; import emu.grasscutter.game.player.Player;
import emu.grasscutter.game.props.EntityIdType; import emu.grasscutter.game.props.EntityIdType;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment