All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.legendofdragoon.scripting.tokens.Param Maven / Gradle / Ivy

There is a newer version: 0.5.6
Show newest version
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