mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-03 20:18:23 +00:00
30 lines
608 B
Java
30 lines
608 B
Java
package emu.grasscutter.data.custom;
|
|
|
|
import java.util.List;
|
|
|
|
public class OpenConfigEntry {
|
|
private String name;
|
|
private String[] addAbilities;
|
|
private int extraTalentIndex;
|
|
|
|
public OpenConfigEntry(String name, List<String> abilityList, int extraTalentIndex) {
|
|
this.name = name;
|
|
this.extraTalentIndex = extraTalentIndex;
|
|
if (abilityList.size() > 0) {
|
|
this.addAbilities = abilityList.toArray(new String[0]);
|
|
}
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public String[] getAddAbilities() {
|
|
return addAbilities;
|
|
}
|
|
|
|
public int getExtraTalentIndex() {
|
|
return extraTalentIndex;
|
|
}
|
|
}
|