Class SectorModUtils

java.lang.Object
armyc2.c5isr.renderer.utilities.SectorModUtils

public class SectorModUtils extends Object
  • Method Details

    • getInstance

      public static SectorModUtils getInstance()
    • init

      public final void init(Context context)
    • getSectorModList

      public ArrayList<String[]> getSectorModList(int version, int symbolSet, int location)
      Parameters:
      version - like SymbolID.Version_2525Dch1 or SymbolID.Version_2525Ech1 Only tracks sector mods for these 2 versions.
      symbolSet - like SymbolID.SymbolSet_Air; use 0 for Common Modifiers as they are not tied to a symbol set.
      location - 1 for top, 2 for bottom
      Returns:
      and ArrayList of String[] like ["00","Unspecified"],["01","Attack/Strike"]
    • getName

      public String getName(int version, int symbolSet, int location, String code)
      Parameters:
      version - like SymbolID.Version_2525Dch1 or SymbolID.Version_2525Ech1 Only tracks sector mods for these 2 versions.
      symbolSet - like SymbolID.SymbolSet_Air; use 0 for Common Modifiers as they are not tied to a symbol set.
      location - 1 for top, 2 for bottom
      code - like "01" or "100"