mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-02-06 10:06:51 +01:00
36 lines
1011 B
Java
36 lines
1011 B
Java
package emu.grasscutter.data.binout;
|
|
|
|
import emu.grasscutter.data.binout.AbilityModifier.AbilityModifierAction;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class AbilityModifierEntry {
|
|
public List<AbilityModifierAction> onModifierAdded;
|
|
public List<AbilityModifierAction> onThinkInterval;
|
|
public List<AbilityModifierAction> onRemoved;
|
|
private final String name; // Custom value
|
|
|
|
public AbilityModifierEntry(String name) {
|
|
this.name = name;
|
|
this.onModifierAdded = new ArrayList<>();
|
|
this.onThinkInterval = new ArrayList<>();
|
|
this.onRemoved = new ArrayList<>();
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public List<AbilityModifierAction> getOnAdded() {
|
|
return onModifierAdded;
|
|
}
|
|
|
|
public List<AbilityModifierAction> getOnThinkInterval() {
|
|
return onThinkInterval;
|
|
}
|
|
|
|
public List<AbilityModifierAction> getOnRemoved() {
|
|
return onRemoved;
|
|
}
|
|
}
|