mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-06 20:13:46 +08:00
Only a few are supported right now You will need certain script files in ./resources/Scripts
62 lines
1.1 KiB
Java
62 lines
1.1 KiB
Java
package emu.grasscutter.data.def;
|
|
|
|
import emu.grasscutter.data.GameResource;
|
|
import emu.grasscutter.data.ResourceType;
|
|
import emu.grasscutter.game.props.EntityType;
|
|
|
|
@ResourceType(name = "GadgetExcelConfigData.json")
|
|
public class GadgetData extends GameResource {
|
|
private int Id;
|
|
|
|
private EntityType Type;
|
|
private String JsonName;
|
|
private boolean IsInteractive;
|
|
private String[] Tags;
|
|
private String ItemJsonName;
|
|
private String InteeIconName;
|
|
private long NameTextMapHash;
|
|
private int CampID;
|
|
|
|
@Override
|
|
public int getId() {
|
|
return this.Id;
|
|
}
|
|
|
|
public EntityType getType() {
|
|
return Type;
|
|
}
|
|
|
|
public String getJsonName() {
|
|
return JsonName;
|
|
}
|
|
|
|
public boolean isInteractive() {
|
|
return IsInteractive;
|
|
}
|
|
|
|
public String[] getTags() {
|
|
return Tags;
|
|
}
|
|
|
|
public String getItemJsonName() {
|
|
return ItemJsonName;
|
|
}
|
|
|
|
public String getInteeIconName() {
|
|
return InteeIconName;
|
|
}
|
|
|
|
public long getNameTextMapHash() {
|
|
return NameTextMapHash;
|
|
}
|
|
|
|
public int getCampID() {
|
|
return CampID;
|
|
}
|
|
|
|
@Override
|
|
public void onLoad() {
|
|
|
|
}
|
|
}
|