Fix no static gadget in the map,example: no tree but a fruit in the air (#1415)

* fixGadget

* fixGadget

* add gadgetObject

* fix bug
This commit is contained in:
zhaodice
2022-07-02 02:41:53 +08:00
committed by GitHub
Unverified
parent b703201598
commit f90b65120a
5 changed files with 36529 additions and 93 deletions
@@ -12,9 +12,10 @@ public class SpawnDataEntry {
private int level;
private int poseId;
private int gatherItemId;
private int gadgetState;
private Position pos;
private Position rot;
public SpawnGroupEntry getGroup() {
return group;
}
@@ -26,23 +27,27 @@ public class SpawnDataEntry {
public int getMonsterId() {
return monsterId;
}
public int getGadgetId() {
return gadgetId;
}
public int getConfigId() {
public int getGadgetState() {
return gadgetState;
}
public int getConfigId() {
return configId;
}
public int getLevel() {
return level;
}
public int getPoseId() {
return poseId;
}
public int getGatherItemId() {
return gatherItemId;
}
@@ -50,18 +55,18 @@ public class SpawnDataEntry {
public Position getPos() {
return pos;
}
public Position getRot() {
return rot;
}
public static class SpawnGroupEntry {
private int sceneId;
private int groupId;
private int blockId;
private Position pos;
private List<SpawnDataEntry> spawns;
public int getSceneId() {
return sceneId;
}