org.legendofdragoon.scripting.tokens.Param Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of script-recompiler Show documentation
Show all versions of script-recompiler Show documentation
Tools for working with Legend of Dragoon scripts
package org.legendofdragoon.scripting.tokens;
import org.legendofdragoon.scripting.ParameterType;
import java.util.Arrays;
import java.util.OptionalInt;
public class Param extends Entry {
public final ParameterType type;
public final int[] rawValues;
public final OptionalInt resolvedValue;
public final String label;
public Param(final int address, final ParameterType type, final int[] rawValues, final OptionalInt resolvedValue, final String label) {
super(address);
this.type = type;
this.rawValues = rawValues;
this.resolvedValue = resolvedValue;
this.label = label;
}
@Override
public String toString() {
return "param " + Arrays.toString(this.rawValues) + ' ' + this.label;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy