org.legendofdragoon.scripting.tokens.Op 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.OpType;
public class Op extends Entry {
public final OpType type;
public final int headerParam;
public final Param[] params;
public Op(final int address, final OpType type, final int headerParam, final int paramCount) {
super(address);
this.type = type;
this.headerParam = headerParam;
this.params = new Param[type == OpType.CALL ? paramCount : type.paramNames.length];
}
@Override
public String toString() {
return "op " + this.type.name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy